Class: PaypalServerSdk::PaymentInitiator

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

Overview

The person or party who initiated or triggered the payment.

Constant Summary collapse

PAYMENT_INITIATOR =
[
  # TODO: Write general description for CUSTOMER
  CUSTOMER = 'CUSTOMER'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



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

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

  true
end