Class: BestBuy::ShippingLevelOfService
- Inherits:
-
Object
- Object
- BestBuy::ShippingLevelOfService
- Defined in:
- lib/best_buy/models/shipping_level_of_service.rb
Instance Attribute Summary collapse
-
#service_level_id ⇒ Object
readonly
Returns the value of attribute service_level_id.
-
#service_level_name ⇒ Object
readonly
Returns the value of attribute service_level_name.
-
#unit_shipping_price ⇒ Object
readonly
Returns the value of attribute unit_shipping_price.
Instance Method Summary collapse
-
#initialize(init_params) ⇒ ShippingLevelOfService
constructor
A new instance of ShippingLevelOfService.
Constructor Details
#initialize(init_params) ⇒ ShippingLevelOfService
Returns a new instance of ShippingLevelOfService.
7 8 9 10 11 |
# File 'lib/best_buy/models/shipping_level_of_service.rb', line 7 def initialize(init_params) @service_level_id = init_params[:service_level_id] @service_level_name = init_params[:service_level_name] @unit_shipping_price = init_params[:unit_shipping_price] end |
Instance Attribute Details
#service_level_id ⇒ Object (readonly)
Returns the value of attribute service_level_id.
5 6 7 |
# File 'lib/best_buy/models/shipping_level_of_service.rb', line 5 def service_level_id @service_level_id end |
#service_level_name ⇒ Object (readonly)
Returns the value of attribute service_level_name.
5 6 7 |
# File 'lib/best_buy/models/shipping_level_of_service.rb', line 5 def service_level_name @service_level_name end |
#unit_shipping_price ⇒ Object (readonly)
Returns the value of attribute unit_shipping_price.
5 6 7 |
# File 'lib/best_buy/models/shipping_level_of_service.rb', line 5 def unit_shipping_price @unit_shipping_price end |