Class: ShellCardManagementApIs::CardDetailsResponseReissueSettingEnum
- Inherits:
-
Object
- Object
- ShellCardManagementApIs::CardDetailsResponseReissueSettingEnum
- Defined in:
- lib/shell_card_management_ap_is/models/card_details_response_reissue_setting_enum.rb
Overview
Reissue setting of the card. If the card is superseded (i.e. a replacement/new card is issued) then reissue setting of the latest card issued. Reissue setting: * ‘True` - Card will be Reissued when nearing its expiry date * `False` - Card will not be Reissued
Constant Summary collapse
- CARD_DETAILS_RESPONSE_REISSUE_SETTING_ENUM =
[ # TODO: Write general description for TRUE TRUE = 'True'.freeze, # TODO: Write general description for FALSE FALSE = 'False'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
20 21 22 23 24 |
# File 'lib/shell_card_management_ap_is/models/card_details_response_reissue_setting_enum.rb', line 20 def self.validate(value) return false if value.nil? CARD_DETAILS_RESPONSE_REISSUE_SETTING_ENUM.include?(value) end |