class ShopifyAPI::TenderTransaction
Attributes
Public Class Methods
Source
# File lib/shopify_api/rest/resources/2022_04/tender_transaction.rb, line 75 def all( limit: nil, since_id: nil, processed_at_min: nil, processed_at_max: nil, processed_at: nil, order: nil, session: ShopifyAPI::Context.active_session, **kwargs ) response = base_find( session: session, ids: {}, params: {limit: limit, since_id: since_id, processed_at_min: processed_at_min, processed_at_max: processed_at_max, processed_at: processed_at, order: order}.merge(kwargs).compact, ) T.cast(response, T::Array[TenderTransaction]) end
Source
# File lib/shopify_api/rest/resources/2022_04/tender_transaction.rb, line 19 def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil) @amount = T.let(nil, T.nilable(String)) @currency = T.let(nil, T.nilable(String)) @id = T.let(nil, T.nilable(Integer)) @order_id = T.let(nil, T.nilable(Integer)) @payment_details = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped])) @payment_method = T.let(nil, T.nilable(String)) @processed_at = T.let(nil, T.nilable(String)) @remote_reference = T.let(nil, T.nilable(String)) @test = T.let(nil, T.nilable(T::Boolean)) @user_id = T.let(nil, T.nilable(Integer)) super(session: session, from_hash: from_hash) end
Calls superclass method
ShopifyAPI::Rest::Base::new