PaymentPagesCheckoutSessionTaxId.fromJson constructor
PaymentPagesCheckoutSessionTaxId.fromJson(
- Object? json
Implementation
factory PaymentPagesCheckoutSessionTaxId.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentPagesCheckoutSessionTaxId(
type: InvoicesResourceInvoiceTaxIdType.fromJson(map['type']),
value: map['value'] == null ? null : (map['value'] as String),
);
}