Class: PaypalServerSdk::StoreInVaultInstruction
- Inherits:
-
Object
- Object
- PaypalServerSdk::StoreInVaultInstruction
- 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 =
[ # Defines that the payment_source will be vaulted only when at least one # authorization or capture using that payment_source is successful. ON_SUCCESS = 'ON_SUCCESS'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
15 16 17 18 19 |
# File 'lib/paypal_server_sdk/models/store_in_vault_instruction.rb', line 15 def self.validate(value) return false if value.nil? true end |