Class: YourMembership::Sa::Commerce
- Defined in:
- lib/your_membership/sa_commerce.rb
Overview
YourMembership System Administrator Commerce Namespace
Class Method Summary collapse
-
.store_order_get(invoice_id) ⇒ Hash
Returns the order details, including line items and products ordered, of a store order.
Methods inherited from Base
build_XML_request, new_call_id, response_to_array, response_to_array_of_hashes, response_valid?, response_ym_error?
Class Method Details
.store_order_get(invoice_id) ⇒ Hash
Returns the order details, including line items and products ordered, of a store order.
11 12 13 14 15 16 17 18 19 |
# File 'lib/your_membership/sa_commerce.rb', line 11 def self.store_order_get(invoice_id) = {} [:InvoiceID] = invoice_id response = post('/', :body => build_XML_request('Sa.Commerce.Store.Order.Get', nil, )) response_valid? response response['YourMembership_Response']['Sa.Commerce.Store.Order.Get'] end |