Class: Increase::Models::WireTransfer
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::WireTransfer
- Defined in:
- lib/increase/models/wire_transfer.rb
Overview
Defined Under Namespace
Modules: Currency, Network, Status, Type Classes: Approval, Cancellation, CreatedBy, Creditor, Debtor, Remittance, Reversal, Submission
Instance Attribute Summary collapse
-
#account_id ⇒ String
The Account to which the transfer belongs.
-
#account_number ⇒ String
The destination account number.
-
#amount ⇒ Integer
The transfer amount in USD cents.
-
#approval ⇒ Increase::Models::WireTransfer::Approval?
If your account requires approvals for transfers and the transfer was approved, this will contain details of the approval.
-
#cancellation ⇒ Increase::Models::WireTransfer::Cancellation?
If your account requires approvals for transfers and the transfer was not approved, this will contain details of the cancellation.
-
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the transfer was created.
-
#created_by ⇒ Increase::Models::WireTransfer::CreatedBy?
What object created the transfer, either via the API or the dashboard.
-
#creditor ⇒ Increase::Models::WireTransfer::Creditor?
The person or business that is receiving the funds from the transfer.
-
#currency ⇒ Symbol, Increase::Models::WireTransfer::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the transfer’s currency.
-
#debtor ⇒ Increase::Models::WireTransfer::Debtor?
The person or business whose funds are being transferred.
-
#external_account_id ⇒ String?
The identifier of the External Account the transfer was made to, if any.
-
#id ⇒ String
The wire transfer’s identifier.
-
#idempotency_key ⇒ String?
The idempotency key you chose for this object.
-
#inbound_wire_drawdown_request_id ⇒ String?
The ID of an Inbound Wire Drawdown Request in response to which this transfer was sent.
-
#network ⇒ Symbol, Increase::Models::WireTransfer::Network
The transfer’s network.
-
#pending_transaction_id ⇒ String?
The ID for the pending transaction representing the transfer.
-
#remittance ⇒ Increase::Models::WireTransfer::Remittance?
Remittance information sent with the wire transfer.
-
#reversal ⇒ Increase::Models::WireTransfer::Reversal?
If your transfer is reversed, this will contain details of the reversal.
-
#routing_number ⇒ String
The American Bankers’ Association (ABA) Routing Transit Number (RTN).
-
#source_account_number_id ⇒ String?
The Account Number that was passed to the wire’s recipient.
-
#status ⇒ Symbol, Increase::Models::WireTransfer::Status
The lifecycle status of the transfer.
-
#submission ⇒ Increase::Models::WireTransfer::Submission?
After the transfer is submitted to Fedwire, this will contain supplemental details.
-
#transaction_id ⇒ String?
The ID for the transaction funding the transfer.
-
#type ⇒ Symbol, Increase::Models::WireTransfer::Type
A constant representing the object’s type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input_message_accountability_data: , submitted_at: ) ⇒ Object
constructor
After the transfer is submitted to Fedwire, this will contain supplemental details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(input_message_accountability_data: , submitted_at: ) ⇒ Object
After the transfer is submitted to Fedwire, this will contain supplemental details.
|
|
# File 'lib/increase/models/wire_transfer.rb', line 163
|
Instance Attribute Details
#account_id ⇒ String
The Account to which the transfer belongs.
17 |
# File 'lib/increase/models/wire_transfer.rb', line 17 required :account_id, String |
#account_number ⇒ String
The destination account number.
23 |
# File 'lib/increase/models/wire_transfer.rb', line 23 required :account_number, String |
#amount ⇒ Integer
The transfer amount in USD cents.
29 |
# File 'lib/increase/models/wire_transfer.rb', line 29 required :amount, Integer |
#approval ⇒ Increase::Models::WireTransfer::Approval?
If your account requires approvals for transfers and the transfer was approved, this will contain details of the approval.
36 |
# File 'lib/increase/models/wire_transfer.rb', line 36 required :approval, -> { Increase::WireTransfer::Approval }, nil?: true |
#cancellation ⇒ Increase::Models::WireTransfer::Cancellation?
If your account requires approvals for transfers and the transfer was not approved, this will contain details of the cancellation.
43 |
# File 'lib/increase/models/wire_transfer.rb', line 43 required :cancellation, -> { Increase::WireTransfer::Cancellation }, nil?: true |
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the transfer was created.
50 |
# File 'lib/increase/models/wire_transfer.rb', line 50 required :created_at, Time |
#created_by ⇒ Increase::Models::WireTransfer::CreatedBy?
What object created the transfer, either via the API or the dashboard.
56 |
# File 'lib/increase/models/wire_transfer.rb', line 56 required :created_by, -> { Increase::WireTransfer::CreatedBy }, nil?: true |
#creditor ⇒ Increase::Models::WireTransfer::Creditor?
The person or business that is receiving the funds from the transfer.
62 |
# File 'lib/increase/models/wire_transfer.rb', line 62 required :creditor, -> { Increase::WireTransfer::Creditor }, nil?: true |
#currency ⇒ Symbol, Increase::Models::WireTransfer::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the transfer’s currency. For wire transfers this is always equal to ‘usd`.
69 |
# File 'lib/increase/models/wire_transfer.rb', line 69 required :currency, enum: -> { Increase::WireTransfer::Currency } |
#debtor ⇒ Increase::Models::WireTransfer::Debtor?
The person or business whose funds are being transferred.
75 |
# File 'lib/increase/models/wire_transfer.rb', line 75 required :debtor, -> { Increase::WireTransfer::Debtor }, nil?: true |
#external_account_id ⇒ String?
The identifier of the External Account the transfer was made to, if any.
81 |
# File 'lib/increase/models/wire_transfer.rb', line 81 required :external_account_id, String, nil?: true |
#id ⇒ String
The wire transfer’s identifier.
11 |
# File 'lib/increase/models/wire_transfer.rb', line 11 required :id, String |
#idempotency_key ⇒ String?
The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](increase.com/documentation/idempotency-keys).
89 |
# File 'lib/increase/models/wire_transfer.rb', line 89 required :idempotency_key, String, nil?: true |
#inbound_wire_drawdown_request_id ⇒ String?
The ID of an Inbound Wire Drawdown Request in response to which this transfer was sent.
96 |
# File 'lib/increase/models/wire_transfer.rb', line 96 required :inbound_wire_drawdown_request_id, String, nil?: true |
#network ⇒ Symbol, Increase::Models::WireTransfer::Network
The transfer’s network.
102 |
# File 'lib/increase/models/wire_transfer.rb', line 102 required :network, enum: -> { Increase::WireTransfer::Network } |
#pending_transaction_id ⇒ String?
The ID for the pending transaction representing the transfer. A pending transaction is created when the transfer [requires approval](increase.com/documentation/transfer-approvals#transfer-approvals) by someone else in your organization.
111 |
# File 'lib/increase/models/wire_transfer.rb', line 111 required :pending_transaction_id, String, nil?: true |
#remittance ⇒ Increase::Models::WireTransfer::Remittance?
Remittance information sent with the wire transfer.
117 |
# File 'lib/increase/models/wire_transfer.rb', line 117 required :remittance, -> { Increase::WireTransfer::Remittance }, nil?: true |
#reversal ⇒ Increase::Models::WireTransfer::Reversal?
If your transfer is reversed, this will contain details of the reversal.
123 |
# File 'lib/increase/models/wire_transfer.rb', line 123 required :reversal, -> { Increase::WireTransfer::Reversal }, nil?: true |
#routing_number ⇒ String
The American Bankers’ Association (ABA) Routing Transit Number (RTN).
129 |
# File 'lib/increase/models/wire_transfer.rb', line 129 required :routing_number, String |
#source_account_number_id ⇒ String?
The Account Number that was passed to the wire’s recipient.
135 |
# File 'lib/increase/models/wire_transfer.rb', line 135 required :source_account_number_id, String, nil?: true |
#status ⇒ Symbol, Increase::Models::WireTransfer::Status
The lifecycle status of the transfer.
141 |
# File 'lib/increase/models/wire_transfer.rb', line 141 required :status, enum: -> { Increase::WireTransfer::Status } |
#submission ⇒ Increase::Models::WireTransfer::Submission?
After the transfer is submitted to Fedwire, this will contain supplemental details.
148 |
# File 'lib/increase/models/wire_transfer.rb', line 148 required :submission, -> { Increase::WireTransfer::Submission }, nil?: true |
#transaction_id ⇒ String?
The ID for the transaction funding the transfer.
154 |
# File 'lib/increase/models/wire_transfer.rb', line 154 required :transaction_id, String, nil?: true |
#type ⇒ Symbol, Increase::Models::WireTransfer::Type
A constant representing the object’s type. For this resource it will always be ‘wire_transfer`.
161 |
# File 'lib/increase/models/wire_transfer.rb', line 161 required :type, enum: -> { Increase::WireTransfer::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/wire_transfer.rb', line 449
|