Class: PaypalServerSdk::VenmoPaymentTokenCustomerType

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

Overview

The customer type associated with the Venmo payment token. This is to indicate whether the customer acting on the merchant / platform is either a business or a consumer.

Constant Summary collapse

VENMO_PAYMENT_TOKEN_CUSTOMER_TYPE =
[
  # TODO: Write general description for CONSUMER
  CONSUMER = 'CONSUMER'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



19
20
21
22
23
# File 'lib/paypal_server_sdk/models/venmo_payment_token_customer_type.rb', line 19

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

  true
end