Class: PaypalServerSdk::DisputeCategory

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

Overview

The condition that is covered for the transaction.

Constant Summary collapse

DISPUTE_CATEGORY =
[
  # The payer paid for an item that they did not receive.

  ITEM_NOT_RECEIVED = 'ITEM_NOT_RECEIVED'.freeze,

  # The payer did not authorize the payment.

  UNAUTHORIZED_TRANSACTION = 'UNAUTHORIZED_TRANSACTION'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



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

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

  true
end