Sha256: 17f54f204033c391d657ded5847cec8eb5144b020d685e61eeea0b773373b0af
Contents?: true
Size: 849 Bytes
Versions: 1
Compression:
Stored size: 849 Bytes
Contents
# frozen_string_literal: true require "peddler/api" module Peddler class << self def vendor_invoices_v1(...) API::VendorInvoicesV1.new(...) end end class API # Selling Partner API for Retail Procurement Payments # # The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data. class VendorInvoicesV1 < API # Submit new invoices to Amazon. # # @note This operation can make a static sandbox call. # @param body [Hash] The request body containing the invoice data to submit. # @param rate_limit [Float] Requests per second # @return [Hash] The API response def submit_invoices(body, rate_limit: 10.0) path = "/vendor/payments/v1/invoices" meter(rate_limit).post(path, body:) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
peddler-3.0.0 | lib/peddler/api/vendor_invoices_v1.rb |