View Source GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionData (google_api_recaptcha_enterprise v0.7.0)
Transaction data associated with a payment protected by reCAPTCHA Enterprise.
Attributes
-
billingAddress
(type:GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataAddress.t
, default:nil
) - Optional. Address associated with the payment method when applicable. -
cardBin
(type:String.t
, default:nil
) - Optional. The Bank Identification Number - generally the first 6 or 8 digits of the card. -
cardLastFour
(type:String.t
, default:nil
) - Optional. The last four digits of the card. -
currencyCode
(type:String.t
, default:nil
) - Optional. The currency code in ISO-4217 format. -
gatewayInfo
(type:GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo.t
, default:nil
) - Optional. Information about the payment gateway's response to the transaction. -
items
(type:list(GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataItem.t)
, default:nil
) - Optional. Items purchased in this transaction. -
merchants
(type:list(GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataUser.t)
, default:nil
) - Optional. Information about the user or users fulfilling the transaction. -
paymentMethod
(type:String.t
, default:nil
) - Optional. The payment method for the transaction. The allowed values are: credit-card debit-card gift-card processor-{name} (If a third-party is used, for example, processor-paypal) * custom-{name} (If an alternative method is used, for example, custom-crypto) -
shippingAddress
(type:GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataAddress.t
, default:nil
) - Optional. Destination address if this transaction involves shipping a physical item. -
shippingValue
(type:float()
, default:nil
) - Optional. The value of shipping in the specified currency. 0 for free or no shipping. -
transactionId
(type:String.t
, default:nil
) - Unique identifier for the transaction. This custom identifier can be used to reference this transaction in the future, for example, labeling a refund or chargeback event. Two attempts at the same transaction should use the same transaction id. -
user
(type:GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataUser.t
, default:nil
) - Optional. Information about the user paying/initiating the transaction. -
value
(type:float()
, default:nil
) - Optional. The decimal value of the transaction in the specified currency.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionData{ billingAddress: GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataAddress.t() | nil, cardBin: String.t() | nil, cardLastFour: String.t() | nil, currencyCode: String.t() | nil, gatewayInfo: GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo.t() | nil, items: [ GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataItem.t() ] | nil, merchants: [ GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataUser.t() ] | nil, paymentMethod: String.t() | nil, shippingAddress: GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataAddress.t() | nil, shippingValue: float() | nil, transactionId: String.t() | nil, user: GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1TransactionDataUser.t() | nil, value: float() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.