Class: PaypalServerSdk::ECIFlag

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

Overview

Electronic Commerce Indicator (ECI). The ECI value is part of the 2 data elements that indicate the transaction was processed electronically. This should be passed on the authorization transaction to the Gateway/Processor.

Constant Summary collapse

ECI_FLAG =
[
  # TODO: Write general description for MASTERCARD_NON_3D_SECURE_TRANSACTION
  MASTERCARD_NON_3D_SECURE_TRANSACTION = 'MASTERCARD_NON_3D_SECURE_TRANSACTION'.freeze,

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

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

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

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



33
34
35
36
37
# File 'lib/paypal_server_sdk/models/eci_flag.rb', line 33

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

  true
end