Class: CustomerEntityResponse
- Inherits:
-
JSONable
show all
- Defined in:
- lib/Entities/customer_entity_response.rb
Instance Method Summary
collapse
Methods inherited from JSONable
#from_json!, #to_h, #to_json
Constructor Details
Returns a new instance of CustomerEntityResponse.
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'lib/Entities/customer_entity_response.rb', line 5
def initialize(h = nil)
if(h != nil)
h.each {
|k,v|
propNameFormatted = k.to_s + "="
if(CustomerEntityResponse.instance_methods(false).include?(propNameFormatted.to_sym))
public_send("#{k}=",v)
end
}
end
end
|
Instance Method Details
#accountToken=(accountToken) ⇒ Object
44
45
46
|
# File 'lib/Entities/customer_entity_response.rb', line 44
def accountToken=(accountToken)
@accountToken = accountToken
end
|
#getId ⇒ Object
66
67
68
|
# File 'lib/Entities/customer_entity_response.rb', line 66
def getId
return @id
end
|
#getIsSuccess ⇒ Object
54
55
56
|
# File 'lib/Entities/customer_entity_response.rb', line 54
def getIsSuccess
return @isSuccess
end
|
#getResponseCode ⇒ Object
62
63
64
|
# File 'lib/Entities/customer_entity_response.rb', line 62
def getResponseCode
return @responseCode
end
|
#getResponseSummary ⇒ Object
58
59
60
|
# File 'lib/Entities/customer_entity_response.rb', line 58
def getResponseSummary
return @responseSummary
end
|
#getValidationErrors ⇒ Object
50
51
52
|
# File 'lib/Entities/customer_entity_response.rb', line 50
def getValidationErrors
return @validationErrors
end
|
#Id=(id) ⇒ Object
40
41
42
|
# File 'lib/Entities/customer_entity_response.rb', line 40
def Id=(id)
@id = id
end
|
#IsSuccess=(isSuccess) ⇒ Object
28
29
30
|
# File 'lib/Entities/customer_entity_response.rb', line 28
def IsSuccess=(isSuccess)
@isSuccess = isSuccess
end
|
#responseCode=(responseCode) ⇒ Object
36
37
38
|
# File 'lib/Entities/customer_entity_response.rb', line 36
def responseCode=(responseCode)
@responseCode = responseCode
end
|
#ResponseSummary=(responseSummary) ⇒ Object
32
33
34
|
# File 'lib/Entities/customer_entity_response.rb', line 32
def ResponseSummary=(responseSummary)
@responseSummary = responseSummary
end
|
#ValidationErrors=(validationErrors) ⇒ Object
24
25
26
|
# File 'lib/Entities/customer_entity_response.rb', line 24
def ValidationErrors=(validationErrors) @validationErrors = validationErrors
end
|