# reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::TransactionData::Item (v1.11.0)

1.11.0 (latest) 1.9.1 1.8.0 1.7.1 1.6.0 1.5.1 1.4.1 1.3.0 1.2.0 1.1.0 1.0.0 0.22.0 0.21.0 0.20.1 0.19.0 0.18.0 0.17.3 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.0 0.10.0 0.9.1 0.8.0 0.7.1 Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::TransactionData::Item.

Line items being purchased in this transaction.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #merchant_account_id

    def merchant_account_id() -> ::String

**Returns**

- (::String) --- Optional. When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.

### #merchant_account_id=

    def merchant_account_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
**Returns**

- (::String) --- Optional. When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Optional. The full name of the item.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The full name of the item.
**Returns**

- (::String) --- Optional. The full name of the item.

### #quantity

    def quantity() -> ::Integer

**Returns**

- (::Integer) --- Optional. The quantity of this item that is being purchased.

### #quantity=

    def quantity=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. The quantity of this item that is being purchased.
**Returns**

- (::Integer) --- Optional. The quantity of this item that is being purchased.

### #value

    def value() -> ::Float

**Returns**

- (::Float) --- Optional. The value per item that the user is paying, in the transaction currency, after discounts.

### #value=

    def value=(value) -> ::Float

**Parameter**

- **value** (::Float) --- Optional. The value per item that the user is paying, in the transaction currency, after discounts.
**Returns**

- (::Float) --- Optional. The value per item that the user is paying, in the transaction currency, after discounts.