Class TransactionData.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TransactionDataOrBuilder, Cloneable
    Enclosing class:
    TransactionData

    public static final class TransactionData.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>
    implements TransactionDataOrBuilder
     Transaction data associated with a payment protected by reCAPTCHA Enterprise.
     All fields are optional.
     
    Protobuf type google.cloud.recaptchaenterprise.v1beta1.TransactionData
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>
      • clear

        public TransactionData.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>
      • getDefaultInstanceForType

        public TransactionData getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public TransactionData build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public TransactionData buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public TransactionData.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>
      • setField

        public TransactionData.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>
      • clearField

        public TransactionData.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>
      • clearOneof

        public TransactionData.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>
      • setRepeatedField

        public TransactionData.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        int index,
                                                        Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>
      • addRepeatedField

        public TransactionData.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>
      • mergeFrom

        public TransactionData.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransactionData.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>
      • mergeFrom

        public TransactionData.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransactionData.Builder>
        Throws:
        IOException
      • 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;
        Specified by:
        hasTransactionId in interface TransactionDataOrBuilder
        Returns:
        Whether the transactionId field is set.
      • 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;
        Specified by:
        getTransactionId in interface TransactionDataOrBuilder
        Returns:
        The transactionId.
      • getTransactionIdBytes

        public 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;
        Specified by:
        getTransactionIdBytes in interface TransactionDataOrBuilder
        Returns:
        The bytes for transactionId.
      • setTransactionId

        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;
        Parameters:
        value - The transactionId to set.
        Returns:
        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:
        This builder for chaining.
      • setTransactionIdBytes

        public TransactionData.Builder setTransactionIdBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for transactionId to set.
        Returns:
        This builder for chaining.
      • getPaymentMethod

        public 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;
        Specified by:
        getPaymentMethod in interface TransactionDataOrBuilder
        Returns:
        The paymentMethod.
      • getPaymentMethodBytes

        public 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;
        Specified by:
        getPaymentMethodBytes in interface TransactionDataOrBuilder
        Returns:
        The bytes for paymentMethod.
      • setPaymentMethod

        public TransactionData.Builder setPaymentMethod​(String value)
         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;
        Parameters:
        value - The paymentMethod to set.
        Returns:
        This builder for chaining.
      • clearPaymentMethod

        public TransactionData.Builder clearPaymentMethod()
         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:
        This builder for chaining.
      • setPaymentMethodBytes

        public TransactionData.Builder setPaymentMethodBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for paymentMethod to set.
        Returns:
        This builder for chaining.
      • getCardBin

        public String getCardBin()
         The Bank Identification Number - generally the first 6 or 8 digits of the
         card.
         
        string card_bin = 2;
        Specified by:
        getCardBin in interface TransactionDataOrBuilder
        Returns:
        The cardBin.
      • getCardBinBytes

        public com.google.protobuf.ByteString getCardBinBytes()
         The Bank Identification Number - generally the first 6 or 8 digits of the
         card.
         
        string card_bin = 2;
        Specified by:
        getCardBinBytes in interface TransactionDataOrBuilder
        Returns:
        The bytes for cardBin.
      • setCardBin

        public TransactionData.Builder setCardBin​(String value)
         The Bank Identification Number - generally the first 6 or 8 digits of the
         card.
         
        string card_bin = 2;
        Parameters:
        value - The cardBin to set.
        Returns:
        This builder for chaining.
      • clearCardBin

        public TransactionData.Builder clearCardBin()
         The Bank Identification Number - generally the first 6 or 8 digits of the
         card.
         
        string card_bin = 2;
        Returns:
        This builder for chaining.
      • setCardBinBytes

        public TransactionData.Builder setCardBinBytes​(com.google.protobuf.ByteString value)
         The Bank Identification Number - generally the first 6 or 8 digits of the
         card.
         
        string card_bin = 2;
        Parameters:
        value - The bytes for cardBin to set.
        Returns:
        This builder for chaining.
      • getCardLastFourBytes

        public com.google.protobuf.ByteString getCardLastFourBytes()
         The last four digits of the card.
         
        string card_last_four = 3;
        Specified by:
        getCardLastFourBytes in interface TransactionDataOrBuilder
        Returns:
        The bytes for cardLastFour.
      • setCardLastFour

        public TransactionData.Builder setCardLastFour​(String value)
         The last four digits of the card.
         
        string card_last_four = 3;
        Parameters:
        value - The cardLastFour to set.
        Returns:
        This builder for chaining.
      • clearCardLastFour

        public TransactionData.Builder clearCardLastFour()
         The last four digits of the card.
         
        string card_last_four = 3;
        Returns:
        This builder for chaining.
      • setCardLastFourBytes

        public TransactionData.Builder setCardLastFourBytes​(com.google.protobuf.ByteString value)
         The last four digits of the card.
         
        string card_last_four = 3;
        Parameters:
        value - The bytes for cardLastFour to set.
        Returns:
        This builder for chaining.
      • getCurrencyCodeBytes

        public com.google.protobuf.ByteString getCurrencyCodeBytes()
         The currency code in ISO-4217 format.
         
        string currency_code = 4;
        Specified by:
        getCurrencyCodeBytes in interface TransactionDataOrBuilder
        Returns:
        The bytes for currencyCode.
      • setCurrencyCode

        public TransactionData.Builder setCurrencyCode​(String value)
         The currency code in ISO-4217 format.
         
        string currency_code = 4;
        Parameters:
        value - The currencyCode to set.
        Returns:
        This builder for chaining.
      • clearCurrencyCode

        public TransactionData.Builder clearCurrencyCode()
         The currency code in ISO-4217 format.
         
        string currency_code = 4;
        Returns:
        This builder for chaining.
      • setCurrencyCodeBytes

        public TransactionData.Builder setCurrencyCodeBytes​(com.google.protobuf.ByteString value)
         The currency code in ISO-4217 format.
         
        string currency_code = 4;
        Parameters:
        value - The bytes for currencyCode to set.
        Returns:
        This builder for chaining.
      • getValue

        public double getValue()
         The decimal value of the transaction in the specified currency.
         
        double value = 5;
        Specified by:
        getValue in interface TransactionDataOrBuilder
        Returns:
        The value.
      • setValue

        public TransactionData.Builder setValue​(double value)
         The decimal value of the transaction in the specified currency.
         
        double value = 5;
        Parameters:
        value - The value to set.
        Returns:
        This builder for chaining.
      • clearValue

        public TransactionData.Builder clearValue()
         The decimal value of the transaction in the specified currency.
         
        double value = 5;
        Returns:
        This builder for chaining.
      • getShippingValue

        public double getShippingValue()
         The value of shipping in the specified currency. 0 for free or no shipping.
         
        double shipping_value = 12;
        Specified by:
        getShippingValue in interface TransactionDataOrBuilder
        Returns:
        The shippingValue.
      • setShippingValue

        public TransactionData.Builder setShippingValue​(double value)
         The value of shipping in the specified currency. 0 for free or no shipping.
         
        double shipping_value = 12;
        Parameters:
        value - The shippingValue to set.
        Returns:
        This builder for chaining.
      • clearShippingValue

        public TransactionData.Builder clearShippingValue()
         The value of shipping in the specified currency. 0 for free or no shipping.
         
        double shipping_value = 12;
        Returns:
        This builder for chaining.
      • hasShippingAddress

        public boolean hasShippingAddress()
         Destination address if this transaction involves shipping a physical item.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;
        Specified by:
        hasShippingAddress in interface TransactionDataOrBuilder
        Returns:
        Whether the shippingAddress field is set.
      • getShippingAddress

        public TransactionData.Address getShippingAddress()
         Destination address if this transaction involves shipping a physical item.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;
        Specified by:
        getShippingAddress in interface TransactionDataOrBuilder
        Returns:
        The shippingAddress.
      • setShippingAddress

        public TransactionData.Builder setShippingAddress​(TransactionData.Address value)
         Destination address if this transaction involves shipping a physical item.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;
      • setShippingAddress

        public TransactionData.Builder setShippingAddress​(TransactionData.Address.Builder builderForValue)
         Destination address if this transaction involves shipping a physical item.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;
      • mergeShippingAddress

        public TransactionData.Builder mergeShippingAddress​(TransactionData.Address value)
         Destination address if this transaction involves shipping a physical item.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;
      • clearShippingAddress

        public TransactionData.Builder clearShippingAddress()
         Destination address if this transaction involves shipping a physical item.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;
      • getShippingAddressBuilder

        public TransactionData.Address.Builder getShippingAddressBuilder()
         Destination address if this transaction involves shipping a physical item.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;
      • hasBillingAddress

        public boolean hasBillingAddress()
         Address associated with the payment method when applicable.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;
        Specified by:
        hasBillingAddress in interface TransactionDataOrBuilder
        Returns:
        Whether the billingAddress field is set.
      • getBillingAddress

        public TransactionData.Address getBillingAddress()
         Address associated with the payment method when applicable.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;
        Specified by:
        getBillingAddress in interface TransactionDataOrBuilder
        Returns:
        The billingAddress.
      • setBillingAddress

        public TransactionData.Builder setBillingAddress​(TransactionData.Address value)
         Address associated with the payment method when applicable.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;
      • setBillingAddress

        public TransactionData.Builder setBillingAddress​(TransactionData.Address.Builder builderForValue)
         Address associated with the payment method when applicable.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;
      • mergeBillingAddress

        public TransactionData.Builder mergeBillingAddress​(TransactionData.Address value)
         Address associated with the payment method when applicable.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;
      • clearBillingAddress

        public TransactionData.Builder clearBillingAddress()
         Address associated with the payment method when applicable.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;
      • getBillingAddressBuilder

        public TransactionData.Address.Builder getBillingAddressBuilder()
         Address associated with the payment method when applicable.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;
      • hasUser

        public boolean hasUser()
         Information about the user paying/initiating the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;
        Specified by:
        hasUser in interface TransactionDataOrBuilder
        Returns:
        Whether the user field is set.
      • getUser

        public TransactionData.User getUser()
         Information about the user paying/initiating the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;
        Specified by:
        getUser in interface TransactionDataOrBuilder
        Returns:
        The user.
      • setUser

        public TransactionData.Builder setUser​(TransactionData.User value)
         Information about the user paying/initiating the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;
      • mergeUser

        public TransactionData.Builder mergeUser​(TransactionData.User value)
         Information about the user paying/initiating the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;
      • clearUser

        public TransactionData.Builder clearUser()
         Information about the user paying/initiating the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;
      • getUserBuilder

        public TransactionData.User.Builder getUserBuilder()
         Information about the user paying/initiating the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;
      • getMerchantsCount

        public int getMerchantsCount()
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
        Specified by:
        getMerchantsCount in interface TransactionDataOrBuilder
      • getMerchants

        public TransactionData.User getMerchants​(int index)
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
        Specified by:
        getMerchants in interface TransactionDataOrBuilder
      • setMerchants

        public TransactionData.Builder setMerchants​(int index,
                                                    TransactionData.User value)
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • setMerchants

        public TransactionData.Builder setMerchants​(int index,
                                                    TransactionData.User.Builder builderForValue)
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • addMerchants

        public TransactionData.Builder addMerchants​(TransactionData.User value)
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • addMerchants

        public TransactionData.Builder addMerchants​(int index,
                                                    TransactionData.User value)
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • addMerchants

        public TransactionData.Builder addMerchants​(TransactionData.User.Builder builderForValue)
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • addMerchants

        public TransactionData.Builder addMerchants​(int index,
                                                    TransactionData.User.Builder builderForValue)
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • addAllMerchants

        public TransactionData.Builder addAllMerchants​(Iterable<? extends TransactionData.User> values)
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • clearMerchants

        public TransactionData.Builder clearMerchants()
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • removeMerchants

        public TransactionData.Builder removeMerchants​(int index)
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • getMerchantsBuilder

        public TransactionData.User.Builder getMerchantsBuilder​(int index)
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • addMerchantsBuilder

        public TransactionData.User.Builder addMerchantsBuilder()
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • addMerchantsBuilder

        public TransactionData.User.Builder addMerchantsBuilder​(int index)
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • getMerchantsBuilderList

        public List<TransactionData.User.Builder> getMerchantsBuilderList()
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • getItemsCount

        public int getItemsCount()
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
        Specified by:
        getItemsCount in interface TransactionDataOrBuilder
      • setItems

        public TransactionData.Builder setItems​(int index,
                                                TransactionData.Item value)
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • addItems

        public TransactionData.Builder addItems​(int index,
                                                TransactionData.Item value)
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • clearItems

        public TransactionData.Builder clearItems()
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • removeItems

        public TransactionData.Builder removeItems​(int index)
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • getItemsBuilder

        public TransactionData.Item.Builder getItemsBuilder​(int index)
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • addItemsBuilder

        public TransactionData.Item.Builder addItemsBuilder()
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • addItemsBuilder

        public TransactionData.Item.Builder addItemsBuilder​(int index)
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • getItemsBuilderList

        public List<TransactionData.Item.Builder> getItemsBuilderList()
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • hasGatewayInfo

        public boolean hasGatewayInfo()
         Information about the payment gateway's response to the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;
        Specified by:
        hasGatewayInfo in interface TransactionDataOrBuilder
        Returns:
        Whether the gatewayInfo field is set.
      • setGatewayInfo

        public TransactionData.Builder setGatewayInfo​(TransactionData.GatewayInfo value)
         Information about the payment gateway's response to the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;
      • mergeGatewayInfo

        public TransactionData.Builder mergeGatewayInfo​(TransactionData.GatewayInfo value)
         Information about the payment gateway's response to the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;
      • clearGatewayInfo

        public TransactionData.Builder clearGatewayInfo()
         Information about the payment gateway's response to the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;
      • getGatewayInfoBuilder

        public TransactionData.GatewayInfo.Builder getGatewayInfoBuilder()
         Information about the payment gateway's response to the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;
      • setUnknownFields

        public final TransactionData.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>
      • mergeUnknownFields

        public final TransactionData.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Builder>