Package org.bitcoinj.protobuf.payments
Interface Protos.PaymentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Protos.PaymentRequest
,Protos.PaymentRequest.Builder
- Enclosing class:
- Protos
public static interface Protos.PaymentRequestOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1];
com.google.protobuf.ByteString
getPkiData()
depends on pki_typejava.lang.String
getPkiType()
none / x509+sha256 / x509+sha1com.google.protobuf.ByteString
getPkiTypeBytes()
none / x509+sha256 / x509+sha1com.google.protobuf.ByteString
getSerializedPaymentDetails()
PaymentDetailscom.google.protobuf.ByteString
getSignature()
pki-dependent signatureboolean
hasPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1];
boolean
hasPkiData()
depends on pki_typeboolean
hasPkiType()
none / x509+sha256 / x509+sha1boolean
hasSerializedPaymentDetails()
PaymentDetailsboolean
hasSignature()
pki-dependent signature
-
-
-
Method Detail
-
hasPaymentDetailsVersion
boolean hasPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1];
- Returns:
- Whether the paymentDetailsVersion field is set.
-
getPaymentDetailsVersion
int getPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1];
- Returns:
- The paymentDetailsVersion.
-
hasPkiType
boolean hasPkiType()
none / x509+sha256 / x509+sha1
optional string pki_type = 2 [default = "none"];
- Returns:
- Whether the pkiType field is set.
-
getPkiType
java.lang.String getPkiType()
none / x509+sha256 / x509+sha1
optional string pki_type = 2 [default = "none"];
- Returns:
- The pkiType.
-
getPkiTypeBytes
com.google.protobuf.ByteString getPkiTypeBytes()
none / x509+sha256 / x509+sha1
optional string pki_type = 2 [default = "none"];
- Returns:
- The bytes for pkiType.
-
hasPkiData
boolean hasPkiData()
depends on pki_type
optional bytes pki_data = 3;
- Returns:
- Whether the pkiData field is set.
-
getPkiData
com.google.protobuf.ByteString getPkiData()
depends on pki_type
optional bytes pki_data = 3;
- Returns:
- The pkiData.
-
hasSerializedPaymentDetails
boolean hasSerializedPaymentDetails()
PaymentDetails
required bytes serialized_payment_details = 4;
- Returns:
- Whether the serializedPaymentDetails field is set.
-
getSerializedPaymentDetails
com.google.protobuf.ByteString getSerializedPaymentDetails()
PaymentDetails
required bytes serialized_payment_details = 4;
- Returns:
- The serializedPaymentDetails.
-
hasSignature
boolean hasSignature()
pki-dependent signature
optional bytes signature = 5;
- Returns:
- Whether the signature field is set.
-
getSignature
com.google.protobuf.ByteString getSignature()
pki-dependent signature
optional bytes signature = 5;
- Returns:
- The signature.
-
-