Class: Aws::TaxSettings::Types::Address

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb

Overview

The details of the address associated with the TRN information.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#address_line_1String

The first line of the address.

Returns:

  • (String)


314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb', line 314

class Address < Struct.new(
  :address_line_1,
  :address_line_2,
  :address_line_3,
  :city,
  :country_code,
  :district_or_county,
  :postal_code,
  :state_or_region)
  SENSITIVE = []
  include Aws::Structure
end

#address_line_2String

The second line of the address, if applicable.

Returns:

  • (String)


314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb', line 314

class Address < Struct.new(
  :address_line_1,
  :address_line_2,
  :address_line_3,
  :city,
  :country_code,
  :district_or_county,
  :postal_code,
  :state_or_region)
  SENSITIVE = []
  include Aws::Structure
end

#address_line_3String

The third line of the address, if applicable. Currently, the Tax Settings API accepts the addressLine3 parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you must enter the addressLine3 and specify the building number for the address. For example, you might enter 1234.

Returns:

  • (String)


314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb', line 314

class Address < Struct.new(
  :address_line_1,
  :address_line_2,
  :address_line_3,
  :city,
  :country_code,
  :district_or_county,
  :postal_code,
  :state_or_region)
  SENSITIVE = []
  include Aws::Structure
end

#cityString

The city that the address is in.

Returns:

  • (String)


314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb', line 314

class Address < Struct.new(
  :address_line_1,
  :address_line_2,
  :address_line_3,
  :city,
  :country_code,
  :district_or_county,
  :postal_code,
  :state_or_region)
  SENSITIVE = []
  include Aws::Structure
end

#country_codeString

The country code for the country that the address is in.

Returns:

  • (String)


314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb', line 314

class Address < Struct.new(
  :address_line_1,
  :address_line_2,
  :address_line_3,
  :city,
  :country_code,
  :district_or_county,
  :postal_code,
  :state_or_region)
  SENSITIVE = []
  include Aws::Structure
end

#district_or_countyString

The district or county the address is located.

For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil, use districtOrCounty for the neighborhood name.

Returns:

  • (String)


314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb', line 314

class Address < Struct.new(
  :address_line_1,
  :address_line_2,
  :address_line_3,
  :city,
  :country_code,
  :district_or_county,
  :postal_code,
  :state_or_region)
  SENSITIVE = []
  include Aws::Structure
end

#postal_codeString

The postal code associated with the address.

Returns:

  • (String)


314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb', line 314

class Address < Struct.new(
  :address_line_1,
  :address_line_2,
  :address_line_3,
  :city,
  :country_code,
  :district_or_county,
  :postal_code,
  :state_or_region)
  SENSITIVE = []
  include Aws::Structure
end

#state_or_regionString

The state, region, or province that the address is located. This field is only required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It is optional for all other countries.

If this is required for tax settings, use the same name as shown on the Tax Settings page.

Returns:

  • (String)


314
315
316
317
318
319
320
321
322
323
324
325
# File 'gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb', line 314

class Address < Struct.new(
  :address_line_1,
  :address_line_2,
  :address_line_3,
  :city,
  :country_code,
  :district_or_county,
  :postal_code,
  :state_or_region)
  SENSITIVE = []
  include Aws::Structure
end