Class: Xolphin::Api::Responses::ProductPrice
- Inherits:
-
Base
- Object
- Base
- Xolphin::Api::Responses::ProductPrice
show all
- Defined in:
- lib/xolphin/api/responses/product_price.rb
Instance Method Summary
collapse
Methods inherited from Base
#_embedded, #error?, #errors, #limit, #message, #page, #pages, #total
Constructor Details
Returns a new instance of ProductPrice.
5
6
7
|
# File 'lib/xolphin/api/responses/product_price.rb', line 5
def initialize(data)
super(data)
end
|
Instance Method Details
17
18
19
|
# File 'lib/xolphin/api/responses/product_price.rb', line 17
def
@data["extraPrice"]
end
|
21
22
23
|
# File 'lib/xolphin/api/responses/product_price.rb', line 21
def
@data["extraPriceWildcard"]
end
|
#price ⇒ Object
13
14
15
|
# File 'lib/xolphin/api/responses/product_price.rb', line 13
def price
@data["price"]
end
|
#years ⇒ Object
9
10
11
|
# File 'lib/xolphin/api/responses/product_price.rb', line 9
def years
@data["years"]
end
|