Class: ShellCardManagementApIs::CardDetailsResponseStatusIdEnum

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

Overview

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)”

Constant Summary collapse

CARD_DETAILS_RESPONSE_STATUS_ID_ENUM =
[
  # TODO: Write general description for ENUM_1
  ENUM_1 = 1,

  # TODO: Write general description for ENUM_7
  ENUM_7 = 7,

  # TODO: Write general description for ENUM_8
  ENUM_8 = 8,

  # TODO: Write general description for ENUM_9
  ENUM_9 = 9,

  # TODO: Write general description for ENUM_10
  ENUM_10 = 10,

  # TODO: Write general description for ENUM_23
  ENUM_23 = 23,

  # TODO: Write general description for ENUM_31
  ENUM_31 = 31,

  # TODO: Write general description for ENUM_41
  ENUM_41 = 41,

  # TODO: Write general description for ENUM_42
  ENUM_42 = 42,

  # TODO: Write general description for ENUM_43
  ENUM_43 = 43,

  # TODO: Write general description for ENUM_101
  ENUM_101 = 101,

  # TODO: Write general description for ENUM_102
  ENUM_102 = 102,

  # TODO: Write general description for ENUM_103
  ENUM_103 = 103,

  # TODO: Write general description for ENUM_104
  ENUM_104 = 104,

  # TODO: Write general description for ENUM_105
  ENUM_105 = 105,

  # TODO: Write general description for ENUM_106
  ENUM_106 = 106,

  # TODO: Write general description for ENUM_107
  ENUM_107 = 107,

  # TODO: Write general description for ENUM_108
  ENUM_108 = 108
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



77
78
79
80
81
# File 'lib/shell_card_management_ap_is/models/card_details_response_status_id_enum.rb', line 77

def self.validate(value)
  return false if value.nil?

  CARD_DETAILS_RESPONSE_STATUS_ID_ENUM.include?(value)
end