Sha256: c8329acdf720222568044fcb9d0b49de5718b717caab73498709c757d20abdc9
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
# frozen_string_literal: true require "peddler/api" module Peddler class << self def vendor_direct_fulfillment_transactions_v1(...) APIs::VendorDirectFulfillmentTransactionsV1.new(...) end end module APIs # 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. class VendorDirectFulfillmentTransactionsV1 < API # Returns the status of the transaction indicated by the specified transactionId. # # @note This operation can make a static sandbox call. # @param transaction_id [String] Previously returned in the response to the POST request of a specific # transaction. # @param rate_limit [Float] Requests per second # @param tries [Integer] Total request attempts, including retries # @return [Peddler::Response] The API response def get_transaction_status(transaction_id, rate_limit: 10.0, tries: 2) path = "/vendor/directFulfillment/transactions/v1/transactions/#{transaction_id}" meter(rate_limit, tries:).get(path) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
peddler-4.1.0 | lib/peddler/apis/vendor_direct_fulfillment_transactions_v1.rb |