Class: ShopifyAPI::DraftOrder
- Inherits:
-
Base
- Object
- ActiveResource::Base
- Base
- ShopifyAPI::DraftOrder
show all
- Includes:
- Metafields
- Defined in:
- lib/shopify_api/resources/draft_order.rb
Instance Method Summary
collapse
Methods included from Metafields
#add_metafield, #metafields
Methods inherited from Base
activate_session, api_version, api_version=, #as_json, clear_session, early_july_pagination?, #encode, headers, init_prefix, init_prefix_explicit, #persisted?, prefix, prefix=, prefix_source, resource_prefix, resource_prefix=, version_validation!
Methods included from Countable
#count
Instance Method Details
#complete(options = {}) ⇒ Object
11
12
13
|
# File 'lib/shopify_api/resources/draft_order.rb', line 11
def complete(options = {})
load_attributes_from_response(put(:complete, options, nil))
end
|
#send_invoice(draft_order_invoice = ShopifyAPI::DraftOrderInvoice.new) ⇒ Object