Class: PaypalServerSdk::TokenRequestType

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

Overview

The tokenization method that generated the ID.

Constant Summary collapse

TOKEN_REQUEST_TYPE =
[
  # TODO: Write general description for SETUP_TOKEN
  SETUP_TOKEN = 'SETUP_TOKEN'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



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

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

  true
end