Class: PaypalServerSdk::ItemCategory

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

Overview

The item category type.

Constant Summary collapse

ITEM_CATEGORY =
[
  # TODO: Write general description for DIGITAL_GOODS
  DIGITAL_GOODS = 'DIGITAL_GOODS'.freeze,

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



20
21
22
23
24
# File 'lib/paypal_server_sdk/models/item_category.rb', line 20

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

  true
end