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, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #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

#coupon_set_codeObject

Returns the value of attribute coupon_set_code.



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

def coupon_set_code
  @coupon_set_code
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

#entity_typeObject

Returns the value of attribute entity_type.



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

def entity_type
  @entity_type
end