Reference documentation and code samples for the Google Shopping Merchant Products V1beta Client class UnitPricingBaseMeasure.
The UnitPricingBaseMeasure of the product.
Generated from protobuf message google.shopping.merchant.products.v1beta.UnitPricingBaseMeasure
Namespace
Google \ Shopping \ Merchant \ Products \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ value | int|stringThe denominator of the unit price. | 
| ↳ unit | stringThe unit of the denominator. | 
getValue
The denominator of the unit price.
| Returns | |
|---|---|
| Type | Description | 
| int|string | |
setValue
The denominator of the unit price.
| Parameter | |
|---|---|
| Name | Description | 
| var | int|string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getUnit
The unit of the denominator.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setUnit
The unit of the denominator.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |