Class: ShellCardManagementApIs::CardDetailsResponse

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/shell_card_management_ap_is/models/card_details_response.rb

Overview

CardDetailsResponse Model.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#to_hash, #to_json

Constructor Details

#initialize(payer_id = SKIP, payer_number = SKIP, account_id = SKIP, account_number = SKIP, account_short_name = SKIP, col_co_country_code = SKIP, local_currency_code = SKIP, local_currency_symbol = SKIP, card_id = SKIP, pan = SKIP, status_id = SKIP, status = SKIP, odometer_prompt = SKIP, fleet_id_prompt = SKIP, pin_type = SKIP, has_pin = SKIP, is_self_selected_pin = SKIP, temporary_block_allowed = SKIP, unblock_allowed = SKIP, permanent_block_allowed = SKIP, issue_number = SKIP, reissue_setting = SKIP, international_pos_language_id = SKIP, international_pos_language_code = SKIP, local_pos_language_id = SKIP, local_pos_language_code = SKIP, card_type_code = SKIP, card_type_id = SKIP, card_type_name = SKIP, token_type_id = SKIP, token_type_name = SKIP, is_chip_card = SKIP, is_mag_strip_card = SKIP, is_virtual_card = SKIP, purchase_category_code = SKIP, purchase_category_id = SKIP, purchase_category_name = SKIP, is_crt = SKIP, is_fleet = SKIP, is_international = SKIP, is_national = SKIP, is_partner_sites_included = SKIP, is_shell_sites_only = SKIP, fuel_sets = SKIP, non_fuel_sets = SKIP, issued_date = SKIP, expiry_date = SKIP, last_used_date = SKIP, misuse_date = SKIP, temperature = SKIP, driver_name = SKIP, vrn = SKIP, emboss_text = SKIP, card_group_id = SKIP, card_group_name = SKIP, renewal_date = SKIP, renewed_card_id = SKIP, renewed_card_status_id = SKIP, renewed_card_status = SKIP, renewed_card_expiry_date = SKIP, renewed_card_issue_number = SKIP, renewed_card_reissue_setting = SKIP, creation_date = SKIP, effective_date = SKIP, last_modified_date = SKIP, bundle_id = SKIP, card_delivery_address = SKIP, pin_delivery_address = SKIP, card_block_schedules = SKIP, error = SKIP, request_id = SKIP) ⇒ CardDetailsResponse

Returns a new instance of CardDetailsResponse.



688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 688

