Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class ReturnShippingFee.
The return shipping fee. This can either be a fixed fee or a boolean to indicate that the customer pays the actual shipping cost.
Generated from protobuf message google.shopping.merchant.accounts.v1beta.OnlineReturnPolicy.ReturnShippingFee
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1beta \ OnlineReturnPolicyMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
data | 
        
          array
          Optional. Data for populating the Message object.  | 
      
↳ type | 
        
          int
          Required. Type of return shipping fee.  | 
      
↳ fixed_fee | 
        
          Google\Shopping\Type\Price
          Fixed return shipping fee amount. This value is only applicable when type is   | 
      
getType
Required. Type of return shipping fee.
| Returns | |
|---|---|
| Type | Description | 
int | 
        Enum of type Type. | 
setType
Required. Type of return shipping fee.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          int
          Enum of type Type.  | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getFixedFee
Fixed return shipping fee amount. This value is only applicable when type
is FIXED. We will treat the return shipping fee as free if type is
FIXED and this value is not set.
| Returns | |
|---|---|
| Type | Description | 
Google\Shopping\Type\Price|null | 
        |
hasFixedFee
clearFixedFee
setFixedFee
Fixed return shipping fee amount. This value is only applicable when type
is FIXED. We will treat the return shipping fee as free if type is
FIXED and this value is not set.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          Google\Shopping\Type\Price
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |