PaymentLinksResourceCustomText.fromJson constructor
PaymentLinksResourceCustomText.fromJson(
- Object? json
Implementation
factory PaymentLinksResourceCustomText.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentLinksResourceCustomText(
afterSubmit: map['after_submit'] == null
? null
: PaymentLinksResourceCustomTextAfterSubmit.fromJson(
map['after_submit']),
shippingAddress: map['shipping_address'] == null
? null
: PaymentLinksResourceCustomTextAfterSubmit.fromJson(
map['shipping_address']),
submit: map['submit'] == null
? null
: PaymentLinksResourceCustomTextAfterSubmit.fromJson(map['submit']),
termsOfServiceAcceptance: map['terms_of_service_acceptance'] == null
? null
: PaymentLinksResourceCustomTextAfterSubmit.fromJson(
map['terms_of_service_acceptance']),
);
}