CustomerSheetResult constructor
- @JsonSerializable(explicitToJson: true)
- PaymentSheetPaymentOption? paymentOption,
- PaymentMethod? paymentMethod,
- StripeError? error,
Implementation
@JsonSerializable(explicitToJson: true)
const factory CustomerSheetResult({
/// The users selected payment option, if one exists.
PaymentSheetPaymentOption? paymentOption,
/// The Stripe PaymentMethod associated with the paymentOption, if it exists.
PaymentMethod? paymentMethod,
/// The error that occurred
StripeError? error,
}) = _CustomerSheetResult;