Class GetPaywallQuery

    • Field Detail

      • 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
    • Constructor Detail

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • id

        public java.lang.String id()
        Specified by:
        id in interface com.apollographql.apollo3.api.Operation<GetPaywallQuery.Data>
      • document

        public java.lang.String document()
        Specified by:
        document in interface com.apollographql.apollo3.api.Operation<GetPaywallQuery.Data>
      • name

        public java.lang.String name()
        Specified by:
        name in interface com.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:
        serializeVariables in interface com.apollographql.apollo3.api.Executable<GetPaywallQuery.Data>
        Specified by:
        serializeVariables in interface com.apollographql.apollo3.api.Operation<GetPaywallQuery.Data>
        Throws:
        java.io.IOException
      • rootField

        public com.apollographql.apollo3.api.CompiledField rootField()
        Specified by:
        rootField in interface com.apollographql.apollo3.api.Executable<GetPaywallQuery.Data>
        Specified by:
        rootField in interface com.apollographql.apollo3.api.Operation<GetPaywallQuery.Data>