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, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<Protos.PaymentDetails> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasNetwork()
optional string network = 1 [default = "main"];
"main" or "test"
hasNetwork in interface Protos.PaymentDetailsOrBuilderpublic String getNetwork()
optional string network = 1 [default = "main"];
"main" or "test"
getNetwork in interface Protos.PaymentDetailsOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
optional string network = 1 [default = "main"];
"main" or "test"
getNetworkBytes in interface Protos.PaymentDetailsOrBuilderpublic List<Protos.Output> getOutputsList()
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsList in interface Protos.PaymentDetailsOrBuilderpublic List<? extends Protos.OutputOrBuilder> getOutputsOrBuilderList()
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsOrBuilderList in interface Protos.PaymentDetailsOrBuilderpublic int getOutputsCount()
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsCount in interface Protos.PaymentDetailsOrBuilderpublic Protos.Output getOutputs(int index)
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputs in interface Protos.PaymentDetailsOrBuilderpublic Protos.OutputOrBuilder getOutputsOrBuilder(int index)
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsOrBuilder in interface Protos.PaymentDetailsOrBuilderpublic boolean hasTime()
required uint64 time = 3;
Timestamp; when payment request created
hasTime in interface Protos.PaymentDetailsOrBuilderpublic long getTime()
required uint64 time = 3;
Timestamp; when payment request created
getTime in interface Protos.PaymentDetailsOrBuilderpublic boolean hasExpires()
optional uint64 expires = 4;
Timestamp; when this request should be considered invalid
hasExpires in interface Protos.PaymentDetailsOrBuilderpublic long getExpires()
optional uint64 expires = 4;
Timestamp; when this request should be considered invalid
getExpires in interface Protos.PaymentDetailsOrBuilderpublic boolean hasMemo()
optional string memo = 5;
Human-readable description of request for the customer
hasMemo in interface Protos.PaymentDetailsOrBuilderpublic String getMemo()
optional string memo = 5;
Human-readable description of request for the customer
getMemo in interface Protos.PaymentDetailsOrBuilderpublic com.google.protobuf.ByteString getMemoBytes()
optional string memo = 5;
Human-readable description of request for the customer
getMemoBytes in interface Protos.PaymentDetailsOrBuilderpublic boolean hasPaymentUrl()
optional string payment_url = 6;
URL to send Payment and get PaymentACK
hasPaymentUrl in interface Protos.PaymentDetailsOrBuilderpublic String getPaymentUrl()
optional string payment_url = 6;
URL to send Payment and get PaymentACK
getPaymentUrl in interface Protos.PaymentDetailsOrBuilderpublic com.google.protobuf.ByteString getPaymentUrlBytes()
optional string payment_url = 6;
URL to send Payment and get PaymentACK
getPaymentUrlBytes in interface Protos.PaymentDetailsOrBuilderpublic boolean hasMerchantData()
optional bytes merchant_data = 7;
Arbitrary data to include in the Payment message
hasMerchantData in interface Protos.PaymentDetailsOrBuilderpublic com.google.protobuf.ByteString getMerchantData()
optional bytes merchant_data = 7;
Arbitrary data to include in the Payment message
getMerchantData in interface Protos.PaymentDetailsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static Protos.PaymentDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.PaymentDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.PaymentDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.PaymentDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.PaymentDetails parseFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.PaymentDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.PaymentDetails parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.PaymentDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.PaymentDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Protos.PaymentDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.PaymentDetails.Builder newBuilder()
public Protos.PaymentDetails.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Protos.PaymentDetails.Builder newBuilder(Protos.PaymentDetails prototype)
public Protos.PaymentDetails.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Protos.PaymentDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2015. All rights reserved.