CustomerCashBalanceTransaction class final
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.
- Implemented types
Constructors
- 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
const
- CustomerCashBalanceTransaction.fromJson(Object? json)
-
factory
Properties
- adjustedForOverdraft → CustomerBalanceResourceCashBalanceTransactionResourceAdjustedForOverdraft?
-
final
- appliedToPayment → CustomerBalanceResourceCashBalanceTransactionResourceAppliedToPaymentTransaction?
-
final
- created → DateTime
-
final
- currency → String
-
final
- customer → CustomerOrId
-
final
- endingBalance → int
-
final
- funded → CustomerBalanceResourceCashBalanceTransactionResourceFundedTransaction?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID of the BalanceTransactionSource.
final
- livemode → bool
-
final
- netAmount → int
-
final
- object → String
-
final
- refundedFromPayment → CustomerBalanceResourceCashBalanceTransactionResourceRefundedFromPaymentTransaction?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transferredToBalance → CustomerBalanceResourceCashBalanceTransactionResourceTransferredToBalance?
-
final
- type → CustomerCashBalanceTransactionType
-
final
- unappliedFromPayment → CustomerBalanceResourceCashBalanceTransactionResourceUnappliedFromPaymentTransaction?
-
final
Methods
-
encodeWith<
V> (Encoder< V> encoder) → V -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encode<
V> (CustomerCashBalanceTransaction instance, Encoder< V> encoder) → V -
override