Class: Increase::Resources::Simulations::InboundWireDrawdownRequests
- Inherits:
-
Object
- Object
- Increase::Resources::Simulations::InboundWireDrawdownRequests
- Defined in:
- lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb
Instance Method Summary collapse
-
#create(amount: , creditor_account_number: , creditor_routing_number: , currency: , recipient_account_number_id: , creditor_address_line1: nil, creditor_address_line2: nil, creditor_address_line3: nil, creditor_name: nil, debtor_account_number: nil, debtor_address_line1: nil, debtor_address_line2: nil, debtor_address_line3: nil, debtor_name: nil, debtor_routing_number: nil, end_to_end_identification: nil, instruction_identification: nil, unique_end_to_end_transaction_reference: nil, unstructured_remittance_information: nil, request_options: {}) ⇒ Increase::Models::InboundWireDrawdownRequest
Some parameter documentations has been truncated, see Models::Simulations::InboundWireDrawdownRequestCreateParams for more details.
-
#initialize(client:) ⇒ InboundWireDrawdownRequests
constructor
private
A new instance of InboundWireDrawdownRequests.
Constructor Details
#initialize(client:) ⇒ InboundWireDrawdownRequests
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 InboundWireDrawdownRequests.
73 74 75 |
# File 'lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb', line 73 def initialize(client:) @client = client end |
Instance Method Details
#create(amount: , creditor_account_number: , creditor_routing_number: , currency: , recipient_account_number_id: , creditor_address_line1: nil, creditor_address_line2: nil, creditor_address_line3: nil, creditor_name: nil, debtor_account_number: nil, debtor_address_line1: nil, debtor_address_line2: nil, debtor_address_line3: nil, debtor_name: nil, debtor_routing_number: nil, end_to_end_identification: nil, instruction_identification: nil, unique_end_to_end_transaction_reference: nil, unstructured_remittance_information: nil, request_options: {}) ⇒ Increase::Models::InboundWireDrawdownRequest
Some parameter documentations has been truncated, see Models::Simulations::InboundWireDrawdownRequestCreateParams for more details.
Simulates receiving an [Inbound Wire Drawdown Request](#inbound-wire-drawdown-requests).
59 60 61 62 63 64 65 66 67 68 |
# File 'lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb', line 59 def create(params) parsed, = Increase::Simulations::InboundWireDrawdownRequestCreateParams.dump_request(params) @client.request( method: :post, path: "simulations/inbound_wire_drawdown_requests", body: parsed, model: Increase::InboundWireDrawdownRequest, options: ) end |