Class: Increase::Models::Simulations::InboundRealTimePaymentsTransferCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb,
sig/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbs

Overview

See Also:

  • Increase::Resources::Simulations::InboundRealTimePaymentsTransfers#create

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(account_number_id:, amount:, debtor_account_number: nil, debtor_name: nil, debtor_routing_number: nil, request_for_payment_id: nil, unstructured_remittance_information: nil, request_options: {}) ⇒ InboundRealTimePaymentsTransferCreateParams

Returns a new instance of InboundRealTimePaymentsTransferCreateParams.

Parameters:

  • account_number_id (String) —

    The identifier of the Account Number the inbound Real-Time Payments Transfer is for.

  • amount (Integer) —

    The transfer amount in USD cents. Must be positive.

  • debtor_account_number (String) (defaults to: nil) —

    The account number of the account that sent the transfer.

  • debtor_name (String) (defaults to: nil) —

    The name provided by the sender of the transfer.

  • debtor_routing_number (String) (defaults to: nil) —

    The routing number of the account that sent the transfer.

  • request_for_payment_id (String) (defaults to: nil) —

    The identifier of a pending Request for Payment that this transfer will fulfill.

  • unstructured_remittance_information (String) (defaults to: nil) —

    Additional information included with the transfer.

  • request_options (Increase::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})
  • account_number_id: (String)
  • amount: (Integer)
  • debtor_account_number: (String) (defaults to: nil)
  • debtor_name: (String) (defaults to: nil)
  • debtor_routing_number: (String) (defaults to: nil)
  • request_for_payment_id: (String) (defaults to: nil)
  • unstructured_remittance_information: (String) (defaults to: nil)
  • request_options: (Increase::request_opts) (defaults to: {})


# File 'lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb', line 54

Instance Attribute Details

#account_number_id ⇒ String

The identifier of the Account Number the inbound Real-Time Payments Transfer is for.

Parameters:

  • value (String)

Returns:

  • (String)


16
# File 'lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb', line 16

required :account_number_id, String

#amount ⇒ Integer

The transfer amount in USD cents. Must be positive.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


22
# File 'lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb', line 22

required :amount, Integer

#debtor_account_number ⇒ String?

The account number of the account that sent the transfer.

Parameters:

  • (String)

Returns:

  • (String, nil)


28
# File 'lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb', line 28

optional :debtor_account_number, String

#debtor_name ⇒ String?

The name provided by the sender of the transfer.

Parameters:

  • (String)

Returns:

  • (String, nil)


34
# File 'lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb', line 34

optional :debtor_name, String

#debtor_routing_number ⇒ String?

The routing number of the account that sent the transfer.

Parameters:

  • (String)

Returns:

  • (String, nil)


40
# File 'lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb', line 40

optional :debtor_routing_number, String

#request_for_payment_id ⇒ String?

The identifier of a pending Request for Payment that this transfer will fulfill.

Parameters:

  • (String)

Returns:

  • (String, nil)


46
# File 'lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb', line 46

optional :request_for_payment_id, String

#unstructured_remittance_information ⇒ String?

Additional information included with the transfer.

Parameters:

  • (String)

Returns:

  • (String, nil)


52
# File 'lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb', line 52

optional :unstructured_remittance_information, String

Instance Method Details

#to_hash ⇒ { account_number_id: String, amount: Integer, debtor_account_number: String, debtor_name: String, debtor_routing_number: String, request_for_payment_id: String, unstructured_remittance_information: String, request_options: Increase::RequestOptions }

Returns:

  • ({ account_number_id: String, amount: Integer, debtor_account_number: String, debtor_name: String, debtor_routing_number: String, request_for_payment_id: String, unstructured_remittance_information: String, request_options: Increase::RequestOptions })


55
56
57
58
59
60
61
62
63
64
# File 'sig/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbs', line 55

def to_hash: -> {
  account_number_id: String,
  amount: Integer,
  debtor_account_number: String,
  debtor_name: String,
  debtor_routing_number: String,
  request_for_payment_id: String,
  unstructured_remittance_information: String,
  request_options: Increase::RequestOptions
}