Class: PaypalServerSdk::CardVerificationMethod

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

Overview

The method used for card verification.

Constant Summary collapse

CARD_VERIFICATION_METHOD =
[
  # TODO: Write general description for SCA_ALWAYS
  SCA_ALWAYS = 'SCA_ALWAYS'.freeze,

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

  # TODO: Write general description for ENUM_3D_SECURE
  ENUM_3D_SECURE = '3D_SECURE'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



23
24
25
26
27
# File 'lib/paypal_server_sdk/models/card_verification_method.rb', line 23

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

  true
end