Module: AmznSpApi::SalesApiModel

Defined in:
lib/sales_api_model/version.rb,
lib/sales_api_model.rb,
lib/sales_api_model/api_error.rb,
lib/sales_api_model/api_client.rb,
lib/sales_api_model/models/error.rb,
lib/sales_api_model/models/money.rb,
lib/sales_api_model/api/sales_api.rb,
lib/sales_api_model/configuration.rb,
lib/sales_api_model/models/decimal.rb,
lib/sales_api_model/models/error_list.rb,
lib/sales_api_model/models/order_metrics_list.rb,
lib/sales_api_model/models/order_metrics_interval.rb,
lib/sales_api_model/models/get_order_metrics_response.rb

Overview

#Selling Partner API for Sales

The Selling Partner API for Sales provides APIs related to sales performance.

OpenAPI spec version: v1

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 3.0.36

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, Decimal, Error, ErrorList, GetOrderMetricsResponse, Money, OrderMetricsInterval, OrderMetricsList, SalesApi

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

AmznSpApi::SalesApiModel.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



36
37
38
39
40
41
42
# File 'lib/sales_api_model.rb', line 36

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end