MembershipCarChangePreview
MembershipCarChangePreview
MembershipCarChangePreview
Preview of a membership car change. Reflects the upcoming invoice for
the proposed change without mutating any state.
Kind: Object
Fields
| Field | Type | Description |
|---|---|---|
changeType |
SubscriptionChangeType! |
Whether this change is an upgrade (more cars / charge now) or downgrade |
currentPrice |
Price! |
The current price that will be replaced |
immediateTotal |
Int! |
Amount that would be invoiced immediately, in the smallest currency unit |
lineItems |
[MembershipCarChangePreviewLineItem!]! |
Line items for the immediate (proration) preview invoice |
newVehicleQuantity |
Int! |
Number of vehicles on the membership after the change is applied |
nextBillingDate |
DateTime |
When the next recurring invoice would be billed |
nextInvoiceTotal |
Int! |
Total of the next recurring invoice after the change |
targetPrice |
Price! |
The target price that will be applied |
Definition
"""
Preview of a membership car change. Reflects the upcoming invoice for
the proposed change without mutating any state.
"""
type MembershipCarChangePreview {
"""
Whether this change is an upgrade (more cars / charge now) or downgrade
"""
changeType: SubscriptionChangeType!
"""The current price that will be replaced"""
currentPrice: Price!
"""
Amount that would be invoiced immediately, in the smallest currency unit
"""
immediateTotal: Int!
"""Line items for the immediate (proration) preview invoice"""
lineItems: [MembershipCarChangePreviewLineItem!]!
"""Number of vehicles on the membership after the change is applied"""
newVehicleQuantity: Int!
"""When the next recurring invoice would be billed"""
nextBillingDate: DateTime
"""Total of the next recurring invoice after the change"""
nextInvoiceTotal: Int!
"""The target price that will be applied"""
targetPrice: Price!
}