View Source GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataItem (google_api_recaptcha_enterprise v0.7.0)

Line items being purchased in this transaction.

Attributes

  • merchantAccountId (type: String.t, default: nil) - Optional. When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
  • name (type: String.t, default: nil) - Optional. The full name of the item.
  • quantity (type: String.t, default: nil) - Optional. The quantity of this item that is being purchased.
  • value (type: float(), default: nil) - Optional. The value per item that the user is paying, in the transaction currency, after discounts.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataItem{
    merchantAccountId: String.t() | nil,
    name: String.t() | nil,
    quantity: String.t() | nil,
    value: float() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.