def initialize(payer_id = SKIP, payer_number = SKIP,  = SKIP,
                = SKIP,  = SKIP,
               col_co_country_code = SKIP, local_currency_code = SKIP,
               local_currency_symbol = SKIP, card_id = SKIP, pan = SKIP,
               status_id = SKIP, status = SKIP, odometer_prompt = SKIP,
               fleet_id_prompt = SKIP, pin_type = SKIP, has_pin = SKIP,
               is_self_selected_pin = SKIP, temporary_block_allowed = SKIP,
               unblock_allowed = SKIP, permanent_block_allowed = SKIP,
               issue_number = SKIP, reissue_setting = SKIP,
               international_pos_language_id = SKIP,
               international_pos_language_code = SKIP,
               local_pos_language_id = SKIP, local_pos_language_code = SKIP,
               card_type_code = SKIP, card_type_id = SKIP,
               card_type_name = SKIP, token_type_id = SKIP,
               token_type_name = SKIP, is_chip_card = SKIP,
               is_mag_strip_card = SKIP, is_virtual_card = SKIP,
               purchase_category_code = SKIP, purchase_category_id = SKIP,
               purchase_category_name = SKIP, is_crt = SKIP,
               is_fleet = SKIP, is_international = SKIP, is_national = SKIP,
               is_partner_sites_included = SKIP, is_shell_sites_only = SKIP,
               fuel_sets = SKIP, non_fuel_sets = SKIP, issued_date = SKIP,
               expiry_date = SKIP, last_used_date = SKIP,
               misuse_date = SKIP, temperature = SKIP, driver_name = SKIP,
               vrn = SKIP, emboss_text = SKIP, card_group_id = SKIP,
               card_group_name = SKIP, renewal_date = SKIP,
               renewed_card_id = SKIP, renewed_card_status_id = SKIP,
               renewed_card_status = SKIP, renewed_card_expiry_date = SKIP,
               renewed_card_issue_number = SKIP,
               renewed_card_reissue_setting = SKIP, creation_date = SKIP,
               effective_date = SKIP, last_modified_date = SKIP,
               bundle_id = SKIP, card_delivery_address = SKIP,
               pin_delivery_address = SKIP, card_block_schedules = SKIP,
               error = SKIP, request_id = SKIP)
  @payer_id = payer_id unless payer_id == SKIP
  @payer_number = payer_number unless payer_number == SKIP
  @account_id =  unless  == SKIP
  @account_number =  unless  == SKIP
  @account_short_name =  unless  == SKIP
  @col_co_country_code = col_co_country_code unless col_co_country_code == SKIP
  @local_currency_code = local_currency_code unless local_currency_code == SKIP
  @local_currency_symbol = local_currency_symbol unless local_currency_symbol == SKIP
  @card_id = card_id unless card_id == SKIP
  @pan = pan unless pan == SKIP
  @status_id = status_id unless status_id == SKIP
  @status = status unless status == SKIP
  @odometer_prompt = odometer_prompt unless odometer_prompt == SKIP
  @fleet_id_prompt = fleet_id_prompt unless fleet_id_prompt == SKIP
  @pin_type = pin_type unless pin_type == SKIP
  @has_pin = has_pin unless has_pin == SKIP
  @is_self_selected_pin = is_self_selected_pin unless is_self_selected_pin == SKIP
  @temporary_block_allowed = temporary_block_allowed unless temporary_block_allowed == SKIP
  @unblock_allowed = unblock_allowed unless unblock_allowed == SKIP
  @permanent_block_allowed = permanent_block_allowed unless permanent_block_allowed == SKIP
  @issue_number = issue_number unless issue_number == SKIP
  @reissue_setting = reissue_setting unless reissue_setting == SKIP
  unless international_pos_language_id == SKIP
    @international_pos_language_id =
      international_pos_language_id
  end
  unless international_pos_language_code == SKIP
    @international_pos_language_code =
      international_pos_language_code
  end
  @local_pos_language_id = local_pos_language_id unless local_pos_language_id == SKIP
  @local_pos_language_code = local_pos_language_code unless local_pos_language_code == SKIP
  @card_type_code = card_type_code unless card_type_code == SKIP
  @card_type_id = card_type_id unless card_type_id == SKIP
  @card_type_name = card_type_name unless card_type_name == SKIP
  @token_type_id = token_type_id unless token_type_id == SKIP
  @token_type_name = token_type_name unless token_type_name == SKIP
  @is_chip_card = is_chip_card unless is_chip_card == SKIP
  @is_mag_strip_card = is_mag_strip_card unless is_mag_strip_card == SKIP
  @is_virtual_card = is_virtual_card unless is_virtual_card == SKIP
  @purchase_category_code = purchase_category_code unless purchase_category_code == SKIP
  @purchase_category_id = purchase_category_id unless purchase_category_id == SKIP
  @purchase_category_name = purchase_category_name unless purchase_category_name == SKIP
  @is_crt = is_crt unless is_crt == SKIP
  @is_fleet = is_fleet unless is_fleet == SKIP
  @is_international = is_international unless is_international == SKIP
  @is_national = is_national unless is_national == SKIP
  unless is_partner_sites_included == SKIP
    @is_partner_sites_included =
      is_partner_sites_included
  end
  @is_shell_sites_only = is_shell_sites_only unless is_shell_sites_only == SKIP
  @fuel_sets = fuel_sets unless fuel_sets == SKIP
  @non_fuel_sets = non_fuel_sets unless non_fuel_sets == SKIP
  @issued_date = issued_date unless issued_date == SKIP
  @expiry_date = expiry_date unless expiry_date == SKIP
  @last_used_date = last_used_date unless last_used_date == SKIP
  @misuse_date = misuse_date unless misuse_date == SKIP
  @temperature = temperature unless temperature == SKIP
  @driver_name = driver_name unless driver_name == SKIP
  @vrn = vrn unless vrn == SKIP
  @emboss_text = emboss_text unless emboss_text == SKIP
  @card_group_id = card_group_id unless card_group_id == SKIP
  @card_group_name = card_group_name unless card_group_name == SKIP
  @renewal_date = renewal_date unless renewal_date == SKIP
  @renewed_card_id = renewed_card_id unless renewed_card_id == SKIP
  @renewed_card_status_id = renewed_card_status_id unless renewed_card_status_id == SKIP
  @renewed_card_status = renewed_card_status unless renewed_card_status == SKIP
  @renewed_card_expiry_date = renewed_card_expiry_date unless renewed_card_expiry_date == SKIP
  unless renewed_card_issue_number == SKIP
    @renewed_card_issue_number =
      renewed_card_issue_number
  end
  unless renewed_card_reissue_setting == SKIP
    @renewed_card_reissue_setting =
      renewed_card_reissue_setting
  end
  @creation_date = creation_date unless creation_date == SKIP
  @effective_date = effective_date unless effective_date == SKIP
  @last_modified_date = last_modified_date unless last_modified_date == SKIP
  @bundle_id = bundle_id unless bundle_id == SKIP
  @card_delivery_address = card_delivery_address unless card_delivery_address == SKIP
  @pin_delivery_address = pin_delivery_address unless pin_delivery_address == SKIP
  @card_block_schedules = card_block_schedules unless card_block_schedules == SKIP
  @error = error unless error == SKIP
  @request_id = request_id unless request_id == SKIP
end

Instance Attribute Details

#account_idInteger

Account Id (i.e. Customer Id of the Customer in the Shell Card Platform) of the customer.

Returns:

  • (Integer)


24
25
26
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 24

def 
  @account_id
end

#account_numberString

Account Number of the customer.

Returns:

  • (String)


28
29
30
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 28

def 
  @account_number
end

#account_short_nameString

Account short name.

Returns:

  • (String)


32
33
34
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 32

def 
  @account_short_name
end

#bundle_idString

Bundle Id associated with card in the Gateway. This field will have a null value if the card is not associated with any bundle in Gateway or the value of IncludeBundleDetails in request is false.

Returns:

  • (String)


466
467
468
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 466

def bundle_id
  @bundle_id
end

#card_block_schedulesArray[CardDetailsResponseCardBlockSchedulesItemsAllOf0]

Bundle Id associated with card in the Gateway. This field will have a null value if the card is not associated with any bundle in Gateway or the value of IncludeBundleDetails in request is false.



484
485
486
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 484

def card_block_schedules
  @card_block_schedules
end

#card_delivery_addressCardDeliveryAddress

Bundle Id associated with card in the Gateway. This field will have a null value if the card is not associated with any bundle in Gateway or the value of IncludeBundleDetails in request is false.

Returns:



472
473
474
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 472

def card_delivery_address
  @card_delivery_address
end

#card_group_idInteger

Existing Card Group ID, under which the replacement card is to be created. Pass “-1” if the replacement card should not be assigned to any card group. Optional. If not provided, the replacement card will be created under the same card group as the current card. Example- 156

Returns:

  • (Integer)


413
414
415
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 413

def card_group_id
  @card_group_id
end

#card_group_nameString

Card group name. Note- 1. While ordering card this field is mandatory when IsNewCardGroup is true.

