Interface PlaceOrderRequestOrBuilder (0.45.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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for requestId.