Interface Protos.PaymentOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder
    All Known Implementing Classes:
    Protos.Payment, Protos.Payment.Builder
    Enclosing class:
    Protos

    public static interface Protos.PaymentOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getMemo()
      Human-readable message for the merchant
      com.google.protobuf.ByteString getMemoBytes()
      Human-readable message for the merchant
      com.google.protobuf.ByteString getMerchantData()
      From PaymentDetails.merchant_data
      Protos.Output getRefundTo​(int index)
      Where to send refunds, if a refund is necessary
      int getRefundToCount()
      Where to send refunds, if a refund is necessary
      java.util.List<Protos.Output> getRefundToList()
      Where to send refunds, if a refund is necessary
      com.google.protobuf.ByteString getTransactions​(int index)
      Signed transactions that satisfy PaymentDetails.outputs
      int getTransactionsCount()
      Signed transactions that satisfy PaymentDetails.outputs
      java.util.List<com.google.protobuf.ByteString> getTransactionsList()
      Signed transactions that satisfy PaymentDetails.outputs
      boolean hasMemo()
      Human-readable message for the merchant
      boolean hasMerchantData()
      From PaymentDetails.merchant_data
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • hasMerchantData

        boolean hasMerchantData()
         From PaymentDetails.merchant_data
         
        optional bytes merchant_data = 1;
        Returns:
        Whether the merchantData field is set.
      • getMerchantData

        com.google.protobuf.ByteString getMerchantData()
         From PaymentDetails.merchant_data
         
        optional bytes merchant_data = 1;
        Returns:
        The merchantData.
      • getTransactionsList

        java.util.List<com.google.protobuf.ByteString> getTransactionsList()
         Signed transactions that satisfy PaymentDetails.outputs
         
        repeated bytes transactions = 2;
        Returns:
        A list containing the transactions.
      • getTransactionsCount

        int getTransactionsCount()
         Signed transactions that satisfy PaymentDetails.outputs
         
        repeated bytes transactions = 2;
        Returns:
        The count of transactions.
      • getTransactions

        com.google.protobuf.ByteString getTransactions​(int index)
         Signed transactions that satisfy PaymentDetails.outputs
         
        repeated bytes transactions = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The transactions at the given index.
      • getRefundToList

        java.util.List<Protos.Output> getRefundToList()
         Where to send refunds, if a refund is necessary
         
        repeated .payments.Output refund_to = 3;
      • getRefundTo

        Protos.Output getRefundTo​(int index)
         Where to send refunds, if a refund is necessary
         
        repeated .payments.Output refund_to = 3;
      • getRefundToCount

        int getRefundToCount()
         Where to send refunds, if a refund is necessary
         
        repeated .payments.Output refund_to = 3;
      • hasMemo

        boolean hasMemo()
         Human-readable message for the merchant
         
        optional string memo = 4;
        Returns:
        Whether the memo field is set.
      • getMemo

        java.lang.String getMemo()
         Human-readable message for the merchant
         
        optional string memo = 4;
        Returns:
        The memo.
      • getMemoBytes

        com.google.protobuf.ByteString getMemoBytes()
         Human-readable message for the merchant
         
        optional string memo = 4;
        Returns:
        The bytes for memo.