Package io.stigg.api.operations
Class ApplySubscriptionMutation
- java.lang.Object
-
- io.stigg.api.operations.ApplySubscriptionMutation
-
- All Implemented Interfaces:
com.apollographql.apollo3.api.Executable<ApplySubscriptionMutation.Data>,com.apollographql.apollo3.api.Mutation<ApplySubscriptionMutation.Data>,com.apollographql.apollo3.api.Operation<ApplySubscriptionMutation.Data>
public class ApplySubscriptionMutation extends java.lang.Object implements com.apollographql.apollo3.api.Mutation<ApplySubscriptionMutation.Data>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplySubscriptionMutation.ApplySubscriptionstatic classApplySubscriptionMutation.Builderstatic classApplySubscriptionMutation.Data
-
Field Summary
Fields Modifier and Type Field Description ApplySubscriptionInputinputstatic 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 ApplySubscriptionMutation(ApplySubscriptionInput input)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.apollographql.apollo3.api.Adapter<ApplySubscriptionMutation.Data>adapter()static ApplySubscriptionMutation.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: mutation ApplySubscription($input: ApplySubscriptionInput!) { applySubscription(input: $input) { __typename ...ApplySubscriptionFragment } } fragment SubscriptionInvoiceFragment on SubscriptionInvoice { billingId status createdAt updatedAt requiresAction paymentUrl paymentSecret errorMessage } fragment CustomerResourceFragment on CustomerResource { resourceId } 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 TotalPriceFragment on CustomerSubscriptionTotalPrice { subTotal { amount currency } total { amount currency } } 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 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 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 ResetPeriodConfigurationFragment on ResetPeriodConfiguration { __typename ... on MonthlyResetPeriodConfig { monthlyAccordingTo } ... on WeeklyResetPeriodConfig { weeklyAccordingTo } } fragment FeatureFragment on EntitlementFeature { __typename featureType meterType featureUnits featureUnitsPlural description displayName refId } fragment EntitlementFragment on Entitlement { __typename isGranted accessDeniedReason customerId resourceId usageLimit hasUnlimitedUsage hasSoftLimit currentUsage requestedUsage entitlementUpdatedAt usageUpdatedAt nextResetDate resetPeriod resetPeriodConfiguration { __typename ...ResetPeriodConfigurationFragment } feature { __typename ...FeatureFragment } } fragment ApplySubscriptionFragment on ApplySubscription { subscription { __typename ...SubscriptionFragment } entitlements { __typename ...EntitlementFragment } }- See Also:
- Constant Field Values
-
OPERATION_NAME
public static final java.lang.String OPERATION_NAME
- See Also:
- Constant Field Values
-
input
public final ApplySubscriptionInput input
-
-
Constructor Detail
-
ApplySubscriptionMutation
public ApplySubscriptionMutation(ApplySubscriptionInput 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 ApplySubscriptionMutation.Builder builder()
-
id
public java.lang.String id()
- Specified by:
idin interfacecom.apollographql.apollo3.api.Operation<ApplySubscriptionMutation.Data>
-
document
public java.lang.String document()
- Specified by:
documentin interfacecom.apollographql.apollo3.api.Operation<ApplySubscriptionMutation.Data>
-
name
public java.lang.String name()
- Specified by:
namein interfacecom.apollographql.apollo3.api.Operation<ApplySubscriptionMutation.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<ApplySubscriptionMutation.Data>- Specified by:
serializeVariablesin interfacecom.apollographql.apollo3.api.Operation<ApplySubscriptionMutation.Data>- Throws:
java.io.IOException
-
adapter
public com.apollographql.apollo3.api.Adapter<ApplySubscriptionMutation.Data> adapter()
- Specified by:
adapterin interfacecom.apollographql.apollo3.api.Executable<ApplySubscriptionMutation.Data>- Specified by:
adapterin interfacecom.apollographql.apollo3.api.Operation<ApplySubscriptionMutation.Data>
-
rootField
public com.apollographql.apollo3.api.CompiledField rootField()
- Specified by:
rootFieldin interfacecom.apollographql.apollo3.api.Executable<ApplySubscriptionMutation.Data>- Specified by:
rootFieldin interfacecom.apollographql.apollo3.api.Operation<ApplySubscriptionMutation.Data>
-
-