Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class UpdateOnlineReturnPolicyRequest.
Request message for the UpdateOnlineReturnPolicy method.
Generated from protobuf message google.shopping.merchant.accounts.v1beta.UpdateOnlineReturnPolicyRequest
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ online_return_policy |
OnlineReturnPolicy
Required. The return policy to update. |
↳ update_mask |
Google\Protobuf\FieldMask
|
getOnlineReturnPolicy
Required. The return policy to update.
| Returns | |
|---|---|
| Type | Description |
OnlineReturnPolicy|null |
|
hasOnlineReturnPolicy
clearOnlineReturnPolicy
setOnlineReturnPolicy
Required. The return policy to update.
| Parameter | |
|---|---|
| Name | Description |
var |
OnlineReturnPolicy
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
onlineReturnPolicy |
OnlineReturnPolicy
Required. The return policy to update. |
updateMask |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
UpdateOnlineReturnPolicyRequest |
|