Sha256: 4e2deec1827adc977b464a8c5b5e97e90cd094001582f792c47d8f66a2332f73
Contents?: true
Size: 1.58 KB
Versions: 28
Compression:
Stored size: 1.58 KB
Contents
module Unit class IndividualCustomer < APIResource path '/customers' attribute :ssn, Types::String # SSN (or ITIN) of the individual (numbers only). Either an SSN or a passport number is required. attribute :passport, Types::String # Passport number of the individual. Either an SSN or a passport number is required. attribute :nationality, Types::String # Required on if a passport is used as the main ID. Two letters representing the individual nationality. (e.g. "US"). attribute :full_name, Types::FullName # Full name of the individual. attribute :date_of_birth, Types::Date # RFC3339 Date only (e.g. "2001-08-15"). attribute :address, Types::Address # Address of the individual. attribute :phone, Types::Phone # Phone number of the individual. attribute :email, Types::String # Email address of the individual attribute :dba, Types::String # Optional. If the individual is a sole proprietor who is doing business under a different name. attribute :sole_proprietorship, Types::Boolean attribute :tags, Types::Hash # Optional. Tags that will be copied to the customer that this application creates attribute :idempotency_key, Types::String # Optional attribute :risk_rate, Types::String, readonly: true attribute :authorized_users, Types::Array, readonly: true attribute :created_at, Types::DateTime, readonly: true belongs_to :application, class_name: 'Unit::IndividualApplication' include ResourceOperations::List include ResourceOperations::Create include ResourceOperations::Save include ResourceOperations::Find end end
Version data entries
28 entries across 28 versions & 1 rubygems