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
Modifier and TypeMethodDescriptiongetMemo()Human-readable message for the merchantcom.google.protobuf.ByteStringHuman-readable message for the merchantcom.google.protobuf.ByteStringFrom PaymentDetails.merchant_datagetRefundTo(int index) Where to send refunds, if a refund is necessaryintWhere to send refunds, if a refund is necessaryWhere to send refunds, if a refund is necessarycom.google.protobuf.ByteStringgetTransactions(int index) Signed transactions that satisfy PaymentDetails.outputsintSigned transactions that satisfy PaymentDetails.outputsList<com.google.protobuf.ByteString>Signed transactions that satisfy PaymentDetails.outputsbooleanhasMemo()Human-readable message for the merchantbooleanFrom PaymentDetails.merchant_dataMethods 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
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.
 
 
 -