Returns:

  • (String)


418
419
420
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 418

def card_group_name
  @card_group_name
end

#card_idInteger

Unique Card Id in Cards platform.

Returns:

  • (Integer)


48
49
50
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 48

def card_id
  @card_id
end

#card_type_codeString

ISO code of the card i.e. first 7 digits of the PAN.

Returns:

  • (String)


297
298
299
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 297

def card_type_code
  @card_type_code
end

#card_type_idInteger

Card Type ID

Returns:

  • (Integer)


301
302
303
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 301

def card_type_id
  @card_type_id
end

#card_type_nameString

Card Type Name

Returns:

  • (String)


305
306
307
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 305

def card_type_name
  @card_type_name
end

#col_co_country_codeString

ISO 3166 Alpha-2 Country Code for the customer and card owning country.

Returns:

  • (String)


36
37
38
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 36

def col_co_country_code
  @col_co_country_code
end

#creation_dateString

Card Creation Date time

Returns:

  • (String)


452
453
454
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 452

def creation_date
  @creation_date
end

#driver_nameString

Driver name of the card. Note- While ordering card, optional when VRN is passed else mandatory.

Returns:

  • (String)


394
395
396
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 394

def driver_name
  @driver_name
end

#effective_dateString

Effective date for the Card

Returns:

  • (String)


456
457
458
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 456

def effective_date
  @effective_date
end

#emboss_textString

Text printed on the card as account name.

Returns:

  • (String)


403
404
405
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 403

def emboss_text
  @emboss_text
end

#errorErrorStatus

Bundle Id associated with card in the Gateway. This field will have a null value if the card is not associated with any bundle in Gateway or the value of IncludeBundleDetails in request is false.

Returns:



490
491
492
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 490

def error
  @error
end

#expiry_dateString

Expiry date of the card.

Returns:

  • (String)


377
378
379
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 377

def expiry_date
  @expiry_date
end

#fleet_id_promptTrueClass | FalseClass

True if fleet id input is enabled, else false

Returns:

  • (TrueClass | FalseClass)


119
120
121
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 119

def fleet_id_prompt
  @fleet_id_prompt
end

#fuel_setsArray[CardDetailsResponseFuelSetsItems]

List of active fuel type product restrictions applied on the card.



365
366
367
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 365

def fuel_sets
  @fuel_sets
end

#has_pinTrueClass | FalseClass

True if card has PIN, else false

Returns:

  • (TrueClass | FalseClass)


129
130
131
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 129

def has_pin
  @has_pin
end

#international_pos_language_codeCardDetailsResponseInternationalPOSLanguageCodeEnum

POS language code. Language code:

* `deu` - German
* `fra` - French
* `bul` - Bulgarian
* `hrv` - Croatian
* `ces` - Czech
* `dan` - Danish
* `fin` - Finnish
* `eng` - English
* `ell` - Greek
* `zho` - Chinese
* `hun` - Hungarian
* `ita` - Italian
* `ltz` - Luxembourgish
* `msa` - Malay
* `nld` - Dutch
* `nob` - Norwegian, Bokmal
* `urd` - Urdu
* `pol` - Polish
* `por` - Portuguese
* `ron` - Romanian
* `rus` - Russian
* `slk` - Slovak
* `slv` - Slovenian
* `spa` - Spanish
* `swe` - Swedish
* `tur` - Turkish
* `tha` - Thai
* `fil` - Filipino
* `est` - Estonian
* `lav` - Latvian
* `lit` - Lithuanian


223
224
225
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 223

def international_pos_language_code
  @international_pos_language_code
end

#international_pos_language_idCardDetailsResponseInternationalPOSLanguageIDEnum

POS language identifier. Language Id:

* `1` - German
* `2` - French
* `3` - Bulgarian
* `4` - Croatian
* `5` - Czech
* `6` - Danish
* `7` - Finnish
* `8` - English
* `9` - Greek
* `10` - Chinese
* `11` - Hungarian
* `12` - Italian
* `13` - Luxembourgish
* `14` - Malay
* `15` - Dutch
* `16` - Norwegian, Bokmal
* `17` - Urdu
* `18` - Polish
* `19` - Portuguese
* `20` - Romanian
* `21` - Russian
* `22` - Slovak
* `23` - Slovenian
* `24` - Spanish
* `25` - Swedish
* `26` - Turkish
* `27` - Thai
* `28` - Filipino
* `29` - Estonian
* `30` - Latvian
* `31` - Lithuanian


188
189
190
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 188

def international_pos_language_id
  @international_pos_language_id
end

#is_chip_cardTrueClass | FalseClass

True if a chip card, else false

Returns:

  • (TrueClass | FalseClass)


317
318
319
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 317

def is_chip_card
  @is_chip_card
end

#is_crtTrueClass | FalseClass

True if it is a Commercial Road Transport (CRT) card, else false

Returns:

  • (TrueClass | FalseClass)


341
342
343
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 341

def is_crt
  @is_crt
end

#is_fleetTrueClass | FalseClass

True if it is a Fleet card, else false

Returns:

  • (TrueClass | FalseClass)


345
346
347
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 345

def is_fleet
  @is_fleet
end

#is_internationalTrueClass | FalseClass

True if it is an international card, else false

Returns:

  • (TrueClass | FalseClass)


349
350
351
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 349

def is_international
  @is_international
end

#is_mag_strip_cardTrueClass | FalseClass

True if it is a magnetic stripe card, else false

Returns:

  • (TrueClass | FalseClass)


321
322
323
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 321

def is_mag_strip_card
  @is_mag_strip_card
end

#is_nationalTrueClass | FalseClass

True if it is a national card, else false

Returns:

  • (TrueClass | FalseClass)


353
354
355
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 353

def is_national
  @is_national
