Class: PaypalServerSdk::OrderApplicationContextUserAction

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

Overview

DEPRECATED. Configures a <strong>Continue</strong> or <strong>Pay Now</strong> 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 =
[
  # TODO: Write general description for CONTINUE
  CONTINUE = 'CONTINUE'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



23
24
25
26
27
# File 'lib/paypal_server_sdk/models/order_application_context_user_action.rb', line 23

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

  true
end