Class: PaypalServerSdk::OrderApplicationContextLandingPage
- Inherits:
-
Object
- Object
- PaypalServerSdk::OrderApplicationContextLandingPage
- 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 =
[ # When the customer clicks PayPal Checkout, the customer is redirected to # a page to log in to PayPal and approve the payment. LOGIN = 'LOGIN'.freeze, # When the customer clicks PayPal Checkout, the customer is redirected to # a page to enter credit or debit card and other relevant billing # information required to complete the purchase. BILLING = 'BILLING'.freeze, # When the customer clicks PayPal Checkout, the customer is redirected to # either a page to log in to PayPal and approve the payment or to a page # to enter credit or debit card and other relevant billing information # required to complete the purchase, depending on their previous # interaction with PayPal. NO_PREFERENCE = 'NO_PREFERENCE'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
33 34 35 36 37 |
# File 'lib/paypal_server_sdk/models/order_application_context_landing_page.rb', line 33 def self.validate(value) return false if value.nil? true end |