Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class CancelPrivateOfferRequest.
Message for cancelling a PrivateOffer
Generated from protobuf message google.cloud.commerceproducer.v1beta.CancelPrivateOfferRequest
Namespace
Google \ Cloud \ CommerceProducer \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Name of the resource |
↳ cancellation_note |
string
Optional. Internal note relating to the cancellation. Stored on the cancelled offer. Not visible to customers. |
getName
Required. Name of the resource
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. Name of the resource
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCancellationNote
Optional. Internal note relating to the cancellation.
Stored on the cancelled offer. Not visible to customers.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCancellationNote
Optional. Internal note relating to the cancellation.
Stored on the cancelled offer. Not visible to customers.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. Name of the resource Please see CommerceTransactionClient::privateOfferName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
CancelPrivateOfferRequest |
|