Class: PaypalServerSdk::OrderApplicationContextUserAction
- Inherits:
-
Object
- Object
- PaypalServerSdk::OrderApplicationContextUserAction
- Defined in:
- lib/paypal_server_sdk/models/order_application_context_user_action.rb
Overview
DEPRECATED. Configures a Continue or Pay Now checkout flow. 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.user_action`). Please specify this field in the `experience_context` object instead of the `application_context` object.
Constant Summary collapse
- ORDER_APPLICATION_CONTEXT_USER_ACTION =
[ # After you redirect the customer to the PayPal payment page, a Continue # button appears. Use this option when the final amount is not known when # the checkout flow is initiated and you want to redirect the customer to # the merchant page without processing the payment. CONTINUE = 'CONTINUE'.freeze, # After you redirect the customer to the PayPal payment page, a Pay Now # button appears. Use this option when the final amount is known when the # checkout is initiated and you want to process the payment immediately # when the customer clicks Pay Now. PAY_NOW = 'PAY_NOW'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
28 29 30 31 32 |
# File 'lib/paypal_server_sdk/models/order_application_context_user_action.rb', line 28 def self.validate(value) return false if value.nil? true end |