PaymentPagesCheckoutSessionInvoiceCreation.fromJson constructor
PaymentPagesCheckoutSessionInvoiceCreation.fromJson(
- Object? json
Implementation
factory PaymentPagesCheckoutSessionInvoiceCreation.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentPagesCheckoutSessionInvoiceCreation(
enabled: (map['enabled'] as bool),
invoiceData: PaymentPagesCheckoutSessionInvoiceSettings.fromJson(
map['invoice_data']),
);
}