CheckoutCustomerBalancePaymentMethodOptions.fromJson constructor
CheckoutCustomerBalancePaymentMethodOptions.fromJson(
- Object? json
Implementation
factory CheckoutCustomerBalancePaymentMethodOptions.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return CheckoutCustomerBalancePaymentMethodOptions(
bankTransfer: map['bank_transfer'] == null
? null
: CheckoutCustomerBalanceBankTransferPaymentMethodOptions.fromJson(
map['bank_transfer']));
}