end

#is_partner_sites_includedTrueClass | FalseClass

True if it is allowed at all partner sites, else false

Returns:

  • (TrueClass | FalseClass)


357
358
359
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 357

def is_partner_sites_included
  @is_partner_sites_included
end

#is_self_selected_pinTrueClass | FalseClass

True if card has Self Selected PIN, else false

Returns:

  • (TrueClass | FalseClass)


133
134
135
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 133

def is_self_selected_pin
  @is_self_selected_pin
end

#is_shell_sites_onlyTrueClass | FalseClass

True if it is only allowed at Shell sites, else false

Returns:

  • (TrueClass | FalseClass)


361
362
363
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 361

def is_shell_sites_only
  @is_shell_sites_only
end

#is_virtual_cardTrueClass | FalseClass

True if it is a virtual card, else false

Returns:

  • (TrueClass | FalseClass)


325
326
327
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 325

def is_virtual_card
  @is_virtual_card
end

#issue_numberInteger

Issue number of the card

Returns:

  • (Integer)


149
150
151
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 149

def issue_number
  @issue_number
end

#issued_dateString

Card issue date.

Returns:

  • (String)


373
374
375
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 373

def issued_date
  @issued_date
end

#last_modified_dateString

Card last modified date

Returns:

  • (String)


460
461
462
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 460

def last_modified_date
  @last_modified_date
end

#last_used_dateString

Card last used date.

Returns:

  • (String)


381
382
383
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 381

def last_used_date
  @last_used_date
end

#local_currency_codeString

ISO 4217 Curreny Code of the local currency.

Returns:

  • (String)


40
41
42
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 40

def local_currency_code
  @local_currency_code
end

#local_currency_symbolString

Currency symbol of local currency.

Returns:

  • (String)


44
45
46
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 44

def local_currency_symbol
  @local_currency_symbol
end

#local_pos_language_codeCardDetailsResponseInternationalPOSLanguageCodeEnum

POS language code. Language code:

* `deu` - German
* `fra` - French
* `bul` - Bulgarian
* `hrv` - Croatian
* `ces` - Czech
* `dan` - Danish
* `fin` - Finnish
* `eng` - English
* `ell` - Greek
* `zho` - Chinese
* `hun` - Hungarian
* `ita` - Italian
* `ltz` - Luxembourgish
* `msa` - Malay
* `nld` - Dutch
* `nob` - Norwegian, Bokmal
* `urd` - Urdu
* `pol` - Polish
* `por` - Portuguese
* `ron` - Romanian
* `rus` - Russian
* `slk` - Slovak
* `slv` - Slovenian
* `spa` - Spanish
* `swe` - Swedish
* `tur` - Turkish
* `tha` - Thai
* `fil` - Filipino
* `est` - Estonian
* `lav` - Latvian
* `lit` - Lithuanian


293
294
295
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 293

def local_pos_language_code
  @local_pos_language_code
end

#local_pos_language_idCardDetailsResponseInternationalPOSLanguageIDEnum

POS language identifier. Language Id:

* `1` - German
* `2` - French
* `3` - Bulgarian
* `4` - Croatian
* `5` - Czech
* `6` - Danish
* `7` - Finnish
* `8` - English
* `9` - Greek
* `10` - Chinese
* `11` - Hungarian
* `12` - Italian
* `13` - Luxembourgish
* `14` - Malay
* `15` - Dutch
* `16` - Norwegian, Bokmal
* `17` - Urdu
* `18` - Polish
* `19` - Portuguese
* `20` - Romanian
* `21` - Russian
* `22` - Slovak
* `23` - Slovenian
* `24` - Spanish
* `25` - Swedish
* `26` - Turkish
* `27` - Thai
* `28` - Filipino
* `29` - Estonian
* `30` - Latvian
* `31` - Lithuanian


258
259
260
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 258

def local_pos_language_id
  @local_pos_language_id
end

#misuse_dateString

Last misused date of the card.

Returns:

  • (String)


385
386
387
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 385

def misuse_date
  @misuse_date
end

#non_fuel_setsArray[CardDetailsResponseNonFuelSetsItems]

List of active non-fuel type product restrictions applied on the card.



369
370
371
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 369

def non_fuel_sets
  @non_fuel_sets
end

#odometer_promptTrueClass | FalseClass

True if odometer input is enabled on the card, else false

Returns:

  • (TrueClass | FalseClass)


115
116
117
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 115

def odometer_prompt
  @odometer_prompt
end

#panString

Card PAN. In the response body the PAN will be masked if the option is enabled in the Shell Card Platform.

Returns:

  • (String)


53
54
55
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 53

def pan
  @pan
end

#payer_idInteger

Payer Id (i.e. Customer Id of the Payment Customer in the Shell Card Platform) of the selected payer.

Returns:

  • (Integer)


15
16
17
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 15

def payer_id
  @payer_id
end

#payer_numberString

Payer Number of the selected payer.

Returns:

  • (String)


19
20
21
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 19

def payer_number
  @payer_number
end

#permanent_block_allowedTrueClass | FalseClass

True if card can be blocked permanently, else false

Returns:

  • (TrueClass | FalseClass)


145
146
147
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 145

def permanent_block_allowed
  @permanent_block_allowed
end

#pin_delivery_addressPINDeliveryAddress

Bundle Id associated with card in the Gateway. This field will have a null value if the card is not associated with any bundle in Gateway or the value of IncludeBundleDetails in request is false.

Returns:



478
479
480
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 478

def pin_delivery_address
  @pin_delivery_address
end

#pin_typeCardDetailsResponsePINTypeEnum

PIN type:

* `Card` - Card PIN
* `Fleet` - Fleet PIN


125
126
127
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 125

def pin_type
  @pin_type
end

#purchase_category_codeString

Purchase category code of the card.

