Interface TransactionDataOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    TransactionData, TransactionData.Builder

    public interface TransactionDataOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasTransactionId

        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:
        Whether the transactionId field is set.
      • getTransactionId

        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:
        The transactionId.
      • getTransactionIdBytes

        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;
        Returns:
        The bytes for transactionId.
      • getPaymentMethod

        String getPaymentMethod()
         The payment method for the transaction. The allowed values are:
        
         * credit-card
         * debit-card
         * gift-card
         * processor-{name} (If a third-party is used, for example,
         processor-paypal)
         * custom-{name} (If an alternative method is used, for example,
         custom-crypto)
         
        string payment_method = 1;
        Returns:
        The paymentMethod.
      • getPaymentMethodBytes

        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;
        Returns:
        The bytes for paymentMethod.
      • getCardBin

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

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

        String getCardLastFour()
         The last four digits of the card.
         
        string card_last_four = 3;
        Returns:
        The cardLastFour.
      • getCardLastFourBytes

        com.google.protobuf.ByteString getCardLastFourBytes()
         The last four digits of the card.
         
        string card_last_four = 3;
        Returns:
        The bytes for cardLastFour.
      • getCurrencyCode

        String getCurrencyCode()
         The currency code in ISO-4217 format.
         
        string currency_code = 4;
        Returns:
        The currencyCode.
      • getCurrencyCodeBytes

        com.google.protobuf.ByteString getCurrencyCodeBytes()
         The currency code in ISO-4217 format.
         
        string currency_code = 4;
        Returns:
        The bytes for currencyCode.
      • getValue

        double getValue()
         The decimal value of the transaction in the specified currency.
         
        double value = 5;
        Returns:
        The value.
      • getShippingValue

        double getShippingValue()
         The value of shipping in the specified currency. 0 for free or no shipping.
         
        double shipping_value = 12;
        Returns:
        The shippingValue.
      • hasShippingAddress

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

        TransactionData.Address getShippingAddress()
         Destination address if this transaction involves shipping a physical item.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address shipping_address = 6;
        Returns:
        The shippingAddress.
      • getShippingAddressOrBuilder

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

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

        TransactionData.Address getBillingAddress()
         Address associated with the payment method when applicable.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address billing_address = 7;
        Returns:
        The billingAddress.
      • getBillingAddressOrBuilder

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

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

        TransactionData.User getUser()
         Information about the user paying/initiating the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;
        Returns:
        The user.
      • getUserOrBuilder

        TransactionData.UserOrBuilder getUserOrBuilder()
         Information about the user paying/initiating the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User user = 8;
      • getMerchantsList

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

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

        int getMerchantsCount()
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • getMerchantsOrBuilderList

        List<? extends TransactionData.UserOrBuilder> getMerchantsOrBuilderList()
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • getMerchantsOrBuilder

        TransactionData.UserOrBuilder getMerchantsOrBuilder​(int index)
         Information about the user or users fulfilling the transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.User merchants = 13;
      • getItemsList

        List<TransactionData.Item> getItemsList()
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • getItems

        TransactionData.Item getItems​(int index)
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • getItemsCount

        int getItemsCount()
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • getItemsOrBuilderList

        List<? extends TransactionData.ItemOrBuilder> getItemsOrBuilderList()
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • getItemsOrBuilder

        TransactionData.ItemOrBuilder getItemsOrBuilder​(int index)
         Items purchased in this transaction.
         
        repeated .google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item items = 14;
      • hasGatewayInfo

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

        TransactionData.GatewayInfo getGatewayInfo()
         Information about the payment gateway's response to the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;
        Returns:
        The gatewayInfo.
      • getGatewayInfoOrBuilder

        TransactionData.GatewayInfoOrBuilder getGatewayInfoOrBuilder()
         Information about the payment gateway's response to the transaction.
         
        .google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo gateway_info = 10;