class ShopifyAPI::FulfillmentService

Attributes

admin_graphql_api_id[R]
callback_url[R]
format[R]
fulfillment_orders_opt_in[R]
handle[R]
id[R]
inventory_management[R]
location_id[R]
name[R]
permits_sku_sharing[R]
provider_id[R]
requires_shipping_method[R]
tracking_support[R]

Public Class Methods

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

  T.cast(response, T::Array[FulfillmentService])
end
delete( id:, session: ShopifyAPI::Context.active_session ) click to toggle source
# File lib/shopify_api/rest/resources/2022_04/fulfillment_service.rb, line 97
def delete(
  id:,
  session: ShopifyAPI::Context.active_session
)
  request(
    http_method: :delete,
    operation: :delete,
    session: session,
    ids: {id: id},
    params: {},
  )
end
find( id:, session: ShopifyAPI::Context.active_session ) click to toggle source
# File lib/shopify_api/rest/resources/2022_04/fulfillment_service.rb, line 79
def find(
  id:,
  session: ShopifyAPI::Context.active_session
)
  result = base_find(
    session: session,
    ids: {id: id},
    params: {},
  )
  T.cast(result[0], T.nilable(FulfillmentService))
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/fulfillment_service.rb, line 19
def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)

  @admin_graphql_api_id = T.let(nil, T.nilable(String))
  @callback_url = T.let(nil, T.nilable(String))
  @format = T.let(nil, T.nilable(String))
  @fulfillment_orders_opt_in = T.let(nil, T.nilable(T::Boolean))
  @handle = T.let(nil, T.nilable(String))
  @id = T.let(nil, T.nilable(Integer))
  @inventory_management = T.let(nil, T.nilable(T::Boolean))
  @location_id = T.let(nil, T.nilable(Integer))
  @name = T.let(nil, T.nilable(String))
  @provider_id = T.let(nil, T.nilable(String))
  @requires_shipping_method = T.let(nil, T.nilable(T::Boolean))
  @tracking_support = T.let(nil, T.nilable(T::Boolean))

  super(session: session, from_hash: from_hash)
end