Returns:

  • (String)


329
330
331
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 329

def purchase_category_code
  @purchase_category_code
end

#purchase_category_idInteger

Purchase category identifier in the Shell Card Platform.

Returns:

  • (Integer)


333
334
335
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 333

def purchase_category_id
  @purchase_category_id
end

#purchase_category_nameString

Purchase category name

Returns:

  • (String)


337
338
339
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 337

def purchase_category_name
  @purchase_category_name
end

#reissue_settingObject

Issue number of the card

Returns:

  • (Object)


153
154
155
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 153

def reissue_setting
  @reissue_setting
end

#renewal_dateString

Renewal date of the card. Applicable if ReissueSetting is set to True.

Returns:

  • (String)


422
423
424
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 422

def renewal_date
  @renewal_date
end

#renewed_card_expiry_dateString

Renewed card expiry date.

Returns:

  • (String)


438
439
440
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 438

def renewed_card_expiry_date
  @renewed_card_expiry_date
end

#renewed_card_idInteger

Renewed card id.

Returns:

  • (Integer)


426
427
428
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 426

def renewed_card_id
  @renewed_card_id
end

#renewed_card_issue_numberInteger

Renewed card issue number.

Returns:

  • (Integer)


442
443
444
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 442

def renewed_card_issue_number
  @renewed_card_issue_number
end

#renewed_card_reissue_settingCardDetailsResponseRenewedCardReissueSettingEnum

Reissue setting of the renewed new card. Reissue Setting:

* `True` - Card will be sent to production
* `False` - Parent Card is Dormant or the Card is not to be produced


448
449
450
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 448

def renewed_card_reissue_setting
  @renewed_card_reissue_setting
end

#renewed_card_statusString

Renewed card status description.

Returns:

  • (String)


434
435
436
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 434

def renewed_card_status
  @renewed_card_status
end

#renewed_card_status_idInteger

Renewed card status id.

Returns:

  • (Integer)


430
431
432
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 430

def renewed_card_status_id
  @renewed_card_status_id
end

#request_idString

API Request

Returns:

  • (String)


494
495
496
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 494

def request_id
  @request_id
end

#statusString

Possible Id’s and description:

  • 1 Active

  • 7 Blocked Card

  • 8 Expired

  • 9 Cancelled

  • 10 New

  • 23 Pending Renewal

  • 31 Replaced

  • 41 Temporary Block (Customer)

  • 42 Temporary Block (Shell)

  • 43 Fraud

  • 101 Active (Block in progress) *

  • 102 Blocked Card (Unblock in progress) *

  • 103 Active (Cancel in progress) *

  • 104 Active (Marked as damaged) *

  • 105 New (Cancel as damaged) *

  • 106 Active(Scheduled for block) ”#

  • 107 Blocked Card(Scheduled for unblock) *#

  • 108 Blocked Card (Cancel in progress) *

> Note: • Items marked with * are intermediate statuses to indicate that there are pending requests in progress. , The response can contain these intermediate statuses only if the IncludeIntermediateStatus flag is true. • The placeholder “<Shell Card Platform Status>” in the items marked with # will be replaced with the Shell Card Platform status description. E.g., “Active (Scheduled for block)”

Returns:

  • (String)


111
112
113
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 111

def status
  @status
end

#status_idCardDetailsResponseStatusIdEnum

Possible Id’s and description:

  • 1 Active

  • 7 Blocked Card

  • 8 Expired

  • 9 Cancelled

  • 10 New

  • 23 Pending Renewal

  • 31 Replaced

  • 41 Temporary Block (Customer)

  • 42 Temporary Block (Shell)

  • 43 Fraud

  • 101 Active (Block in progress) *

  • 102 Blocked Card (Unblock in progress) *

  • 103 Active (Cancel in progress) *

  • 104 Active (Marked as damaged) *

  • 105 New (Cancel as damaged) *

  • 106 Active(Scheduled for block) ”#

  • 107 Blocked Card(Scheduled for unblock)*#

  • 108 Blocked Card (Cancel in progress) *

> Note: • Items marked with * are intermediate statuses to indicate that there are pending requests in progress. , The response can contain these intermediate statuses only if the IncludeIntermediateStatus flag is true. • The placeholder “<Shell Card Platform Status>” in the items marked with # will be replaced with the Shell Card Platform status description. E.g., “Active (Scheduled for block)”



82
83
84
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 82

def status_id
  @status_id
end

#temperatureString

Hot-list status

Returns:

  • (String)


389
390
391
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 389

def temperature
  @temperature
end

#temporary_block_allowedTrueClass | FalseClass

True if card can be blocked temporarily, else false

Returns:

  • (TrueClass | FalseClass)


137
138
139
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 137

def temporary_block_allowed
  @temporary_block_allowed
end

#token_type_idInteger

Token Type ID configured for the Card

Returns:

  • (Integer)


309
310
311
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 309

def token_type_id
  @token_type_id
end

#token_type_nameString

Token Type Name configured for the Card

Returns:

  • (String)


313
314
315
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 313

def token_type_name
  @token_type_name
end

#unblock_allowedTrueClass | FalseClass

True/False True if card can be Unblocked, else false

Returns:

  • (TrueClass | FalseClass)


141
142
143
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 141

def unblock_allowed
  @unblock_allowed
end

#vrnString

Vehicle registration number of the card. Note- While ordering card, optional when DriverName is passed else mandatory.

Returns:

  • (String)


399
400
401
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 399

def vrn
  @vrn
end

Class Method Details

.from_hash(hash) ⇒ Object

Creates an instance of the object from a hash.



810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 810

