Payment constructor

Payment({
  1. String? id,
  2. ModificationMetaData? metaData,
  3. String? syncToken,
  4. String? txnSource,
  5. ReferenceType? depositToAccountRef,
  6. ReferenceType? customerRef,
  7. String? transactionLocationType,
  8. double? totalAmt,
  9. String? privateNote,
  10. double? exchangeRate,
  11. String? txnDate,
  12. CurrencyRefType? currencyRef,
  13. ReferenceType? taxExemptionRef,
  14. ReferenceType? paymentMethodRef,
  15. ReferenceType? aRAccountRef,
  16. CreditCardPayment? creditCardPayment,
  17. String? paymentRefNum,
  18. double? unappliedAmt,
})

Implementation

Payment({
  this.id, this.metaData, this.syncToken, this.txnSource,
  this.depositToAccountRef, this.customerRef, this.transactionLocationType,
  this.totalAmt, this.privateNote, this.exchangeRate,
  this.txnDate, this.currencyRef, this.taxExemptionRef, this.paymentMethodRef,
  this.aRAccountRef, this.creditCardPayment, this.paymentRefNum,
  this.unappliedAmt
});