reCAPTCHA Enterprise V1beta1 API - Class Google::Cloud::RecaptchaEnterprise::V1beta1::TransactionData::Item (v0.14.0)

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

def merchant_account_id() -> ::String
Returns
  • (::String) — 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) — 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

def name() -> ::String
Returns
  • (::String) — The full name of the item.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The full name of the item.
Returns
  • (::String) — The full name of the item.

#quantity

def quantity() -> ::Integer
Returns
  • (::Integer) — The quantity of this item that is being purchased.

#quantity=

def quantity=(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

def value() -> ::Float
Returns
  • (::Float) — The value per item that the user is paying, in the transaction currency, after discounts.

#value=

def value=(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.