@stigg/node-server-sdk - v4.47.0
Preparing search index...
SubscriptionInvoicePreviewFragment
Type Alias SubscriptionInvoicePreviewFragment
type
SubscriptionInvoicePreviewFragment
=
{
__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
;
}
;
}
Index
Properties
__
typename?
amount
Due
credits?
discount?
discount
Details?
last
Updated
At
lines
minimum
Spend
Adjustment
sub
Total
sub
Total
Excluding
Tax
tax?
tax
Details?
total
total
Excluding
Tax
Properties
Optional
__
typename
__typename
?:
"SubscriptionInvoicePreview"
amount
Due
amountDue
:
{
__typename
?:
"Money"
;
amount
:
number
;
currency
:
Currency
}
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
?:
"Money"
;
amount
:
number
;
currency
:
Currency
}
|
null
Optional
discount
Details
discountDetails
?:
|
{
__typename
?:
"SubscriptionPreviewDiscount"
;
durationInMonths
?:
number
|
null
;
durationType
:
DiscountDurationType
;
name
?:
string
|
null
;
type
:
DiscountType
;
value
:
number
;
}
|
null
last
Updated
At
lastUpdatedAt
:
any
lines
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
;
}
[]
minimum
Spend
Adjustment
minimumSpendAdjustment
:
{
__typename
?:
"Money"
;
amount
:
number
;
currency
:
Currency
;
}
sub
Total
subTotal
:
{
__typename
?:
"Money"
;
amount
:
number
;
currency
:
Currency
}
sub
Total
Excluding
Tax
subTotalExcludingTax
:
{
__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
amount
Due
credits
discount
discount
Details
last
Updated
At
lines
minimum
Spend
Adjustment
sub
Total
sub
Total
Excluding
Tax
tax
tax
Details
total
total
Excluding
Tax
@stigg/node-server-sdk - v4.47.0
Loading...