Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::PlaceOrderRequest.
Request message for ConsumerProcurementService.PlaceOrder.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#display_name
def display_name() -> ::String
Returns
- (::String) — Required. The user-specified name of the order being placed.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Required. The user-specified name of the order being placed.
Returns
- (::String) — Required. The user-specified name of the order being placed.
#line_item_info
def line_item_info() -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo>
Returns
- (::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo>) — Optional. Places order for offer. Required when an offer-based order is being placed.
#line_item_info=
def line_item_info=(value) -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo>
Parameter
- value (::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo>) — Optional. Places order for offer. Required when an offer-based order is being placed.
Returns
- (::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo>) — Optional. Places order for offer. Required when an offer-based order is being placed.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The resource name of the parent resource.
This field has the form
billingAccounts/{billing-account-id}
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the parent resource.
This field has the form
billingAccounts/{billing-account-id}
.
Returns
-
(::String) — Required. The resource name of the parent resource.
This field has the form
billingAccounts/{billing-account-id}
.
#request_id
def request_id() -> ::String
Returns
-
(::String) — 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.
#request_id=
def request_id=(value) -> ::String
Parameter
-
value (::String) — 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.
Returns
-
(::String) — 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.