# Cloud Commerce Consumer Procurement V1 API - Class Google::Cloud::Commerce::Consumer::Procurement::V1::LineItemInfo (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::LineItemInfo.

Line item information.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #offer

    def offer() -> ::String

**Returns**

- (::String) --- Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'.

### #offer=

    def offer=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'.
**Returns**

- (::String) --- Optional. The name of the offer can have either of these formats: 'billingAccounts/{billing_account}/offers/{offer}', or 'services/{service}/standardOffers/{offer}'.

### #parameters

    def parameters() -> ::Array<::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter>

**Returns**

- (::Array\<[::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter)\>) --- Optional. User-provided parameters.

### #parameters=

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

**Parameter**

- **value** (::Array\<[::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter)\>) --- Optional. User-provided parameters.
**Returns**

- (::Array\<[::Google::Cloud::Commerce::Consumer::Procurement::V1::Parameter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-Parameter)\>) --- Optional. User-provided parameters.

### #subscription

    def subscription() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::Subscription

**Returns**

- ([::Google::Cloud::Commerce::Consumer::Procurement::V1::Subscription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-Subscription)) --- Output only. Information about the subscription created, if applicable.