Type alias ImmediateSubscriptionPreviewInvoiceFragment
Immediate
Subscription
Preview
Invoice
Fragment
: { __typename
?: "ImmediateSubscriptionPreviewInvoice"; 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
?: "Money"; amount
: number; currency
: Currency } | null; discountDetails
?: { __typename
?: "SubscriptionPreviewDiscount"; durationInMonths
?: number | null; durationType
: DiscountDurationType; type
: DiscountType; value
: number } | null; proration
?: { __typename
?: "SubscriptionPreviewProrations"; credit
: { __typename
?: "Money"; amount
: number; currency
: Currency }; debit
: { __typename
?: "Money"; amount
: number; currency
: Currency }; hasProrations
?: boolean | null; netAmount
: { __typename
?: "Money"; amount
: number; currency
: Currency }; prorationDate
: any } | null; subTotal
: { __typename
?: "Money"; amount
: number; currency
: Currency }; 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?: "ImmediateSubscriptionPreviewInvoice"
-
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?: "Money"; amount: number; currency: Currency } | null
-
Optional
discountDetails?: { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; type: DiscountType; value: number } | null
-
Optional
proration?: { __typename?: "SubscriptionPreviewProrations"; credit: { __typename?: "Money"; amount: number; currency: Currency }; debit: { __typename?: "Money"; amount: number; currency: Currency }; hasProrations?: boolean | null; netAmount: { __typename?: "Money"; amount: number; currency: Currency }; prorationDate: any } | null
-
subTotal: { __typename?: "Money"; amount: number; currency: Currency }
-
Optional
__typename?: "Money"
-
amount: number
-
-
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
-