Class: SpApiHelpers::GetMyFeesEstimateRequest
- Inherits:
-
Object
- Object
- SpApiHelpers::GetMyFeesEstimateRequest
- Defined in:
- lib/sp_api_helpers.rb
Instance Attribute Summary collapse
-
#fees_estimate_request ⇒ Object
Returns the value of attribute fees_estimate_request.
Instance Method Summary collapse
-
#initialize(marketplace_id, price, fees_currency_code, shipping, points, identifier, is_amazon_fulfilled, optional_fulfillment_program) ⇒ GetMyFeesEstimateRequest
constructor
A new instance of GetMyFeesEstimateRequest.
- #to_camelize ⇒ Object
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_request ⇒ Object
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_camelize ⇒ Object
24 25 26 27 28 29 |
# File 'lib/sp_api_helpers.rb', line 24 def to_camelize { "FeesEstimateRequest" => fees_estimate_request.to_camelize } end |