@stigg/node-server-sdk - v4.47.0
Preparing search index...
SubscriptionPreviewFragment
Type Alias SubscriptionPreviewFragment
type
SubscriptionPreviewFragment
=
{
__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
;
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
:
{
__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
;
}
;
}
Index
Properties
__
typename?
billing
Period
Range
credits?
discount?
discount
Amount?
has
Scheduled
Updates?
is
Plan
Downgrade?
proration?
subscription?
sub
Total
tax?
tax
Details?
total
total
Excluding
Tax
Properties
Optional
__
typename
__typename
?:
"SubscriptionPreview"
billing
Period
Range
billingPeriodRange
:
{
__typename
?:
"DateRange"
;
end
?:
any
|
null
;
start
?:
any
|
null
;
}
Optional
credits
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
discount
?:
|
{
__typename
?:
"SubscriptionPreviewDiscount"
;
durationInMonths
?:
number
|
null
;
durationType
:
DiscountDurationType
;
name
?:
string
|
null
;
type
:
DiscountType
;
value
:
number
;
}
|
null
Optional
discount
Amount
discountAmount
?:
|
{
__typename
?:
"Money"
;
amount
:
number
;
currency
:
Currency
}
|
null
Optional
has
Scheduled
Updates
hasScheduledUpdates
?:
boolean
|
null
Optional
is
Plan
Downgrade
isPlanDowngrade
?:
boolean
|
null
Optional
proration
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
Optional
subscription
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
sub
Total
subTotal
:
{
__typename
?:
"Money"
;
amount
:
number
;
currency
:
Currency
}
Optional
tax
tax
?:
{
__typename
?:
"Money"
;
amount
:
number
;
currency
:
Currency
}
|
null
Optional
tax
Details
taxDetails
?:
|
{
__typename
?:
"SubscriptionPreviewTaxDetails"
;
displayName
:
string
;
inclusive
:
boolean
;
percentage
:
number
;
}
|
null
total
total
:
{
__typename
?:
"Money"
;
amount
:
number
;
currency
:
Currency
}
total
Excluding
Tax
totalExcludingTax
:
{
__typename
?:
"Money"
;
amount
:
number
;
currency
:
Currency
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
__
typename
billing
Period
Range
credits
discount
discount
Amount
has
Scheduled
Updates
is
Plan
Downgrade
proration
subscription
sub
Total
tax
tax
Details
total
total
Excluding
Tax
@stigg/node-server-sdk - v4.47.0
Loading...