Class: ChargeBee::CouponCode
- Defined in:
- lib/chargebee/models/coupon_code.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#coupon_id ⇒ Object
Returns the value of attribute coupon_id.
-
#coupon_set_name ⇒ Object
Returns the value of attribute coupon_set_name.
Class Method Summary collapse
-
.create(params, env = nil) ⇒ Object
OPERATIONS ———–.
- .retrieve(id, env = nil) ⇒ Object
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
#code ⇒ Object
Returns the value of attribute code.
4 5 6 |
# File 'lib/chargebee/models/coupon_code.rb', line 4 def code @code end |
#coupon_id ⇒ Object
Returns the value of attribute coupon_id.
4 5 6 |
# File 'lib/chargebee/models/coupon_code.rb', line 4 def coupon_id @coupon_id end |
#coupon_set_name ⇒ Object
Returns the value of attribute coupon_set_name.
4 5 6 |
# File 'lib/chargebee/models/coupon_code.rb', line 4 def coupon_set_name @coupon_set_name end |