Class: PaypalServerSdk::OrderApplicationContextLandingPage

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

Overview

DEPRECATED. DEPRECATED. The type of landing page to show on the PayPal site for customer checkout. The fields in ‘application_context` are now available in the `experience_context` object under the `payment_source` which supports them (eg. `payment_source.paypal.experience_context.landing_page`). Please specify this field in the `experience_context` object instead of the `application_context` object.

Constant Summary collapse

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

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



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

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

  true
end