Class: ChargeBee::InvoiceEstimate::LineItemDiscount

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



25
26
27
# File 'lib/chargebee/models/invoice_estimate.rb', line 25

def coupon_id
  @coupon_id
end

#discount_amountObject

Returns the value of attribute discount_amount.



25
26
27
# File 'lib/chargebee/models/invoice_estimate.rb', line 25

def discount_amount
  @discount_amount
end

#discount_typeObject

Returns the value of attribute discount_type.



25
26
27
# File 'lib/chargebee/models/invoice_estimate.rb', line 25

def discount_type
  @discount_type
end

#entity_idObject

Returns the value of attribute entity_id.



25
26
27
# File 'lib/chargebee/models/invoice_estimate.rb', line 25

def entity_id
  @entity_id
end

#line_item_idObject

Returns the value of attribute line_item_id.



25
26
27
# File 'lib/chargebee/models/invoice_estimate.rb', line 25

def line_item_id
  @line_item_id
end