Class: ChargeBee::Invoice::LineItemDiscount

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/invoice.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #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_idObject

Returns the value of attribute coupon_id.



13
14
15
# File 'lib/chargebee/models/invoice.rb', line 13

def coupon_id
  @coupon_id
end

#discount_amountObject

Returns the value of attribute discount_amount.



13
14
15
# File 'lib/chargebee/models/invoice.rb', line 13

def discount_amount
  @discount_amount
end

#discount_typeObject

Returns the value of attribute discount_type.



13
14
15
# File 'lib/chargebee/models/invoice.rb', line 13

def discount_type
  @discount_type
end

#line_item_idObject

Returns the value of attribute line_item_id.



13
14
15
# File 'lib/chargebee/models/invoice.rb', line 13

def line_item_id
  @line_item_id
end