Optional__typename
__typename?: "SubscriptionPreview"
billingPeriodRange
billingPeriodRange: {
__typename?: "DateRange";
end?: any | null;
start?: any | null;
}
Optionalcredits
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 Optionaldiscount
discount?: | { __typename?: "SubscriptionPreviewDiscount"; durationInMonths?: number | null; durationType: DiscountDurationType; name?: string | null; type: DiscountType; value: number; } | null OptionaldiscountAmount
discountAmount?: | { __typename?: "Money"; amount: number; currency: Currency } | null OptionalhasScheduledUpdates
hasScheduledUpdates?: boolean | null
OptionalisPlanDowngrade
isPlanDowngrade?: boolean | null
Optionalproration
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 Optionalsubscription
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 subTotal
subTotal: { __typename?: "Money"; amount: number; currency: Currency } Optionaltax
tax?: { __typename?: "Money"; amount: number; currency: Currency } | null OptionaltaxDetails
taxDetails?:
| {
__typename?: "SubscriptionPreviewTaxDetails";
displayName: string;
inclusive: boolean;
percentage: number;
}
| null
total
total: { __typename?: "Money"; amount: number; currency: Currency } totalExcludingTax
totalExcludingTax: { __typename?: "Money"; amount: number; currency: Currency }