Class: PaypalServerSdk::StoredPaymentSourcePaymentType

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

Overview

Indicates the type of the stored payment_source payment.

Constant Summary collapse

STORED_PAYMENT_SOURCE_PAYMENT_TYPE =
[
  # TODO: Write general description for ONE_TIME
  ONE_TIME = 'ONE_TIME'.freeze,

  # TODO: Write general description for RECURRING
  RECURRING = 'RECURRING'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



20
21
22
23
24
# File 'lib/paypal_server_sdk/models/stored_payment_source_payment_type.rb', line 20

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

  true
end