Structured address format for billing and shipping addresses.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.TransactionData.Address
Methods |
public __construct( $data = NULL) Constructor.
|
public 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. Generated from protobuf field repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL];
|
public getAdministrativeArea() Optional. The state, province, or otherwise administrative area of the address. Generated from protobuf field string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL];
|
public getLocality() Optional. The town/city of the address. Generated from protobuf field string locality = 3 [(.google.api.field_behavior) = OPTIONAL];
|
public getPostalCode() Optional. The postal or ZIP code of the address. Generated from protobuf field string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL];
|
public getRecipient() Optional. The recipient name, potentially including information such as "care of". Generated from protobuf field string recipient = 1 [(.google.api.field_behavior) = OPTIONAL];
|
public getRegionCode() Optional. The CLDR country/region of the address. Generated from protobuf field string region_code = 5 [(.google.api.field_behavior) = OPTIONAL];
|
public setAddress( $var) 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. Generated from protobuf field repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL];
|
public setAdministrativeArea( $var) Optional. The state, province, or otherwise administrative area of the address. Generated from protobuf field string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL];
|
public setLocality( $var) Optional. The town/city of the address. Generated from protobuf field string locality = 3 [(.google.api.field_behavior) = OPTIONAL];
|
public setPostalCode( $var) Optional. The postal or ZIP code of the address. Generated from protobuf field string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL];
|
public setRecipient( $var) Optional. The recipient name, potentially including information such as "care of". Generated from protobuf field string recipient = 1 [(.google.api.field_behavior) = OPTIONAL];
|
public setRegionCode( $var) Optional. The CLDR country/region of the address. Generated from protobuf field string region_code = 5 [(.google.api.field_behavior) = OPTIONAL];
|
Properties |
protected $administrative_area = '' Optional. The state, province, or otherwise administrative area of the address. Generated from protobuf field string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL]; |
protected $locality = '' Optional. The town/city of the address. Generated from protobuf field string locality = 3 [(.google.api.field_behavior) = OPTIONAL]; |
protected $postal_code = '' Optional. The postal or ZIP code of the address. Generated from protobuf field string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL]; |
protected $recipient = '' Optional. The recipient name, potentially including information such as "care of". Generated from protobuf field string recipient = 1 [(.google.api.field_behavior) = OPTIONAL]; |
protected $region_code = '' Optional. The CLDR country/region of the address. Generated from protobuf field string region_code = 5 [(.google.api.field_behavior) = OPTIONAL]; |
Methods |
Properties |
private $address = NULL 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. Generated from protobuf field repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL]; |