Class: PaypalServerSdk::CardType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal_server_sdk/models/card_type.rb

Overview

Type of card. i.e Credit, Debit and so on.

Constant Summary collapse

CARD_TYPE =
[
  # TODO: Write general description for CREDIT
  CREDIT = 'CREDIT'.freeze,

  # TODO: Write general description for DEBIT
  DEBIT = 'DEBIT'.freeze,

  # TODO: Write general description for PREPAID
  PREPAID = 'PREPAID'.freeze,

  # TODO: Write general description for STORE
  STORE = 'STORE'.freeze,

  # TODO: Write general description for UNKNOWN
  UNKNOWN = 'UNKNOWN'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



26
27
28
29
30
# File 'lib/paypal_server_sdk/models/card_type.rb', line 26

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

  true
end