class ShopifyAPI::TenderTransaction

Attributes

amount[R]
currency[R]
id[R]
order_id[R]
payment_details[R]
payment_method[R]
processed_at[R]
remote_reference[R]
test[R]
user_id[R]

Public Class Methods

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 ) click to toggle 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
new(session: ShopifyAPI::Context.active_session, from_hash: nil) click to toggle source
Calls superclass method ShopifyAPI::Rest::Base::new
# 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