def self.from_hash(hash)
  return nil unless hash

  # Extract variables from the hash.
  payer_id = hash.key?('PayerId') ? hash['PayerId'] : SKIP
  payer_number = hash.key?('PayerNumber') ? hash['PayerNumber'] : SKIP
   = hash.key?('AccountId') ? hash['AccountId'] : SKIP
   = hash.key?('AccountNumber') ? hash['AccountNumber'] : SKIP
   =
    hash.key?('AccountShortName') ? hash['AccountShortName'] : SKIP
  col_co_country_code =
    hash.key?('ColCoCountryCode') ? hash['ColCoCountryCode'] : SKIP
  local_currency_code =
    hash.key?('LocalCurrencyCode') ? hash['LocalCurrencyCode'] : SKIP
  local_currency_symbol =
    hash.key?('LocalCurrencySymbol') ? hash['LocalCurrencySymbol'] : SKIP
  card_id = hash.key?('CardId') ? hash['CardId'] : SKIP
  pan = hash.key?('PAN') ? hash['PAN'] : SKIP
  status_id = hash.key?('StatusId') ? hash['StatusId'] : SKIP
  status = hash.key?('Status') ? hash['Status'] : SKIP
  odometer_prompt =
    hash.key?('OdometerPrompt') ? hash['OdometerPrompt'] : SKIP
  fleet_id_prompt =
    hash.key?('FleetIdPrompt') ? hash['FleetIdPrompt'] : SKIP
  pin_type = hash.key?('PINType') ? hash['PINType'] : SKIP
  has_pin = hash.key?('HasPIN') ? hash['HasPIN'] : SKIP
  is_self_selected_pin =
    hash.key?('IsSelfSelectedPIN') ? hash['IsSelfSelectedPIN'] : SKIP
  temporary_block_allowed =
    hash.key?('TemporaryBlockAllowed') ? hash['TemporaryBlockAllowed'] : SKIP
  unblock_allowed =
    hash.key?('UnblockAllowed') ? hash['UnblockAllowed'] : SKIP
  permanent_block_allowed =
    hash.key?('PermanentBlockAllowed') ? hash['PermanentBlockAllowed'] : SKIP
  issue_number = hash.key?('IssueNumber') ? hash['IssueNumber'] : SKIP
  reissue_setting =
    hash.key?('ReissueSetting') ? hash['ReissueSetting'] : SKIP
  international_pos_language_id =
    hash.key?('InternationalPOSLanguageID') ? hash['InternationalPOSLanguageID'] : SKIP
  international_pos_language_code =
    hash.key?('InternationalPOSLanguageCode') ? hash['InternationalPOSLanguageCode'] : SKIP
  local_pos_language_id =
    hash.key?('LocalPOSLanguageID') ? hash['LocalPOSLanguageID'] : SKIP
  local_pos_language_code =
    hash.key?('LocalPOSLanguageCode') ? hash['LocalPOSLanguageCode'] : SKIP
  card_type_code = hash.key?('CardTypeCode') ? hash['CardTypeCode'] : SKIP
  card_type_id = hash.key?('CardTypeId') ? hash['CardTypeId'] : SKIP
  card_type_name = hash.key?('CardTypeName') ? hash['CardTypeName'] : SKIP
  token_type_id = hash.key?('TokenTypeId') ? hash['TokenTypeId'] : SKIP
  token_type_name =
    hash.key?('TokenTypeName') ? hash['TokenTypeName'] : SKIP
  is_chip_card = hash.key?('IsChipCard') ? hash['IsChipCard'] : SKIP
  is_mag_strip_card =
    hash.key?('IsMagStripCard') ? hash['IsMagStripCard'] : SKIP
  is_virtual_card =
    hash.key?('IsVirtualCard') ? hash['IsVirtualCard'] : SKIP
  purchase_category_code =
    hash.key?('PurchaseCategoryCode') ? hash['PurchaseCategoryCode'] : SKIP
  purchase_category_id =
    hash.key?('PurchaseCategoryId') ? hash['PurchaseCategoryId'] : SKIP
  purchase_category_name =
    hash.key?('PurchaseCategoryName') ? hash['PurchaseCategoryName'] : SKIP
  is_crt = hash.key?('IsCRT') ? hash['IsCRT'] : SKIP
  is_fleet = hash.key?('IsFleet') ? hash['IsFleet'] : SKIP
  is_international =
    hash.key?('IsInternational') ? hash['IsInternational'] : SKIP
  is_national = hash.key?('IsNational') ? hash['IsNational'] : SKIP
  is_partner_sites_included =
    hash.key?('IsPartnerSitesIncluded') ? hash['IsPartnerSitesIncluded'] : SKIP
  is_shell_sites_only =
    hash.key?('IsShellSitesOnly') ? hash['IsShellSitesOnly'] : SKIP
  # Parameter is an array, so we need to iterate through it
  fuel_sets = nil
  unless hash['FuelSets'].nil?
    fuel_sets = []
    hash['FuelSets'].each do |structure|
      fuel_sets << (CardDetailsResponseFuelSetsItems.from_hash(structure) if structure)
    end
  end

  fuel_sets = SKIP unless hash.key?('FuelSets')
  # Parameter is an array, so we need to iterate through it
  non_fuel_sets = nil
  unless hash['NonFuelSets'].nil?
    non_fuel_sets = []
    hash['NonFuelSets'].each do |structure|
      non_fuel_sets << (CardDetailsResponseNonFuelSetsItems.from_hash(structure) if structure)
    end
  end

  non_fuel_sets = SKIP unless hash.key?('NonFuelSets')
  issued_date = hash.key?('IssuedDate') ? hash['IssuedDate'] : SKIP
  expiry_date = hash.key?('ExpiryDate') ? hash['ExpiryDate'] : SKIP
  last_used_date = hash.key?('LastUsedDate') ? hash['LastUsedDate'] : SKIP
  misuse_date = hash.key?('MisuseDate') ? hash['MisuseDate'] : SKIP
  temperature = hash.key?('Temperature') ? hash['Temperature'] : SKIP
  driver_name = hash.key?('DriverName') ? hash['DriverName'] : SKIP
  vrn = hash.key?('VRN') ? hash['VRN'] : SKIP
  emboss_text = hash.key?('EmbossText') ? hash['EmbossText'] : SKIP
  card_group_id = hash.key?('CardGroupId') ? hash['CardGroupId'] : SKIP
  card_group_name =
    hash.key?('CardGroupName') ? hash['CardGroupName'] : SKIP
  renewal_date = hash.key?('RenewalDate') ? hash['RenewalDate'] : SKIP
  renewed_card_id =
    hash.key?('RenewedCardId') ? hash['RenewedCardId'] : SKIP
  renewed_card_status_id =
    hash.key?('RenewedCardStatusId') ? hash['RenewedCardStatusId'] : SKIP
  renewed_card_status =
    hash.key?('RenewedCardStatus') ? hash['RenewedCardStatus'] : SKIP
  renewed_card_expiry_date =
    hash.key?('RenewedCardExpiryDate') ? hash['RenewedCardExpiryDate'] : SKIP
  renewed_card_issue_number =
    hash.key?('RenewedCardIssueNumber') ? hash['RenewedCardIssueNumber'] : SKIP
  renewed_card_reissue_setting =
    hash.key?('RenewedCardReissueSetting') ? hash['RenewedCardReissueSetting'] : SKIP
  creation_date = hash.key?('CreationDate') ? hash['CreationDate'] : SKIP
  effective_date = hash.key?('EffectiveDate') ? hash['EffectiveDate'] : SKIP
  last_modified_date =
    hash.key?('LastModifiedDate') ? hash['LastModifiedDate'] : SKIP
  bundle_id = hash.key?('BundleId') ? hash['BundleId'] : SKIP
  card_delivery_address = CardDeliveryAddress.from_hash(hash['CardDeliveryAddress']) if
    hash['CardDeliveryAddress']
  pin_delivery_address = PINDeliveryAddress.from_hash(hash['PINDeliveryAddress']) if
    hash['PINDeliveryAddress']
  # Parameter is an array, so we need to iterate through it
  card_block_schedules = nil
  unless hash['CardBlockSchedules'].nil?
    card_block_schedules = []
    hash['CardBlockSchedules'].each do |structure|
      card_block_schedules << (CardDetailsResponseCardBlockSchedulesItemsAllOf0.from_hash(structure) if structure)
    end
  end

  card_block_schedules = SKIP unless hash.key?('CardBlockSchedules')
  error = ErrorStatus.from_hash(hash['Error']) if hash['Error']
  request_id = hash.key?('RequestId') ? hash['RequestId'] : SKIP

  # Create object from extracted values.
  CardDetailsResponse.new(payer_id,
                          payer_number,
                          ,
                          ,
                          ,
                          col_co_country_code,
                          local_currency_code,
                          local_currency_symbol,
                          card_id,
                          pan,
                          status_id,
                          status,
                          odometer_prompt,
                          fleet_id_prompt,
                          pin_type,
                          has_pin,
                          is_self_selected_pin,
                          temporary_block_allowed,
                          unblock_allowed,
                          permanent_block_allowed,
                          issue_number,
                          reissue_setting,
                          international_pos_language_id,
                          international_pos_language_code,
                          local_pos_language_id,
                          local_pos_language_code,
                          card_type_code,
                          card_type_id,
                          card_type_name,
                          token_type_id,
                          token_type_name,
                          is_chip_card,
                          is_mag_strip_card,
                          is_virtual_card,
                          purchase_category_code,
                          purchase_category_id,
                          purchase_category_name,
                          is_crt,
                          is_fleet,
                          is_international,
                          is_national,
                          is_partner_sites_included,
                          is_shell_sites_only,
                          fuel_sets,
                          non_fuel_sets,
                          issued_date,
                          expiry_date,
                          last_used_date,
                          misuse_date,
                          temperature,
                          driver_name,
                          vrn,
                          emboss_text,
                          card_group_id,
                          card_group_name,
                          renewal_date,
                          renewed_card_id,
                          renewed_card_status_id,
                          renewed_card_status,
                          renewed_card_expiry_date,
                          renewed_card_issue_number,
                          renewed_card_reissue_setting,
                          creation_date,
                          effective_date,
                          last_modified_date,
                          bundle_id,
                          card_delivery_address,
                          pin_delivery_address,
                          card_block_schedules,
                          error,
                          request_id)
