Reference documentation and code samples for the Google Shopping Merchant Issue Resolution V1 Client class Stats.
Products statistics.
Generated from protobuf message google.shopping.merchant.issueresolution.v1.AggregateProductStatus.Stats
Namespace
Google \ Shopping \ Merchant \ IssueResolution \ V1 \ AggregateProductStatusMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ active_count |
int|string
The number of products that are active. |
↳ pending_count |
int|string
The number of products that are pending. |
↳ disapproved_count |
int|string
The number of products that are disapproved. |
↳ expiring_count |
int|string
The number of products that are expiring. |
getActiveCount
The number of products that are active.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setActiveCount
The number of products that are active.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPendingCount
The number of products that are pending.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setPendingCount
The number of products that are pending.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisapprovedCount
The number of products that are disapproved.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setDisapprovedCount
The number of products that are disapproved.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExpiringCount
The number of products that are expiring.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setExpiringCount
The number of products that are expiring.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|