Class: PaypalServerSdk::FulfillmentType

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

Overview

A classification for the method of purchase fulfillment (e.g shipping, in-store pickup, etc). Either ‘type` or `options` may be present, but not both.

Constant Summary collapse

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

  # TODO: Write general description for PICKUP_IN_PERSON
  PICKUP_IN_PERSON = 'PICKUP_IN_PERSON'.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



25
26
27
28
29
# File 'lib/paypal_server_sdk/models/fulfillment_type.rb', line 25

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

  true
end