Class: PaypalServerSdk::UpcType
- Inherits:
-
Object
- Object
- PaypalServerSdk::UpcType
- Defined in:
- lib/paypal_server_sdk/models/upc_type.rb
Overview
The Universal Product Code type.
Constant Summary collapse
- UPC_TYPE =
[ # TODO: Write general description for UPCA UPCA = 'UPC-A'.freeze, # TODO: Write general description for UPCB UPCB = 'UPC-B'.freeze, # TODO: Write general description for UPCC UPCC = 'UPC-C'.freeze, # TODO: Write general description for UPCD UPCD = 'UPC-D'.freeze, # TODO: Write general description for UPCE UPCE = 'UPC-E'.freeze, # TODO: Write general description for UPC2 UPC2 = 'UPC-2'.freeze, # TODO: Write general description for UPC5 UPC5 = 'UPC-5'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
32 33 34 35 36 |
# File 'lib/paypal_server_sdk/models/upc_type.rb', line 32 def self.validate(value) return false if value.nil? true end |