end

.namesObject

A mapping from model property names to API property names.



497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 497

def self.names
  @_hash = {} if @_hash.nil?
  @_hash['payer_id'] = 'PayerId'
  @_hash['payer_number'] = 'PayerNumber'
  @_hash['account_id'] = 'AccountId'
  @_hash['account_number'] = 'AccountNumber'
  @_hash['account_short_name'] = 'AccountShortName'
  @_hash['col_co_country_code'] = 'ColCoCountryCode'
  @_hash['local_currency_code'] = 'LocalCurrencyCode'
  @_hash['local_currency_symbol'] = 'LocalCurrencySymbol'
  @_hash['card_id'] = 'CardId'
  @_hash['pan'] = 'PAN'
  @_hash['status_id'] = 'StatusId'
  @_hash['status'] = 'Status'
  @_hash['odometer_prompt'] = 'OdometerPrompt'
  @_hash['fleet_id_prompt'] = 'FleetIdPrompt'
  @_hash['pin_type'] = 'PINType'
  @_hash['has_pin'] = 'HasPIN'
  @_hash['is_self_selected_pin'] = 'IsSelfSelectedPIN'
  @_hash['temporary_block_allowed'] = 'TemporaryBlockAllowed'
  @_hash['unblock_allowed'] = 'UnblockAllowed'
  @_hash['permanent_block_allowed'] = 'PermanentBlockAllowed'
  @_hash['issue_number'] = 'IssueNumber'
  @_hash['reissue_setting'] = 'ReissueSetting'
  @_hash['international_pos_language_id'] = 'InternationalPOSLanguageID'
  @_hash['international_pos_language_code'] =
    'InternationalPOSLanguageCode'
  @_hash['local_pos_language_id'] = 'LocalPOSLanguageID'
  @_hash['local_pos_language_code'] = 'LocalPOSLanguageCode'
  @_hash['card_type_code'] = 'CardTypeCode'
  @_hash['card_type_id'] = 'CardTypeId'
  @_hash['card_type_name'] = 'CardTypeName'
  @_hash['token_type_id'] = 'TokenTypeId'
  @_hash['token_type_name'] = 'TokenTypeName'
  @_hash['is_chip_card'] = 'IsChipCard'
  @_hash['is_mag_strip_card'] = 'IsMagStripCard'
  @_hash['is_virtual_card'] = 'IsVirtualCard'
  @_hash['purchase_category_code'] = 'PurchaseCategoryCode'
  @_hash['purchase_category_id'] = 'PurchaseCategoryId'
  @_hash['purchase_category_name'] = 'PurchaseCategoryName'
  @_hash['is_crt'] = 'IsCRT'
  @_hash['is_fleet'] = 'IsFleet'
  @_hash['is_international'] = 'IsInternational'
  @_hash['is_national'] = 'IsNational'
  @_hash['is_partner_sites_included'] = 'IsPartnerSitesIncluded'
  @_hash['is_shell_sites_only'] = 'IsShellSitesOnly'
  @_hash['fuel_sets'] = 'FuelSets'
  @_hash['non_fuel_sets'] = 'NonFuelSets'
  @_hash['issued_date'] = 'IssuedDate'
  @_hash['expiry_date'] = 'ExpiryDate'
  @_hash['last_used_date'] = 'LastUsedDate'
  @_hash['misuse_date'] = 'MisuseDate'
  @_hash['temperature'] = 'Temperature'
  @_hash['driver_name'] = 'DriverName'
  @_hash['vrn'] = 'VRN'
  @_hash['emboss_text'] = 'EmbossText'
  @_hash['card_group_id'] = 'CardGroupId'
  @_hash['card_group_name'] = 'CardGroupName'
  @_hash['renewal_date'] = 'RenewalDate'
  @_hash['renewed_card_id'] = 'RenewedCardId'
  @_hash['renewed_card_status_id'] = 'RenewedCardStatusId'
  @_hash['renewed_card_status'] = 'RenewedCardStatus'
  @_hash['renewed_card_expiry_date'] = 'RenewedCardExpiryDate'
  @_hash['renewed_card_issue_number'] = 'RenewedCardIssueNumber'
  @_hash['renewed_card_reissue_setting'] = 'RenewedCardReissueSetting'
  @_hash['creation_date'] = 'CreationDate'
  @_hash['effective_date'] = 'EffectiveDate'
  @_hash['last_modified_date'] = 'LastModifiedDate'
  @_hash['bundle_id'] = 'BundleId'
  @_hash['card_delivery_address'] = 'CardDeliveryAddress'
  @_hash['pin_delivery_address'] = 'PINDeliveryAddress'
  @_hash['card_block_schedules'] = 'CardBlockSchedules'
  @_hash['error'] = 'Error'
  @_hash['request_id'] = 'RequestId'
  @_hash
