Class Protos.PaymentRequest

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Protos.PaymentRequest.Builder
      Protobuf type payments.PaymentRequest
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

        com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,​?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,​Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Detail

      • PAYMENT_DETAILS_VERSION_FIELD_NUMBER

        public static final int PAYMENT_DETAILS_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERIALIZED_PAYMENT_DETAILS_FIELD_NUMBER

        public static final int SERIALIZED_PAYMENT_DETAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • hasPaymentDetailsVersion

        public boolean hasPaymentDetailsVersion()
        optional uint32 payment_details_version = 1 [default = 1];
        Specified by:
        hasPaymentDetailsVersion in interface Protos.PaymentRequestOrBuilder
        Returns:
        Whether the paymentDetailsVersion field is set.
      • hasPkiType

        public boolean hasPkiType()
         none / x509+sha256 / x509+sha1
         
        optional string pki_type = 2 [default = "none"];
        Specified by:
        hasPkiType in interface Protos.PaymentRequestOrBuilder
        Returns:
        Whether the pkiType field is set.
      • getPkiType

        public java.lang.String getPkiType()
         none / x509+sha256 / x509+sha1
         
        optional string pki_type = 2 [default = "none"];
        Specified by:
        getPkiType in interface Protos.PaymentRequestOrBuilder
        Returns:
        The pkiType.
      • getPkiTypeBytes

        public com.google.protobuf.ByteString getPkiTypeBytes()
         none / x509+sha256 / x509+sha1
         
        optional string pki_type = 2 [default = "none"];
        Specified by:
        getPkiTypeBytes in interface Protos.PaymentRequestOrBuilder
        Returns:
        The bytes for pkiType.
      • hasPkiData

        public boolean hasPkiData()
         depends on pki_type
         
        optional bytes pki_data = 3;
        Specified by:
        hasPkiData in interface Protos.PaymentRequestOrBuilder
        Returns:
        Whether the pkiData field is set.
      • getPkiData

        public com.google.protobuf.ByteString getPkiData()
         depends on pki_type
         
        optional bytes pki_data = 3;
        Specified by:
        getPkiData in interface Protos.PaymentRequestOrBuilder
        Returns:
        The pkiData.
      • hasSerializedPaymentDetails

        public boolean hasSerializedPaymentDetails()
         PaymentDetails
         
        required bytes serialized_payment_details = 4;
        Specified by:
        hasSerializedPaymentDetails in interface Protos.PaymentRequestOrBuilder
        Returns:
        Whether the serializedPaymentDetails field is set.
      • getSerializedPaymentDetails

        public com.google.protobuf.ByteString getSerializedPaymentDetails()
         PaymentDetails
         
        required bytes serialized_payment_details = 4;
        Specified by:
        getSerializedPaymentDetails in interface Protos.PaymentRequestOrBuilder
        Returns:
        The serializedPaymentDetails.
      • hasSignature

        public boolean hasSignature()
         pki-dependent signature
         
        optional bytes signature = 5;
        Specified by:
        hasSignature in interface Protos.PaymentRequestOrBuilder
        Returns:
        Whether the signature field is set.
      • getSignature

        public com.google.protobuf.ByteString getSignature()
         pki-dependent signature
         
        optional bytes signature = 5;
        Specified by:
        getSignature in interface Protos.PaymentRequestOrBuilder
        Returns:
        The signature.
      • parseFrom

        public static Protos.PaymentRequest parseFrom​(java.nio.ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.PaymentRequest parseFrom​(java.nio.ByteBuffer data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.PaymentRequest parseFrom​(com.google.protobuf.ByteString data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.PaymentRequest parseFrom​(com.google.protobuf.ByteString data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.PaymentRequest parseFrom​(byte[] data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.PaymentRequest parseFrom​(byte[] data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.PaymentRequest parseFrom​(java.io.InputStream input)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.PaymentRequest parseFrom​(java.io.InputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.PaymentRequest parseDelimitedFrom​(java.io.InputStream input)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.PaymentRequest parseDelimitedFrom​(java.io.InputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.PaymentRequest parseFrom​(com.google.protobuf.CodedInputStream input)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.PaymentRequest parseFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Protos.PaymentRequest,​Protos.PaymentRequest.Builder>