- 3.51.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.12
- 2.6.1
- 2.5.0
- 2.4.10
- 2.3.1
public static final class TransactionData.Builder extends GeneratedMessageV3.Builder<TransactionData.Builder> implements TransactionDataOrBuilder
Transaction data associated with a payment protected by reCAPTCHA Enterprise.
Protobuf type google.cloud.recaptchaenterprise.v1.TransactionData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransactionData.BuilderImplements
TransactionDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllItems(Iterable<? extends TransactionData.Item> values)
public TransactionData.Builder addAllItems(Iterable<? extends TransactionData.Item> values)
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.recaptchaenterprise.v1.TransactionData.Item> |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
addAllMerchants(Iterable<? extends TransactionData.User> values)
public TransactionData.Builder addAllMerchants(Iterable<? extends TransactionData.User> values)
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.recaptchaenterprise.v1.TransactionData.User> |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
addItems(TransactionData.Item value)
public TransactionData.Builder addItems(TransactionData.Item value)
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TransactionData.Item |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
addItems(TransactionData.Item.Builder builderForValue)
public TransactionData.Builder addItems(TransactionData.Item.Builder builderForValue)
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
TransactionData.Item.Builder |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
addItems(int index, TransactionData.Item value)
public TransactionData.Builder addItems(int index, TransactionData.Item value)
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
TransactionData.Item |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
addItems(int index, TransactionData.Item.Builder builderForValue)
public TransactionData.Builder addItems(int index, TransactionData.Item.Builder builderForValue)
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
TransactionData.Item.Builder |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
addItemsBuilder()
public TransactionData.Item.Builder addItemsBuilder()
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.Item.Builder |
addItemsBuilder(int index)
public TransactionData.Item.Builder addItemsBuilder(int index)
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TransactionData.Item.Builder |
addMerchants(TransactionData.User value)
public TransactionData.Builder addMerchants(TransactionData.User value)
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TransactionData.User |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
addMerchants(TransactionData.User.Builder builderForValue)
public TransactionData.Builder addMerchants(TransactionData.User.Builder builderForValue)
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
TransactionData.User.Builder |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
addMerchants(int index, TransactionData.User value)
public TransactionData.Builder addMerchants(int index, TransactionData.User value)
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
TransactionData.User |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
addMerchants(int index, TransactionData.User.Builder builderForValue)
public TransactionData.Builder addMerchants(int index, TransactionData.User.Builder builderForValue)
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
TransactionData.User.Builder |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
addMerchantsBuilder()
public TransactionData.User.Builder addMerchantsBuilder()
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
addMerchantsBuilder(int index)
public TransactionData.User.Builder addMerchantsBuilder(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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransactionData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
build()
public TransactionData build()
Returns | |
---|---|
Type | Description |
TransactionData |
buildPartial()
public TransactionData buildPartial()
Returns | |
---|---|
Type | Description |
TransactionData |
clear()
public TransactionData.Builder clear()
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
clearBillingAddress()
public TransactionData.Builder clearBillingAddress()
Optional. Address associated with the payment method when applicable.
.google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
clearCardBin()
public TransactionData.Builder clearCardBin()
Optional. The Bank Identification Number - generally the first 6 or 8 digits of the card.
string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
clearCardLastFour()
public TransactionData.Builder clearCardLastFour()
Optional. The last four digits of the card.
string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
clearCurrencyCode()
public TransactionData.Builder clearCurrencyCode()
Optional. The currency code in ISO-4217 format.
string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TransactionData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
clearGatewayInfo()
public TransactionData.Builder clearGatewayInfo()
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];
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
clearItems()
public TransactionData.Builder clearItems()
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
clearMerchants()
public TransactionData.Builder clearMerchants()
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TransactionData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
clearPaymentMethod()
public TransactionData.Builder clearPaymentMethod()
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];
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
clearShippingAddress()
public TransactionData.Builder clearShippingAddress()
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];
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
clearShippingValue()
public TransactionData.Builder clearShippingValue()
Optional. The value of shipping in the specified currency. 0 for free or no shipping.
double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
clearTransactionId()
public TransactionData.Builder clearTransactionId()
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 | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
clearUser()
public TransactionData.Builder clearUser()
Optional. Information about the user paying/initiating the transaction.
.google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
clearValue()
public TransactionData.Builder clearValue()
Optional. The decimal value of the transaction in the specified currency.
double value = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
clone()
public TransactionData.Builder clone()
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
getBillingAddress()
public 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];
Returns | |
---|---|
Type | Description |
TransactionData.Address |
The billingAddress. |
getBillingAddressBuilder()
public TransactionData.Address.Builder getBillingAddressBuilder()
Optional. Address associated with the payment method when applicable.
.google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
getBillingAddressOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
TransactionData.AddressOrBuilder |
getCardBin()
public 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];
Returns | |
---|---|
Type | Description |
String |
The cardBin. |
getCardBinBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cardBin. |
getCardLastFour()
public String getCardLastFour()
Optional. The last four digits of the card.
string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The cardLastFour. |
getCardLastFourBytes()
public ByteString getCardLastFourBytes()
Optional. The last four digits of the card.
string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cardLastFour. |
getCurrencyCode()
public String getCurrencyCode()
Optional. The currency code in ISO-4217 format.
string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The currencyCode. |
getCurrencyCodeBytes()
public ByteString getCurrencyCodeBytes()
Optional. The currency code in ISO-4217 format.
string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for currencyCode. |
getDefaultInstanceForType()
public TransactionData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TransactionData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGatewayInfo()
public 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];
Returns | |
---|---|
Type | Description |
TransactionData.GatewayInfo |
The gatewayInfo. |
getGatewayInfoBuilder()
public TransactionData.GatewayInfo.Builder getGatewayInfoBuilder()
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];
Returns | |
---|---|
Type | Description |
TransactionData.GatewayInfo.Builder |
getGatewayInfoOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
TransactionData.GatewayInfoOrBuilder |
getItems(int index)
public 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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TransactionData.Item |
getItemsBuilder(int index)
public TransactionData.Item.Builder getItemsBuilder(int index)
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TransactionData.Item.Builder |
getItemsBuilderList()
public List<TransactionData.Item.Builder> getItemsBuilderList()
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getItemsCount()
public int getItemsCount()
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getItemsList()
public List<TransactionData.Item> getItemsList()
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Item> |
getItemsOrBuilder(int index)
public 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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TransactionData.ItemOrBuilder |
getItemsOrBuilderList()
public 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];
Returns | |
---|---|
Type | Description |
List<? extends com.google.recaptchaenterprise.v1.TransactionData.ItemOrBuilder> |
getMerchants(int index)
public 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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TransactionData.User |
getMerchantsBuilder(int index)
public TransactionData.User.Builder getMerchantsBuilder(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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
getMerchantsBuilderList()
public List<TransactionData.User.Builder> getMerchantsBuilderList()
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getMerchantsCount()
public 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];
Returns | |
---|---|
Type | Description |
int |
getMerchantsList()
public 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];
Returns | |
---|---|
Type | Description |
List<User> |
getMerchantsOrBuilder(int index)
public 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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TransactionData.UserOrBuilder |
getMerchantsOrBuilderList()
public 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];
Returns | |
---|---|
Type | Description |
List<? extends com.google.recaptchaenterprise.v1.TransactionData.UserOrBuilder> |
getPaymentMethod()
public 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];
Returns | |
---|---|
Type | Description |
String |
The paymentMethod. |
getPaymentMethodBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for paymentMethod. |
getShippingAddress()
public 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];
Returns | |
---|---|
Type | Description |
TransactionData.Address |
The shippingAddress. |
getShippingAddressBuilder()
public TransactionData.Address.Builder getShippingAddressBuilder()
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];
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
getShippingAddressOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
TransactionData.AddressOrBuilder |
getShippingValue()
public 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];
Returns | |
---|---|
Type | Description |
double |
The shippingValue. |
getTransactionId()
public 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 | |
---|---|
Type | Description |
String |
The transactionId. |
getTransactionIdBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for transactionId. |
getUser()
public 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];
Returns | |
---|---|
Type | Description |
TransactionData.User |
The user. |
getUserBuilder()
public TransactionData.User.Builder getUserBuilder()
Optional. Information about the user paying/initiating the transaction.
.google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TransactionData.User.Builder |
getUserOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
TransactionData.UserOrBuilder |
getValue()
public double getValue()
Optional. The decimal value of the transaction in the specified currency.
double value = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
double |
The value. |
hasBillingAddress()
public 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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the billingAddress field is set. |
hasGatewayInfo()
public 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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the gatewayInfo field is set. |
hasShippingAddress()
public 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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the shippingAddress field is set. |
hasTransactionId()
public 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 | |
---|---|
Type | Description |
boolean |
Whether the transactionId field is set. |
hasUser()
public boolean hasUser()
Optional. Information about the user paying/initiating the transaction.
.google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the user field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBillingAddress(TransactionData.Address value)
public TransactionData.Builder mergeBillingAddress(TransactionData.Address value)
Optional. Address associated with the payment method when applicable.
.google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TransactionData.Address |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransactionData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TransactionData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
mergeFrom(TransactionData other)
public TransactionData.Builder mergeFrom(TransactionData other)
Parameter | |
---|---|
Name | Description |
other |
TransactionData |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
mergeGatewayInfo(TransactionData.GatewayInfo value)
public TransactionData.Builder mergeGatewayInfo(TransactionData.GatewayInfo value)
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];
Parameter | |
---|---|
Name | Description |
value |
TransactionData.GatewayInfo |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
mergeShippingAddress(TransactionData.Address value)
public TransactionData.Builder mergeShippingAddress(TransactionData.Address value)
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];
Parameter | |
---|---|
Name | Description |
value |
TransactionData.Address |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransactionData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
mergeUser(TransactionData.User value)
public TransactionData.Builder mergeUser(TransactionData.User value)
Optional. Information about the user paying/initiating the transaction.
.google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TransactionData.User |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
removeItems(int index)
public TransactionData.Builder removeItems(int index)
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
removeMerchants(int index)
public TransactionData.Builder removeMerchants(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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setBillingAddress(TransactionData.Address value)
public TransactionData.Builder setBillingAddress(TransactionData.Address value)
Optional. Address associated with the payment method when applicable.
.google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TransactionData.Address |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setBillingAddress(TransactionData.Address.Builder builderForValue)
public TransactionData.Builder setBillingAddress(TransactionData.Address.Builder builderForValue)
Optional. Address associated with the payment method when applicable.
.google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
TransactionData.Address.Builder |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setCardBin(String value)
public TransactionData.Builder setCardBin(String value)
Optional. The Bank Identification Number - generally the first 6 or 8 digits of the card.
string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The cardBin to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
setCardBinBytes(ByteString value)
public TransactionData.Builder setCardBinBytes(ByteString value)
Optional. The Bank Identification Number - generally the first 6 or 8 digits of the card.
string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cardBin to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
setCardLastFour(String value)
public TransactionData.Builder setCardLastFour(String value)
Optional. The last four digits of the card.
string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The cardLastFour to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
setCardLastFourBytes(ByteString value)
public TransactionData.Builder setCardLastFourBytes(ByteString value)
Optional. The last four digits of the card.
string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cardLastFour to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
setCurrencyCode(String value)
public TransactionData.Builder setCurrencyCode(String value)
Optional. The currency code in ISO-4217 format.
string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The currencyCode to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
setCurrencyCodeBytes(ByteString value)
public TransactionData.Builder setCurrencyCodeBytes(ByteString value)
Optional. The currency code in ISO-4217 format.
string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for currencyCode to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TransactionData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setGatewayInfo(TransactionData.GatewayInfo value)
public TransactionData.Builder setGatewayInfo(TransactionData.GatewayInfo value)
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];
Parameter | |
---|---|
Name | Description |
value |
TransactionData.GatewayInfo |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setGatewayInfo(TransactionData.GatewayInfo.Builder builderForValue)
public TransactionData.Builder setGatewayInfo(TransactionData.GatewayInfo.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
TransactionData.GatewayInfo.Builder |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setItems(int index, TransactionData.Item value)
public TransactionData.Builder setItems(int index, TransactionData.Item value)
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
TransactionData.Item |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setItems(int index, TransactionData.Item.Builder builderForValue)
public TransactionData.Builder setItems(int index, TransactionData.Item.Builder builderForValue)
Optional. Items purchased in this transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
TransactionData.Item.Builder |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setMerchants(int index, TransactionData.User value)
public TransactionData.Builder setMerchants(int index, TransactionData.User value)
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
TransactionData.User |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setMerchants(int index, TransactionData.User.Builder builderForValue)
public TransactionData.Builder setMerchants(int index, TransactionData.User.Builder builderForValue)
Optional. Information about the user or users fulfilling the transaction.
repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
TransactionData.User.Builder |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setPaymentMethod(String value)
public TransactionData.Builder setPaymentMethod(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The paymentMethod to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
setPaymentMethodBytes(ByteString value)
public TransactionData.Builder setPaymentMethodBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for paymentMethod to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransactionData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setShippingAddress(TransactionData.Address value)
public TransactionData.Builder setShippingAddress(TransactionData.Address value)
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];
Parameter | |
---|---|
Name | Description |
value |
TransactionData.Address |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setShippingAddress(TransactionData.Address.Builder builderForValue)
public TransactionData.Builder setShippingAddress(TransactionData.Address.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
TransactionData.Address.Builder |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setShippingValue(double value)
public TransactionData.Builder setShippingValue(double value)
Optional. The value of shipping in the specified currency. 0 for free or no shipping.
double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
double The shippingValue to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
setTransactionId(String value)
public TransactionData.Builder setTransactionId(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The transactionId to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
setTransactionIdBytes(ByteString value)
public TransactionData.Builder setTransactionIdBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for transactionId to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransactionData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setUser(TransactionData.User value)
public TransactionData.Builder setUser(TransactionData.User value)
Optional. Information about the user paying/initiating the transaction.
.google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TransactionData.User |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setUser(TransactionData.User.Builder builderForValue)
public TransactionData.Builder setUser(TransactionData.User.Builder builderForValue)
Optional. Information about the user paying/initiating the transaction.
.google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
TransactionData.User.Builder |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
setValue(double value)
public TransactionData.Builder setValue(double value)
Optional. The decimal value of the transaction in the specified currency.
double value = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
double The value to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Builder |
This builder for chaining. |