Class: PaypalServerSdk::PayeePaymentMethodPreference

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

Overview

The merchant-preferred payment methods.

Constant Summary collapse

PAYEE_PAYMENT_METHOD_PREFERENCE =
[
  # TODO: Write general description for UNRESTRICTED
  UNRESTRICTED = 'UNRESTRICTED'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



17
18
19
20
21
# File 'lib/paypal_server_sdk/models/payee_payment_method_preference.rb', line 17

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

  true
end