Class: PaypalServerSdk::ApplePayPaymentDataType

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

Overview

Indicates the type of payment data passed, in case of Non China the payment data is 3DSECURE and for China it is EMV.

Constant Summary collapse

APPLE_PAY_PAYMENT_DATA_TYPE =
[
  # TODO: Write general description for ENUM_3DSECURE
  ENUM_3DSECURE = '3DSECURE'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



18
19
20
21
22
# File 'lib/paypal_server_sdk/models/apple_pay_payment_data_type.rb', line 18

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

  true
end