Class: NSClient::ProductPrice
- Inherits:
-
Object
- Object
- NSClient::ProductPrice
- Defined in:
- lib/ns_client.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#discount ⇒ Object
Returns the value of attribute discount.
-
#train_class ⇒ Object
Returns the value of attribute train_class.
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
210 211 212 |
# File 'lib/ns_client.rb', line 210 def amount @amount end |
#discount ⇒ Object
Returns the value of attribute discount.
210 211 212 |
# File 'lib/ns_client.rb', line 210 def discount @discount end |
#train_class ⇒ Object
Returns the value of attribute train_class.
210 211 212 |
# File 'lib/ns_client.rb', line 210 def train_class @train_class end |
Instance Method Details
#type ⇒ Object
216 217 218 |
# File 'lib/ns_client.rb', line 216 def type DISCOUNT_MAP.fetch(discount, discount) end |