Class: PaypalServerSdk::SellerProtectionStatus

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

Overview

Indicates whether the transaction is eligible for seller protection. For information, see [PayPal Seller Protection for Merchants](www.paypal.com/us/webapps/mpp/security/seller-protection) .

Constant Summary collapse

SELLER_PROTECTION_STATUS =
[
  # TODO: Write general description for ELIGIBLE
  ELIGIBLE = 'ELIGIBLE'.freeze,

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



23
24
25
26
27
# File 'lib/paypal_server_sdk/models/seller_protection_status.rb', line 23

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

  true
end