Class: PaypalServerSdk::StandardEntryClassCode

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

Overview

NACHA (the regulatory body governing the ACH network) requires that API callers (merchants, partners) obtain the consumer’s explicit authorization before initiating a transaction. To stay compliant, you’ll need to make sure that you retain a compliant authorization for each transaction that you originate to the ACH Network using this API. ACH transactions are categorized (using SEC codes) by how you capture authorization from the Receiver (the person whose bank account is being debited or credited). PayPal supports the following SEC codes.

Constant Summary collapse

STANDARD_ENTRY_CLASS_CODE =
[
  # TODO: Write general description for TEL
  TEL = 'TEL'.freeze,

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

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



30
31
32
33
34
# File 'lib/paypal_server_sdk/models/standard_entry_class_code.rb', line 30

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

  true
end