Class: Peddler::APIs::VendorDirectFulfillmentTransactionsV1
- Inherits:
-
Peddler::API
- Object
- Peddler::API
- Peddler::APIs::VendorDirectFulfillmentTransactionsV1
- Defined in:
- lib/peddler/apis/vendor_direct_fulfillment_transactions_v1.rb
Overview
Selling Partner API for Direct Fulfillment Transaction Status
The Selling Partner API for Direct Fulfillment Transaction Status provides programmatic access to a direct fulfillment vendor's transaction status.
Instance Attribute Summary
Attributes inherited from Peddler::API
#access_token, #endpoint, #parser
Instance Method Summary collapse
-
#get_transaction_status(transaction_id, rate_limit: 10.0) ⇒ Peddler::Response
Returns the status of the transaction indicated by the specified
transactionId
.
Methods inherited from Peddler::API
#endpoint_uri, #http, #initialize, #meter, #retriable, #sandbox, #sandbox?, #use, #via
Constructor Details
This class inherits a constructor from Peddler::API
Instance Method Details
#get_transaction_status(transaction_id, rate_limit: 10.0) ⇒ Peddler::Response
Note:
This operation can make a static sandbox call.
Returns the status of the transaction indicated by the specified transactionId
.
25 26 27 28 29 |
# File 'lib/peddler/apis/vendor_direct_fulfillment_transactions_v1.rb', line 25 def get_transaction_status(transaction_id, rate_limit: 10.0) path = "/vendor/directFulfillment/transactions/v1/transactions/#{transaction_id}" meter(rate_limit).get(path) end |