Class: ChargeBee::QuotedCharge::Addon

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

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#proration_typeObject

Returns the value of attribute proration_type.



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

def proration_type
  @proration_type
end

#quantityObject

Returns the value of attribute quantity.



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

def quantity
  @quantity
end

#quantity_in_decimalObject

Returns the value of attribute quantity_in_decimal.



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

def quantity_in_decimal
  @quantity_in_decimal
end

#service_periodObject

Returns the value of attribute service_period.



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

def service_period
  @service_period
end

#unit_priceObject

Returns the value of attribute unit_price.



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

def unit_price
  @unit_price
end

#unit_price_in_decimalObject

Returns the value of attribute unit_price_in_decimal.



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

def unit_price_in_decimal
  @unit_price_in_decimal
end