class ShopifyAPI::LocationsForMove

Attributes

locations_for_move[R]

Public Class Methods

all( fulfillment_order_id: nil, session: ShopifyAPI::Context.active_session, **kwargs ) click to toggle source
# File lib/shopify_api/rest/resources/2022_04/locations_for_move.rb, line 43
def all(
  fulfillment_order_id: nil,
  session: ShopifyAPI::Context.active_session,
  **kwargs
)
  response = base_find(
    session: session,
    ids: {fulfillment_order_id: fulfillment_order_id},
    params: {}.merge(kwargs).compact,
  )

  T.cast(response, T::Array[LocationsForMove])
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/locations_for_move.rb, line 19
def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)

  @locations_for_move = T.let(nil, T.nilable(T::Array[T.untyped]))

  super(session: session, from_hash: from_hash)
end