end

.nullablesObject

An array for nullable fields



652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 652

def self.nullables
  %w[
    payer_id
    payer_number
    account_id
    account_number
    account_short_name
    col_co_country_code
    local_currency_code
    local_currency_symbol
    pan
    card_type_code
    card_type_id
    card_type_name
    token_type_id
    token_type_name
    purchase_category_code
    purchase_category_name
    issued_date
    last_used_date
    misuse_date
    temperature
    card_group_id
    card_group_name
    renewal_date
    renewed_card_id
    renewed_card_status_id
    renewed_card_issue_number
    creation_date
    effective_date
    last_modified_date
    bundle_id
    card_block_schedules
  ]
end

.optionalsObject

An array for optional fields



575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
# File 'lib/shell_card_management_ap_is/models/card_details_response.rb', line 575

def self.optionals
  %w[
    payer_id
    payer_number
    account_id
    account_number
    account_short_name
    col_co_country_code
    local_currency_code
    local_currency_symbol
    card_id
    pan
    status_id
    status
    odometer_prompt
    fleet_id_prompt
    pin_type
    has_pin
    is_self_selected_pin
    temporary_block_allowed
    unblock_allowed
    permanent_block_allowed
    issue_number
    reissue_setting
    international_pos_language_id
    international_pos_language_code
    local_pos_language_id
    local_pos_language_code
    card_type_code
    card_type_id
    card_type_name
    token_type_id
    token_type_name
    is_chip_card
    is_mag_strip_card
    is_virtual_card
    purchase_category_code
    purchase_category_id
    purchase_category_name
    is_crt
    is_fleet
    is_international
    is_national
    is_partner_sites_included
    is_shell_sites_only
    fuel_sets
    non_fuel_sets
    issued_date
    expiry_date
    last_used_date
    misuse_date
    temperature
    driver_name
    vrn
    emboss_text
    card_group_id
    card_group_name
    renewal_date
    renewed_card_id
    renewed_card_status_id
    renewed_card_status
    renewed_card_expiry_date
    renewed_card_issue_number
    renewed_card_reissue_setting
    creation_date
    effective_date
    last_modified_date
    bundle_id
    card_delivery_address
    pin_delivery_address
    card_block_schedules
    error
    request_id
  ]
end