class

Stripe::TreasuryTransactionsResourceFlowDetails

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constants

ERROR_MESSAGE_FOR__TYPE = "invalid value for \"_type\", must be one of [credit_reversal, debit_reversal, inbound_transfer, issuing_authorization, other, outbound_payment, outbound_transfer, received_credit, received_debit]."
VALID_VALUES_FOR__TYPE = String.static_array("credit_reversal", "debit_reversal", "inbound_transfer", "issuing_authorization", "other", "outbound_payment", "outbound_transfer", "received_credit", "received_debit")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, _type : String | Nil = nil, credit_reversal : Stripe::TreasuryCreditReversal | Nil = nil, debit_reversal : Stripe::TreasuryDebitReversal | Nil = nil, inbound_transfer : Stripe::TreasuryInboundTransfer | Nil = nil, issuing_authorization : Stripe::IssuingAuthorization | Nil = nil, outbound_payment : Stripe::TreasuryOutboundPayment | Nil = nil, outbound_transfer : Stripe::TreasuryOutboundTransfer | Nil = nil, received_credit : Stripe::TreasuryReceivedCredit | Nil = nil, received_debit : Stripe::TreasuryReceivedDebit | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

_type

Type of the flow that created the Transaction. Set to the same value as flow_type.

Source
_type=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] _type Object to be assigned

Source
credit_reversal
Source
credit_reversal=(new_value : Stripe::TreasuryCreditReversal | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] credit_reversal Object to be assigned

Source
debit_reversal
Source
debit_reversal=(new_value : Stripe::TreasuryDebitReversal | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] debit_reversal Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

inbound_transfer
Source
inbound_transfer=(new_value : Stripe::TreasuryInboundTransfer | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] inbound_transfer Object to be assigned

Source
issuing_authorization
Source
issuing_authorization=(new_value : Stripe::IssuingAuthorization | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] issuing_authorization Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
outbound_payment
Source
outbound_payment=(new_value : Stripe::TreasuryOutboundPayment | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] outbound_payment Object to be assigned

Source
outbound_transfer
Source
outbound_transfer=(new_value : Stripe::TreasuryOutboundTransfer | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] outbound_transfer Object to be assigned

Source
received_credit
Source
received_credit=(new_value : Stripe::TreasuryReceivedCredit | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] received_credit Object to be assigned

Source
received_debit
Source
received_debit=(new_value : Stripe::TreasuryReceivedDebit | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] received_debit Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source