CustomerCashBalanceTransaction constructor
const
CustomerCashBalanceTransaction({
- CustomerBalanceResourceCashBalanceTransactionResourceAdjustedForOverdraft? adjustedForOverdraft,
- CustomerBalanceResourceCashBalanceTransactionResourceAppliedToPaymentTransaction? appliedToPayment,
- required DateTime created,
- required String currency,
- required CustomerOrId customer,
- required int endingBalance,
- CustomerBalanceResourceCashBalanceTransactionResourceFundedTransaction? funded,
- required String id,
- required bool livemode,
- required int netAmount,
- CustomerBalanceResourceCashBalanceTransactionResourceRefundedFromPaymentTransaction? refundedFromPayment,
- CustomerBalanceResourceCashBalanceTransactionResourceTransferredToBalance? transferredToBalance,
- required CustomerCashBalanceTransactionType type,
- CustomerBalanceResourceCashBalanceTransactionResourceUnappliedFromPaymentTransaction? unappliedFromPayment,
CustomerCashBalanceTransaction
Customers with certain payments enabled have a cash balance, representing funds that were paid by the customer to a merchant, but have not yet been allocated to a payment. Cash Balance Transactions represent when funds are moved into or out of this balance. This includes funding by the customer, allocation to payments, and refunds to the customer.
Implementation
const CustomerCashBalanceTransaction({
this.adjustedForOverdraft,
this.appliedToPayment,
required this.created,
required this.currency,
required this.customer,
required this.endingBalance,
this.funded,
required this.id,
required this.livemode,
required this.netAmount,
this.refundedFromPayment,
this.transferredToBalance,
required this.type,
this.unappliedFromPayment,
});