Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class DisplayAddress.
The display address of the property.
Generated from protobuf message google.shopping.merchant.products.v1.ProductAttributes.DisplayAddress
Namespace
Google \ Shopping \ Merchant \ Products \ V1 \ ProductAttributesMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ street_number |
string
The street number. |
↳ street_name |
string
The street name. |
↳ city |
string
The city such as Seattle, New York, etc. |
↳ region |
string
The region(state), such as WA, OH, etc. |
↳ postal_code |
string
The postal code, such as 94043. |
getStreetNumber
The street number.
| Returns | |
|---|---|
| Type | Description |
string |
|
setStreetNumber
The street number.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStreetName
The street name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setStreetName
The street name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCity
The city such as Seattle, New York, etc.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCity
The city such as Seattle, New York, etc.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRegion
The region(state), such as WA, OH, etc.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRegion
The region(state), such as WA, OH, etc.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPostalCode
The postal code, such as 94043.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPostalCode
The postal code, such as 94043.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|