Class: Peddler::API::VendorDirectFulfillmentTransactions20211228
- Inherits:
-
Peddler::API
- Object
- Peddler::API
- Peddler::API::VendorDirectFulfillmentTransactions20211228
- Defined in:
- lib/peddler/api/vendor_direct_fulfillment_transactions_2021_12_28.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
Instance Method Summary collapse
-
#get_transaction_status(transaction_id, rate_limit: 10.0) ⇒ Hash
Returns the status of the transaction indicated by the specified
transactionId
.
Methods inherited from Peddler::API
#cannot_sandbox!, #endpoint_uri, #http, #initialize, #meter, #must_sandbox!, #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) ⇒ Hash
Note:
This operation can make a dynamic sandbox call.
Returns the status of the transaction indicated by the specified transactionId
.
26 27 28 29 30 |
# File 'lib/peddler/api/vendor_direct_fulfillment_transactions_2021_12_28.rb', line 26 def get_transaction_status(transaction_id, rate_limit: 10.0) path = "/vendor/directFulfillment/transactions/2021-12-28/transactions/#{transaction_id}" meter(rate_limit).get(path) end |