CheckoutOutcome
The outcome of a subscription checkout. Exactly one member is set.
Contents
This data type is a UNION, so only one of the following members can be specified when used or returned.
- paymentNotRequired
-
The plan change needs no payment: a scheduled downgrade (effectiveAt is the next period boundary) or a change applied immediately or a no-op (effectiveAt is now).
Type: SubscriptionChange object
Required: No
- paymentRequired
-
The money must be collected (an upgrade with an amount due now, or a paid target that needs a card captured). Redirect the buyer to checkoutUrl.
Type: CheckoutRedirect object
Required: No
- planSelectionRequired
-
The buyer must select a plan on the hosted pricing page at pricingUrl before checkout can proceed, because no planId was supplied.
Type: PlanSelectionRedirect object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: