Class Protos.PaymentDetails

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Protos.PaymentDetails.Builder
      Protobuf type payments.PaymentDetails
      • 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
    • Method Detail

      • hasNetwork

        public boolean hasNetwork()
         "main" or "test"
         
        optional string network = 1 [default = "main"];
        Specified by:
        hasNetwork in interface Protos.PaymentDetailsOrBuilder
        Returns:
        Whether the network field is set.
      • getNetwork

        public java.lang.String getNetwork()
         "main" or "test"
         
        optional string network = 1 [default = "main"];
        Specified by:
        getNetwork in interface Protos.PaymentDetailsOrBuilder
        Returns:
        The network.
      • getNetworkBytes

        public com.google.protobuf.ByteString getNetworkBytes()
         "main" or "test"
         
        optional string network = 1 [default = "main"];
        Specified by:
        getNetworkBytes in interface Protos.PaymentDetailsOrBuilder
        Returns:
        The bytes for network.
      • getOutputsOrBuilderList

        public java.util.List<? extends Protos.OutputOrBuilder> getOutputsOrBuilderList()
         Where payment should be sent
         
        repeated .payments.Output outputs = 2;
      • getOutputsOrBuilder

        public Protos.OutputOrBuilder getOutputsOrBuilder​(int index)
         Where payment should be sent
         
        repeated .payments.Output outputs = 2;
      • hasTime

        public boolean hasTime()
         Timestamp; when payment request created
         
        required uint64 time = 3;
        Specified by:
        hasTime in interface Protos.PaymentDetailsOrBuilder
        Returns:
        Whether the time field is set.
      • getTime

        public long getTime()
         Timestamp; when payment request created
         
        required uint64 time = 3;
        Specified by:
        getTime in interface Protos.PaymentDetailsOrBuilder
        Returns:
        The time.
      • hasExpires

        public boolean hasExpires()
         Timestamp; when this request should be considered invalid
         
        optional uint64 expires = 4;
        Specified by:
        hasExpires in interface Protos.PaymentDetailsOrBuilder
        Returns:
        Whether the expires field is set.
      • getExpires

        public long getExpires()
         Timestamp; when this request should be considered invalid
         
        optional uint64 expires = 4;
        Specified by:
        getExpires in interface Protos.PaymentDetailsOrBuilder
        Returns:
        The expires.
      • hasMemo

        public boolean hasMemo()
         Human-readable description of request for the customer
         
        optional string memo = 5;
        Specified by:
        hasMemo in interface Protos.PaymentDetailsOrBuilder
        Returns:
        Whether the memo field is set.
      • getMemo

        public java.lang.String getMemo()
         Human-readable description of request for the customer
         
        optional string memo = 5;
        Specified by:
        getMemo in interface Protos.PaymentDetailsOrBuilder
        Returns:
        The memo.
      • getMemoBytes

        public com.google.protobuf.ByteString getMemoBytes()
         Human-readable description of request for the customer
         
        optional string memo = 5;
        Specified by:
        getMemoBytes in interface Protos.PaymentDetailsOrBuilder
        Returns:
        The bytes for memo.
      • hasPaymentUrl

        public boolean hasPaymentUrl()
         URL to send Payment and get PaymentACK
         
        optional string payment_url = 6;
        Specified by:
        hasPaymentUrl in interface Protos.PaymentDetailsOrBuilder
        Returns:
        Whether the paymentUrl field is set.
      • getPaymentUrl

        public java.lang.String getPaymentUrl()
         URL to send Payment and get PaymentACK
         
        optional string payment_url = 6;
        Specified by:
        getPaymentUrl in interface Protos.PaymentDetailsOrBuilder
        Returns:
        The paymentUrl.
      • getPaymentUrlBytes

        public com.google.protobuf.ByteString getPaymentUrlBytes()
         URL to send Payment and get PaymentACK
         
        optional string payment_url = 6;
        Specified by:
        getPaymentUrlBytes in interface Protos.PaymentDetailsOrBuilder
        Returns:
        The bytes for paymentUrl.
      • hasMerchantData

        public boolean hasMerchantData()
         Arbitrary data to include in the Payment message
         
        optional bytes merchant_data = 7;
        Specified by:
        hasMerchantData in interface Protos.PaymentDetailsOrBuilder
        Returns:
        Whether the merchantData field is set.
      • getMerchantData

        public com.google.protobuf.ByteString getMerchantData()
         Arbitrary data to include in the Payment message
         
        optional bytes merchant_data = 7;
        Specified by:
        getMerchantData in interface Protos.PaymentDetailsOrBuilder
        Returns:
        The merchantData.
      • parseFrom

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

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

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

        public static Protos.PaymentDetails 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.PaymentDetails parseFrom​(byte[] data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

        public static Protos.PaymentDetails 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.PaymentDetails,​Protos.PaymentDetails.Builder>