fromMap static method
Implementation
static OrderPaymentPaymentApplied? fromMap(Object? body) {
final source = readRecord(body);
if (source == null) return null;
return OrderPaymentPaymentApplied(
amount: readText(source['amount']),
gatewayResponse: readAny(source['gateway_response']),
method: readText(source['method']),
processor: readText(source['processor']),
reference: readText(source['reference']),
);
}