Package org.bitcoin.protocols.payments
Interface Protos.PaymentDetailsOrBuilder
- 
- All Superinterfaces:
 com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
 Protos.PaymentDetails,Protos.PaymentDetails.Builder
- Enclosing class:
 - Protos
 
public static interface Protos.PaymentDetailsOrBuilder extends com.google.protobuf.MessageLiteOrBuilder 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetExpires()Timestamp; when this request should be considered invalidjava.lang.StringgetMemo()Human-readable description of request for the customercom.google.protobuf.ByteStringgetMemoBytes()Human-readable description of request for the customercom.google.protobuf.ByteStringgetMerchantData()Arbitrary data to include in the Payment messagejava.lang.StringgetNetwork()"main" or "test"com.google.protobuf.ByteStringgetNetworkBytes()"main" or "test"Protos.OutputgetOutputs(int index)Where payment should be sentintgetOutputsCount()Where payment should be sentjava.util.List<Protos.Output>getOutputsList()Where payment should be sentjava.lang.StringgetPaymentUrl()URL to send Payment and get PaymentACKcom.google.protobuf.ByteStringgetPaymentUrlBytes()URL to send Payment and get PaymentACKlonggetTime()Timestamp; when payment request createdbooleanhasExpires()Timestamp; when this request should be considered invalidbooleanhasMemo()Human-readable description of request for the customerbooleanhasMerchantData()Arbitrary data to include in the Payment messagebooleanhasNetwork()"main" or "test"booleanhasPaymentUrl()URL to send Payment and get PaymentACKbooleanhasTime()Timestamp; when payment request created 
 - 
 
- 
- 
Method Detail
- 
hasNetwork
boolean hasNetwork()
"main" or "test"
optional string network = 1 [default = "main"];- Returns:
 - Whether the network field is set.
 
 
- 
getNetwork
java.lang.String getNetwork()
"main" or "test"
optional string network = 1 [default = "main"];- Returns:
 - The network.
 
 
- 
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()
"main" or "test"
optional string network = 1 [default = "main"];- Returns:
 - The bytes for network.
 
 
- 
getOutputsList
java.util.List<Protos.Output> getOutputsList()
Where payment should be sent
repeated .payments.Output outputs = 2; 
- 
getOutputs
Protos.Output getOutputs(int index)
Where payment should be sent
repeated .payments.Output outputs = 2; 
- 
getOutputsCount
int getOutputsCount()
Where payment should be sent
repeated .payments.Output outputs = 2; 
- 
hasTime
boolean hasTime()
Timestamp; when payment request created
required uint64 time = 3;- Returns:
 - Whether the time field is set.
 
 
- 
getTime
long getTime()
Timestamp; when payment request created
required uint64 time = 3;- Returns:
 - The time.
 
 
- 
hasExpires
boolean hasExpires()
Timestamp; when this request should be considered invalid
optional uint64 expires = 4;- Returns:
 - Whether the expires field is set.
 
 
- 
getExpires
long getExpires()
Timestamp; when this request should be considered invalid
optional uint64 expires = 4;- Returns:
 - The expires.
 
 
- 
hasMemo
boolean hasMemo()
Human-readable description of request for the customer
optional string memo = 5;- Returns:
 - Whether the memo field is set.
 
 
- 
getMemo
java.lang.String getMemo()
Human-readable description of request for the customer
optional string memo = 5;- Returns:
 - The memo.
 
 
- 
getMemoBytes
com.google.protobuf.ByteString getMemoBytes()
Human-readable description of request for the customer
optional string memo = 5;- Returns:
 - The bytes for memo.
 
 
- 
hasPaymentUrl
boolean hasPaymentUrl()
URL to send Payment and get PaymentACK
optional string payment_url = 6;- Returns:
 - Whether the paymentUrl field is set.
 
 
- 
getPaymentUrl
java.lang.String getPaymentUrl()
URL to send Payment and get PaymentACK
optional string payment_url = 6;- Returns:
 - The paymentUrl.
 
 
- 
getPaymentUrlBytes
com.google.protobuf.ByteString getPaymentUrlBytes()
URL to send Payment and get PaymentACK
optional string payment_url = 6;- Returns:
 - The bytes for paymentUrl.
 
 
- 
hasMerchantData
boolean hasMerchantData()
Arbitrary data to include in the Payment message
optional bytes merchant_data = 7;- Returns:
 - Whether the merchantData field is set.
 
 
- 
getMerchantData
com.google.protobuf.ByteString getMerchantData()
Arbitrary data to include in the Payment message
optional bytes merchant_data = 7;- Returns:
 - The merchantData.
 
 
 - 
 
 -