Type alias SubscriptionInvoicePreviewFragment
Subscription
Invoice
Preview
Fragment
: { __typename
?: "SubscriptionInvoicePreview"; amountDue
: { __typename
?: "Money"; amount
: number; currency
: Currency }; 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; name
?: string | null; type
: DiscountType; value
: number } | null; lastUpdatedAt
: any; lines
: { __typename
?: "SubscriptionInvoicePreviewLineItem"; amount
: { __typename
?: "Money"; amount
: number; currency
: Currency }; costDescription
: string; description
: string; hasSoftLimit
?: boolean | null; lines
?: { __typename
?: "SubscriptionInvoicePreviewLineItemData"; costDescription
: string; description
: string; hasSoftLimit
?: boolean | null; proration
: boolean; quantity
?: number | null; type
: InvoiceLineItemType; usageLimit
?: number | null }[] | null; period
: { __typename
?: "SubscriptionInvoicePreviewLineItemPeriod"; end
: any; start
: any }; price
?: { __typename
?: "Price" } & PriceFragment | null; proration
: boolean; quantity
?: number | null; type
: InvoiceLineItemType; unitPrice
?: { __typename
?: "Money"; amount
: number; currency
: Currency } | null; usageLimit
?: number | null }[]; minimumSpendAdjustment
: { __typename
?: "Money"; amount
: number; currency
: Currency }; subTotal
: { __typename
?: "Money"; amount
: number; currency
: Currency }; subTotalExcludingTax
: { __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?: "SubscriptionInvoicePreview"
-
amountDue: { __typename?: "Money"; amount: number; currency: Currency }
-
Optional
__typename?: "Money"
-
amount: number
-
-
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; name?: string | null; type: DiscountType; value: number } | null
-
lastUpdatedAt: any
-
lines: { __typename?: "SubscriptionInvoicePreviewLineItem"; amount: { __typename?: "Money"; amount: number; currency: Currency }; costDescription: string; description: string; hasSoftLimit?: boolean | null; lines?: { __typename?: "SubscriptionInvoicePreviewLineItemData"; costDescription: string; description: string; hasSoftLimit?: boolean | null; proration: boolean; quantity?: number | null; type: InvoiceLineItemType; usageLimit?: number | null }[] | null; period: { __typename?: "SubscriptionInvoicePreviewLineItemPeriod"; end: any; start: any }; price?: { __typename?: "Price" } & PriceFragment | null; proration: boolean; quantity?: number | null; type: InvoiceLineItemType; unitPrice?: { __typename?: "Money"; amount: number; currency: Currency } | null; usageLimit?: number | null }[]
-
minimumSpendAdjustment: { __typename?: "Money"; amount: number; currency: Currency }
-
Optional
__typename?: "Money"
-
amount: number
-
-
subTotal: { __typename?: "Money"; amount: number; currency: Currency }
-
Optional
__typename?: "Money"
-
amount: number
-
-
subTotalExcludingTax: { __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
-