Class: ChargeBee::Subscription::Coupon

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/subscription.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

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

#applied_countObject

Returns the value of attribute applied_count.



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

def applied_count
  @applied_count
end

#apply_tillObject

Returns the value of attribute apply_till.



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

def apply_till
  @apply_till
end

#coupon_codeObject

Returns the value of attribute coupon_code.



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

def coupon_code
  @coupon_code
end

#coupon_idObject

Returns the value of attribute coupon_id.



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

def coupon_id
  @coupon_id
end