Class: PaypalServerSdk::TaxIdType

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

Overview

The customer’s tax ID type.

Constant Summary collapse

TAX_ID_TYPE =
[
  # TODO: Write general description for BR_CPF
  BR_CPF = 'BR_CPF'.freeze,

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



17
18
19
20
21
# File 'lib/paypal_server_sdk/models/tax_id_type.rb', line 17

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

  true
end