org.bitcoin.protocols.payments
Class Protos.PaymentDetails

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by org.bitcoin.protocols.payments.Protos.PaymentDetails
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Protos.PaymentDetailsOrBuilder
Enclosing class:
Protos

public static final class Protos.PaymentDetails
extends com.google.protobuf.GeneratedMessage
implements Protos.PaymentDetailsOrBuilder

Protobuf type payments.PaymentDetails

See Also:
Serialized Form

Nested Class Summary
static class Protos.PaymentDetails.Builder
          Protobuf type payments.PaymentDetails
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
Field Summary
static int EXPIRES_FIELD_NUMBER
           
static int MEMO_FIELD_NUMBER
           
static int MERCHANT_DATA_FIELD_NUMBER
           
static int NETWORK_FIELD_NUMBER
           
static int OUTPUTS_FIELD_NUMBER
           
static com.google.protobuf.Parser<Protos.PaymentDetails> PARSER
           
static int PAYMENT_URL_FIELD_NUMBER
           
static int TIME_FIELD_NUMBER
           
 
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders
 
Method Summary
static Protos.PaymentDetails getDefaultInstance()
           
 Protos.PaymentDetails getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 long getExpires()
          optional uint64 expires = 4;
 String getMemo()
          optional string memo = 5;
 com.google.protobuf.ByteString getMemoBytes()
          optional string memo = 5;
 com.google.protobuf.ByteString getMerchantData()
          optional bytes merchant_data = 7;
 String getNetwork()
          optional string network = 1 [default = "main"];
 com.google.protobuf.ByteString getNetworkBytes()
          optional string network = 1 [default = "main"];
 Protos.Output getOutputs(int index)
          repeated .payments.Output outputs = 2;
 int getOutputsCount()
          repeated .payments.Output outputs = 2;
 List<Protos.Output> getOutputsList()
          repeated .payments.Output outputs = 2;
 Protos.OutputOrBuilder getOutputsOrBuilder(int index)
          repeated .payments.Output outputs = 2;
 List<? extends Protos.OutputOrBuilder> getOutputsOrBuilderList()
          repeated .payments.Output outputs = 2;
 com.google.protobuf.Parser<Protos.PaymentDetails> getParserForType()
           
 String getPaymentUrl()
          optional string payment_url = 6;
 com.google.protobuf.ByteString getPaymentUrlBytes()
          optional string payment_url = 6;
 int getSerializedSize()
           
 long getTime()
          required uint64 time = 3;
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 boolean hasExpires()
          optional uint64 expires = 4;
 boolean hasMemo()
          optional string memo = 5;
 boolean hasMerchantData()
          optional bytes merchant_data = 7;
 boolean hasNetwork()
          optional string network = 1 [default = "main"];
 boolean hasPaymentUrl()
          optional string payment_url = 6;
 boolean hasTime()
          required uint64 time = 3;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static Protos.PaymentDetails.Builder newBuilder()
           
static Protos.PaymentDetails.Builder newBuilder(Protos.PaymentDetails prototype)
           
 Protos.PaymentDetails.Builder newBuilderForType()
           
protected  Protos.PaymentDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static Protos.PaymentDetails parseDelimitedFrom(InputStream input)
           
static Protos.PaymentDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Protos.PaymentDetails parseFrom(byte[] data)
           
static Protos.PaymentDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Protos.PaymentDetails parseFrom(com.google.protobuf.ByteString data)
           
static Protos.PaymentDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Protos.PaymentDetails parseFrom(com.google.protobuf.CodedInputStream input)
           
static Protos.PaymentDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static Protos.PaymentDetails parseFrom(InputStream input)
           
static Protos.PaymentDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 Protos.PaymentDetails.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessage
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

PARSER

public static com.google.protobuf.Parser<Protos.PaymentDetails> PARSER

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
See Also:
Constant Field Values

OUTPUTS_FIELD_NUMBER

public static final int OUTPUTS_FIELD_NUMBER
See Also:
Constant Field Values

TIME_FIELD_NUMBER

public static final int TIME_FIELD_NUMBER
See Also:
Constant Field Values

EXPIRES_FIELD_NUMBER

public static final int EXPIRES_FIELD_NUMBER
See Also:
Constant Field Values

MEMO_FIELD_NUMBER

public static final int MEMO_FIELD_NUMBER
See Also:
Constant Field Values

PAYMENT_URL_FIELD_NUMBER

public static final int PAYMENT_URL_FIELD_NUMBER
See Also:
Constant Field Values

MERCHANT_DATA_FIELD_NUMBER

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

getDefaultInstance

public static Protos.PaymentDetails getDefaultInstance()

getDefaultInstanceForType

public Protos.PaymentDetails getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

getUnknownFields

public final com.google.protobuf.UnknownFieldSet getUnknownFields()
Specified by:
getUnknownFields in interface com.google.protobuf.MessageOrBuilder
Overrides:
getUnknownFields in class com.google.protobuf.GeneratedMessage

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage

getParserForType

public com.google.protobuf.Parser<Protos.PaymentDetails> getParserForType()
Specified by:
getParserForType in interface com.google.protobuf.Message
Specified by:
getParserForType in interface com.google.protobuf.MessageLite
Overrides:
getParserForType in class com.google.protobuf.GeneratedMessage

hasNetwork

public boolean hasNetwork()
optional string network = 1 [default = "main"];
 "main" or "test"
 

Specified by:
hasNetwork in interface Protos.PaymentDetailsOrBuilder

getNetwork

public String getNetwork()
optional string network = 1 [default = "main"];
 "main" or "test"
 

Specified by:
getNetwork in interface Protos.PaymentDetailsOrBuilder

getNetworkBytes

public com.google.protobuf.ByteString getNetworkBytes()
optional string network = 1 [default = "main"];
 "main" or "test"
 

Specified by:
getNetworkBytes in interface Protos.PaymentDetailsOrBuilder

getOutputsList

public List<Protos.Output> getOutputsList()
repeated .payments.Output outputs = 2;
 Where payment should be sent
 

Specified by:
getOutputsList in interface Protos.PaymentDetailsOrBuilder

getOutputsOrBuilderList

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

Specified by:
getOutputsOrBuilderList in interface Protos.PaymentDetailsOrBuilder

getOutputsCount

public int getOutputsCount()
repeated .payments.Output outputs = 2;
 Where payment should be sent
 

Specified by:
getOutputsCount in interface Protos.PaymentDetailsOrBuilder

getOutputs

public Protos.Output getOutputs(int index)
repeated .payments.Output outputs = 2;
 Where payment should be sent
 

Specified by:
getOutputs in interface Protos.PaymentDetailsOrBuilder

getOutputsOrBuilder

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

Specified by:
getOutputsOrBuilder in interface Protos.PaymentDetailsOrBuilder

hasTime

public boolean hasTime()
required uint64 time = 3;
 Timestamp; when payment request created
 

Specified by:
hasTime in interface Protos.PaymentDetailsOrBuilder

getTime

public long getTime()
required uint64 time = 3;
 Timestamp; when payment request created
 

Specified by:
getTime in interface Protos.PaymentDetailsOrBuilder

hasExpires

public boolean hasExpires()
optional uint64 expires = 4;
 Timestamp; when this request should be considered invalid
 

Specified by:
hasExpires in interface Protos.PaymentDetailsOrBuilder

getExpires

public long getExpires()
optional uint64 expires = 4;
 Timestamp; when this request should be considered invalid
 

Specified by:
getExpires in interface Protos.PaymentDetailsOrBuilder

hasMemo

public boolean hasMemo()
optional string memo = 5;
 Human-readable description of request for the customer
 

Specified by:
hasMemo in interface Protos.PaymentDetailsOrBuilder

getMemo

public String getMemo()
optional string memo = 5;
 Human-readable description of request for the customer
 

Specified by:
getMemo in interface Protos.PaymentDetailsOrBuilder

getMemoBytes

public com.google.protobuf.ByteString getMemoBytes()
optional string memo = 5;
 Human-readable description of request for the customer
 

Specified by:
getMemoBytes in interface Protos.PaymentDetailsOrBuilder

hasPaymentUrl

public boolean hasPaymentUrl()
optional string payment_url = 6;
 URL to send Payment and get PaymentACK
 

Specified by:
hasPaymentUrl in interface Protos.PaymentDetailsOrBuilder

getPaymentUrl

public String getPaymentUrl()
optional string payment_url = 6;
 URL to send Payment and get PaymentACK
 

Specified by:
getPaymentUrl in interface Protos.PaymentDetailsOrBuilder

getPaymentUrlBytes

public com.google.protobuf.ByteString getPaymentUrlBytes()
optional string payment_url = 6;
 URL to send Payment and get PaymentACK
 

Specified by:
getPaymentUrlBytes in interface Protos.PaymentDetailsOrBuilder

hasMerchantData

public boolean hasMerchantData()
optional bytes merchant_data = 7;
 Arbitrary data to include in the Payment message
 

Specified by:
hasMerchantData in interface Protos.PaymentDetailsOrBuilder

getMerchantData

public com.google.protobuf.ByteString getMerchantData()
optional bytes merchant_data = 7;
 Arbitrary data to include in the Payment message
 

Specified by:
getMerchantData in interface Protos.PaymentDetailsOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.AbstractMessage
Throws:
IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
Overrides:
writeReplace in class com.google.protobuf.GeneratedMessage
Throws:
ObjectStreamException

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(InputStream input)
                                       throws IOException
Throws:
IOException

parseFrom

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

parseDelimitedFrom

public static Protos.PaymentDetails parseDelimitedFrom(InputStream input)
                                                throws IOException
Throws:
IOException

parseDelimitedFrom

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

parseFrom

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

parseFrom

public static Protos.PaymentDetails parseFrom(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
Throws:
IOException

newBuilder

public static Protos.PaymentDetails.Builder newBuilder()

newBuilderForType

public Protos.PaymentDetails.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static Protos.PaymentDetails.Builder newBuilder(Protos.PaymentDetails prototype)

toBuilder

public Protos.PaymentDetails.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite

newBuilderForType

protected Protos.PaymentDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
Specified by:
newBuilderForType in class com.google.protobuf.GeneratedMessage


Copyright © 2014. All rights reserved.