Class: ChargeBee::Subscription::Discount
- Defined in:
 - lib/chargebee/models/subscription.rb
 
Instance Attribute Summary collapse
- 
  
    
      #amount  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute amount.
 - 
  
    
      #applied_count  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute applied_count.
 - 
  
    
      #apply_on  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute apply_on.
 - 
  
    
      #apply_till  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute apply_till.
 - 
  
    
      #coupon_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute coupon_id.
 - 
  
    
      #created_at  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute created_at.
 - 
  
    
      #currency_code  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute currency_code.
 - 
  
    
      #duration_type  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute duration_type.
 - 
  
    
      #id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute id.
 - 
  
    
      #included_in_mrr  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute included_in_mrr.
 - 
  
    
      #index  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute index.
 - 
  
    
      #invoice_name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute invoice_name.
 - 
  
    
      #item_price_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute item_price_id.
 - 
  
    
      #percentage  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute percentage.
 - 
  
    
      #period  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute period.
 - 
  
    
      #period_unit  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute period_unit.
 - 
  
    
      #type  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute type.
 
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
#amount ⇒ Object
Returns the value of attribute amount.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def amount @amount end  | 
  
#applied_count ⇒ Object
Returns the value of attribute applied_count.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def applied_count @applied_count end  | 
  
#apply_on ⇒ Object
Returns the value of attribute apply_on.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def apply_on @apply_on end  | 
  
#apply_till ⇒ Object
Returns the value of attribute apply_till.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def apply_till @apply_till end  | 
  
#coupon_id ⇒ Object
Returns the value of attribute coupon_id.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def coupon_id @coupon_id end  | 
  
#created_at ⇒ Object
Returns the value of attribute created_at.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def created_at @created_at end  | 
  
#currency_code ⇒ Object
Returns the value of attribute currency_code.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def currency_code @currency_code end  | 
  
#duration_type ⇒ Object
Returns the value of attribute duration_type.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def duration_type @duration_type end  | 
  
#id ⇒ Object
Returns the value of attribute id.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def id @id end  | 
  
#included_in_mrr ⇒ Object
Returns the value of attribute included_in_mrr.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def included_in_mrr @included_in_mrr end  | 
  
#index ⇒ Object
Returns the value of attribute index.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def index @index end  | 
  
#invoice_name ⇒ Object
Returns the value of attribute invoice_name.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def invoice_name @invoice_name end  | 
  
#item_price_id ⇒ Object
Returns the value of attribute item_price_id.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def item_price_id @item_price_id end  | 
  
#percentage ⇒ Object
Returns the value of attribute percentage.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def percentage @percentage end  | 
  
#period ⇒ Object
Returns the value of attribute period.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def period @period end  | 
  
#period_unit ⇒ Object
Returns the value of attribute period_unit.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def period_unit @period_unit end  | 
  
#type ⇒ Object
Returns the value of attribute type.
      45 46 47  | 
    
      # File 'lib/chargebee/models/subscription.rb', line 45 def type @type end  |