Class: ChargeBee::Coupon::ItemConstraint

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

#constraintObject

Returns the value of attribute constraint.



5
6
7
# File 'lib/chargebee/models/coupon.rb', line 5

def constraint
  @constraint
end

#item_price_idsObject

Returns the value of attribute item_price_ids.



5
6
7
# File 'lib/chargebee/models/coupon.rb', line 5

def item_price_ids
  @item_price_ids
end

#item_typeObject

Returns the value of attribute item_type.



5
6
7
# File 'lib/chargebee/models/coupon.rb', line 5

def item_type
  @item_type
end