Class: Google::Cloud::RecaptchaEnterprise::V1::TransactionData::Item

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

Overview

Line items being purchased in this transaction.

Instance Attribute Summary collapse

Instance Attribute Details

#merchant_account_id::String

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



667
668
669
670
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 667

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

#name::String

Returns Optional. The full name of the item.

Returns:

  • (::String)

    Optional. The full name of the item.



667
668
669
670
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 667

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

#quantity::Integer

Returns Optional. The quantity of this item that is being purchased.

Returns:

  • (::Integer)

    Optional. The quantity of this item that is being purchased.



667
668
669
670
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 667

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

#value::Float

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



667
668
669
670
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 667

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