Class: Supersaas::Promotion

Inherits:
BaseModel show all
Defined in:
lib/supersaas-api-client/models/promotion.rb

Instance Attribute Summary collapse

Attributes inherited from BaseModel

#attributes, #errors

Method Summary

Methods inherited from BaseModel

#initialize

Constructor Details

This class inherits a constructor from Supersaas::BaseModel

Instance Attribute Details

#codeObject

Returns the value of attribute code.



5
6
7
# File 'lib/supersaas-api-client/models/promotion.rb', line 5

def code
  @code
end

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/supersaas-api-client/models/promotion.rb', line 5

def description
  @description
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/supersaas-api-client/models/promotion.rb', line 5

def id
  @id
end

#usageObject

Returns the value of attribute usage.



5
6
7
# File 'lib/supersaas-api-client/models/promotion.rb', line 5

def usage
  @usage
end