class Patch::Order

Defined in:

patch/orders.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_key : String) #

[View source]

Instance Method Detail

def cancel_order(order_id : String) #

[View source]
def create_order(data : Hash(String, String)) #

[View source]
def delete_draft_order(order_id : String) #

[View source]
def delete_order(order_id : String, line_item_id : String) #

[View source]
def get_order(order_slug : String) #

[View source]
def list_orders(page : Int64, metadata_key : String | Nil = nil, metadata_value : String | Nil = nil) #

[View source]
def place_order(order_id : String) #

[View source]
def update_order(order_id : String, line_item_id : String, data : Hash(String, String)) #

[View source]