Package org.bitcoin.protocols.payments
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 merchantcom.google.protobuf.ByteString
getMemoBytes()
Human-readable message for the merchantcom.google.protobuf.ByteString
getMerchantData()
From PaymentDetails.merchant_dataProtos.Output
getRefundTo(int index)
Where to send refunds, if a refund is necessaryint
getRefundToCount()
Where to send refunds, if a refund is necessaryjava.util.List<Protos.Output>
getRefundToList()
Where to send refunds, if a refund is necessarycom.google.protobuf.ByteString
getTransactions(int index)
Signed transactions that satisfy PaymentDetails.outputsint
getTransactionsCount()
Signed transactions that satisfy PaymentDetails.outputsjava.util.List<com.google.protobuf.ByteString>
getTransactionsList()
Signed transactions that satisfy PaymentDetails.outputsboolean
hasMemo()
Human-readable message for the merchantboolean
hasMerchantData()
From PaymentDetails.merchant_data
-
-
-
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.
-
-