Class: Increase::Models::WireDrawdownRequest

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/wire_drawdown_request.rb

Overview

Defined Under Namespace

Modules: Status, Type Classes: CreditorAddress, DebtorAddress, Submission

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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: ) ⇒ Object

Some parameter documentations has been truncated, see Submission for more details.

After the drawdown request is submitted to Fedwire, this will contain supplemental details.

Parameters:

  • input_message_accountability_data (String) (defaults to: )

    The input message accountability data (IMAD) uniquely identifying the submission



# File 'lib/increase/models/wire_drawdown_request.rb', line 123


Instance Attribute Details

#account_number_idString

The Account Number to which the debtor—the recipient of this request—is being requested to send funds.

Returns:

  • (String)


18
# File 'lib/increase/models/wire_drawdown_request.rb', line 18

required :account_number_id, String

#amountInteger

The amount being requested in cents.

Returns:

  • (Integer)


24
# File 'lib/increase/models/wire_drawdown_request.rb', line 24

required :amount, Integer

#created_atTime

The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the wire drawdown request was created.

Returns:

  • (Time)


31
# File 'lib/increase/models/wire_drawdown_request.rb', line 31

required :created_at, Time

#creditor_addressIncrease::Models::WireDrawdownRequest::CreditorAddress

The creditor’s address.



37
# File 'lib/increase/models/wire_drawdown_request.rb', line 37

required :creditor_address, -> { Increase::WireDrawdownRequest::CreditorAddress }

#creditor_nameString

The creditor’s name.

Returns:

  • (String)


43
# File 'lib/increase/models/wire_drawdown_request.rb', line 43

required :creditor_name, String

#currencyString

The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the amount being requested. Will always be “USD”.

Returns:

  • (String)


50
# File 'lib/increase/models/wire_drawdown_request.rb', line 50

required :currency, String

#debtor_account_numberString

The debtor’s account number.

Returns:

  • (String)


56
# File 'lib/increase/models/wire_drawdown_request.rb', line 56

required :debtor_account_number, String

#debtor_addressIncrease::Models::WireDrawdownRequest::DebtorAddress

The debtor’s address.



62
# File 'lib/increase/models/wire_drawdown_request.rb', line 62

required :debtor_address, -> { Increase::WireDrawdownRequest::DebtorAddress }

#debtor_external_account_idString?

The debtor’s external account identifier.

Returns:

  • (String, nil)


68
# File 'lib/increase/models/wire_drawdown_request.rb', line 68

required :debtor_external_account_id, String, nil?: true

#debtor_nameString

The debtor’s name.

Returns:

  • (String)


74
# File 'lib/increase/models/wire_drawdown_request.rb', line 74

required :debtor_name, String

#debtor_routing_numberString

The debtor’s routing number.

Returns:

  • (String)


80
# File 'lib/increase/models/wire_drawdown_request.rb', line 80

required :debtor_routing_number, String

#fulfillment_inbound_wire_transfer_idString?

If the recipient fulfills the drawdown request by sending funds, then this will be the identifier of the corresponding Transaction.

Returns:

  • (String, nil)


87
# File 'lib/increase/models/wire_drawdown_request.rb', line 87

required :fulfillment_inbound_wire_transfer_id, String, nil?: true

#idString

The Wire drawdown request identifier.

Returns:

  • (String)


11
# File 'lib/increase/models/wire_drawdown_request.rb', line 11

required :id, String

#idempotency_keyString?

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).

Returns:

  • (String, nil)


95
# File 'lib/increase/models/wire_drawdown_request.rb', line 95

required :idempotency_key, String, nil?: true

#statusSymbol, Increase::Models::WireDrawdownRequest::Status

The lifecycle status of the drawdown request.



101
# File 'lib/increase/models/wire_drawdown_request.rb', line 101

required :status, enum: -> { Increase::WireDrawdownRequest::Status }

#submissionIncrease::Models::WireDrawdownRequest::Submission?

After the drawdown request is submitted to Fedwire, this will contain supplemental details.



108
# File 'lib/increase/models/wire_drawdown_request.rb', line 108

required :submission, -> { Increase::WireDrawdownRequest::Submission }, nil?: true

#typeSymbol, Increase::Models::WireDrawdownRequest::Type

A constant representing the object’s type. For this resource it will always be ‘wire_drawdown_request`.



115
# File 'lib/increase/models/wire_drawdown_request.rb', line 115

required :type, enum: -> { Increase::WireDrawdownRequest::Type }

#unstructured_remittance_informationString

Remittance information the debtor will see as part of the drawdown request.

Returns:

  • (String)


121
# File 'lib/increase/models/wire_drawdown_request.rb', line 121

required :unstructured_remittance_information, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/wire_drawdown_request.rb', line 306