Class: ChargeBee::CreditNote::LineItemDiscount
- Defined in:
- lib/chargebee/models/credit_note.rb
Instance Attribute Summary collapse
-
#coupon_id ⇒ Object
Returns the value of attribute coupon_id.
-
#discount_amount ⇒ Object
Returns the value of attribute discount_amount.
-
#discount_type ⇒ Object
Returns the value of attribute discount_type.
-
#entity_id ⇒ Object
Returns the value of attribute entity_id.
-
#line_item_id ⇒ Object
Returns the value of attribute line_item_id.
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
#coupon_id ⇒ Object
Returns the value of attribute coupon_id.
17 18 19 |
# File 'lib/chargebee/models/credit_note.rb', line 17 def coupon_id @coupon_id end |
#discount_amount ⇒ Object
Returns the value of attribute discount_amount.
17 18 19 |
# File 'lib/chargebee/models/credit_note.rb', line 17 def discount_amount @discount_amount end |
#discount_type ⇒ Object
Returns the value of attribute discount_type.
17 18 19 |
# File 'lib/chargebee/models/credit_note.rb', line 17 def discount_type @discount_type end |
#entity_id ⇒ Object
Returns the value of attribute entity_id.
17 18 19 |
# File 'lib/chargebee/models/credit_note.rb', line 17 def entity_id @entity_id end |
#line_item_id ⇒ Object
Returns the value of attribute line_item_id.
17 18 19 |
# File 'lib/chargebee/models/credit_note.rb', line 17 def line_item_id @line_item_id end |