Class: Google::Cloud::RecaptchaEnterprise::V1beta1::TransactionData::Item

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb

Overview

Line items being purchased in this transaction.

Instance Attribute Summary collapse

Instance Attribute Details

#merchant_account_id::String

Returns 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.



546
547
548
549
# File 'proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb', line 546

class Item
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns The full name of the item.

Returns:

  • (::String)

    The full name of the item.



546
547
548
549
# File 'proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb', line 546

class Item
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#quantity::Integer

Returns The quantity of this item that is being purchased.

Returns:

  • (::Integer)

    The quantity of this item that is being purchased.



546
547
548
549
# File 'proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb', line 546

class Item
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value::Float

Returns 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.



546
547
548
549
# File 'proto_docs/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.rb', line 546

class Item
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end