Class: PaypalServerSdk::VenmoPaymentTokenUsagePattern

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

Overview

Expected business/pricing model for the billing agreement.

Constant Summary collapse

VENMO_PAYMENT_TOKEN_USAGE_PATTERN =
[
  # TODO: Write general description for IMMEDIATE
  IMMEDIATE = 'IMMEDIATE'.freeze,

  # TODO: Write general description for DEFERRED
  DEFERRED = 'DEFERRED'.freeze,

  # TODO: Write general description for RECURRING_PREPAID
  RECURRING_PREPAID = 'RECURRING_PREPAID'.freeze,

  # TODO: Write general description for RECURRING_POSTPAID
  RECURRING_POSTPAID = 'RECURRING_POSTPAID'.freeze,

  # TODO: Write general description for THRESHOLD_PREPAID
  THRESHOLD_PREPAID = 'THRESHOLD_PREPAID'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



29
30
31
32
33
# File 'lib/paypal_server_sdk/models/venmo_payment_token_usage_pattern.rb', line 29

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

  true
end