Class AddressInfo
Represents a customer’s physical address.
Implements
Namespace: Google.Shopping.Merchant.LoyaltyCustomers.V1
Assembly: Google.Shopping.Merchant.LoyaltyCustomers.V1.dll
Syntax
public sealed class AddressInfo : IMessage<AddressInfo>, IEquatable<AddressInfo>, IDeepCloneable<AddressInfo>, IBufferMessage, IMessage
Constructors
AddressInfo()
Declaration
public AddressInfo()
AddressInfo(AddressInfo)
Declaration
public AddressInfo(AddressInfo other)
Parameters
| Type | Name | Description |
|---|---|---|
| AddressInfo | other |
Properties
City
Optional. The city of the customer.
Declaration
public string City { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FamilyName
Optional. The family name of the customer.
Declaration
public string FamilyName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
GivenName
Optional. The given name of the customer.
Declaration
public string GivenName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostalCode
Optional. The postal code (zip code) of the customer.
Format Rules:
- United States: 5-digit zip codes (e.g., "94108").
Declaration
public string PostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RegionCode
Optional. The Unicode country/region code (CLDR) of the customer, such as "US" or "CH". This field is case-insensitive. For more information, see https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html.
Declaration
public string RegionCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
State
Optional. The state or province of the customer.
Declaration
public string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |