Class: Increase::Resources::Simulations::InboundWireTransfers
- Inherits:
-
Object
- Object
- Increase::Resources::Simulations::InboundWireTransfers
- Defined in:
- lib/increase/resources/simulations/inbound_wire_transfers.rb
Instance Method Summary collapse
-
#create(account_number_id: , amount: , creditor_address_line1: nil, creditor_address_line2: nil, creditor_address_line3: nil, creditor_name: nil, debtor_address_line1: nil, debtor_address_line2: nil, debtor_address_line3: nil, debtor_name: nil, end_to_end_identification: nil, instructing_agent_routing_number: nil, instruction_identification: nil, unique_end_to_end_transaction_reference: nil, unstructured_remittance_information: nil, wire_drawdown_request_id: nil, request_options: {}) ⇒ Increase::Models::InboundWireTransfer
Some parameter documentations has been truncated, see Models::Simulations::InboundWireTransferCreateParams for more details.
-
#initialize(client:) ⇒ InboundWireTransfers
constructor
private
A new instance of InboundWireTransfers.
Constructor Details
#initialize(client:) ⇒ InboundWireTransfers
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of InboundWireTransfers.
66 67 68 |
# File 'lib/increase/resources/simulations/inbound_wire_transfers.rb', line 66 def initialize(client:) @client = client end |
Instance Method Details
#create(account_number_id: , amount: , creditor_address_line1: nil, creditor_address_line2: nil, creditor_address_line3: nil, creditor_name: nil, debtor_address_line1: nil, debtor_address_line2: nil, debtor_address_line3: nil, debtor_name: nil, end_to_end_identification: nil, instructing_agent_routing_number: nil, instruction_identification: nil, unique_end_to_end_transaction_reference: nil, unstructured_remittance_information: nil, wire_drawdown_request_id: nil, request_options: {}) ⇒ Increase::Models::InboundWireTransfer
Some parameter documentations has been truncated, see Models::Simulations::InboundWireTransferCreateParams for more details.
Simulates an [Inbound Wire Transfer](#inbound-wire-transfers) to your account.
52 53 54 55 56 57 58 59 60 61 |
# File 'lib/increase/resources/simulations/inbound_wire_transfers.rb', line 52 def create(params) parsed, = Increase::Simulations::InboundWireTransferCreateParams.dump_request(params) @client.request( method: :post, path: "simulations/inbound_wire_transfers", body: parsed, model: Increase::InboundWireTransfer, options: ) end |