Stripe::CustomerCashBalanceTransaction
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
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.
Constants
Constructors
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
The type of the cash balance transaction. New types may be added in future. See Customer Balance to learn more about these types.
Custom attribute writer method checking allowed values (enum). @param [Object] _type Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] adjusted_for_overdraft Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] applied_to_payment Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] created Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] currency Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] customer Object to be assigned
The total available cash balance for the specified currency after this transaction was applied. Represented in the smallest currency unit.
Custom attribute writer method checking allowed values (enum). @param [Object] ending_balance Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] funded Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
Custom attribute writer method checking allowed values (enum). @param [Object] livemode Object to be assigned
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.
Custom attribute writer method checking allowed values (enum). @param [Object] net_amount Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] object Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] refunded_from_payment Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] transferred_to_balance Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] unapplied_from_payment Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid