class

Stripe::TreasuryReceivedCreditsResourceLinkedFlows

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

Constants

MAX_LENGTH_FOR_CREDIT_REVERSAL = 5000
MAX_LENGTH_FOR_ISSUING_AUTHORIZATION = 5000
MAX_LENGTH_FOR_ISSUING_TRANSACTION = 5000
MAX_LENGTH_FOR_SOURCE_FLOW = 5000
MAX_LENGTH_FOR_SOURCE_FLOW_TYPE = 5000

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, credit_reversal : String | Nil = nil, issuing_authorization : String | Nil = nil, issuing_transaction : String | Nil = nil, source_flow : String | Nil = nil, source_flow_type : String | Nil = nil, source_flow_details : Stripe::TreasuryReceivedCreditsResourceLinkedFlowsSourceFlowDetails | 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

credit_reversal

The CreditReversal created as a result of this ReceivedCredit being reversed.

Source
credit_reversal=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] credit_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

issuing_authorization

Set if the ReceivedCredit was created due to an Issuing Authorization object.

Source
issuing_authorization=(new_value : String | Nil)

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

Source
issuing_transaction

Set if the ReceivedCredit is also viewable as an Issuing transaction object.

Source
issuing_transaction=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] issuing_transaction 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
source_flow

ID of the source flow. Set if network is stripe and the source flow is visible to the user. Examples of source flows include OutboundPayments, payouts, or CreditReversals.

Source
source_flow=(new_value : String | Nil)

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

Source
source_flow_details
Source

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

Source
source_flow_details_present=(source_flow_details_present : Bool)
Source
source_flow_details_present?
Source
source_flow_type

The type of flow that originated the ReceivedCredit (for example, outbound_payment).

Source
source_flow_type=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] source_flow_type 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