Class: PaypalServerSdk::GooglePayAuthenticationMethod

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

Overview

Authentication Method which is used for the card transaction.

Constant Summary collapse

GOOGLE_PAY_AUTHENTICATION_METHOD =
[
  # TODO: Write general description for PAN_ONLY
  PAN_ONLY = 'PAN_ONLY'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



17
18
19
20
21
# File 'lib/paypal_server_sdk/models/google_pay_authentication_method.rb', line 17

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

  true
end