Class: ChargeBee::InvoiceEstimate::Discount

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

#amountObject

Returns the value of attribute amount.



9
10
11
# File 'lib/chargebee/models/invoice_estimate.rb', line 9

def amount
  @amount
end

#descriptionObject

Returns the value of attribute description.



9
10
11
# File 'lib/chargebee/models/invoice_estimate.rb', line 9

def description
  @description
end

#entity_idObject

Returns the value of attribute entity_id.



9
10
11
# File 'lib/chargebee/models/invoice_estimate.rb', line 9

def entity_id
  @entity_id
end

#entity_typeObject

Returns the value of attribute entity_type.



9
10
11
# File 'lib/chargebee/models/invoice_estimate.rb', line 9

def entity_type
  @entity_type
end