public interface TransactionDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasTransactionId()
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.
optional string transaction_id = 11;String getTransactionId()
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.
optional string transaction_id = 11;com.google.protobuf.ByteString getTransactionIdBytes()
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.
optional string transaction_id = 11;String getPaymentMethod()
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)
string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getPaymentMethodBytes()
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)
string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL];String getCardBin()
Optional. The Bank Identification Number - generally the first 6 or 8 digits of the card.
string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getCardBinBytes()
Optional. The Bank Identification Number - generally the first 6 or 8 digits of the card.
string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL];String getCardLastFour()
Optional. The last four digits of the card.
string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getCardLastFourBytes()
Optional. The last four digits of the card.
string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];String getCurrencyCode()
Optional. The currency code in ISO-4217 format.
string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getCurrencyCodeBytes()
Optional. The currency code in ISO-4217 format.
string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];double getValue()
Optional. The decimal value of the transaction in the specified currency.
double value = 5 [(.google.api.field_behavior) = OPTIONAL];double getShippingValue()
Optional. The value of shipping in the specified currency. 0 for free or no shipping.
double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL];boolean hasShippingAddress()
Optional. Destination address if this transaction involves shipping a physical item.
.google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
TransactionData.Address getShippingAddress()
Optional. Destination address if this transaction involves shipping a physical item.
.google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
TransactionData.AddressOrBuilder getShippingAddressOrBuilder()
Optional. Destination address if this transaction involves shipping a physical item.
.google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
boolean hasBillingAddress()
Optional. Address associated with the payment method when applicable.
.google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
TransactionData.Address getBillingAddress()
Optional. Address associated with the payment method when applicable.
.google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
TransactionData.AddressOrBuilder getBillingAddressOrBuilder()
Optional. Address associated with the payment method when applicable.
.google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
boolean hasUser()
Optional. Information about the user paying/initiating the transaction.
.google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
TransactionData.User getUser()
Optional. Information about the user paying/initiating the transaction.
.google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
TransactionData.UserOrBuilder getUserOrBuilder()
Optional. Information about the user paying/initiating the transaction.
.google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
List<TransactionData.User> getMerchantsList()
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
TransactionData.User getMerchants(int index)
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
int getMerchantsCount()
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
List<? extends TransactionData.UserOrBuilder> getMerchantsOrBuilderList()
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
TransactionData.UserOrBuilder getMerchantsOrBuilder(int index)
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
List<TransactionData.Item> getItemsList()
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
TransactionData.Item getItems(int index)
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
int getItemsCount()
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
List<? extends TransactionData.ItemOrBuilder> getItemsOrBuilderList()
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
TransactionData.ItemOrBuilder getItemsOrBuilder(int index)
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
boolean hasGatewayInfo()
Optional. Information about the payment gateway's response to the transaction.
.google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
TransactionData.GatewayInfo getGatewayInfo()
Optional. Information about the payment gateway's response to the transaction.
.google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
TransactionData.GatewayInfoOrBuilder getGatewayInfoOrBuilder()
Optional. Information about the payment gateway's response to the transaction.
.google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2025 Google LLC. All rights reserved.