Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class UpdateOnlineReturnPolicyRequest.
Request message for the UpdateOnlineReturnPolicy
method. The method
supports field masks and when the mask is provided, only the fields specified
in the mask are updated.
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 online return policy to update. The online return policy's |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. List of fields being updated. The following fields are supported (in both |
getOnlineReturnPolicy
Required. The online return policy to update.
The online return policy's name
field is used to identify the
online return policy to be updated.
Returns | |
---|---|
Type | Description |
OnlineReturnPolicy|null |
hasOnlineReturnPolicy
clearOnlineReturnPolicy
setOnlineReturnPolicy
Required. The online return policy to update.
The online return policy's name
field is used to identify the
online return policy to be updated.
Parameter | |
---|---|
Name | Description |
var |
OnlineReturnPolicy
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
Optional. List of fields being updated.
The following fields are supported (in both snake_case
and
lowerCamelCase
):
accept_defective_only
accept_exchange
item_conditions
policy
process_refund_days
restocking_fee
return_methods
return_policy_uri
return_shipping_fee
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. List of fields being updated.
The following fields are supported (in both snake_case
and
lowerCamelCase
):
accept_defective_only
accept_exchange
item_conditions
policy
process_refund_days
restocking_fee
return_methods
return_policy_uri
return_shipping_fee
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
onlineReturnPolicy |
OnlineReturnPolicy
Required. The online return policy to update.
The online return policy's |
updateMask |
Google\Protobuf\FieldMask
Optional. List of fields being updated. The following fields are supported (in both
|
Returns | |
---|---|
Type | Description |
UpdateOnlineReturnPolicyRequest |