class

Plaid::WalletTransactionGetResponse

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

WalletTransactionGetResponse defines the response schema for /wallet/transaction/get

Constants

ERROR_MESSAGE_FOR__TYPE = "invalid value for \"_type\", must be one of [BANK_TRANSFER, PAYOUT, PIS_PAY_IN, REFUND, FUNDS_SWEEP, RETURN]."
VALID_VALUES_FOR__TYPE = String.static_array("BANK_TRANSFER", "PAYOUT", "PIS_PAY_IN", "REFUND", "FUNDS_SWEEP", "RETURN")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, transaction_id : String | Nil = nil, wallet_id : String | Nil = nil, reference : String | Nil = nil, _type : String | Nil = nil, amount : WalletTransactionAmount | Nil = nil, counterparty : WalletTransactionCounterparty | Nil = nil, status : Plaid::WalletTransactionStatus | Nil = nil, created_at : Time | Nil = nil, last_status_update : Time | Nil = nil, request_id : String | Nil = nil, scheme : Plaid::WalletPaymentScheme | Nil = nil, payment_id : String | Nil = nil, failure_reason : Plaid::WalletTransactionFailureReason | 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

The type of the transaction. The supported transaction types that are returned are: BANK_TRANSFER: a transaction which credits an e-wallet through an external bank transfer. PAYOUT: a transaction which debits an e-wallet by disbursing funds to a counterparty. PIS_PAY_IN: a payment which credits an e-wallet through Plaid's Payment Initiation Services (PIS) APIs. For more information see the Payment Initiation endpoints. REFUND: a transaction which debits an e-wallet by refunding a previously initiated payment made through Plaid's PIS APIs. FUNDS_SWEEP: an automated transaction which debits funds from an e-wallet to a designated client-owned account. RETURN: an automated transaction where a debit transaction was reversed and money moved back to originating account.

Source
_type=(new_value : String | Nil)

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

Source
amount
Source
amount=(new_value : WalletTransactionAmount | Nil)

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

Source
counterparty
Source
counterparty=(new_value : WalletTransactionCounterparty | Nil)

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

Source
created_at

Timestamp when the transaction was created, in ISO 8601 format.

Source
created_at=(new_value : Time | Nil)

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

Source
failure_reason
Source
failure_reason=(new_value : Plaid::WalletTransactionFailureReason | Nil)

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

Source
failure_reason_present=(failure_reason_present : Bool)
Source
failure_reason_present?
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

last_status_update

The date and time of the last time the status was updated, in IS0 8601 format

Source
last_status_update=(new_value : Time | Nil)

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

The payment id that this transaction is associated with, if any. This is present only for transaction types PIS_PAY_IN and REFUND.

Source
payment_id=(new_value : String | Nil)

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

Source
payment_id_present=(payment_id_present : Bool)
Source
payment_id_present?
Source
reference

A reference for the transaction

Source
reference=(new_value : String | Nil)

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

Source
request_id

A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.

Source
request_id=(new_value : String | Nil)

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

Source
scheme
Source
scheme=(new_value : Plaid::WalletPaymentScheme | Nil)

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

Source
scheme_present=(scheme_present : Bool)
Source
scheme_present?
Source
status
Source
status=(new_value : Plaid::WalletTransactionStatus | Nil)

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

Source
transaction_id

A unique ID identifying the transaction

Source
transaction_id=(new_value : String | Nil)

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

The EMI (E-Money Institution) wallet that this payment is associated with, if any. This wallet is used as an intermediary account to enable Plaid to reconcile the settlement of funds for Payment Initiation requests.

Source
wallet_id=(new_value : String | Nil)

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

Source