Class: Increase::Resources::InboundRealTimePaymentsTransfers
- Inherits:
-
Object
- Object
- Increase::Resources::InboundRealTimePaymentsTransfers
- Defined in:
- lib/increase/resources/inbound_real_time_payments_transfers.rb,
sig/increase/resources/inbound_real_time_payments_transfers.rbs
Instance Method Summary collapse
-
#initialize(client:) ⇒ InboundRealTimePaymentsTransfers
constructor
private
A new instance of InboundRealTimePaymentsTransfers.
-
#list(account_id: nil, account_number_id: nil, created_at: nil, cursor: nil, limit: nil, request_options: {}) ⇒ Increase::Internal::Page<Increase::Models::InboundRealTimePaymentsTransfer>
List Inbound Real-Time Payments Transfers.
-
#retrieve(inbound_real_time_payments_transfer_id, request_options: {}) ⇒ Increase::Models::InboundRealTimePaymentsTransfer
Retrieve an Inbound Real-Time Payments Transfer.
Constructor Details
#initialize(client:) ⇒ InboundRealTimePaymentsTransfers
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 InboundRealTimePaymentsTransfers.
68 69 70 |
# File 'lib/increase/resources/inbound_real_time_payments_transfers.rb', line 68 def initialize(client:) @client = client end |
Instance Method Details
#list(account_id: nil, account_number_id: nil, created_at: nil, cursor: nil, limit: nil, request_options: {}) ⇒ Increase::Internal::Page<Increase::Models::InboundRealTimePaymentsTransfer>
List Inbound Real-Time Payments Transfers
52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/increase/resources/inbound_real_time_payments_transfers.rb', line 52 def list(params = {}) parsed, = Increase::InboundRealTimePaymentsTransferListParams.dump_request(params) query = Increase::Internal::Util.encode_query_params(parsed) @client.request( method: :get, path: "inbound_real_time_payments_transfers", query: query, page: Increase::Internal::Page, model: Increase::InboundRealTimePaymentsTransfer, options: ) end |
#retrieve(inbound_real_time_payments_transfer_id, request_options: {}) ⇒ Increase::Models::InboundRealTimePaymentsTransfer
Retrieve an Inbound Real-Time Payments Transfer
18 19 20 21 22 23 24 25 |
# File 'lib/increase/resources/inbound_real_time_payments_transfers.rb', line 18 def retrieve(inbound_real_time_payments_transfer_id, params = {}) @client.request( method: :get, path: ["inbound_real_time_payments_transfers/%1$s", inbound_real_time_payments_transfer_id], model: Increase::InboundRealTimePaymentsTransfer, options: params[:request_options] ) end |