Class: PaypalServerSdk::PaypalPaymentTokenUsageType
- Inherits:
-
Object
- Object
- PaypalServerSdk::PaypalPaymentTokenUsageType
- Defined in:
- lib/paypal_server_sdk/models/paypal_payment_token_usage_type.rb
Overview
The usage type associated with the PayPal payment token., The usage type associated with a digital wallet payment token.
Constant Summary collapse
- PAYPAL_PAYMENT_TOKEN_USAGE_TYPE =
[ # The PayPal Payment Token will be used for future transaction directly # with a merchant. MERCHANT = 'MERCHANT'.freeze, # The PayPal Payment Token will be used for future transaction on a # platform. A platform is typically a marketplace or a channel that a # payer can purchase goods and services from multiple merchants. PLATFORM = 'PLATFORM'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
21 22 23 24 25 |
# File 'lib/paypal_server_sdk/models/paypal_payment_token_usage_type.rb', line 21 def self.validate(value) return false if value.nil? true end |