Class: PaypalServerSdk::ShippingType

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

Overview

A classification for the method of purchase fulfillment.

Constant Summary collapse

SHIPPING_TYPE =
[
  # TODO: Write general description for SHIPPING
  SHIPPING = 'SHIPPING'.freeze,

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

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



23
24
25
26
27
# File 'lib/paypal_server_sdk/models/shipping_type.rb', line 23

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

  true
end