# Cloud Commerce Consumer Procurement V1 API - Class Google::Cloud::Commerce::Consumer::Procurement::V1::ListOrdersResponse (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.2 0.4.0 0.3.2 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::ListOrdersResponse.

Response message for
[ConsumerProcurementService.ListOrders](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-ConsumerProcurementService-Client#Google__Cloud__Commerce__Consumer__Procurement__V1__ConsumerProcurementService__Client_list_orders_instance_ "Google::Cloud::Commerce::Consumer::Procurement::V1::ConsumerProcurementService::Client#list_orders (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- The token for fetching the next page.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- The token for fetching the next page.
**Returns**

- (::String) --- The token for fetching the next page.

### #orders

    def orders() -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::Order>

**Returns**

- (::Array\<[::Google::Cloud::Commerce::Consumer::Procurement::V1::Order](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-Order)\>) --- The list of orders in this response.

### #orders=

    def orders=(value) -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::Order>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Commerce::Consumer::Procurement::V1::Order](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-Order)\>) --- The list of orders in this response.
**Returns**

- (::Array\<[::Google::Cloud::Commerce::Consumer::Procurement::V1::Order](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-Order)\>) --- The list of orders in this response.