Sha256: fc73671393eba9bd60e59f4fefd0e16000a81732a59d1057b849473469995d2e
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
# frozen_string_literal: true require "peddler/api" module Peddler class << self def vendor_direct_fulfillment_transactions_2021_12_28(...) API::VendorDirectFulfillmentTransactions20211228.new(...) end end class API # 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 VendorDirectFulfillmentTransactions20211228 < API # Returns the status of the transaction indicated by the specified `transactionId`. # # @note This operation can make a dynamic 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 # @return [Hash] The API response 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 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
peddler-3.0.0 | lib/peddler/api/vendor_direct_fulfillment_transactions_2021_12_28.rb |