Class: ShellDataReportingApIs::AuditResponseAuditsItems
- Inherits:
-
BaseModel
- Object
- CoreLibrary::BaseModel
- BaseModel
- ShellDataReportingApIs::AuditResponseAuditsItems
- Defined in:
- lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb
Overview
AuditResponseAuditsItems Model.
Instance Attribute Summary collapse
-
#account_id ⇒ Integer
Account id of the customer.
-
#account_number ⇒ String
Account number of the customer.
-
#additional_information1 ⇒ String
Additional information in the request.
-
#additional_information2 ⇒ String
Additional information in the request.
-
#additional_information3 ⇒ String
Additional information in the request.
-
#additional_information4 ⇒ String
Additional information in the request.
-
#additional_information5 ⇒ String
Additional information in the request.
-
#additional_information6 ⇒ String
Additional information in the request.
-
#additional_information7 ⇒ String
Additional information in the request.
-
#additional_information8 ⇒ String
Additional information in the request.
-
#additional_information9 ⇒ String
Additional information in the request.
-
#card_group_id ⇒ Integer
Additional information in the request.
-
#card_group_name ⇒ String
Card group name in the request.
-
#card_id ⇒ Integer
Card Id in the request.
-
#col_co_code ⇒ Integer
Collecting company code of the customer.
-
#col_co_id ⇒ Integer
Collecting company id of the customer.
-
#error_code ⇒ String
Error code of the request.
-
#error_string ⇒ String
Error description of the request.
-
#global_request_id ⇒ String
Global unique request reference provided by client application.
-
#pan ⇒ String
PAN in the request.
-
#payer_id ⇒ Integer
Payer id of the customer.
-
#payer_number ⇒ String
Payer number of the customer.
-
#processed_on ⇒ String
Request processed date.
-
#request_reference ⇒ Integer
Reference number for the requested operation.
-
#request_type ⇒ String
Request type initiated under the requested operation.
-
#requested_by ⇒ String
vUUID of the user who submitted this request.
-
#requested_operation ⇒ String
User requested operation.
-
#status ⇒ String
Status of the request.
-
#sub_request_reference ⇒ Integer
Reference number for the individual request type.
-
#submitted_on ⇒ String
Request submitted date.
-
#user_display_name ⇒ String
Display name of the user who submitted this request.
Class Method Summary collapse
-
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
-
.names ⇒ Object
A mapping from model property names to API property names.
-
.nullables ⇒ Object
An array for nullable fields.
-
.optionals ⇒ Object
An array for optional fields.
Instance Method Summary collapse
Methods inherited from BaseModel
Constructor Details
#initialize(account_id = SKIP, account_number = SKIP, additional_information1 = SKIP, additional_information2 = SKIP, additional_information3 = SKIP, additional_information4 = SKIP, additional_information5 = SKIP, additional_information6 = SKIP, additional_information7 = SKIP, additional_information8 = SKIP, additional_information9 = SKIP, card_group_id = SKIP, card_group_name = SKIP, card_id = SKIP, col_co_code = SKIP, col_co_id = SKIP, error_code = SKIP, error_string = SKIP, global_request_id = SKIP, pan = SKIP, payer_id = SKIP, payer_number = SKIP, processed_on = SKIP, requested_by = SKIP, requested_operation = SKIP, request_reference = SKIP, request_type = SKIP, status = SKIP, submitted_on = SKIP, sub_request_reference = SKIP, user_display_name = SKIP) ⇒ AuditResponseAuditsItems
Returns a new instance of AuditResponseAuditsItems.
300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 300 def initialize(account_id = SKIP, account_number = SKIP, additional_information1 = SKIP, additional_information2 = SKIP, additional_information3 = SKIP, additional_information4 = SKIP, additional_information5 = SKIP, additional_information6 = SKIP, additional_information7 = SKIP, additional_information8 = SKIP, additional_information9 = SKIP, card_group_id = SKIP, card_group_name = SKIP, card_id = SKIP, col_co_code = SKIP, col_co_id = SKIP, error_code = SKIP, error_string = SKIP, global_request_id = SKIP, pan = SKIP, payer_id = SKIP, payer_number = SKIP, processed_on = SKIP, requested_by = SKIP, requested_operation = SKIP, request_reference = SKIP, request_type = SKIP, status = SKIP, submitted_on = SKIP, sub_request_reference = SKIP, user_display_name = SKIP) @account_id = account_id unless account_id == SKIP @account_number = account_number unless account_number == SKIP @additional_information1 = additional_information1 unless additional_information1 == SKIP @additional_information2 = additional_information2 unless additional_information2 == SKIP @additional_information3 = additional_information3 unless additional_information3 == SKIP @additional_information4 = additional_information4 unless additional_information4 == SKIP @additional_information5 = additional_information5 unless additional_information5 == SKIP @additional_information6 = additional_information6 unless additional_information6 == SKIP @additional_information7 = additional_information7 unless additional_information7 == SKIP @additional_information8 = additional_information8 unless additional_information8 == SKIP @additional_information9 = additional_information9 unless additional_information9 == SKIP @card_group_id = card_group_id unless card_group_id == SKIP @card_group_name = card_group_name unless card_group_name == SKIP @card_id = card_id unless card_id == SKIP @col_co_code = col_co_code unless col_co_code == SKIP @col_co_id = col_co_id unless col_co_id == SKIP @error_code = error_code unless error_code == SKIP @error_string = error_string unless error_string == SKIP @global_request_id = global_request_id unless global_request_id == SKIP @pan = pan unless pan == SKIP @payer_id = payer_id unless payer_id == SKIP @payer_number = payer_number unless payer_number == SKIP @processed_on = processed_on unless processed_on == SKIP @requested_by = requested_by unless requested_by == SKIP @requested_operation = requested_operation unless requested_operation == SKIP @request_reference = request_reference unless request_reference == SKIP @request_type = request_type unless request_type == SKIP @status = status unless status == SKIP @submitted_on = submitted_on unless submitted_on == SKIP @sub_request_reference = sub_request_reference unless sub_request_reference == SKIP @user_display_name = user_display_name unless user_display_name == SKIP end |
Instance Attribute Details
#account_id ⇒ Integer
Account id of the customer. It will be the source account id in case of “Fund Transfer
15 16 17 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 15 def account_id @account_id end |
#account_number ⇒ String
Account number of the customer. It will be the source account number in case of “Fund Transfer”
20 21 22 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 20 def account_number @account_number end |
#additional_information1 ⇒ String
Additional information in the request.
24 25 26 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 24 def additional_information1 @additional_information1 end |
#additional_information2 ⇒ String
Additional information in the request.
28 29 30 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 28 def additional_information2 @additional_information2 end |
#additional_information3 ⇒ String
Additional information in the request.
32 33 34 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 32 def additional_information3 @additional_information3 end |
#additional_information4 ⇒ String
Additional information in the request.
36 37 38 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 36 def additional_information4 @additional_information4 end |
#additional_information5 ⇒ String
Additional information in the request.
40 41 42 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 40 def additional_information5 @additional_information5 end |
#additional_information6 ⇒ String
Additional information in the request.
44 45 46 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 44 def additional_information6 @additional_information6 end |
#additional_information7 ⇒ String
Additional information in the request.
48 49 50 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 48 def additional_information7 @additional_information7 end |
#additional_information8 ⇒ String
Additional information in the request.
52 53 54 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 52 def additional_information8 @additional_information8 end |
#additional_information9 ⇒ String
Additional information in the request.
56 57 58 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 56 def additional_information9 @additional_information9 end |
#card_group_id ⇒ Integer
Additional information in the request.
60 61 62 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 60 def card_group_id @card_group_id end |
#card_group_name ⇒ String
Card group name in the request.
64 65 66 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 64 def card_group_name @card_group_name end |
#card_id ⇒ Integer
Card Id in the request
68 69 70 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 68 def card_id @card_id end |
#col_co_code ⇒ Integer
Collecting company code of the customer
72 73 74 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 72 def col_co_code @col_co_code end |
#col_co_id ⇒ Integer
Collecting company id of the customer.
76 77 78 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 76 def col_co_id @col_co_id end |
#error_code ⇒ String
Error code of the request
80 81 82 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 80 def error_code @error_code end |
#error_string ⇒ String
Error description of the request
84 85 86 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 84 def error_string @error_string end |
#global_request_id ⇒ String
Global unique request reference provided by client application.
88 89 90 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 88 def global_request_id @global_request_id end |
#pan ⇒ String
PAN in the request. If Mask PAN is enabled at Microservices configuration then all digits of the PAN, except the last 6 digits, will be masked.
94 95 96 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 94 def pan @pan end |
#payer_id ⇒ Integer
Payer id of the customer.
98 99 100 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 98 def payer_id @payer_id end |
#payer_number ⇒ String
Payer number of the customer.
102 103 104 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 102 def payer_number @payer_number end |
#processed_on ⇒ String
Request processed date. Format: yyyyMMdd HH:mm: ss
107 108 109 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 107 def processed_on @processed_on end |
#request_reference ⇒ Integer
Reference number for the requested operation.
139 140 141 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 139 def request_reference @request_reference end |
#request_type ⇒ String
Request type initiated under the requested operation. Possible values: • OrderCard • CreateCardGroup • PINReminder • MoveCard • UpdateCardStatus • UpdateCardGroup • AutoRenew • BulkCardOrder • BulkCardBlock • BulkCardOrderMultiAccount • MobilePaymentRegistration • UpdateCompanyInfo • BCOSummary • BCOMultiAccountSummary • BCBSummary • FundTransfer • DeliveryAddressUpdate
161 162 163 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 161 def request_type @request_type end |
#requested_by ⇒ String
vUUID of the user who submitted this request. It will be the UUID of the Driver in the case of “MobilePaymentRegistration”
113 114 115 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 113 def requested_by @requested_by end |
#requested_operation ⇒ String
User requested operation. Possible values: • OrderCard • CreateCardGroup • PINReminder • MoveCard • UpdateCardStatus • UpdateCardGroup • AutoRenew • BulkCardOrder • BulkCardBlock • BulkCardOrderMultiAccount • MobilePaymentRegistration • UpdateCompanyInfo • BCOSummary • BCOMultiAccountSummary • BCBSummary • FundTransfer • DeliveryAddressUpdate
135 136 137 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 135 def requested_operation @requested_operation end |
#status ⇒ String
Status of the request. Possible values: • Success • Failed • InProgress • Submitted • Rejected • PendingApproval • MailedToCSC
173 174 175 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 173 def status @status end |
#sub_request_reference ⇒ Integer
Reference number for the individual request type.
182 183 184 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 182 def sub_request_reference @sub_request_reference end |
#submitted_on ⇒ String
Request submitted date. Format: yyyyMMdd HH:mm: ss
178 179 180 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 178 def submitted_on @submitted_on end |
#user_display_name ⇒ String
Display name of the user who submitted this request. It will be the Display Name of the Driver in the case of “MobilePaymentRegistration” in the below format:
188 189 190 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 188 def user_display_name @user_display_name end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 352 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. account_id = hash.key?('AccountId') ? hash['AccountId'] : SKIP account_number = hash.key?('AccountNumber') ? hash['AccountNumber'] : SKIP additional_information1 = hash.key?('AdditionalInformation1') ? hash['AdditionalInformation1'] : SKIP additional_information2 = hash.key?('AdditionalInformation2') ? hash['AdditionalInformation2'] : SKIP additional_information3 = hash.key?('AdditionalInformation3') ? hash['AdditionalInformation3'] : SKIP additional_information4 = hash.key?('AdditionalInformation4') ? hash['AdditionalInformation4'] : SKIP additional_information5 = hash.key?('AdditionalInformation5') ? hash['AdditionalInformation5'] : SKIP additional_information6 = hash.key?('AdditionalInformation6') ? hash['AdditionalInformation6'] : SKIP additional_information7 = hash.key?('AdditionalInformation7') ? hash['AdditionalInformation7'] : SKIP additional_information8 = hash.key?('AdditionalInformation8') ? hash['AdditionalInformation8'] : SKIP additional_information9 = hash.key?('AdditionalInformation9') ? hash['AdditionalInformation9'] : SKIP card_group_id = hash.key?('CardGroupId') ? hash['CardGroupId'] : SKIP card_group_name = hash.key?('CardGroupName') ? hash['CardGroupName'] : SKIP card_id = hash.key?('CardId') ? hash['CardId'] : SKIP col_co_code = hash.key?('ColCoCode') ? hash['ColCoCode'] : SKIP col_co_id = hash.key?('ColCoId') ? hash['ColCoId'] : SKIP error_code = hash.key?('ErrorCode') ? hash['ErrorCode'] : SKIP error_string = hash.key?('ErrorString') ? hash['ErrorString'] : SKIP global_request_id = hash.key?('GlobalRequestID') ? hash['GlobalRequestID'] : SKIP pan = hash.key?('PAN') ? hash['PAN'] : SKIP payer_id = hash.key?('PayerId') ? hash['PayerId'] : SKIP payer_number = hash.key?('PayerNumber') ? hash['PayerNumber'] : SKIP processed_on = hash.key?('ProcessedOn') ? hash['ProcessedOn'] : SKIP requested_by = hash.key?('RequestedBy') ? hash['RequestedBy'] : SKIP requested_operation = hash.key?('RequestedOperation') ? hash['RequestedOperation'] : SKIP request_reference = hash.key?('RequestReference') ? hash['RequestReference'] : SKIP request_type = hash.key?('RequestType') ? hash['RequestType'] : SKIP status = hash.key?('Status') ? hash['Status'] : SKIP submitted_on = hash.key?('SubmittedOn') ? hash['SubmittedOn'] : SKIP sub_request_reference = hash.key?('SubRequestReference') ? hash['SubRequestReference'] : SKIP user_display_name = hash.key?('UserDisplayName') ? hash['UserDisplayName'] : SKIP # Create object from extracted values. AuditResponseAuditsItems.new(account_id, account_number, additional_information1, additional_information2, additional_information3, additional_information4, additional_information5, additional_information6, additional_information7, additional_information8, additional_information9, card_group_id, card_group_name, card_id, col_co_code, col_co_id, error_code, error_string, global_request_id, pan, payer_id, payer_number, processed_on, requested_by, requested_operation, request_reference, request_type, status, submitted_on, sub_request_reference, user_display_name) end |
.names ⇒ Object
A mapping from model property names to API property names.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 191 def self.names @_hash = {} if @_hash.nil? @_hash['account_id'] = 'AccountId' @_hash['account_number'] = 'AccountNumber' @_hash['additional_information1'] = 'AdditionalInformation1' @_hash['additional_information2'] = 'AdditionalInformation2' @_hash['additional_information3'] = 'AdditionalInformation3' @_hash['additional_information4'] = 'AdditionalInformation4' @_hash['additional_information5'] = 'AdditionalInformation5' @_hash['additional_information6'] = 'AdditionalInformation6' @_hash['additional_information7'] = 'AdditionalInformation7' @_hash['additional_information8'] = 'AdditionalInformation8' @_hash['additional_information9'] = 'AdditionalInformation9' @_hash['card_group_id'] = 'CardGroupId' @_hash['card_group_name'] = 'CardGroupName' @_hash['card_id'] = 'CardId' @_hash['col_co_code'] = 'ColCoCode' @_hash['col_co_id'] = 'ColCoId' @_hash['error_code'] = 'ErrorCode' @_hash['error_string'] = 'ErrorString' @_hash['global_request_id'] = 'GlobalRequestID' @_hash['pan'] = 'PAN' @_hash['payer_id'] = 'PayerId' @_hash['payer_number'] = 'PayerNumber' @_hash['processed_on'] = 'ProcessedOn' @_hash['requested_by'] = 'RequestedBy' @_hash['requested_operation'] = 'RequestedOperation' @_hash['request_reference'] = 'RequestReference' @_hash['request_type'] = 'RequestType' @_hash['status'] = 'Status' @_hash['submitted_on'] = 'SubmittedOn' @_hash['sub_request_reference'] = 'SubRequestReference' @_hash['user_display_name'] = 'UserDisplayName' @_hash end |
.nullables ⇒ Object
An array for nullable fields
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 265 def self.nullables %w[ account_id account_number additional_information1 additional_information2 additional_information3 additional_information4 additional_information5 additional_information6 additional_information7 additional_information8 additional_information9 card_group_id card_group_name card_id col_co_code col_co_id error_string global_request_id pan payer_id payer_number processed_on requested_by requested_operation request_reference request_type status submitted_on sub_request_reference user_display_name ] end |
.optionals ⇒ Object
An array for optional fields
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb', line 228 def self.optionals %w[ account_id account_number additional_information1 additional_information2 additional_information3 additional_information4 additional_information5 additional_information6 additional_information7 additional_information8 additional_information9 card_group_id card_group_name card_id col_co_code col_co_id error_code error_string global_request_id pan payer_id payer_number processed_on requested_by requested_operation request_reference request_type status submitted_on sub_request_reference user_display_name ] end |