Reference documentation and code samples for the Google Shopping Merchant Quota V1 Client class ProductLimit.
The limit for products.
Generated from protobuf message google.shopping.merchant.quota.v1.ProductLimit
Namespace
Google \ Shopping \ Merchant \ Quota \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ scope |
int
Required. The scope of the product limit. |
↳ limit |
int|string
Required. The maximum number of products that are allowed in the account in the given scope. |
getScope
Required. The scope of the product limit.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Scope. |
setScope
Required. The scope of the product limit.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Scope. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLimit
Required. The maximum number of products that are allowed in the account in the given scope.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setLimit
Required. The maximum number of products that are allowed in the account in the given scope.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|