class

Plaid::TransferRefund

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

Represents a refund within the Transfers API.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, id : String | Nil = nil, transfer_id : String | Nil = nil, amount : String | Nil = nil, status : Plaid::TransferRefundStatus | Nil = nil, failure_reason : TransferRefundFailure | Nil = nil, created : Time | Nil = nil, network_trace_id : 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

amount

The amount of the refund (decimal string with two digits of precision e.g. "10.00").

Source
amount=(new_value : String | Nil)

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

Source
created

The datetime when this refund was created. This will be of the form 2006-01-02T15:04:05Z

Source
created=(new_value : Time | Nil)

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

Source
failure_reason
Source
failure_reason=(new_value : TransferRefundFailure | Nil)

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

id

Plaid’s unique identifier for a refund.

Source
id=(new_value : String | Nil)

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

The trace identifier for the transfer based on its network. This will only be set after the transfer has posted. For ach or same-day-ach transfers, this is the ACH trace number. Currently, the field will remain null for transfers on other rails.

Source
network_trace_id=(new_value : String | Nil)

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

Source
network_trace_id_present=(network_trace_id_present : Bool)
Source
network_trace_id_present?
Source
status
Source
status=(new_value : Plaid::TransferRefundStatus | Nil)

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

Source
transfer_id

The ID of the transfer to refund.

Source
transfer_id=(new_value : String | Nil)

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