ISO currency code, in lowercase. Must be a supported currency.
* @property string|\Stripe\Customer $customer The customer whose available cash balance changed as a result of this transaction.
* @property int $ending_balance The total available cash balance for the specified currency after this transaction was applied. Represented in the smallest currency unit.
* @property null|\Stripe\StripeObject $funded
* @property bool $livemode Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
* @property int $net_amount The amount by which the cash balance changed, represented in the smallest currency unit. A positive value represents funds being added to the cash balance, a negative value represents funds being removed from the cash balance.
* @property null|\Stripe\StripeObject $refunded_from_payment
* @property string $type The type of the cash balance transaction. One of applied_to_payment
, unapplied_from_payment
, refunded_from_payment
, funded
, return_initiated
, or return_canceled
. New types may be added in future. See Customer Balance to learn more about these types.
* @property null|\Stripe\StripeObject $unapplied_from_payment
*/
class CustomerCashBalanceTransaction extends ApiResource
{
const OBJECT_NAME = 'customer_cash_balance_transaction';
use ApiOperations\All;
use ApiOperations\Retrieve;
const TYPE_APPLIED_TO_PAYMENT = 'applied_to_payment';
const TYPE_FUNDED = 'funded';
const TYPE_FUNDING_REVERSED = 'funding_reversed';
const TYPE_REFUNDED_FROM_PAYMENT = 'refunded_from_payment';
const TYPE_RETURN_CANCELED = 'return_canceled';
const TYPE_RETURN_INITIATED = 'return_initiated';
const TYPE_UNAPPLIED_FROM_PAYMENT = 'unapplied_from_payment';
}