class ShopifyAPI::FulfillmentService
Attributes
Public Class Methods
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
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
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
Source
# 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
Calls superclass method
ShopifyAPI::Rest::Base::new