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 =
[
  # The card was authenticated using 3D Secure (3DS) authentication scheme.
  # While using this value make sure to populate cryptogram and
  # eci_indicator as part of payment data..
  ENUM_3DSECURE = '3DSECURE'.freeze,

  # The card was authenticated using EMV method, which is applicable for
  # China. While using this value make sure to pass emv_data and pin as part
  # of payment data.
  EMV = 'EMV'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



22
23
24
25
26
# File 'lib/paypal_server_sdk/models/apple_pay_payment_data_type.rb', line 22

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

  true
end