public static interface ProductAttributes.ReturnsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCountries(int index)
public abstract String getCountries(int index)The CLDR territory code of the countries to which an item can be returned.
repeated string countries = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The countries at the given index. |
getCountriesBytes(int index)
public abstract ByteString getCountriesBytes(int index)The CLDR territory code of the countries to which an item can be returned.
repeated string countries = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the countries at the given index. |
getCountriesCount()
public abstract int getCountriesCount()The CLDR territory code of the countries to which an item can be returned.
repeated string countries = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of countries. |
getCountriesList()
public abstract List<String> getCountriesList()The CLDR territory code of the countries to which an item can be returned.
repeated string countries = 1;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the countries. |
getItemConditions(int index)
public abstract ProductAttributes.Returns.ItemCondition getItemConditions(int index)The condition the item must be in to be accepted.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ItemCondition item_conditions = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.Returns.ItemCondition |
The itemConditions at the given index. |
getItemConditionsCount()
public abstract int getItemConditionsCount()The condition the item must be in to be accepted.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ItemCondition item_conditions = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The count of itemConditions. |
getItemConditionsList()
public abstract List<ProductAttributes.Returns.ItemCondition> getItemConditionsList()The condition the item must be in to be accepted.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ItemCondition item_conditions = 4;
| Returns | |
|---|---|
| Type | Description |
List<ItemCondition> |
A list containing the itemConditions. |
getItemConditionsValue(int index)
public abstract int getItemConditionsValue(int index)The condition the item must be in to be accepted.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ItemCondition item_conditions = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of itemConditions at the given index. |
getItemConditionsValueList()
public abstract List<Integer> getItemConditionsValueList()The condition the item must be in to be accepted.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ItemCondition item_conditions = 4;
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for itemConditions. |
getMethods(int index)
public abstract ProductAttributes.Returns.ReturnMethod getMethods(int index)The physical methods by which the item can be returned.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnMethod methods = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.Returns.ReturnMethod |
The methods at the given index. |
getMethodsCount()
public abstract int getMethodsCount()The physical methods by which the item can be returned.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnMethod methods = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The count of methods. |
getMethodsList()
public abstract List<ProductAttributes.Returns.ReturnMethod> getMethodsList()The physical methods by which the item can be returned.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnMethod methods = 5;
| Returns | |
|---|---|
| Type | Description |
List<ReturnMethod> |
A list containing the methods. |
getMethodsValue(int index)
public abstract int getMethodsValue(int index)The physical methods by which the item can be returned.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnMethod methods = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of methods at the given index. |
getMethodsValueList()
public abstract List<Integer> getMethodsValueList()The physical methods by which the item can be returned.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnMethod methods = 5;
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for methods. |
getOutcomes(int index)
public abstract ProductAttributes.Returns.ReturnOutcome getOutcomes(int index)The financial outcomes available for a return.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnOutcome outcomes = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.Returns.ReturnOutcome |
The outcomes at the given index. |
getOutcomesCount()
public abstract int getOutcomesCount()The financial outcomes available for a return.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnOutcome outcomes = 6;
| Returns | |
|---|---|
| Type | Description |
int |
The count of outcomes. |
getOutcomesList()
public abstract List<ProductAttributes.Returns.ReturnOutcome> getOutcomesList()The financial outcomes available for a return.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnOutcome outcomes = 6;
| Returns | |
|---|---|
| Type | Description |
List<ReturnOutcome> |
A list containing the outcomes. |
getOutcomesValue(int index)
public abstract int getOutcomesValue(int index)The financial outcomes available for a return.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnOutcome outcomes = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of outcomes at the given index. |
getOutcomesValueList()
public abstract List<Integer> getOutcomesValueList()The financial outcomes available for a return.
repeated .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnOutcome outcomes = 6;
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for outcomes. |
getPolicyUrl()
public abstract String getPolicyUrl()The URL of the return policy.
optional string policy_url = 11;
| Returns | |
|---|---|
| Type | Description |
String |
The policyUrl. |
getPolicyUrlBytes()
public abstract ByteString getPolicyUrlBytes()The URL of the return policy.
optional string policy_url = 11;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for policyUrl. |
getRestockingFee()
public abstract Price getRestockingFee()A flat restocking fee penalty.
.google.shopping.type.Price restocking_fee = 9;
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.Price |
The restockingFee. |
getRestockingFeeOneofCase()
public abstract ProductAttributes.Returns.RestockingFeeOneofCase getRestockingFeeOneofCase()| Returns | |
|---|---|
| Type | Description |
ProductAttributes.Returns.RestockingFeeOneofCase |
|
getRestockingFeeOrBuilder()
public abstract PriceOrBuilder getRestockingFeeOrBuilder()A flat restocking fee penalty.
.google.shopping.type.Price restocking_fee = 9;
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.PriceOrBuilder |
|
getRestockingPercentageFee()
public abstract double getRestockingPercentageFee()A percentage restocking fee penalty.
double restocking_percentage_fee = 10;
| Returns | |
|---|---|
| Type | Description |
double |
The restockingPercentageFee. |
getShippingFee()
public abstract Price getShippingFee()The fixed cost out-of-pocket for a customer to return an item.
optional .google.shopping.type.Price shipping_fee = 7;
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.Price |
The shippingFee. |
getShippingFeeOrBuilder()
public abstract PriceOrBuilder getShippingFeeOrBuilder()The fixed cost out-of-pocket for a customer to return an item.
optional .google.shopping.type.Price shipping_fee = 7;
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.PriceOrBuilder |
|
getShippingFeeType()
public abstract ProductAttributes.Returns.ReturnShippingFeeType getShippingFeeType()The type of return shipping fee.
optional .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnShippingFeeType shipping_fee_type = 8;
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.Returns.ReturnShippingFeeType |
The shippingFeeType. |
getShippingFeeTypeValue()
public abstract int getShippingFeeTypeValue()The type of return shipping fee.
optional .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnShippingFeeType shipping_fee_type = 8;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for shippingFeeType. |
getWindowDays()
public abstract long getWindowDays()The duration of the return window in days.
optional int64 window_days = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The windowDays. |
getWindowType()
public abstract ProductAttributes.Returns.ReturnWindowType getWindowType()Special return window behavior.
optional .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnWindowType window_type = 3;
| Returns | |
|---|---|
| Type | Description |
ProductAttributes.Returns.ReturnWindowType |
The windowType. |
getWindowTypeValue()
public abstract int getWindowTypeValue()Special return window behavior.
optional .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnWindowType window_type = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for windowType. |
hasPolicyUrl()
public abstract boolean hasPolicyUrl()The URL of the return policy.
optional string policy_url = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the policyUrl field is set. |
hasRestockingFee()
public abstract boolean hasRestockingFee()A flat restocking fee penalty.
.google.shopping.type.Price restocking_fee = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the restockingFee field is set. |
hasRestockingPercentageFee()
public abstract boolean hasRestockingPercentageFee()A percentage restocking fee penalty.
double restocking_percentage_fee = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the restockingPercentageFee field is set. |
hasShippingFee()
public abstract boolean hasShippingFee()The fixed cost out-of-pocket for a customer to return an item.
optional .google.shopping.type.Price shipping_fee = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the shippingFee field is set. |
hasShippingFeeType()
public abstract boolean hasShippingFeeType()The type of return shipping fee.
optional .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnShippingFeeType shipping_fee_type = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the shippingFeeType field is set. |
hasWindowDays()
public abstract boolean hasWindowDays()The duration of the return window in days.
optional int64 window_days = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the windowDays field is set. |
hasWindowType()
public abstract boolean hasWindowType()Special return window behavior.
optional .google.shopping.merchant.products.v1.ProductAttributes.Returns.ReturnWindowType window_type = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the windowType field is set. |