Class: PaypalServerSdk::CaptureIncompleteReason

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

Overview

The reason why the captured payment status is ‘PENDING` or `DENIED`.

Constant Summary collapse

CAPTURE_INCOMPLETE_REASON =
[
  # TODO: Write general description for BUYER_COMPLAINT
  BUYER_COMPLAINT = 'BUYER_COMPLAINT'.freeze,

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

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

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

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

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

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

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

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

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

  # TODO: Write general description for VERIFICATION_REQUIRED
  VERIFICATION_REQUIRED = 'VERIFICATION_REQUIRED'.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



49
50
51
52
53
# File 'lib/paypal_server_sdk/models/capture_incomplete_reason.rb', line 49

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

  true
end