class

Stripe::SourceReceiverFlow

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

Constants

MAX_LENGTH_FOR_ADDRESS = 5000
MAX_LENGTH_FOR_REFUND_ATTRIBUTES_METHOD = 5000
MAX_LENGTH_FOR_REFUND_ATTRIBUTES_STATUS = 5000

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, address : String | Nil = nil, amount_charged : Int64 | Nil = nil, amount_received : Int64 | Nil = nil, amount_returned : Int64 | Nil = nil, refund_attributes_method : String | Nil = nil, refund_attributes_status : String | 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

address

The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.

Source
address=(new_value : String | Nil)

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

Source
amount_charged

The total amount that was moved to your balance. This is almost always equal to the amount charged. In rare cases when customers deposit excess funds and we are unable to refund those, those funds get moved to your balance and show up in amount_charged as well. The amount charged is expressed in the source's currency.

Source
amount_charged=(new_value : Int64 | Nil)

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

Source
amount_received

The total amount received by the receiver source. amount_received = amount_returned + amount_charged should be true for consumed sources unless customers deposit excess funds. The amount received is expressed in the source's currency.

Source
amount_received=(new_value : Int64 | Nil)

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

Source
amount_returned

The total amount that was returned to the customer. The amount returned is expressed in the source's currency.

Source
amount_returned=(new_value : Int64 | Nil)

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

list_invalid_properties

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

Source
refund_attributes_method

Type of refund attribute method, one of email, manual, or none.

Source
refund_attributes_method=(new_value : String | Nil)

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

Source
refund_attributes_status

Type of refund attribute status, one of missing, requested, or available.

Source
refund_attributes_status=(new_value : String | Nil)

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