fromMap static method
Implementation
static PurchasePaymentsCreditNoteApplication? fromMap(Object? body) {
final source = readRecord(body);
if (source == null) return null;
return PurchasePaymentsCreditNoteApplication(
amount: readText(source['amount']),
purchaseCreditNote:
PurchasePaymentsCreditNoteApplicationPurchaseCreditNote.fromMap(
source['purchase_credit_note']),
);
}