Package io.stigg.api.operations
Class GetCustomerByIdQuery
- java.lang.Object
-
- io.stigg.api.operations.GetCustomerByIdQuery
-
- All Implemented Interfaces:
com.apollographql.apollo3.api.Executable<GetCustomerByIdQuery.Data>,com.apollographql.apollo3.api.Operation<GetCustomerByIdQuery.Data>,com.apollographql.apollo3.api.Query<GetCustomerByIdQuery.Data>
public class GetCustomerByIdQuery extends java.lang.Object implements com.apollographql.apollo3.api.Query<GetCustomerByIdQuery.Data>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetCustomerByIdQuery.Builderstatic classGetCustomerByIdQuery.Datastatic classGetCustomerByIdQuery.GetCustomerByRefId
-
Field Summary
Fields Modifier and Type Field Description GetCustomerByRefIdInputinputstatic 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 GetCustomerByIdQuery(GetCustomerByRefIdInput input)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.apollographql.apollo3.api.Adapter<GetCustomerByIdQuery.Data>adapter()static GetCustomerByIdQuery.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 GetCustomerById($input: GetCustomerByRefIdInput!) { getCustomerByRefId(input: $input) { __typename ...CustomerWithSubscriptionsFragment } } 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 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 CustomerWithSubscriptionsFragment on Customer { __typename ...CustomerFragment subscriptions { __typename ...SubscriptionFragment } }- See Also:
- Constant Field Values
-
OPERATION_NAME
public static final java.lang.String OPERATION_NAME
- See Also:
- Constant Field Values
-
input
public final GetCustomerByRefIdInput input
-
-
Constructor Detail
-
GetCustomerByIdQuery
public GetCustomerByIdQuery(GetCustomerByRefIdInput 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 GetCustomerByIdQuery.Builder builder()
-
id
public java.lang.String id()
- Specified by:
idin interfacecom.apollographql.apollo3.api.Operation<GetCustomerByIdQuery.Data>
-
document
public java.lang.String document()
- Specified by:
documentin interfacecom.apollographql.apollo3.api.Operation<GetCustomerByIdQuery.Data>
-
name
public java.lang.String name()
- Specified by:
namein interfacecom.apollographql.apollo3.api.Operation<GetCustomerByIdQuery.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<GetCustomerByIdQuery.Data>- Specified by:
serializeVariablesin interfacecom.apollographql.apollo3.api.Operation<GetCustomerByIdQuery.Data>- Throws:
java.io.IOException
-
adapter
public com.apollographql.apollo3.api.Adapter<GetCustomerByIdQuery.Data> adapter()
- Specified by:
adapterin interfacecom.apollographql.apollo3.api.Executable<GetCustomerByIdQuery.Data>- Specified by:
adapterin interfacecom.apollographql.apollo3.api.Operation<GetCustomerByIdQuery.Data>
-
rootField
public com.apollographql.apollo3.api.CompiledField rootField()
- Specified by:
rootFieldin interfacecom.apollographql.apollo3.api.Executable<GetCustomerByIdQuery.Data>- Specified by:
rootFieldin interfacecom.apollographql.apollo3.api.Operation<GetCustomerByIdQuery.Data>
-
-