Reference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client class LineItemInfo.
Line item information.
Generated from protobuf message google.cloud.commerce.consumer.procurement.v1.LineItemInfo
Namespace
Google \ Cloud \ Commerce \ Consumer \ Procurement \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ offer |
string
Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'. |
↳ parameters |
array<Google\Cloud\Commerce\Consumer\Procurement\V1\Parameter>
Optional. User-provided parameters. |
↳ subscription |
Google\Cloud\Commerce\Consumer\Procurement\V1\Subscription
Output only. Information about the subscription created, if applicable. |
getOffer
Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'.
Returns | |
---|---|
Type | Description |
string |
setOffer
Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getParameters
Optional. User-provided parameters.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setParameters
Optional. User-provided parameters.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Commerce\Consumer\Procurement\V1\Parameter>
|
Returns | |
---|---|
Type | Description |
$this |
getSubscription
Output only. Information about the subscription created, if applicable.
Returns | |
---|---|
Type | Description |
Google\Cloud\Commerce\Consumer\Procurement\V1\Subscription|null |
hasSubscription
clearSubscription
setSubscription
Output only. Information about the subscription created, if applicable.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Commerce\Consumer\Procurement\V1\Subscription
|
Returns | |
---|---|
Type | Description |
$this |