Type alias SubscriptionFragment

SubscriptionFragment: { __typename?: "CustomerSubscription"; additionalMetaData?: any | null; addons?: { __typename?: "SubscriptionAddon"; addon: { __typename?: "Addon" } & AddonFragment; id: string; quantity: number }[] | null; billingId?: string | null; billingLinkUrl?: string | null; billingSyncError?: string | null; cancellationDate?: any | null; currentBillingPeriodEnd?: any | null; effectiveEndDate?: any | null; endDate?: any | null; experimentInfo?: { __typename?: "experimentInfo"; groupName: string; groupType: ExperimentGroupType; id: string; name: string } | null; futureUpdates: ({ __typename?: "SubscriptionFutureUpdate" } & SubscriptionFutureUpdateDataFragment)[]; id: string; latestInvoice?: { __typename?: "SubscriptionInvoice" } & SubscriptionInvoiceFragment | null; payingCustomer?: { __typename?: "Customer" } & SlimCustomerFragment | null; paymentCollection: PaymentCollection; paymentCollectionMethod?: PaymentCollectionMethod | null; plan: { __typename?: "Plan" } & PlanFragment; prices?: { __typename?: "SubscriptionPrice"; price?: { __typename?: "Price" } & PriceFragment | null; usageLimit?: number | null }[] | null; pricingType: PricingType; refId: string; resource?: { __typename?: "CustomerResource" } & CustomerResourceFragment | null; scheduledUpdates?: ({ __typename?: "SubscriptionScheduledUpdate" } & SubscriptionScheduledUpdateDataFragment)[] | null; startDate: any; status: SubscriptionStatus; subscriptionId: string; totalPrice?: { __typename?: "CustomerSubscriptionTotalPrice" } & TotalPriceFragment | null; trialEndDate?: any | null }

Type declaration

  • Optional __typename?: "CustomerSubscription"
  • Optional additionalMetaData?: any | null
  • Optional addons?: { __typename?: "SubscriptionAddon"; addon: { __typename?: "Addon" } & AddonFragment; id: string; quantity: number }[] | null
  • Optional billingId?: string | null
  • Optional billingLinkUrl?: string | null
  • Optional billingSyncError?: string | null
  • Optional cancellationDate?: any | null
  • Optional currentBillingPeriodEnd?: any | null
  • Optional effectiveEndDate?: any | null
  • Optional endDate?: any | null
  • Optional experimentInfo?: { __typename?: "experimentInfo"; groupName: string; groupType: ExperimentGroupType; id: string; name: string } | null
  • futureUpdates: ({ __typename?: "SubscriptionFutureUpdate" } & SubscriptionFutureUpdateDataFragment)[]
  • id: string
  • Optional latestInvoice?: { __typename?: "SubscriptionInvoice" } & SubscriptionInvoiceFragment | null
  • Optional payingCustomer?: { __typename?: "Customer" } & SlimCustomerFragment | null
  • paymentCollection: PaymentCollection
  • Optional paymentCollectionMethod?: PaymentCollectionMethod | null
  • plan: { __typename?: "Plan" } & PlanFragment
  • Optional prices?: { __typename?: "SubscriptionPrice"; price?: { __typename?: "Price" } & PriceFragment | null; usageLimit?: number | null }[] | null
  • pricingType: PricingType
  • refId: string
  • Optional resource?: { __typename?: "CustomerResource" } & CustomerResourceFragment | null
  • Optional scheduledUpdates?: ({ __typename?: "SubscriptionScheduledUpdate" } & SubscriptionScheduledUpdateDataFragment)[] | null
  • startDate: any
  • status: SubscriptionStatus
  • subscriptionId: string
  • Optional totalPrice?: { __typename?: "CustomerSubscriptionTotalPrice" } & TotalPriceFragment | null
  • Optional trialEndDate?: any | null