Interface PlaceOrderRequestOrBuilder (0.29.0)

public interface PlaceOrderRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

Required. The user-specified name of the order being placed.

string display_name = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The user-specified name of the order being placed.

string display_name = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

getLineItemInfo(int index)

public abstract LineItemInfo getLineItemInfo(int index)

Optional. Places order for offer. Required when an offer-based order is being placed.

repeated .google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
LineItemInfo

getLineItemInfoCount()

public abstract int getLineItemInfoCount()

Optional. Places order for offer. Required when an offer-based order is being placed.

repeated .google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getLineItemInfoList()

public abstract List<LineItemInfo> getLineItemInfoList()

Optional. Places order for offer. Required when an offer-based order is being placed.

repeated .google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<LineItemInfo>

getLineItemInfoOrBuilder(int index)

public abstract LineItemInfoOrBuilder getLineItemInfoOrBuilder(int index)

Optional. Places order for offer. Required when an offer-based order is being placed.

repeated .google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
LineItemInfoOrBuilder

getLineItemInfoOrBuilderList()

public abstract List<? extends LineItemInfoOrBuilder> getLineItemInfoOrBuilderList()

Optional. Places order for offer. Required when an offer-based order is being placed.

repeated .google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.commerce.consumer.procurement.v1.LineItemInfoOrBuilder>

getParent()

public abstract String getParent()

Required. The resource name of the parent resource. This field has the form billingAccounts/{billing-account-id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource name of the parent resource. This field has the form billingAccounts/{billing-account-id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getRequestId()

public abstract String getRequestId()

Optional. A unique identifier for this request. The server will ignore subsequent requests that provide a duplicate request ID for at least 120 minutes after the first request.

The request ID must be a valid UUID.

string request_id = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Optional. A unique identifier for this request. The server will ignore subsequent requests that provide a duplicate request ID for at least 120 minutes after the first request.

The request ID must be a valid UUID.

string request_id = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for requestId.