Sha256: 12a65219218c5c78d1475c6be518c42148b617e113b1c1d82a79824353fd401d

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

# frozen_string_literal: true

module MuffinMan
  module Finances
    class V20240619 < SpApiClient
      def list_transactions(posted_after:, posted_before: nil, marketplace_id: nil, next_token: nil)
        @local_var_path = "/finances/2024-06-19/transactions"
        @query_params = {
          "postedAfter" => posted_after
        }
        @query_params["PostedBefore"] = posted_before unless posted_before.nil?
        @query_params["marketplaceId"] = marketplace_id unless marketplace_id.nil?
        @query_params["nextToken"] = next_token unless next_token.nil?
        @request_type = "GET"
        call_api
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
muffin_man-2.4.8 lib/muffin_man/finances/v20240619.rb