Class: ChargeBee::CreditNoteEstimate::LineItemDiscount

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/credit_note_estimate.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.



21
22
23
# File 'lib/chargebee/models/credit_note_estimate.rb', line 21

def coupon_id
  @coupon_id
end

#discount_amountObject

Returns the value of attribute discount_amount.



21
22
23
# File 'lib/chargebee/models/credit_note_estimate.rb', line 21

def discount_amount
  @discount_amount
end

#discount_typeObject

Returns the value of attribute discount_type.



21
22
23
# File 'lib/chargebee/models/credit_note_estimate.rb', line 21

def discount_type
  @discount_type
end

#entity_idObject

Returns the value of attribute entity_id.



21
22
23
# File 'lib/chargebee/models/credit_note_estimate.rb', line 21

def entity_id
  @entity_id
end

#line_item_idObject

Returns the value of attribute line_item_id.



21
22
23
# File 'lib/chargebee/models/credit_note_estimate.rb', line 21

def line_item_id
  @line_item_id
end