Class: PaypalServerSdk::StoredPaymentSourceUsageType
- Inherits:
-
Object
- Object
- PaypalServerSdk::StoredPaymentSourceUsageType
- Defined in:
- lib/paypal_server_sdk/models/stored_payment_source_usage_type.rb
Overview
Indicates if this is a ‘first` or `subsequent` payment using a stored payment source (also referred to as stored credential or card on file).
Constant Summary collapse
- STORED_PAYMENT_SOURCE_USAGE_TYPE =
[ # TODO: Write general description for FIRST FIRST = 'FIRST'.freeze, # TODO: Write general description for SUBSEQUENT SUBSEQUENT = 'SUBSEQUENT'.freeze, # TODO: Write general description for DERIVED DERIVED = 'DERIVED'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
21 22 23 24 25 |
# File 'lib/paypal_server_sdk/models/stored_payment_source_usage_type.rb', line 21 def self.validate(value) return false if value.nil? true end |