class ShopifyAPI::CustomerAddress
def all(
def all( customer_id: nil, session: ShopifyAPI::Context.active_session, **kwargs ) response = base_find( session: session, ids: {customer_id: customer_id}, params: {}.merge(kwargs).compact, ) T.cast(response, T::Array[CustomerAddress]) end
def all(
def all( customer_id: nil, session: ShopifyAPI::Context.active_session, **kwargs ) response = base_find( session: session, ids: {customer_id: customer_id}, params: {}.merge(kwargs).compact, ) T.cast(response, T::Array[CustomerAddress]) end
def all(
def all( customer_id: nil, session: ShopifyAPI::Context.active_session, **kwargs ) response = base_find( session: session, ids: {customer_id: customer_id}, params: {}.merge(kwargs).compact, ) T.cast(response, T::Array[CustomerAddress]) end
def all(
def all( customer_id: nil, session: ShopifyAPI::Context.active_session, **kwargs ) response = base_find( session: session, ids: {customer_id: customer_id}, params: {}.merge(kwargs).compact, ) T.cast(response, T::Array[CustomerAddress]) end
def all(
def all( customer_id: nil, session: ShopifyAPI::Context.active_session, **kwargs ) response = base_find( session: session, ids: {customer_id: customer_id}, params: {}.merge(kwargs).compact, ) T.cast(response, T::Array[CustomerAddress]) end
def all(
def all( customer_id: nil, session: ShopifyAPI::Context.active_session, **kwargs ) response = base_find( session: session, ids: {customer_id: customer_id}, params: {}.merge(kwargs).compact, ) T.cast(response, T::Array[CustomerAddress]) end
def all(
def all( customer_id: nil, session: ShopifyAPI::Context.active_session, **kwargs ) response = base_find( session: session, ids: {customer_id: customer_id}, params: {}.merge(kwargs).compact, ) T.cast(response, T::Array[CustomerAddress]) end
def default(
def default( body: nil, **kwargs ) self.class.request( http_method: :put, operation: :default, session: @session, ids: {id: @id, customer_id: @customer_id}, params: {}.merge(kwargs).compact, body: body, entity: self, ) end
def default(
def default( body: nil, **kwargs ) self.class.request( http_method: :put, operation: :default, session: @session, ids: {id: @id, customer_id: @customer_id}, params: {}.merge(kwargs).compact, body: body, entity: self, ) end
def default(
def default( body: nil, **kwargs ) self.class.request( http_method: :put, operation: :default, session: @session, ids: {id: @id, customer_id: @customer_id}, params: {}.merge(kwargs).compact, body: body, entity: self, ) end
def default(
def default( body: nil, **kwargs ) self.class.request( http_method: :put, operation: :default, session: @session, ids: {id: @id, customer_id: @customer_id}, params: {}.merge(kwargs).compact, body: body, entity: self, ) end
def default(
def default( body: nil, **kwargs ) self.class.request( http_method: :put, operation: :default, session: @session, ids: {id: @id, customer_id: @customer_id}, params: {}.merge(kwargs).compact, body: body, entity: self, ) end
def default(
def default( body: nil, **kwargs ) self.class.request( http_method: :put, operation: :default, session: @session, ids: {id: @id, customer_id: @customer_id}, params: {}.merge(kwargs).compact, body: body, entity: self, ) end
def default(
def default( body: nil, **kwargs ) self.class.request( http_method: :put, operation: :default, session: @session, ids: {id: @id, customer_id: @customer_id}, params: {}.merge(kwargs).compact, body: body, entity: self, ) end
def delete(
def delete( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) request( http_method: :delete, operation: :delete, session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) end
def delete(
def delete( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) request( http_method: :delete, operation: :delete, session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) end
def delete(
def delete( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) request( http_method: :delete, operation: :delete, session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) end
def delete(
def delete( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) request( http_method: :delete, operation: :delete, session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) end
def delete(
def delete( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) request( http_method: :delete, operation: :delete, session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) end
def delete(
def delete( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) request( http_method: :delete, operation: :delete, session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) end
def delete(
def delete( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) request( http_method: :delete, operation: :delete, session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) end
def find(
def find( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) result = base_find( session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) T.cast(result[0], T.nilable(CustomerAddress)) end
def find(
def find( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) result = base_find( session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) T.cast(result[0], T.nilable(CustomerAddress)) end
def find(
def find( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) result = base_find( session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) T.cast(result[0], T.nilable(CustomerAddress)) end
def find(
def find( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) result = base_find( session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) T.cast(result[0], T.nilable(CustomerAddress)) end
def find(
def find( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) result = base_find( session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) T.cast(result[0], T.nilable(CustomerAddress)) end
def find(
def find( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) result = base_find( session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) T.cast(result[0], T.nilable(CustomerAddress)) end
def find(
def find( id:, customer_id: nil, session: ShopifyAPI::Context.active_session ) result = base_find( session: session, ids: {id: id, customer_id: customer_id}, params: {}, ) T.cast(result[0], T.nilable(CustomerAddress)) end
def initialize(session: ShopifyAPI::Context.active_session)
def initialize(session: ShopifyAPI::Context.active_session) super(session: session) @address1 = T.let(nil, T.nilable(String)) @address2 = T.let(nil, T.nilable(String)) @city = T.let(nil, T.nilable(String)) @company = T.let(nil, T.nilable(String)) @country = T.let(nil, T.nilable(String)) @country_code = T.let(nil, T.nilable(String)) @country_name = T.let(nil, T.nilable(String)) @customer_id = T.let(nil, T.nilable(Integer)) @first_name = T.let(nil, T.nilable(String)) @id = T.let(nil, T.nilable(Integer)) @last_name = T.let(nil, T.nilable(String)) @name = T.let(nil, T.nilable(String)) @phone = T.let(nil, T.nilable(String)) @province = T.let(nil, T.nilable(String)) @province_code = T.let(nil, T.nilable(String)) @zip = T.let(nil, T.nilable(String)) end
def initialize(session: ShopifyAPI::Context.active_session)
def initialize(session: ShopifyAPI::Context.active_session) super(session: session) @address1 = T.let(nil, T.nilable(String)) @address2 = T.let(nil, T.nilable(String)) @city = T.let(nil, T.nilable(String)) @company = T.let(nil, T.nilable(String)) @country = T.let(nil, T.nilable(String)) @country_code = T.let(nil, T.nilable(String)) @country_name = T.let(nil, T.nilable(String)) @customer_id = T.let(nil, T.nilable(Integer)) @first_name = T.let(nil, T.nilable(String)) @id = T.let(nil, T.nilable(Integer)) @last_name = T.let(nil, T.nilable(String)) @name = T.let(nil, T.nilable(String)) @phone = T.let(nil, T.nilable(String)) @province = T.let(nil, T.nilable(String)) @province_code = T.let(nil, T.nilable(String)) @zip = T.let(nil, T.nilable(String)) end
def initialize(session: ShopifyAPI::Context.active_session)
def initialize(session: ShopifyAPI::Context.active_session) super(session: session) @address1 = T.let(nil, T.nilable(String)) @address2 = T.let(nil, T.nilable(String)) @city = T.let(nil, T.nilable(String)) @company = T.let(nil, T.nilable(String)) @country = T.let(nil, T.nilable(String)) @country_code = T.let(nil, T.nilable(String)) @country_name = T.let(nil, T.nilable(String)) @customer_id = T.let(nil, T.nilable(Integer)) @first_name = T.let(nil, T.nilable(String)) @id = T.let(nil, T.nilable(Integer)) @last_name = T.let(nil, T.nilable(String)) @name = T.let(nil, T.nilable(String)) @phone = T.let(nil, T.nilable(String)) @province = T.let(nil, T.nilable(String)) @province_code = T.let(nil, T.nilable(String)) @zip = T.let(nil, T.nilable(String)) end
def initialize(session: ShopifyAPI::Context.active_session)
def initialize(session: ShopifyAPI::Context.active_session) super(session: session) @address1 = T.let(nil, T.nilable(String)) @address2 = T.let(nil, T.nilable(String)) @city = T.let(nil, T.nilable(String)) @company = T.let(nil, T.nilable(String)) @country = T.let(nil, T.nilable(String)) @country_code = T.let(nil, T.nilable(String)) @country_name = T.let(nil, T.nilable(String)) @customer_id = T.let(nil, T.nilable(Integer)) @first_name = T.let(nil, T.nilable(String)) @id = T.let(nil, T.nilable(Integer)) @last_name = T.let(nil, T.nilable(String)) @name = T.let(nil, T.nilable(String)) @phone = T.let(nil, T.nilable(String)) @province = T.let(nil, T.nilable(String)) @province_code = T.let(nil, T.nilable(String)) @zip = T.let(nil, T.nilable(String)) end
def initialize(session: ShopifyAPI::Context.active_session)
def initialize(session: ShopifyAPI::Context.active_session) super(session: session) @address1 = T.let(nil, T.nilable(String)) @address2 = T.let(nil, T.nilable(String)) @city = T.let(nil, T.nilable(String)) @company = T.let(nil, T.nilable(String)) @country = T.let(nil, T.nilable(String)) @country_code = T.let(nil, T.nilable(String)) @country_name = T.let(nil, T.nilable(String)) @customer_id = T.let(nil, T.nilable(Integer)) @first_name = T.let(nil, T.nilable(String)) @id = T.let(nil, T.nilable(Integer)) @last_name = T.let(nil, T.nilable(String)) @name = T.let(nil, T.nilable(String)) @phone = T.let(nil, T.nilable(String)) @province = T.let(nil, T.nilable(String)) @province_code = T.let(nil, T.nilable(String)) @zip = T.let(nil, T.nilable(String)) end
def initialize(session: ShopifyAPI::Context.active_session)
def initialize(session: ShopifyAPI::Context.active_session) super(session: session) @address1 = T.let(nil, T.nilable(String)) @address2 = T.let(nil, T.nilable(String)) @city = T.let(nil, T.nilable(String)) @company = T.let(nil, T.nilable(String)) @country = T.let(nil, T.nilable(String)) @country_code = T.let(nil, T.nilable(String)) @country_name = T.let(nil, T.nilable(String)) @customer_id = T.let(nil, T.nilable(Integer)) @first_name = T.let(nil, T.nilable(String)) @id = T.let(nil, T.nilable(Integer)) @last_name = T.let(nil, T.nilable(String)) @name = T.let(nil, T.nilable(String)) @phone = T.let(nil, T.nilable(String)) @province = T.let(nil, T.nilable(String)) @province_code = T.let(nil, T.nilable(String)) @zip = T.let(nil, T.nilable(String)) end
def initialize(session: ShopifyAPI::Context.active_session)
def initialize(session: ShopifyAPI::Context.active_session) super(session: session) @address1 = T.let(nil, T.nilable(String)) @address2 = T.let(nil, T.nilable(String)) @city = T.let(nil, T.nilable(String)) @company = T.let(nil, T.nilable(String)) @country = T.let(nil, T.nilable(String)) @country_code = T.let(nil, T.nilable(String)) @country_name = T.let(nil, T.nilable(String)) @customer_id = T.let(nil, T.nilable(Integer)) @first_name = T.let(nil, T.nilable(String)) @id = T.let(nil, T.nilable(Integer)) @last_name = T.let(nil, T.nilable(String)) @name = T.let(nil, T.nilable(String)) @phone = T.let(nil, T.nilable(String)) @province = T.let(nil, T.nilable(String)) @province_code = T.let(nil, T.nilable(String)) @zip = T.let(nil, T.nilable(String)) end
def json_body_name()
def json_body_name() "address" end
def json_body_name()
def json_body_name() "address" end
def json_body_name()
def json_body_name() "address" end
def json_body_name()
def json_body_name() "address" end
def json_body_name()
def json_body_name() "address" end
def json_body_name()
def json_body_name() "address" end
def json_body_name()
def json_body_name() "address" end
def json_response_body_names()
def json_response_body_names() [ "customer_address", "address" ] end
def json_response_body_names()
def json_response_body_names() [ "customer_address", "address" ] end
def json_response_body_names()
def json_response_body_names() [ "customer_address", "address" ] end
def json_response_body_names()
def json_response_body_names() [ "customer_address", "address" ] end
def json_response_body_names()
def json_response_body_names() [ "customer_address", "address" ] end
def set(
def set( address_ids: nil, operation: nil, body: nil, **kwargs ) self.class.request( http_method: :put, operation: :set, session: @session, ids: {customer_id: @customer_id}, params: {address_ids: address_ids, operation: operation}.merge(kwargs).compact, body: body, entity: self, ) end
def set(
def set( address_ids: nil, operation: nil, body: nil, **kwargs ) self.class.request( http_method: :put, operation: :set, session: @session, ids: {customer_id: @customer_id}, params: {address_ids: address_ids, operation: operation}.merge(kwargs).compact, body: body, entity: self, ) end
def set(
def set( address_ids: nil, operation: nil, body: nil, **kwargs ) self.class.request( http_method: :put, operation: :set, session: @session, ids: {customer_id: @customer_id}, params: {address_ids: address_ids, operation: operation}.merge(kwargs).compact, body: body, entity: self, ) end
def set(
def set( address_ids: nil, operation: nil, body: nil, **kwargs ) self.class.request( http_method: :put, operation: :set, session: @session, ids: {customer_id: @customer_id}, params: {address_ids: address_ids, operation: operation}.merge(kwargs).compact, body: body, entity: self, ) end
def set(
def set( address_ids: nil, operation: nil, body: nil, **kwargs ) self.class.request( http_method: :put, operation: :set, session: @session, ids: {customer_id: @customer_id}, params: {address_ids: address_ids, operation: operation}.merge(kwargs).compact, body: body, entity: self, ) end
def set(
def set( address_ids: nil, operation: nil, body: nil, **kwargs ) self.class.request( http_method: :put, operation: :set, session: @session, ids: {customer_id: @customer_id}, params: {address_ids: address_ids, operation: operation}.merge(kwargs).compact, body: body, entity: self, ) end
def set(
def set( address_ids: nil, operation: nil, body: nil, **kwargs ) self.class.request( http_method: :put, operation: :set, session: @session, ids: {customer_id: @customer_id}, params: {address_ids: address_ids, operation: operation}.merge(kwargs).compact, body: body, entity: self, ) end