Payment constructor
Payment({
- String? createdAt,
- String? id,
- String? updatedAt,
- String? locationId,
- String? teamMemberId,
- String? customerId,
- String? orderId,
- Money? amountMoney,
- String? note,
- String? referenceId,
- String? employeeId,
- List<
String> ? capabilities, - Address? billingAddress,
- Money? totalMoney,
- CashPaymentDetails? cashDetails,
- CardPaymentDetails? cardDetails,
- Money? tipMoney,
- Money? appFeeMoney,
- ApplicationDetails? applicationDetails,
- Money? approvedMoney,
- BankAccountPaymentDetails? bankAccountDetails,
- String? buyerEmailAddress,
- String? delayAction,
- String? delayDuration,
- String? delayedUntil,
- DeviceDetails? deviceDetails,
- ExternalPaymentDetails? externalDetails,
- Address? shippingAddress,
- List<
ProcessingFee> ? processingFee, - String? receiptNumber,
- String? receiptUrl,
- Money? refundedMoney,
- List<
String> ? refundIds, - RiskEvaluation? riskEvaluation,
- PaymentSourceType? sourceType,
- String? statementDescriptionIdentifier,
- String? versionToken,
- 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
});