Class: ChargeBee::Coupon::CouponConstraint

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

#entity_typeObject

Returns the value of attribute entity_type.



13
14
15
# File 'lib/chargebee/models/coupon.rb', line 13

def entity_type
  @entity_type
end

#typeObject

Returns the value of attribute type.



13
14
15
# File 'lib/chargebee/models/coupon.rb', line 13

def type
  @type
end

#valueObject

Returns the value of attribute value.



13
14
15
# File 'lib/chargebee/models/coupon.rb', line 13

def value
  @value
end