Method: SpApiHelpers::FeesEstimateRequest#initialize

Defined in:
lib/sp_api_helpers.rb

#initialize(marketplace_id, price, currency_code, shipping, points, identifier, is_amazon_fulfilled, optional_fulfillment_program) ⇒ FeesEstimateRequest



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

def initialize(marketplace_id, price, currency_code, shipping, points, identifier, is_amazon_fulfilled,
               optional_fulfillment_program)
  @marketplace_id = marketplace_id
  @price_to_estimate_fees = PriceToEstimateFees.new(price, currency_code, shipping, points)
  @identifier = identifier
  @is_amazon_fulfilled = is_amazon_fulfilled
  @optional_fulfillment_program = optional_fulfillment_program if is_amazon_fulfilled
end