Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::TransactionData::Address.
Structured address format for billing and shipping addresses.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#address
def address() -> ::Array<::String>
Returns
- (::Array<::String>) — The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.
#address=
def address=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.
Returns
- (::Array<::String>) — The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.
#administrative_area
def administrative_area() -> ::String
Returns
- (::String) — The state, province, or otherwise administrative area of the address.
#administrative_area=
def administrative_area=(value) -> ::String
Parameter
- value (::String) — The state, province, or otherwise administrative area of the address.
Returns
- (::String) — The state, province, or otherwise administrative area of the address.
#locality
def locality() -> ::String
Returns
- (::String) — The town/city of the address.
#locality=
def locality=(value) -> ::String
Parameter
- value (::String) — The town/city of the address.
Returns
- (::String) — The town/city of the address.
#postal_code
def postal_code() -> ::String
Returns
- (::String) — The postal or ZIP code of the address.
#postal_code=
def postal_code=(value) -> ::String
Parameter
- value (::String) — The postal or ZIP code of the address.
Returns
- (::String) — The postal or ZIP code of the address.
#recipient
def recipient() -> ::String
Returns
- (::String) — The recipient name, potentially including information such as "care of".
#recipient=
def recipient=(value) -> ::String
Parameter
- value (::String) — The recipient name, potentially including information such as "care of".
Returns
- (::String) — The recipient name, potentially including information such as "care of".
#region_code
def region_code() -> ::String
Returns
- (::String) — The CLDR country/region of the address.
#region_code=
def region_code=(value) -> ::String
Parameter
- value (::String) — The CLDR country/region of the address.
Returns
- (::String) — The CLDR country/region of the address.