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>) — Optional. 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>) — Optional. 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>) — Optional. 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) — Optional. The state, province, or otherwise administrative area of the address.
#administrative_area=
def administrative_area=(value) -> ::String
Parameter
- value (::String) — Optional. The state, province, or otherwise administrative area of the address.
Returns
- (::String) — Optional. The state, province, or otherwise administrative area of the address.
#locality
def locality() -> ::String
Returns
- (::String) — Optional. The town/city of the address.
#locality=
def locality=(value) -> ::String
Parameter
- value (::String) — Optional. The town/city of the address.
Returns
- (::String) — Optional. The town/city of the address.
#postal_code
def postal_code() -> ::String
Returns
- (::String) — Optional. The postal or ZIP code of the address.
#postal_code=
def postal_code=(value) -> ::String
Parameter
- value (::String) — Optional. The postal or ZIP code of the address.
Returns
- (::String) — Optional. The postal or ZIP code of the address.
#recipient
def recipient() -> ::String
Returns
- (::String) — Optional. The recipient name, potentially including information such as "care of".
#recipient=
def recipient=(value) -> ::String
Parameter
- value (::String) — Optional. The recipient name, potentially including information such as "care of".
Returns
- (::String) — Optional. The recipient name, potentially including information such as "care of".
#region_code
def region_code() -> ::String
Returns
- (::String) — Optional. The CLDR country/region of the address.
#region_code=
def region_code=(value) -> ::String
Parameter
- value (::String) — Optional. The CLDR country/region of the address.
Returns
- (::String) — Optional. The CLDR country/region of the address.