toJson method
Implementation
Map<String, dynamic> toJson() => {
"id": id,
"status": status,
"language": language,
"merchant_website": merchantWebsite,
"page_expiration": pageExpiration,
"redirect_url": redirectUrl,
"country": country,
"currency": currency,
"amount": amount,
"payment": payment.toJson(),
"payment_method_type": paymentMethodType,
"payment_method_type_categories": paymentMethodTypeCategories,
"payment_method_types_include": paymentMethodTypesInclude != null
? List<dynamic>.from(paymentMethodTypesInclude!.map((x) => x))
: null,
"payment_method_types_exclude": paymentMethodTypesExclude,
"customer": customer,
"timestamp": timestamp,
"payment_expiration": paymentExpiration,
"escrow": escrow,
"escrow_release_days": escrowReleaseDays,
};