Class: ChargeBee::Quote::Discount
- Defined in:
- lib/chargebee/models/quote.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#coupon_set_code ⇒ Object
Returns the value of attribute coupon_set_code.
-
#description ⇒ Object
Returns the value of attribute description.
-
#entity_id ⇒ Object
Returns the value of attribute entity_id.
-
#entity_type ⇒ Object
Returns the value of attribute entity_type.
Method Summary
Methods inherited from Model
construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #to_s, uri_path
Constructor Details
This class inherits a constructor from ChargeBee::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ChargeBee::Model
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
9 10 11 |
# File 'lib/chargebee/models/quote.rb', line 9 def amount @amount end |
#coupon_set_code ⇒ Object
Returns the value of attribute coupon_set_code.
9 10 11 |
# File 'lib/chargebee/models/quote.rb', line 9 def coupon_set_code @coupon_set_code end |
#description ⇒ Object
Returns the value of attribute description.
9 10 11 |
# File 'lib/chargebee/models/quote.rb', line 9 def description @description end |
#entity_id ⇒ Object
Returns the value of attribute entity_id.
9 10 11 |
# File 'lib/chargebee/models/quote.rb', line 9 def entity_id @entity_id end |
#entity_type ⇒ Object
Returns the value of attribute entity_type.
9 10 11 |
# File 'lib/chargebee/models/quote.rb', line 9 def entity_type @entity_type end |