Package io.stigg.api.operations
Class GetPaywallQuery
- java.lang.Object
-
- io.stigg.api.operations.GetPaywallQuery
-
- All Implemented Interfaces:
com.apollographql.apollo3.api.Executable<GetPaywallQuery.Data>,com.apollographql.apollo3.api.Operation<GetPaywallQuery.Data>,com.apollographql.apollo3.api.Query<GetPaywallQuery.Data>
public class GetPaywallQuery extends java.lang.Object implements com.apollographql.apollo3.api.Query<GetPaywallQuery.Data>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetPaywallQuery.Builderstatic classGetPaywallQuery.Datastatic classGetPaywallQuery.Paywall
-
Field Summary
Fields Modifier and Type Field Description GetPaywallInputinputstatic java.lang.StringOPERATION_DOCUMENTThe minimized GraphQL document being sent to the server to save a few bytes.static java.lang.StringOPERATION_IDstatic java.lang.StringOPERATION_NAME
-
Constructor Summary
Constructors Constructor Description GetPaywallQuery(GetPaywallInput input)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.apollographql.apollo3.api.Adapter<GetPaywallQuery.Data>adapter()static GetPaywallQuery.Builderbuilder()java.lang.Stringdocument()booleanequals(java.lang.Object o)inthashCode()java.lang.Stringid()java.lang.Stringname()com.apollographql.apollo3.api.CompiledFieldrootField()voidserializeVariables(com.apollographql.apollo3.api.json.JsonWriter writer, com.apollographql.apollo3.api.CustomScalarAdapters customScalarAdapters)java.lang.StringtoString()
-
-
-
Field Detail
-
OPERATION_ID
public static final java.lang.String OPERATION_ID
- See Also:
- Constant Field Values
-
OPERATION_DOCUMENT
public static final java.lang.String OPERATION_DOCUMENT
The minimized GraphQL document being sent to the server to save a few bytes. The un-minimized version is: query GetPaywall($input: GetPaywallInput!) { paywall(input: $input) { __typename ...PaywallFragment } } fragment ProductFragment on Product { refId displayName description additionalMetaData productSettings { downgradePlan { refId displayName } } } fragment PackageEntitlementFragment on PackageEntitlement { usageLimit hasUnlimitedUsage hasSoftLimit featureId resetPeriod hiddenFromWidgets isCustom displayNameOverride feature { featureType meterType featureUnits featureUnitsPlural displayName description refId additionalMetaData } } fragment PriceTierFragment on PriceTier { upTo unitPrice { amount currency } flatPrice { amount currency } } fragment PriceFragment on Price { billingModel billingPeriod billingId minUnitQuantity maxUnitQuantity billingCountryCode price { amount currency } tiersMode tiers { __typename ...PriceTierFragment } feature { refId featureUnits featureUnitsPlural displayName description } } fragment OveragePriceFragment on Price { billingModel billingPeriod billingId billingCountryCode price { amount currency } tiersMode tiers { __typename ...PriceTierFragment } feature { refId featureUnits featureUnitsPlural displayName description } } fragment AddonFragment on Addon { id refId billingId displayName description additionalMetaData entitlements { __typename ...PackageEntitlementFragment } prices { __typename ...PriceFragment } overagePrices { __typename ...OveragePriceFragment } pricingType } fragment PlanFragment on Plan { id refId displayName description billingId versionNumber additionalMetaData hiddenFromWidgets product { __typename ...ProductFragment } basePlan { refId displayName } entitlements { __typename ...PackageEntitlementFragment } inheritedEntitlements { __typename ...PackageEntitlementFragment } compatibleAddons { __typename ...AddonFragment } prices { __typename ...PriceFragment } overagePrices { __typename ...OveragePriceFragment } pricingType defaultTrialConfig { duration units } } fragment PaywallCurrencyFragment on PaywallCurrency { code symbol } fragment FontVariantFragment on FontVariant { fontSize fontWeight } fragment TypographyConfigurationFragment on TypographyConfiguration { fontFamily h1 { __typename ...FontVariantFragment } h2 { __typename ...FontVariantFragment } h3 { __typename ...FontVariantFragment } body { __typename ...FontVariantFragment } } fragment LayoutConfigurationFragment on PaywallLayoutConfiguration { alignment planWidth planMargin planPadding } fragment PaywallConfigurationFragment on PaywallConfiguration { palette { primary textColor backgroundColor borderColor currentPlanBackground } typography { __typename ...TypographyConfigurationFragment } layout { __typename ...LayoutConfigurationFragment } customCss } fragment SlimCustomerFragment on Customer { id name email createdAt updatedAt refId customerId billingId additionalMetaData awsMarketplaceCustomerId } fragment CouponFragment on Coupon { id discountValue type additionalMetaData refId name description createdAt updatedAt billingId billingLinkUrl status syncStates { vendorIdentifier status } customers { id } } fragment PromotionalEntitlementFragment on PromotionalEntitlement { status usageLimit featureId hasUnlimitedUsage hasSoftLimit resetPeriod endDate isVisible feature { featureType meterType featureUnits featureUnitsPlural displayName description refId additionalMetaData } } fragment CustomerFragment on Customer { __typename ...SlimCustomerFragment hasPaymentMethod hasActiveSubscription defaultPaymentExpirationMonth defaultPaymentExpirationYear defaultPaymentMethodLast4Digits trialedPlans { productId productRefId planRefId planId } experimentInfo { groupType groupName id name } coupon { __typename ...CouponFragment } eligibleForTrial { productId productRefId eligible } promotionalEntitlements { __typename ...PromotionalEntitlementFragment } } fragment SubscriptionInvoiceFragment on SubscriptionInvoice { billingId status createdAt updatedAt requiresAction paymentUrl paymentSecret errorMessage } fragment CustomerResourceFragment on CustomerResource { resourceId } fragment TotalPriceFragment on CustomerSubscriptionTotalPrice { subTotal { amount currency } total { amount currency } } fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate { subscriptionScheduleType scheduleStatus scheduledExecutionTime targetPackage { id refId displayName } scheduleVariables { __typename ... on DowngradeChangeVariables { addonRefIds billingPeriod downgradePlanRefId } ... on BillingPeriodChangeVariables { billingPeriod } ... on UnitAmountChangeVariables { newUnitAmount featureId } ... on AddonChangeVariables { addonRefId newQuantity } } } fragment SubscriptionFutureUpdateData on SubscriptionFutureUpdate { subscriptionScheduleType scheduleStatus scheduledExecutionTime targetPackage { id refId displayName } scheduleVariables { __typename ... on DowngradeChangeVariables { addonRefIds billingPeriod downgradePlanRefId } ... on BillingPeriodChangeVariables { billingPeriod } ... on UnitAmountChangeVariables { newUnitAmount featureId } ... on AddonChangeVariables { addonRefId newQuantity } } } fragment SubscriptionFragment on CustomerSubscription { id subscriptionId startDate endDate trialEndDate cancellationDate effectiveEndDate status refId currentBillingPeriodEnd additionalMetaData billingId billingLinkUrl latestInvoice { __typename ...SubscriptionInvoiceFragment } paymentCollection billingSyncError resource { __typename ...CustomerResourceFragment } experimentInfo { name groupType groupName id } prices { usageLimit price { __typename ...PriceFragment } } totalPrice { __typename ...TotalPriceFragment } pricingType plan { __typename ...PlanFragment } addons { id quantity addon { __typename ...AddonFragment } } scheduledUpdates { __typename ...SubscriptionScheduledUpdateData } futureUpdates { __typename ...SubscriptionFutureUpdateData } } fragment PaywallCalculatedPricePointsFragment on PaywallPricePoint { planId additionalChargesMayApply billingPeriod amount currency billingCountryCode feature { refId featureUnits featureUnitsPlural displayName description } } fragment PaywallFragment on Paywall { plans { __typename ...PlanFragment } currency { __typename ...PaywallCurrencyFragment } configuration { __typename ...PaywallConfigurationFragment } customer { __typename ...CustomerFragment } activeSubscriptions { __typename ...SubscriptionFragment } resource { __typename ...CustomerResourceFragment } paywallCalculatedPricePoints { __typename ...PaywallCalculatedPricePointsFragment } }- See Also:
- Constant Field Values
-
OPERATION_NAME
public static final java.lang.String OPERATION_NAME
- See Also:
- Constant Field Values
-
input
public final GetPaywallInput input
-
-
Constructor Detail
-
GetPaywallQuery
public GetPaywallQuery(GetPaywallInput input)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static GetPaywallQuery.Builder builder()
-
id
public java.lang.String id()
- Specified by:
idin interfacecom.apollographql.apollo3.api.Operation<GetPaywallQuery.Data>
-
document
public java.lang.String document()
- Specified by:
documentin interfacecom.apollographql.apollo3.api.Operation<GetPaywallQuery.Data>
-
name
public java.lang.String name()
- Specified by:
namein interfacecom.apollographql.apollo3.api.Operation<GetPaywallQuery.Data>
-
serializeVariables
public void serializeVariables(com.apollographql.apollo3.api.json.JsonWriter writer, com.apollographql.apollo3.api.CustomScalarAdapters customScalarAdapters) throws java.io.IOException- Specified by:
serializeVariablesin interfacecom.apollographql.apollo3.api.Executable<GetPaywallQuery.Data>- Specified by:
serializeVariablesin interfacecom.apollographql.apollo3.api.Operation<GetPaywallQuery.Data>- Throws:
java.io.IOException
-
adapter
public com.apollographql.apollo3.api.Adapter<GetPaywallQuery.Data> adapter()
- Specified by:
adapterin interfacecom.apollographql.apollo3.api.Executable<GetPaywallQuery.Data>- Specified by:
adapterin interfacecom.apollographql.apollo3.api.Operation<GetPaywallQuery.Data>
-
rootField
public com.apollographql.apollo3.api.CompiledField rootField()
- Specified by:
rootFieldin interfacecom.apollographql.apollo3.api.Executable<GetPaywallQuery.Data>- Specified by:
rootFieldin interfacecom.apollographql.apollo3.api.Operation<GetPaywallQuery.Data>
-
-