Class: Google::Shopping::Merchant::LoyaltyCustomers::V1::AddressInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/loyaltycustomers/v1/loyalty_customer.rb

Overview

Represents a customer’s physical address.

Instance Attribute Summary collapse

Instance Attribute Details

#city ⇒ ::String

Returns Optional. The city of the customer.

Returns:

  • (::String) —

    Optional. The city of the customer.



51
52
53
54
# File 'proto_docs/google/shopping/merchant/loyaltycustomers/v1/loyalty_customer.rb', line 51

class AddressInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#family_name ⇒ ::String

Returns Optional. The family name of the customer.

Returns:

  • (::String) —

    Optional. The family name of the customer.



51
52
53
54
# File 'proto_docs/google/shopping/merchant/loyaltycustomers/v1/loyalty_customer.rb', line 51

class AddressInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#given_name ⇒ ::String

Returns Optional. The given name of the customer.

Returns:

  • (::String) —

    Optional. The given name of the customer.



51
52
53
54
# File 'proto_docs/google/shopping/merchant/loyaltycustomers/v1/loyalty_customer.rb', line 51

class AddressInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#postal_code ⇒ ::String

Returns Optional. The postal code (zip code) of the customer.

Format Rules:

  • United States: 5-digit zip codes (e.g., "94108").

Returns:

  • (::String) —

    Optional. The postal code (zip code) of the customer.

    Format Rules:

    • United States: 5-digit zip codes (e.g., "94108").


51
52
53
54
# File 'proto_docs/google/shopping/merchant/loyaltycustomers/v1/loyalty_customer.rb', line 51

class AddressInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#region_code ⇒ ::String

Returns 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.

Returns:



51
52
53
54
# File 'proto_docs/google/shopping/merchant/loyaltycustomers/v1/loyalty_customer.rb', line 51

class AddressInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#state ⇒ ::String

Returns Optional. The state or province of the customer.

Returns:

  • (::String) —

    Optional. The state or province of the customer.



51
52
53
54
# File 'proto_docs/google/shopping/merchant/loyaltycustomers/v1/loyalty_customer.rb', line 51

class AddressInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end