Class: ChargeBee::CreditNote::Discount

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, #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.



13
14
15
# File 'lib/chargebee/models/credit_note.rb', line 13

def amount
  @amount
end

#descriptionObject

Returns the value of attribute description.



13
14
15
# File 'lib/chargebee/models/credit_note.rb', line 13

def description
  @description
end

#entity_idObject

Returns the value of attribute entity_id.



13
14
15
# File 'lib/chargebee/models/credit_note.rb', line 13

def entity_id
  @entity_id
end

#entity_typeObject

Returns the value of attribute entity_type.



13
14
15
# File 'lib/chargebee/models/credit_note.rb', line 13

def entity_type
  @entity_type
end