reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::TransactionData::Item (v0.19.0)

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.