Google Cloud Recaptcha Enterprise V1 Client - Class Address (1.7.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
NameDescription
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
TypeDescription
string

setRecipient

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this

getLocality

Optional. The town/city of the address.

Returns
TypeDescription
string

setLocality

Optional. The town/city of the address.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAdministrativeArea

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

Returns
TypeDescription
string

setAdministrativeArea

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRegionCode

Optional. The CLDR country/region of the address.

Returns
TypeDescription
string

setRegionCode

Optional. The CLDR country/region of the address.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPostalCode

Optional. The postal or ZIP code of the address.

Returns
TypeDescription
string

setPostalCode

Optional. The postal or ZIP code of the address.

Parameter
NameDescription
var string
Returns
TypeDescription
$this