Class: PaypalServerSdk::FulfillmentType
- Inherits:
-
Object
- Object
- PaypalServerSdk::FulfillmentType
- 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 =
[ # The payer intends to receive the items at a specified address. SHIPPING = 'SHIPPING'.freeze, # DEPRECATED. Please use "PICKUP_FROM_PERSON" instead. PICKUP_IN_PERSON = 'PICKUP_IN_PERSON'.freeze, # The payer intends to pick up the item(s) from the payee's physical # store. Also termed as BOPIS, "Buy Online, Pick-up in Store". Seller # protection is provided with this option. PICKUP_IN_STORE = 'PICKUP_IN_STORE'.freeze, # The payer intends to pick up the item(s) from the payee in person. Also # termed as BOPIP, "Buy Online, Pick-up in Person". Seller protection is # not available, since the payer is receiving the item from the payee in # person, and can validate the item prior to payment. PICKUP_FROM_PERSON = 'PICKUP_FROM_PERSON'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
30 31 32 33 34 |
# File 'lib/paypal_server_sdk/models/fulfillment_type.rb', line 30 def self.validate(value) return false if value.nil? true end |