Payment constructor

Payment({
  1. String? createdAt,
  2. String? id,
  3. String? updatedAt,
  4. String? locationId,
  5. String? teamMemberId,
  6. String? customerId,
  7. String? orderId,
  8. Money? amountMoney,
  9. String? note,
  10. String? referenceId,
  11. String? employeeId,
  12. List<String>? capabilities,
  13. Address? billingAddress,
  14. Money? totalMoney,
  15. CashPaymentDetails? cashDetails,
  16. CardPaymentDetails? cardDetails,
  17. Money? tipMoney,
  18. Money? appFeeMoney,
  19. ApplicationDetails? applicationDetails,
  20. Money? approvedMoney,
  21. BankAccountPaymentDetails? bankAccountDetails,
  22. String? buyerEmailAddress,
  23. String? delayAction,
  24. String? delayDuration,
  25. String? delayedUntil,
  26. DeviceDetails? deviceDetails,
  27. ExternalPaymentDetails? externalDetails,
  28. Address? shippingAddress,
  29. List<ProcessingFee>? processingFee,
  30. String? receiptNumber,
  31. String? receiptUrl,
  32. Money? refundedMoney,
  33. List<String>? refundIds,
  34. RiskEvaluation? riskEvaluation,
  35. PaymentSourceType? sourceType,
  36. String? statementDescriptionIdentifier,
  37. String? versionToken,
  38. DigitalWalletDetails? walletDetails,
})

Implementation

Payment({
  this.createdAt, this.id, this.updatedAt, this.locationId,
this.teamMemberId, this.customerId, this.orderId,
this.amountMoney, this.note, this.referenceId,
this.employeeId, this.capabilities, this.billingAddress,
this.totalMoney, this.cashDetails, this.cardDetails,
this.tipMoney, this.appFeeMoney, this.applicationDetails,
this.approvedMoney, this.bankAccountDetails, this.buyerEmailAddress,
  this.delayAction, this.delayDuration, this.delayedUntil,
this.deviceDetails, this.externalDetails, this.shippingAddress,
this.processingFee, this.receiptNumber, this.receiptUrl,
this.refundedMoney, this.refundIds, this.riskEvaluation,
this.sourceType, this.statementDescriptionIdentifier, this.versionToken,
  this.walletDetails
});