Type alias SubscriptionPreviewFragment
Subscription
Preview
Fragment
: { __typename
?: "SubscriptionPreview"; billingPeriodRange
: { __typename
?: "DateRange"; end
?: any | null; start
?: any | null }; credits
?: { __typename
?: "SubscriptionPreviewCredits"; initial
: { __typename
?: "Money"; amount
: number; currency
: Currency }; remaining
: { __typename
?: "Money"; amount
: number; currency
: Currency }; used
: { __typename
?: "Money"; amount
: number; currency
: Currency } } | null; discount
?: { __typename
?: "SubscriptionPreviewDiscount"; durationInMonths
?: number | null; durationType
: DiscountDurationType; name
?: string | null; type
: DiscountType; value
: number } | null; discountAmount
?: { __typename
?: "Money"; amount
: number; currency
: Currency } | null; hasScheduledUpdates
?: boolean | null; isPlanDowngrade
?: boolean | null; proration
?: { __typename
?: "SubscriptionPreviewProrations"; credit
: { __typename
?: "Money"; amount
: number; currency
: Currency }; debit
: { __typename
?: "Money"; amount
: number; currency
: Currency }; netAmount
: { __typename
?: "Money"; amount
: number; currency
: Currency }; prorationDate
: any } | null; subTotal
: { __typename
?: "Money"; amount
: number; currency
: Currency }; subscription
?: { __typename
?: "SubscriptionPricePreviewDTO"; discount
?: { __typename
?: "SubscriptionPreviewDiscount"; durationInMonths
?: number | null; durationType
: DiscountDurationType; name
?: string | null; type
: DiscountType; value
: number } | null; discountAmount
?: { __typename
?: "Money"; amount
: number; currency
: Currency } | null; subTotal
: { __typename
?: "Money"; amount
: number; currency
: Currency }; tax
: { __typename
?: "Money"; amount
: number; currency
: Currency }; taxDetails
?: { __typename
?: "SubscriptionPreviewTaxDetails"; displayName
: string; inclusive
: boolean; percentage
: number } | null; total
: { __typename
?: "Money"; amount
: number; currency
: Currency }; totalExcludingTax
: { __typename
?: "Money"; amount
: number; currency
: Currency } } | null; tax
?: { __typename
?: "Money"; amount
: number; currency
: Currency } | null; taxDetails
?: { __typename
?: "SubscriptionPreviewTaxDetails"; displayName
: string; inclusive
: boolean; percentage
: number } | null; total
: { __typename
?: "Money"; amount
: number; currency
: Currency }; totalExcludingTax
: { __typename
?: "Money"; amount
: number; currency
: Currency } }
Type declaration
-
Optional
__typename?: "SubscriptionPreview"
-
billingPeriodRange: { __typename?: "DateRange"; end?: any | null; start?: any | null }
-
Optional
__typename?: "DateRange"
-
Optional
end?: any | null
-
Optional
start?: any | null
-
Optional
credits?: { __typename?: "SubscriptionPreviewCredits"; initial: { __typename?: "Money"; amount: number; currency: Currency }; remaining: { __typename?: "Money"; amount: number; currency: Currency }; used: { __typename?: "Money"; amount: number; currency: Currency } } | null
-
Optional
discount?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; name?: string | null; type: DiscountType; value: number } | null
-
Optional
discountAmount?: { __typename?: "Money"; amount: number; currency: Currency } | null
-
Optional
hasScheduledUpdates?: boolean | null
-
Optional
isPlanDowngrade?: boolean | null
-
Optional
proration?: { __typename?: "SubscriptionPreviewProrations"; credit: { __typename?: "Money"; amount: number; currency: Currency }; debit: { __typename?: "Money"; amount: number; currency: Currency }; netAmount: { __typename?: "Money"; amount: number; currency: Currency }; prorationDate: any } | null
-
subTotal: { __typename?: "Money"; amount: number; currency: Currency }
-
Optional
__typename?: "Money"
-
amount: number
-
-
Optional
subscription?: { __typename?: "SubscriptionPricePreviewDTO"; discount?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; name?: string | null; type: DiscountType; value: number } | null; discountAmount?: { __typename?: "Money"; amount: number; currency: Currency } | null; subTotal: { __typename?: "Money"; amount: number; currency: Currency }; tax: { __typename?: "Money"; amount: number; currency: Currency }; taxDetails?: { __typename?: "SubscriptionPreviewTaxDetails"; displayName: string; inclusive: boolean; percentage: number } | null; total: { __typename?: "Money"; amount: number; currency: Currency }; totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency } } | null
-
Optional
tax?: { __typename?: "Money"; amount: number; currency: Currency } | null
-
Optional
taxDetails?: { __typename?: "SubscriptionPreviewTaxDetails"; displayName: string; inclusive: boolean; percentage: number } | null
-
total: { __typename?: "Money"; amount: number; currency: Currency }
-
Optional
__typename?: "Money"
-
amount: number
-
-
totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency }
-
Optional
__typename?: "Money"
-
amount: number
-