Class: ChargeBee::CreditNote::LineItemDiscount

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

Instance Attribute Summary collapse

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_idObject

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_amountObject

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_typeObject

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_idObject

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_idObject

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