Reference documentation and code samples for the Google Shopping Merchant Loyalty Customers V1 Client class UserIdentifier.
The user identifiers associated with the customer.
At least one of the fields within this message must be provided.
Generated from protobuf message google.shopping.merchant.loyaltycustomers.v1.UserIdentifier
Namespace
Google \ Shopping \ Merchant \ LoyaltyCustomers \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ email_address |
string
Optional. The customer’s email address. |
↳ address |
AddressInfo
Optional. The customer’s physical address. |
↳ phone_number |
string
Optional. The customer's phone number, in E.164 format (e.g., "+16502530000"). |
getEmailAddress
Optional. The customer’s email address.
| Returns | |
|---|---|
| Type | Description |
string |
|
setEmailAddress
Optional. The customer’s email address.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAddress
Optional. The customer’s physical address.
| Returns | |
|---|---|
| Type | Description |
AddressInfo|null |
|
hasAddress
clearAddress
setAddress
Optional. The customer’s physical address.
| Parameter | |
|---|---|
| Name | Description |
var |
AddressInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPhoneNumber
Optional. The customer's phone number, in E.164 format (e.g., "+16502530000").
| Returns | |
|---|---|
| Type | Description |
string |
|
setPhoneNumber
Optional. The customer's phone number, in E.164 format (e.g., "+16502530000").
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|