Class: CorePro::Models::ProgramECode

Inherits:
JsonBase
  • Object
show all
Defined in:
lib/corepro/models/program_e_code.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from JsonBase

#to_hash, #to_json

Constructor Details

#initializeProgramECode

Returns a new instance of ProgramECode.



20
21
22
# File 'lib/corepro/models/program_e_code.rb', line 20

def initialize
  super
end

Instance Attribute Details

#categoryObject

Returns the value of attribute category.



10
11
12
# File 'lib/corepro/models/program_e_code.rb', line 10

def category
  @category
end

#imageUrlObject

Returns the value of attribute imageUrl.



17
18
19
# File 'lib/corepro/models/program_e_code.rb', line 17

def imageUrl
  @imageUrl
end

#isReissueSupportedObject

Returns the value of attribute isReissueSupported.



18
19
20
# File 'lib/corepro/models/program_e_code.rb', line 18

def isReissueSupported
  @isReissueSupported
end

#maximumAmountObject

Returns the value of attribute maximumAmount.



15
16
17
# File 'lib/corepro/models/program_e_code.rb', line 15

def maximumAmount
  @maximumAmount
end

#minimumAmountObject

Returns the value of attribute minimumAmount.



14
15
16
# File 'lib/corepro/models/program_e_code.rb', line 14

def minimumAmount
  @minimumAmount
end

#nameObject

Returns the value of attribute name.



16
17
18
# File 'lib/corepro/models/program_e_code.rb', line 16

def name
  @name
end

#productCodeObject

Returns the value of attribute productCode.



13
14
15
# File 'lib/corepro/models/program_e_code.rb', line 13

def productCode
  @productCode
end

#programECodeIdObject

Returns the value of attribute programECodeId.



12
13
14
# File 'lib/corepro/models/program_e_code.rb', line 12

def programECodeId
  @programECodeId
end

#typeObject

Returns the value of attribute type.



11
12
13
# File 'lib/corepro/models/program_e_code.rb', line 11

def type
  @type
end

Instance Method Details

#from_json!(json, classDefs) ⇒ Object



24
25
26
27
28
# File 'lib/corepro/models/program_e_code.rb', line 24

def from_json! json, classDefs
  classDefs = classDefs || {}

  super json, classDefs
end

#is_hash?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/corepro/models/program_e_code.rb', line 6

def is_hash?
  true
end