fromMap static method
Implementation
static PurchasePaymentsPaymentMethodApplication? fromMap(Object? body) {
final source = readRecord(body);
if (source == null) return null;
return PurchasePaymentsPaymentMethodApplication(
amount: readText(source['amount']),
paymentMethod:
PurchasePaymentsPaymentMethodApplicationPaymentMethod.fromMap(
source['payment_method']),
paymentProcessor:
PurchasePaymentsPaymentMethodApplicationPaymentProcessor.fromMap(
source['payment_processor']),
reference: readText(source['reference']),
);
}