Class: PaypalServerSdk::PhoneType

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

Overview

The phone type.

Constant Summary collapse

PHONE_TYPE =
[
  # TODO: Write general description for FAX
  FAX = 'FAX'.freeze,

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

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

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



26
27
28
29
30
# File 'lib/paypal_server_sdk/models/phone_type.rb', line 26

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

  true
end