Class: PaypalServerSdk::StoreInVaultInstruction

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

Overview

Defines how and when the payment source gets vaulted.

Constant Summary collapse

STORE_IN_VAULT_INSTRUCTION =
[
  # TODO: Write general description for ON_SUCCESS
  ON_SUCCESS = 'ON_SUCCESS'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



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

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

  true
end