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

    Modifier and Type
    Method
    Description
    Human-readable message for the merchant
    com.google.protobuf.ByteString
    Human-readable message for the merchant
    com.google.protobuf.ByteString
    From PaymentDetails.merchant_data
    getRefundTo(int index)
    Where to send refunds, if a refund is necessary
    int
    Where to send refunds, if a refund is necessary
    Where to send refunds, if a refund is necessary
    com.google.protobuf.ByteString
    getTransactions(int index)
    Signed transactions that satisfy PaymentDetails.outputs
    int
    Signed transactions that satisfy PaymentDetails.outputs
    List<com.google.protobuf.ByteString>
    Signed transactions that satisfy PaymentDetails.outputs
    boolean
    Human-readable message for the merchant
    boolean
    From PaymentDetails.merchant_data

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • 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

      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

      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

      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.