Class: PaypalServerSdk::PaypalExperienceLandingPage

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

Overview

The type of landing page to show on the PayPal site for customer checkout.

Constant Summary collapse

PAYPAL_EXPERIENCE_LANDING_PAGE =
[
  # TODO: Write general description for LOGIN
  LOGIN = 'LOGIN'.freeze,

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



20
21
22
23
24
# File 'lib/paypal_server_sdk/models/paypal_experience_landing_page.rb', line 20

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

  true
end