Class: BestBuy::ShippingLevelOfService

Inherits:
Object
  • Object
show all
Defined in:
lib/best_buy/models/shipping_level_of_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject (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_nameObject (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_priceObject (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