Google Cloud Recaptcha Enterprise V1 Client - Class Address (1.14.0)

Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class Address.

Structured address format for billing and shipping addresses.

Generated from protobuf message google.cloud.recaptchaenterprise.v1.TransactionData.Address

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1 \ TransactionData

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ recipient string

Optional. The recipient name, potentially including information such as "care of".

↳ address array

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.

↳ locality string

Optional. The town/city of the address.

↳ administrative_area string

Optional. The state, province, or otherwise administrative area of the address.

↳ region_code string

Optional. The CLDR country/region of the address.

↳ postal_code string

Optional. The postal or ZIP code of the address.

getRecipient

Optional. The recipient name, potentially including information such as "care of".

Returns
Type Description
string

setRecipient

Optional. The recipient name, potentially including information such as "care of".

Parameter
Name Description
var string
Returns
Type Description
$this

getAddress

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
Type Description
Google\Protobuf\Internal\RepeatedField

setAddress

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.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getLocality

Optional. The town/city of the address.

Returns
Type Description
string

setLocality

Optional. The town/city of the address.

Parameter
Name Description
var string
Returns
Type Description
$this

getAdministrativeArea

Optional. The state, province, or otherwise administrative area of the address.

Returns
Type Description
string

setAdministrativeArea

Optional. The state, province, or otherwise administrative area of the address.

Parameter
Name Description
var string
Returns
Type Description
$this

getRegionCode

Optional. The CLDR country/region of the address.

Returns
Type Description
string

setRegionCode

Optional. The CLDR country/region of the address.

Parameter
Name Description
var string
Returns
Type Description
$this

getPostalCode

Optional. The postal or ZIP code of the address.

Returns
Type Description
string

setPostalCode

Optional. The postal or ZIP code of the address.

Parameter
Name Description
var string
Returns
Type Description
$this