public static final class Protos.PaymentDetails extends com.google.protobuf.GeneratedMessage implements Protos.PaymentDetailsOrBuilder
payments.PaymentDetails
Modifier and Type | Class and Description |
---|---|
static class |
Protos.PaymentDetails.Builder
Protobuf type
payments.PaymentDetails |
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>
Modifier and Type | Field and Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
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) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<Protos.PaymentDetails> PARSER
public static final int NETWORK_FIELD_NUMBER
public static final int OUTPUTS_FIELD_NUMBER
public static final int TIME_FIELD_NUMBER
public static final int EXPIRES_FIELD_NUMBER
public static final int MEMO_FIELD_NUMBER
public static final int PAYMENT_URL_FIELD_NUMBER
public static final int MERCHANT_DATA_FIELD_NUMBER
public static Protos.PaymentDetails getDefaultInstance()
public Protos.PaymentDetails getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<Protos.PaymentDetails> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasNetwork()
optional string network = 1 [default = "main"];
"main" or "test"
hasNetwork
in interface Protos.PaymentDetailsOrBuilder
public String getNetwork()
optional string network = 1 [default = "main"];
"main" or "test"
getNetwork
in interface Protos.PaymentDetailsOrBuilder
public com.google.protobuf.ByteString getNetworkBytes()
optional string network = 1 [default = "main"];
"main" or "test"
getNetworkBytes
in interface Protos.PaymentDetailsOrBuilder
public List<Protos.Output> getOutputsList()
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsList
in interface Protos.PaymentDetailsOrBuilder
public List<? extends Protos.OutputOrBuilder> getOutputsOrBuilderList()
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsOrBuilderList
in interface Protos.PaymentDetailsOrBuilder
public int getOutputsCount()
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsCount
in interface Protos.PaymentDetailsOrBuilder
public Protos.Output getOutputs(int index)
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputs
in interface Protos.PaymentDetailsOrBuilder
public Protos.OutputOrBuilder getOutputsOrBuilder(int index)
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsOrBuilder
in interface Protos.PaymentDetailsOrBuilder
public boolean hasTime()
required uint64 time = 3;
Timestamp; when payment request created
hasTime
in interface Protos.PaymentDetailsOrBuilder
public long getTime()
required uint64 time = 3;
Timestamp; when payment request created
getTime
in interface Protos.PaymentDetailsOrBuilder
public boolean hasExpires()
optional uint64 expires = 4;
Timestamp; when this request should be considered invalid
hasExpires
in interface Protos.PaymentDetailsOrBuilder
public long getExpires()
optional uint64 expires = 4;
Timestamp; when this request should be considered invalid
getExpires
in interface Protos.PaymentDetailsOrBuilder
public boolean hasMemo()
optional string memo = 5;
Human-readable description of request for the customer
hasMemo
in interface Protos.PaymentDetailsOrBuilder
public String getMemo()
optional string memo = 5;
Human-readable description of request for the customer
getMemo
in interface Protos.PaymentDetailsOrBuilder
public com.google.protobuf.ByteString getMemoBytes()
optional string memo = 5;
Human-readable description of request for the customer
getMemoBytes
in interface Protos.PaymentDetailsOrBuilder
public boolean hasPaymentUrl()
optional string payment_url = 6;
URL to send Payment and get PaymentACK
hasPaymentUrl
in interface Protos.PaymentDetailsOrBuilder
public String getPaymentUrl()
optional string payment_url = 6;
URL to send Payment and get PaymentACK
getPaymentUrl
in interface Protos.PaymentDetailsOrBuilder
public com.google.protobuf.ByteString getPaymentUrlBytes()
optional string payment_url = 6;
URL to send Payment and get PaymentACK
getPaymentUrlBytes
in interface Protos.PaymentDetailsOrBuilder
public boolean hasMerchantData()
optional bytes merchant_data = 7;
Arbitrary data to include in the Payment message
hasMerchantData
in interface Protos.PaymentDetailsOrBuilder
public com.google.protobuf.ByteString getMerchantData()
optional bytes merchant_data = 7;
Arbitrary data to include in the Payment message
getMerchantData
in interface Protos.PaymentDetailsOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static Protos.PaymentDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.PaymentDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.PaymentDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.PaymentDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.PaymentDetails parseFrom(InputStream input) throws IOException
IOException
public static Protos.PaymentDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.PaymentDetails parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Protos.PaymentDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.PaymentDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Protos.PaymentDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.PaymentDetails.Builder newBuilder()
public Protos.PaymentDetails.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Protos.PaymentDetails.Builder newBuilder(Protos.PaymentDetails prototype)
public Protos.PaymentDetails.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Protos.PaymentDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2014. All rights reserved.