Package org.bitcoin.protocols.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
Modifier and TypeMethodDescriptionintoptional uint32 payment_details_version = 1 [default = 1];com.google.protobuf.ByteStringdepends on pki_typenone / x509+sha256 / x509+sha1com.google.protobuf.ByteStringnone / x509+sha256 / x509+sha1com.google.protobuf.ByteStringPaymentDetailscom.google.protobuf.ByteStringpki-dependent signaturebooleanoptional uint32 payment_details_version = 1 [default = 1];booleandepends on pki_typebooleannone / x509+sha256 / x509+sha1booleanPaymentDetailsbooleanpki-dependent signatureMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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
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.
-