Interface CreateOnlineReturnPolicyRequestOrBuilder (1.0.0)
Stay organized with collections
Save and categorize content based on your preferences.
public interface CreateOnlineReturnPolicyRequestOrBuilder extends MessageOrBuilder
Methods
public abstract OnlineReturnPolicy getOnlineReturnPolicy()
Required. The return policy object to create.
.google.shopping.merchant.accounts.v1.OnlineReturnPolicy online_return_policy = 2 [(.google.api.field_behavior) = REQUIRED];
public abstract OnlineReturnPolicyOrBuilder getOnlineReturnPolicyOrBuilder()
Required. The return policy object to create.
.google.shopping.merchant.accounts.v1.OnlineReturnPolicy online_return_policy = 2 [(.google.api.field_behavior) = REQUIRED];
public abstract String getParent()
Required. The Merchant Center account for which the return policy will be
created. Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
public abstract ByteString getParentBytes()
Required. The Merchant Center account for which the return policy will be
created. Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
public abstract boolean hasOnlineReturnPolicy()
Required. The return policy object to create.
.google.shopping.merchant.accounts.v1.OnlineReturnPolicy online_return_policy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the onlineReturnPolicy field is set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface CreateOnlineReturnPolicyRequestOrBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-accounts/0.26.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-accounts/0.24.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-accounts/0.23.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-accounts/0.20.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-accounts/0.19.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-accounts/0.18.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-accounts/0.16.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-accounts/0.15.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-accounts/0.14.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-accounts/0.13.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-accounts/0.12.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-accounts/0.11.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-accounts/0.10.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-accounts/0.9.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-accounts/0.8.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-accounts/0.7.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-accounts/0.5.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-accounts/0.4.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-accounts/0.3.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-accounts/0.2.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-accounts/0.1.0/com.google.shopping.merchant.accounts.v1.CreateOnlineReturnPolicyRequestOrBuilder) \n\n public interface CreateOnlineReturnPolicyRequestOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getOnlineReturnPolicy()\n\n public abstract OnlineReturnPolicy getOnlineReturnPolicy()\n\nRequired. The return policy object to create.\n\n`\n.google.shopping.merchant.accounts.v1.OnlineReturnPolicy online_return_policy = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getOnlineReturnPolicyOrBuilder()\n\n public abstract OnlineReturnPolicyOrBuilder getOnlineReturnPolicyOrBuilder()\n\nRequired. The return policy object to create.\n\n`\n.google.shopping.merchant.accounts.v1.OnlineReturnPolicy online_return_policy = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getParent()\n\n public abstract String getParent()\n\nRequired. The Merchant Center account for which the return policy will be\ncreated. Format: `accounts/{account}`\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getParentBytes()\n\n public abstract ByteString getParentBytes()\n\nRequired. The Merchant Center account for which the return policy will be\ncreated. Format: `accounts/{account}`\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### hasOnlineReturnPolicy()\n\n public abstract boolean hasOnlineReturnPolicy()\n\nRequired. The return policy object to create.\n\n`\n.google.shopping.merchant.accounts.v1.OnlineReturnPolicy online_return_policy = 2 [(.google.api.field_behavior) = REQUIRED];\n`"]]