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 =
[
  # TODO: Write general description for ITEM_NOT_RECEIVED
  ITEM_NOT_RECEIVED = 'ITEM_NOT_RECEIVED'.freeze,

  # TODO: Write general description for UNAUTHORIZED_TRANSACTION
  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