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
Modifier and TypeMethodDescriptionlong
Timestamp; when this request should be considered invalidgetMemo()
Human-readable description of request for the customercom.google.protobuf.ByteString
Human-readable description of request for the customercom.google.protobuf.ByteString
Arbitrary data to include in the Payment message"main" or "test"com.google.protobuf.ByteString
"main" or "test"getOutputs
(int index) Where payment should be sentint
Where payment should be sentWhere payment should be sentURL to send Payment and get PaymentACKcom.google.protobuf.ByteString
URL to send Payment and get PaymentACKlong
getTime()
Timestamp; when payment request createdboolean
Timestamp; when this request should be considered invalidboolean
hasMemo()
Human-readable description of request for the customerboolean
Arbitrary data to include in the Payment messageboolean
"main" or "test"boolean
URL to send Payment and get PaymentACKboolean
hasTime()
Timestamp; when payment request createdMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasNetwork
boolean hasNetwork()"main" or "test"
optional string network = 1 [default = "main"];
- Returns:
- Whether the network field is set.
-
getNetwork
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
List<Protos.Output> getOutputsList()Where payment should be sent
repeated .payments.Output outputs = 2;
-
getOutputs
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
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
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.
-