public final class TransactionData extends com.google.protobuf.GeneratedMessageV3 implements TransactionDataOrBuilder
Transaction data associated with a payment protected by reCAPTCHA Enterprise.Protobuf type
google.cloud.recaptchaenterprise.v1beta1.TransactionData| Modifier and Type | Class and Description |
|---|---|
static class |
TransactionData.Address
Structured address format for billing and shipping addresses.
|
static interface |
TransactionData.AddressOrBuilder |
static class |
TransactionData.Builder
Transaction data associated with a payment protected by reCAPTCHA Enterprise.
|
static class |
TransactionData.GatewayInfo
Details about the transaction from the gateway.
|
static interface |
TransactionData.GatewayInfoOrBuilder |
static class |
TransactionData.Item
Line items being purchased in this transaction.
|
static interface |
TransactionData.ItemOrBuilder |
static class |
TransactionData.User
Details about a user's account involved in the transaction.
|
static interface |
TransactionData.UserOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BILLING_ADDRESS_FIELD_NUMBER |
static int |
CARD_BIN_FIELD_NUMBER |
static int |
CARD_LAST_FOUR_FIELD_NUMBER |
static int |
CURRENCY_CODE_FIELD_NUMBER |
static int |
GATEWAY_INFO_FIELD_NUMBER |
static int |
ITEMS_FIELD_NUMBER |
static int |
MERCHANTS_FIELD_NUMBER |
static int |
PAYMENT_METHOD_FIELD_NUMBER |
static int |
SHIPPING_ADDRESS_FIELD_NUMBER |
static int |
SHIPPING_VALUE_FIELD_NUMBER |
static int |
TRANSACTION_ID_FIELD_NUMBER |
static int |
USER_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TransactionData.Address |
getBillingAddress()
Address associated with the payment method when applicable.
|
TransactionData.AddressOrBuilder |
getBillingAddressOrBuilder()
Address associated with the payment method when applicable.
|
String |
getCardBin()
The Bank Identification Number - generally the first 6 or 8 digits of the
card.
|
com.google.protobuf.ByteString |
getCardBinBytes()
The Bank Identification Number - generally the first 6 or 8 digits of the
card.
|
String |
getCardLastFour()
The last four digits of the card.
|
com.google.protobuf.ByteString |
getCardLastFourBytes()
The last four digits of the card.
|
String |
getCurrencyCode()
The currency code in ISO-4217 format.
|
com.google.protobuf.ByteString |
getCurrencyCodeBytes()
The currency code in ISO-4217 format.
|
static TransactionData |
getDefaultInstance() |
TransactionData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
TransactionData.GatewayInfo |
getGatewayInfo()
Information about the payment gateway's response to the transaction.
|
TransactionData.GatewayInfoOrBuilder |
getGatewayInfoOrBuilder()
Information about the payment gateway's response to the transaction.
|
TransactionData.Item |
getItems(int index)
Items purchased in this transaction.
|
int |
getItemsCount()
Items purchased in this transaction.
|
List<TransactionData.Item> |
getItemsList()
Items purchased in this transaction.
|
TransactionData.ItemOrBuilder |
getItemsOrBuilder(int index)
Items purchased in this transaction.
|
List<? extends TransactionData.ItemOrBuilder> |
getItemsOrBuilderList()
Items purchased in this transaction.
|
TransactionData.User |
getMerchants(int index)
Information about the user or users fulfilling the transaction.
|
int |
getMerchantsCount()
Information about the user or users fulfilling the transaction.
|
List<TransactionData.User> |
getMerchantsList()
Information about the user or users fulfilling the transaction.
|
TransactionData.UserOrBuilder |
getMerchantsOrBuilder(int index)
Information about the user or users fulfilling the transaction.
|
List<? extends TransactionData.UserOrBuilder> |
getMerchantsOrBuilderList()
Information about the user or users fulfilling the transaction.
|
com.google.protobuf.Parser<TransactionData> |
getParserForType() |
String |
getPaymentMethod()
The payment method for the transaction.
|
com.google.protobuf.ByteString |
getPaymentMethodBytes()
The payment method for the transaction.
|
int |
getSerializedSize() |
TransactionData.Address |
getShippingAddress()
Destination address if this transaction involves shipping a physical item.
|
TransactionData.AddressOrBuilder |
getShippingAddressOrBuilder()
Destination address if this transaction involves shipping a physical item.
|
double |
getShippingValue()
The value of shipping in the specified currency.
|
String |
getTransactionId()
Unique identifier for the transaction.
|
com.google.protobuf.ByteString |
getTransactionIdBytes()
Unique identifier for the transaction.
|
TransactionData.User |
getUser()
Information about the user paying/initiating the transaction.
|
TransactionData.UserOrBuilder |
getUserOrBuilder()
Information about the user paying/initiating the transaction.
|
double |
getValue()
The decimal value of the transaction in the specified currency.
|
boolean |
hasBillingAddress()
Address associated with the payment method when applicable.
|
boolean |
hasGatewayInfo()
Information about the payment gateway's response to the transaction.
|
int |
hashCode() |
boolean |
hasShippingAddress()
Destination address if this transaction involves shipping a physical item.
|
boolean |
hasTransactionId()
Unique identifier for the transaction.
|
boolean |
hasUser()
Information about the user paying/initiating the transaction.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TransactionData.Builder |
newBuilder() |
static TransactionData.Builder |
newBuilder(TransactionData prototype) |
TransactionData.Builder |
newBuilderForType() |
protected TransactionData.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TransactionData |
parseDelimitedFrom(InputStream input) |
static TransactionData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionData |
parseFrom(byte[] data) |
static TransactionData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionData |
parseFrom(ByteBuffer data) |
static TransactionData |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionData |
parseFrom(com.google.protobuf.ByteString data) |
static TransactionData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransactionData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionData |
parseFrom(InputStream input) |
static TransactionData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransactionData> |
parser() |
TransactionData.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TRANSACTION_ID_FIELD_NUMBER
public static final int PAYMENT_METHOD_FIELD_NUMBER
public static final int CARD_BIN_FIELD_NUMBER
public static final int CARD_LAST_FOUR_FIELD_NUMBER
public static final int CURRENCY_CODE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int SHIPPING_VALUE_FIELD_NUMBER
public static final int SHIPPING_ADDRESS_FIELD_NUMBER
public static final int BILLING_ADDRESS_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
public static final int MERCHANTS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
public static final int GATEWAY_INFO_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasTransactionId in interface TransactionDataOrBuilderpublic 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;getTransactionId in interface TransactionDataOrBuilderpublic 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;getTransactionIdBytes in interface TransactionDataOrBuilderpublic 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;getPaymentMethod in interface TransactionDataOrBuilderpublic com.google.protobuf.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;getPaymentMethodBytes in interface TransactionDataOrBuilderpublic String getCardBin()
The Bank Identification Number - generally the first 6 or 8 digits of the card.
string card_bin = 2;getCardBin in interface TransactionDataOrBuilderpublic com.google.protobuf.ByteString getCardBinBytes()
The Bank Identification Number - generally the first 6 or 8 digits of the card.
string card_bin = 2;getCardBinBytes in interface TransactionDataOrBuilderpublic String getCardLastFour()
The last four digits of the card.
string card_last_four = 3;getCardLastFour in interface TransactionDataOrBuilderpublic com.google.protobuf.ByteString getCardLastFourBytes()
The last four digits of the card.
string card_last_four = 3;getCardLastFourBytes in interface TransactionDataOrBuilderpublic String getCurrencyCode()
The currency code in ISO-4217 format.
string currency_code = 4;getCurrencyCode in interface TransactionDataOrBuilderpublic com.google.protobuf.ByteString getCurrencyCodeBytes()
The currency code in ISO-4217 format.
string currency_code = 4;getCurrencyCodeBytes in interface TransactionDataOrBuilderpublic double getValue()
The decimal value of the transaction in the specified currency.
double value = 5;getValue in interface TransactionDataOrBuilderpublic double getShippingValue()
The value of shipping in the specified currency. 0 for free or no shipping.
double shipping_value = 12;getShippingValue in interface TransactionDataOrBuilderpublic boolean hasShippingAddress()
Destination address if this transaction involves shipping a physical item.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;
hasShippingAddress in interface TransactionDataOrBuilderpublic TransactionData.Address getShippingAddress()
Destination address if this transaction involves shipping a physical item.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;
getShippingAddress in interface TransactionDataOrBuilderpublic TransactionData.AddressOrBuilder getShippingAddressOrBuilder()
Destination address if this transaction involves shipping a physical item.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;
getShippingAddressOrBuilder in interface TransactionDataOrBuilderpublic boolean hasBillingAddress()
Address associated with the payment method when applicable.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;
hasBillingAddress in interface TransactionDataOrBuilderpublic TransactionData.Address getBillingAddress()
Address associated with the payment method when applicable.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;
getBillingAddress in interface TransactionDataOrBuilderpublic TransactionData.AddressOrBuilder getBillingAddressOrBuilder()
Address associated with the payment method when applicable.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;
getBillingAddressOrBuilder in interface TransactionDataOrBuilderpublic boolean hasUser()
Information about the user paying/initiating the transaction.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;hasUser in interface TransactionDataOrBuilderpublic TransactionData.User getUser()
Information about the user paying/initiating the transaction.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;getUser in interface TransactionDataOrBuilderpublic TransactionData.UserOrBuilder getUserOrBuilder()
Information about the user paying/initiating the transaction.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;getUserOrBuilder in interface TransactionDataOrBuilderpublic List<TransactionData.User> getMerchantsList()
Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
getMerchantsList in interface TransactionDataOrBuilderpublic List<? extends TransactionData.UserOrBuilder> getMerchantsOrBuilderList()
Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
getMerchantsOrBuilderList in interface TransactionDataOrBuilderpublic int getMerchantsCount()
Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
getMerchantsCount in interface TransactionDataOrBuilderpublic TransactionData.User getMerchants(int index)
Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
getMerchants in interface TransactionDataOrBuilderpublic TransactionData.UserOrBuilder getMerchantsOrBuilder(int index)
Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
getMerchantsOrBuilder in interface TransactionDataOrBuilderpublic List<TransactionData.Item> getItemsList()
Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
getItemsList in interface TransactionDataOrBuilderpublic List<? extends TransactionData.ItemOrBuilder> getItemsOrBuilderList()
Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
getItemsOrBuilderList in interface TransactionDataOrBuilderpublic int getItemsCount()
Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
getItemsCount in interface TransactionDataOrBuilderpublic TransactionData.Item getItems(int index)
Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
getItems in interface TransactionDataOrBuilderpublic TransactionData.ItemOrBuilder getItemsOrBuilder(int index)
Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
getItemsOrBuilder in interface TransactionDataOrBuilderpublic boolean hasGatewayInfo()
Information about the payment gateway's response to the transaction.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;
hasGatewayInfo in interface TransactionDataOrBuilderpublic TransactionData.GatewayInfo getGatewayInfo()
Information about the payment gateway's response to the transaction.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;
getGatewayInfo in interface TransactionDataOrBuilderpublic TransactionData.GatewayInfoOrBuilder getGatewayInfoOrBuilder()
Information about the payment gateway's response to the transaction.
.google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;
getGatewayInfoOrBuilder in interface TransactionDataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TransactionData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionData parseFrom(InputStream input) throws IOException
IOExceptionpublic static TransactionData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransactionData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TransactionData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransactionData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TransactionData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TransactionData.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TransactionData.Builder newBuilder()
public static TransactionData.Builder newBuilder(TransactionData prototype)
public TransactionData.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TransactionData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TransactionData getDefaultInstance()
public static com.google.protobuf.Parser<TransactionData> parser()
public com.google.protobuf.Parser<TransactionData> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TransactionData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.