Interface TransactionDataOrBuilder (3.24.0)

public interface TransactionDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBillingAddress()

public abstract TransactionData.Address getBillingAddress()

Address associated with the payment method when applicable.

.google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;

Returns
TypeDescription
TransactionData.Address

The billingAddress.

getBillingAddressOrBuilder()

public abstract TransactionData.AddressOrBuilder getBillingAddressOrBuilder()

Address associated with the payment method when applicable.

.google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;

Returns
TypeDescription
TransactionData.AddressOrBuilder

getCardBin()

public abstract String getCardBin()

The Bank Identification Number - generally the first 6 or 8 digits of the card.

string card_bin = 2;

Returns
TypeDescription
String

The cardBin.

getCardBinBytes()

public abstract ByteString getCardBinBytes()

The Bank Identification Number - generally the first 6 or 8 digits of the card.

string card_bin = 2;

Returns
TypeDescription
ByteString

The bytes for cardBin.

getCardLastFour()

public abstract String getCardLastFour()

The last four digits of the card.

string card_last_four = 3;

Returns
TypeDescription
String

The cardLastFour.

getCardLastFourBytes()

public abstract ByteString getCardLastFourBytes()

The last four digits of the card.

string card_last_four = 3;

Returns
TypeDescription
ByteString

The bytes for cardLastFour.

getCurrencyCode()

public abstract String getCurrencyCode()

The currency code in ISO-4217 format.

string currency_code = 4;

Returns
TypeDescription
String

The currencyCode.

getCurrencyCodeBytes()

public abstract ByteString getCurrencyCodeBytes()

The currency code in ISO-4217 format.

string currency_code = 4;

Returns
TypeDescription
ByteString

The bytes for currencyCode.

getGatewayInfo()

public abstract TransactionData.GatewayInfo getGatewayInfo()

Information about the payment gateway's response to the transaction.

.google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;

Returns
TypeDescription
TransactionData.GatewayInfo

The gatewayInfo.

getGatewayInfoOrBuilder()

public abstract TransactionData.GatewayInfoOrBuilder getGatewayInfoOrBuilder()

Information about the payment gateway's response to the transaction.

.google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;

Returns
TypeDescription
TransactionData.GatewayInfoOrBuilder

getItems(int index)

public abstract TransactionData.Item getItems(int index)

Items purchased in this transaction.

repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransactionData.Item

getItemsCount()

public abstract int getItemsCount()

Items purchased in this transaction.

repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;

Returns
TypeDescription
int

getItemsList()

public abstract List<TransactionData.Item> getItemsList()

Items purchased in this transaction.

repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;

Returns
TypeDescription
List<Item>

getItemsOrBuilder(int index)

public abstract TransactionData.ItemOrBuilder getItemsOrBuilder(int index)

Items purchased in this transaction.

repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransactionData.ItemOrBuilder

getItemsOrBuilderList()

public abstract List<? extends TransactionData.ItemOrBuilder> getItemsOrBuilderList()

Items purchased in this transaction.

repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;

Returns
TypeDescription
List<? extends com.google.recaptchaenterprise.v1beta1.TransactionData.ItemOrBuilder>

getMerchants(int index)

public abstract TransactionData.User getMerchants(int index)

Information about the user or users fulfilling the transaction.

repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransactionData.User

getMerchantsCount()

public abstract int getMerchantsCount()

Information about the user or users fulfilling the transaction.

repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;

Returns
TypeDescription
int

getMerchantsList()

public abstract List<TransactionData.User> getMerchantsList()

Information about the user or users fulfilling the transaction.

repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;

Returns
TypeDescription
List<User>

getMerchantsOrBuilder(int index)

public abstract TransactionData.UserOrBuilder getMerchantsOrBuilder(int index)

Information about the user or users fulfilling the transaction.

repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransactionData.UserOrBuilder

getMerchantsOrBuilderList()

public abstract List<? extends TransactionData.UserOrBuilder> getMerchantsOrBuilderList()

Information about the user or users fulfilling the transaction.

repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;

Returns
TypeDescription
List<? extends com.google.recaptchaenterprise.v1beta1.TransactionData.UserOrBuilder>

getPaymentMethod()

public abstract String getPaymentMethod()

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;

Returns
TypeDescription
String

The paymentMethod.

getPaymentMethodBytes()

public abstract ByteString getPaymentMethodBytes()

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;

Returns
TypeDescription
ByteString

The bytes for paymentMethod.

getShippingAddress()

public abstract TransactionData.Address getShippingAddress()

Destination address if this transaction involves shipping a physical item.

.google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;

Returns
TypeDescription
TransactionData.Address

The shippingAddress.

getShippingAddressOrBuilder()

public abstract TransactionData.AddressOrBuilder getShippingAddressOrBuilder()

Destination address if this transaction involves shipping a physical item.

.google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;

Returns
TypeDescription
TransactionData.AddressOrBuilder

getShippingValue()

public abstract double getShippingValue()

The value of shipping in the specified currency. 0 for free or no shipping.

double shipping_value = 12;

Returns
TypeDescription
double

The shippingValue.

getTransactionId()

public abstract 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;

Returns
TypeDescription
String

The transactionId.

getTransactionIdBytes()

public abstract 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;

Returns
TypeDescription
ByteString

The bytes for transactionId.

getUser()

public abstract TransactionData.User getUser()

Information about the user paying/initiating the transaction.

.google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;

Returns
TypeDescription
TransactionData.User

The user.

getUserOrBuilder()

public abstract TransactionData.UserOrBuilder getUserOrBuilder()

Information about the user paying/initiating the transaction.

.google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;

Returns
TypeDescription
TransactionData.UserOrBuilder

getValue()

public abstract double getValue()

The decimal value of the transaction in the specified currency.

double value = 5;

Returns
TypeDescription
double

The value.

hasBillingAddress()

public abstract boolean hasBillingAddress()

Address associated with the payment method when applicable.

.google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;

Returns
TypeDescription
boolean

Whether the billingAddress field is set.

hasGatewayInfo()

public abstract boolean hasGatewayInfo()

Information about the payment gateway's response to the transaction.

.google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;

Returns
TypeDescription
boolean

Whether the gatewayInfo field is set.

hasShippingAddress()

public abstract boolean hasShippingAddress()

Destination address if this transaction involves shipping a physical item.

.google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;

Returns
TypeDescription
boolean

Whether the shippingAddress field is set.

hasTransactionId()

public abstract boolean 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;

Returns
TypeDescription
boolean

Whether the transactionId field is set.

hasUser()

public abstract boolean hasUser()

Information about the user paying/initiating the transaction.

.google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;

Returns
TypeDescription
boolean

Whether the user field is set.