ConfirmCardSetupData constructor
const
ConfirmCardSetupData({
- @PaymentMethodRefConverter<
PaymentMethodDetails> () PaymentMethodRef<CardPaymentMethodDetails> ? paymentMethod, - @JsonKey(name: "return_url") String? returnUrl,
Implementation
const factory ConfirmCardSetupData({
/// Either the id of an existing PaymentMethod, or an object containing
/// data to create a PaymentMethod with.
/// See the use case sections below for details.
@PaymentMethodRefConverter()
PaymentMethodRef<CardPaymentMethodDetails>? paymentMethod,
/// If you are handling next actions yourself, pass in a return_url.
/// If the subsequent action is redirect_to_url,
/// this URL will be used on the return path for the redirect.
@JsonKey(name: "return_url") String? returnUrl,
}) = _ConfirmCardSetupData;