Class: PaypalServerSdk::TokenType

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

Overview

The tokenization method that generated the ID.

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



14
15
16
17
18
# File 'lib/paypal_server_sdk/models/token_type.rb', line 14

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

  true
end