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 long
getExpires()
Timestamp; when this request should be considered invalidjava.lang.String
getMemo()
Human-readable description of request for the customercom.google.protobuf.ByteString
getMemoBytes()
Human-readable description of request for the customercom.google.protobuf.ByteString
getMerchantData()
Arbitrary data to include in the Payment messagejava.lang.String
getNetwork()
"main" or "test"com.google.protobuf.ByteString
getNetworkBytes()
"main" or "test"Protos.Output
getOutputs(int index)
Where payment should be sentint
getOutputsCount()
Where payment should be sentjava.util.List<Protos.Output>
getOutputsList()
Where payment should be sentjava.lang.String
getPaymentUrl()
URL to send Payment and get PaymentACKcom.google.protobuf.ByteString
getPaymentUrlBytes()
URL to send Payment and get PaymentACKlong
getTime()
Timestamp; when payment request createdboolean
hasExpires()
Timestamp; when this request should be considered invalidboolean
hasMemo()
Human-readable description of request for the customerboolean
hasMerchantData()
Arbitrary data to include in the Payment messageboolean
hasNetwork()
"main" or "test"boolean
hasPaymentUrl()
URL to send Payment and get PaymentACKboolean
hasTime()
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.
-
-