Class: SpApiHelpers::GetMyFeesEstimateRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/sp_api_helpers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(marketplace_id, price, fees_currency_code, shipping, points, identifier, is_amazon_fulfilled, optional_fulfillment_program) ⇒ GetMyFeesEstimateRequest

Returns a new instance of GetMyFeesEstimateRequest.



18
19
20
21
22
# File 'lib/sp_api_helpers.rb', line 18

def initialize(marketplace_id, price, fees_currency_code, shipping, points, identifier,
               is_amazon_fulfilled, optional_fulfillment_program)
  @fees_estimate_request = FeesEstimateRequest.new(marketplace_id, price, fees_currency_code, shipping, points,
                                                   identifier, is_amazon_fulfilled, optional_fulfillment_program)
end

Instance Attribute Details

#fees_estimate_requestObject

Returns the value of attribute fees_estimate_request.



16
17
18
# File 'lib/sp_api_helpers.rb', line 16

def fees_estimate_request
  @fees_estimate_request
end

Instance Method Details

#to_camelizeObject



24
25
26
27
28
29
# File 'lib/sp_api_helpers.rb', line 24

def to_camelize
  {
    "FeesEstimateRequest" =>
      fees_estimate_request.to_camelize
  }
end