AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::CustomerProfiles::Types::Address

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

Overview

Note:

When making an API call, you may pass Address data as a hash:

{
  address_1: "string1To255",
  address_2: "string1To255",
  address_3: "string1To255",
  address_4: "string1To255",
  city: "string1To255",
  county: "string1To255",
  state: "string1To255",
  province: "string1To255",
  country: "string1To255",
  postal_code: "string1To255",
}

A generic address associated with the customer that is not mailing, shipping, or billing.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#address_1String

The first line of a customer address.

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 141

class Address < Struct.new(
  :address_1,
  :address_2,
  :address_3,
  :address_4,
  :city,
  :county,
  :state,
  :province,
  :country,
  :postal_code)
  SENSITIVE = []
  include Aws::Structure
end

#address_2String

The second line of a customer address.

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 141

class Address < Struct.new(
  :address_1,
  :address_2,
  :address_3,
  :address_4,
  :city,
  :county,
  :state,
  :province,
  :country,
  :postal_code)
  SENSITIVE = []
  include Aws::Structure
end

#address_3String

The third line of a customer address.

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 141

class Address < Struct.new(
  :address_1,
  :address_2,
  :address_3,
  :address_4,
  :city,
  :county,
  :state,
  :province,
  :country,
  :postal_code)
  SENSITIVE = []
  include Aws::Structure
end

#address_4String

The fourth line of a customer address.

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 141

class Address < Struct.new(
  :address_1,
  :address_2,
  :address_3,
  :address_4,
  :city,
  :county,
  :state,
  :province,
  :country,
  :postal_code)
  SENSITIVE = []
  include Aws::Structure
end

#cityString

The city in which a customer lives.

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 141

class Address < Struct.new(
  :address_1,
  :address_2,
  :address_3,
  :address_4,
  :city,
  :county,
  :state,
  :province,
  :country,
  :postal_code)
  SENSITIVE = []
  include Aws::Structure
end

#countryString

The country in which a customer lives.

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 141

class Address < Struct.new(
  :address_1,
  :address_2,
  :address_3,
  :address_4,
  :city,
  :county,
  :state,
  :province,
  :country,
  :postal_code)
  SENSITIVE = []
  include Aws::Structure
end

#countyString

The county in which a customer lives.

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 141

class Address < Struct.new(
  :address_1,
  :address_2,
  :address_3,
  :address_4,
  :city,
  :county,
  :state,
  :province,
  :country,
  :postal_code)
  SENSITIVE = []
  include Aws::Structure
end

#postal_codeString

The postal code of a customer address.

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 141

class Address < Struct.new(
  :address_1,
  :address_2,
  :address_3,
  :address_4,
  :city,
  :county,
  :state,
  :province,
  :country,
  :postal_code)
  SENSITIVE = []
  include Aws::Structure
end

#provinceString

The province in which a customer lives.

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 141

class Address < Struct.new(
  :address_1,
  :address_2,
  :address_3,
  :address_4,
  :city,
  :county,
  :state,
  :province,
  :country,
  :postal_code)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The state in which a customer lives.

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/types.rb', line 141

class Address < Struct.new(
  :address_1,
  :address_2,
  :address_3,
  :address_4,
  :city,
  :county,
  :state,
  :province,
  :country,
  :postal_code)
  SENSITIVE = []
  include Aws::Structure
end