Class: PaypalServerSdk::AuthorizationIncompleteReason

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

Overview

The reason why the authorized status is ‘PENDING`.

Constant Summary collapse

AUTHORIZATION_INCOMPLETE_REASON =
[
  # TODO: Write general description for PENDING_REVIEW
  PENDING_REVIEW = 'PENDING_REVIEW'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



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

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

  true
end