Reference documentation and code samples for the reCAPTCHA Enterprise V1beta1 API class Google::Cloud::RecaptchaEnterprise::V1beta1::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
defmerchant_account_id()->::String
Returns
(::String) — When a merchant is specified, its corresponding account_id. Necessary to
populate marketplace-style transactions.
#merchant_account_id=
defmerchant_account_id=(value)->::String
Parameter
value (::String) — When a merchant is specified, its corresponding account_id. Necessary to
populate marketplace-style transactions.
Returns
(::String) — When a merchant is specified, its corresponding account_id. Necessary to
populate marketplace-style transactions.
#name
defname()->::String
Returns
(::String) — The full name of the item.
#name=
defname=(value)->::String
Parameter
value (::String) — The full name of the item.
Returns
(::String) — The full name of the item.
#quantity
defquantity()->::Integer
Returns
(::Integer) — The quantity of this item that is being purchased.
#quantity=
defquantity=(value)->::Integer
Parameter
value (::Integer) — The quantity of this item that is being purchased.
Returns
(::Integer) — The quantity of this item that is being purchased.
#value
defvalue()->::Float
Returns
(::Float) — The value per item that the user is paying, in the transaction currency,
after discounts.
#value=
defvalue=(value)->::Float
Parameter
value (::Float) — The value per item that the user is paying, in the transaction currency,
after discounts.
Returns
(::Float) — The value per item that the user is paying, in the transaction currency,
after discounts.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# reCAPTCHA Enterprise V1beta1 API - Class Google::Cloud::RecaptchaEnterprise::V1beta1::TransactionData::Item (v0.18.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.18.0 (latest)](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/latest/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.17.3](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.17.3/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.16.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.16.1/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.15.2](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.15.2/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.14.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.14.0/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.13.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.13.0/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.12.2](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.12.2/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.11.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.11.0/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.10.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.10.0/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.9.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.9.1/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.8.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.8.0/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.7.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.7.0/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.6.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.6.0/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.5.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.5.0/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item)\n- [0.4.5](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/0.4.5/Google-Cloud-RecaptchaEnterprise-V1beta1-TransactionData-Item) \nReference documentation and code samples for the reCAPTCHA Enterprise V1beta1 API class Google::Cloud::RecaptchaEnterprise::V1beta1::TransactionData::Item.\n\nLine items being purchased in this transaction. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #merchant_account_id\n\n def merchant_account_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.\n\n### #merchant_account_id=\n\n def merchant_account_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions. \n**Returns**\n\n- (::String) --- When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The full name of the item.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The full name of the item. \n**Returns**\n\n- (::String) --- The full name of the item.\n\n### #quantity\n\n def quantity() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The quantity of this item that is being purchased.\n\n### #quantity=\n\n def quantity=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The quantity of this item that is being purchased. \n**Returns**\n\n- (::Integer) --- The quantity of this item that is being purchased.\n\n### #value\n\n def value() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- The value per item that the user is paying, in the transaction currency, after discounts.\n\n### #value=\n\n def value=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- The value per item that the user is paying, in the transaction currency, after discounts. \n**Returns**\n\n- (::Float) --- The value per item that the user is paying, in the transaction currency, after discounts."]]