public static final class Protos.PaymentRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.PaymentRequest,Protos.PaymentRequest.Builder> implements Protos.PaymentRequestOrBuilder
payments.PaymentRequest
Modifier and Type | Method and Description |
---|---|
Protos.PaymentRequest.Builder |
clearPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1]; |
Protos.PaymentRequest.Builder |
clearPkiData()
depends on pki_type
|
Protos.PaymentRequest.Builder |
clearPkiType()
none / x509+sha256 / x509+sha1
|
Protos.PaymentRequest.Builder |
clearSerializedPaymentDetails()
PaymentDetails
|
Protos.PaymentRequest.Builder |
clearSignature()
pki-dependent signature
|
int |
getPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1]; |
com.google.protobuf.ByteString |
getPkiData()
depends on pki_type
|
java.lang.String |
getPkiType()
none / x509+sha256 / x509+sha1
|
com.google.protobuf.ByteString |
getPkiTypeBytes()
none / x509+sha256 / x509+sha1
|
com.google.protobuf.ByteString |
getSerializedPaymentDetails()
PaymentDetails
|
com.google.protobuf.ByteString |
getSignature()
pki-dependent signature
|
boolean |
hasPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1]; |
boolean |
hasPkiData()
depends on pki_type
|
boolean |
hasPkiType()
none / x509+sha256 / x509+sha1
|
boolean |
hasSerializedPaymentDetails()
PaymentDetails
|
boolean |
hasSignature()
pki-dependent signature
|
Protos.PaymentRequest.Builder |
setPaymentDetailsVersion(int value)
optional uint32 payment_details_version = 1 [default = 1]; |
Protos.PaymentRequest.Builder |
setPkiData(com.google.protobuf.ByteString value)
depends on pki_type
|
Protos.PaymentRequest.Builder |
setPkiType(java.lang.String value)
none / x509+sha256 / x509+sha1
|
Protos.PaymentRequest.Builder |
setPkiTypeBytes(com.google.protobuf.ByteString value)
none / x509+sha256 / x509+sha1
|
Protos.PaymentRequest.Builder |
setSerializedPaymentDetails(com.google.protobuf.ByteString value)
PaymentDetails
|
Protos.PaymentRequest.Builder |
setSignature(com.google.protobuf.ByteString value)
pki-dependent signature
|
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
public boolean hasPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1];
hasPaymentDetailsVersion
in interface Protos.PaymentRequestOrBuilder
public int getPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1];
getPaymentDetailsVersion
in interface Protos.PaymentRequestOrBuilder
public Protos.PaymentRequest.Builder setPaymentDetailsVersion(int value)
optional uint32 payment_details_version = 1 [default = 1];
value
- The paymentDetailsVersion to set.public Protos.PaymentRequest.Builder clearPaymentDetailsVersion()
optional uint32 payment_details_version = 1 [default = 1];
public boolean hasPkiType()
none / x509+sha256 / x509+sha1
optional string pki_type = 2 [default = "none"];
hasPkiType
in interface Protos.PaymentRequestOrBuilder
public java.lang.String getPkiType()
none / x509+sha256 / x509+sha1
optional string pki_type = 2 [default = "none"];
getPkiType
in interface Protos.PaymentRequestOrBuilder
public com.google.protobuf.ByteString getPkiTypeBytes()
none / x509+sha256 / x509+sha1
optional string pki_type = 2 [default = "none"];
getPkiTypeBytes
in interface Protos.PaymentRequestOrBuilder
public Protos.PaymentRequest.Builder setPkiType(java.lang.String value)
none / x509+sha256 / x509+sha1
optional string pki_type = 2 [default = "none"];
value
- The pkiType to set.public Protos.PaymentRequest.Builder clearPkiType()
none / x509+sha256 / x509+sha1
optional string pki_type = 2 [default = "none"];
public Protos.PaymentRequest.Builder setPkiTypeBytes(com.google.protobuf.ByteString value)
none / x509+sha256 / x509+sha1
optional string pki_type = 2 [default = "none"];
value
- The bytes for pkiType to set.public boolean hasPkiData()
depends on pki_type
optional bytes pki_data = 3;
hasPkiData
in interface Protos.PaymentRequestOrBuilder
public com.google.protobuf.ByteString getPkiData()
depends on pki_type
optional bytes pki_data = 3;
getPkiData
in interface Protos.PaymentRequestOrBuilder
public Protos.PaymentRequest.Builder setPkiData(com.google.protobuf.ByteString value)
depends on pki_type
optional bytes pki_data = 3;
value
- The pkiData to set.public Protos.PaymentRequest.Builder clearPkiData()
depends on pki_type
optional bytes pki_data = 3;
public boolean hasSerializedPaymentDetails()
PaymentDetails
required bytes serialized_payment_details = 4;
hasSerializedPaymentDetails
in interface Protos.PaymentRequestOrBuilder
public com.google.protobuf.ByteString getSerializedPaymentDetails()
PaymentDetails
required bytes serialized_payment_details = 4;
getSerializedPaymentDetails
in interface Protos.PaymentRequestOrBuilder
public Protos.PaymentRequest.Builder setSerializedPaymentDetails(com.google.protobuf.ByteString value)
PaymentDetails
required bytes serialized_payment_details = 4;
value
- The serializedPaymentDetails to set.public Protos.PaymentRequest.Builder clearSerializedPaymentDetails()
PaymentDetails
required bytes serialized_payment_details = 4;
public boolean hasSignature()
pki-dependent signature
optional bytes signature = 5;
hasSignature
in interface Protos.PaymentRequestOrBuilder
public com.google.protobuf.ByteString getSignature()
pki-dependent signature
optional bytes signature = 5;
getSignature
in interface Protos.PaymentRequestOrBuilder
public Protos.PaymentRequest.Builder setSignature(com.google.protobuf.ByteString value)
pki-dependent signature
optional bytes signature = 5;
value
- The signature to set.public Protos.PaymentRequest.Builder clearSignature()
pki-dependent signature
optional bytes signature = 5;