Class: ChargeBee::QuotedRamp::Discount

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/quoted_ramp.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, #respond_to_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/quoted_ramp.rb', line 9

def amount
  @amount
end

#apply_onObject

Returns the value of attribute apply_on.



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

def apply_on
  @apply_on
end

#created_atObject

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#duration_typeObject

Returns the value of attribute duration_type.



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

def duration_type
  @duration_type
end

#end_dateObject

Returns the value of attribute end_date.



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

def end_date
  @end_date
end

#entity_idObject

Returns the value of attribute entity_id.



9
10
11
# File 'lib/chargebee/models/quoted_ramp.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/quoted_ramp.rb', line 9

def entity_type
  @entity_type
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#included_in_mrrObject

Returns the value of attribute included_in_mrr.



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

def included_in_mrr
  @included_in_mrr
end

#invoice_nameObject

Returns the value of attribute invoice_name.



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

def invoice_name
  @invoice_name
end

#item_price_idObject

Returns the value of attribute item_price_id.



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

def item_price_id
  @item_price_id
end

#percentageObject

Returns the value of attribute percentage.



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

def percentage
  @percentage
end

#periodObject

Returns the value of attribute period.



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

def period
  @period
end

#period_unitObject

Returns the value of attribute period_unit.



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

def period_unit
  @period_unit
end

#start_dateObject

Returns the value of attribute start_date.



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

def start_date
  @start_date
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end