Class: ChargeBee::Invoice::Discount

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

construct, #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.rb', line 9

def amount
  @amount
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#entity_idObject

Returns the value of attribute entity_id.



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

def entity_id
  @entity_id
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end