Class: Lithic::Models::KYBBusinessEntity::Address

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

Overview

See Also:

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::KYBBusinessEntity::Address for more details.

Business”s physical address - PO boxes, UPS drops, and FedEx drops are not acceptable; APO/FPO are acceptable.

Parameters:

  • address1 (String)

    Valid deliverable address (no PO boxes).

  • city (String)

    Name of city.

  • country (String)

    Valid country code. Only USA is currently supported, entered in uppercase ISO 31

  • postal_code (String)

    Valid postal code. Only USA ZIP codes are currently supported, entered as a five

  • 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/kyb_business_entity.rb', line 104


Instance Attribute Details

#address1String

Valid deliverable address (no PO boxes).

Returns:

  • (String)


69
# File 'lib/lithic/models/kyb_business_entity.rb', line 69

required :address1, String

#address2String?

Unit or apartment number (if applicable).

Returns:

  • (String, nil)


102
# File 'lib/lithic/models/kyb_business_entity.rb', line 102

optional :address2, String

#cityString

Name of city.

Returns:

  • (String)


75
# File 'lib/lithic/models/kyb_business_entity.rb', line 75

required :city, String

#countryString

Valid country code. Only USA is currently supported, entered in uppercase ISO 3166-1 alpha-3 three-character format.

Returns:

  • (String)


82
# File 'lib/lithic/models/kyb_business_entity.rb', line 82

required :country, String

#postal_codeString

Valid postal code. Only USA ZIP codes are currently supported, entered as a five-digit ZIP or nine-digit ZIP+4.

Returns:

  • (String)


89
# File 'lib/lithic/models/kyb_business_entity.rb', line 89

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)


96
# File 'lib/lithic/models/kyb_business_entity.rb', line 96

required :state, String