Class: Sevendigital::Price

Inherits:
Object
  • Object
show all
Defined in:
lib/sevendigital/model/price.rb

Instance Attribute Summary collapse

Instance Attribute Details

#currency_codeObject

Returns the value of attribute currency_code.



5
6
7
# File 'lib/sevendigital/model/price.rb', line 5

def currency_code
  @currency_code
end

#currency_symbolObject

Returns the value of attribute currency_symbol.



5
6
7
# File 'lib/sevendigital/model/price.rb', line 5

def currency_symbol
  @currency_symbol
end

#formatted_priceObject

Returns the value of attribute formatted_price.



5
6
7
# File 'lib/sevendigital/model/price.rb', line 5

def formatted_price
  @formatted_price
end

#formatted_rrpObject

Returns the value of attribute formatted_rrp.



5
6
7
# File 'lib/sevendigital/model/price.rb', line 5

def formatted_rrp
  @formatted_rrp
end

#on_saleObject

Returns the value of attribute on_sale.



5
6
7
# File 'lib/sevendigital/model/price.rb', line 5

def on_sale
  @on_sale
end

#rrpObject

Returns the value of attribute rrp.



5
6
7
# File 'lib/sevendigital/model/price.rb', line 5

def rrp
  @rrp
end

#valueObject

Returns the value of attribute value.



5
6
7
# File 'lib/sevendigital/model/price.rb', line 5

def value
  @value
end