Class: Lithic::Models::Account::VerificationAddress Deprecated

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/account.rb

Overview

Deprecated.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(address1:, city:, country:, postal_code:, state:, address2: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::Account::VerificationAddress for more details.

Parameters:

  • address1 (String)

    Valid deliverable address (no PO boxes).

  • city (String)

    City name.

  • country (String)

    Country name. Only USA is currently supported.

  • postal_code (String)

    Valid postal code. Only USA postal codes (ZIP codes) are currently supported, en

  • state (String)

    Valid state code. Only USA state codes are currently supported, entered in upper

  • address2 (String) (defaults to: nil)

    Unit or apartment number (if applicable).



# File 'lib/lithic/models/account.rb', line 324

Instance Attribute Details

#address1String

Valid deliverable address (no PO boxes).

Returns:

  • (String)


289
# File 'lib/lithic/models/account.rb', line 289

required :address1, String

#address2String?

Unit or apartment number (if applicable).

Returns:

  • (String, nil)


322
# File 'lib/lithic/models/account.rb', line 322

optional :address2, String

#cityString

City name.

Returns:

  • (String)


295
# File 'lib/lithic/models/account.rb', line 295

required :city, String

#countryString

Country name. Only USA is currently supported.

Returns:

  • (String)


301
# File 'lib/lithic/models/account.rb', line 301

required :country, String

#postal_codeString

Valid postal code. Only USA postal codes (ZIP codes) are currently supported, entered as a five-digit postal code or nine-digit postal code (ZIP+4) using the format 12345-1234.

Returns:

  • (String)


309
# File 'lib/lithic/models/account.rb', line 309

required :postal_code, String

#stateString

Valid state code. Only USA state codes are currently supported, entered in uppercase ISO 3166-2 two-character format.

Returns:

  • (String)


316
# File 'lib/lithic/models/account.rb', line 316

required :state, String