public static final class Protos.PaymentDetails extends com.google.protobuf.GeneratedMessageLite<Protos.PaymentDetails,Protos.PaymentDetails.Builder> implements Protos.PaymentDetailsOrBuilder
payments.PaymentDetails| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.PaymentDetails.Builder
Protobuf type
payments.PaymentDetails |
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>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm| 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 int |
PAYMENT_URL_FIELD_NUMBER |
static int |
TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0,
java.lang.Object arg1) |
static Protos.PaymentDetails |
getDefaultInstance() |
long |
getExpires()
Timestamp; when this request should be considered invalid
|
java.lang.String |
getMemo()
Human-readable description of request for the customer
|
com.google.protobuf.ByteString |
getMemoBytes()
Human-readable description of request for the customer
|
com.google.protobuf.ByteString |
getMerchantData()
Arbitrary data to include in the Payment message
|
java.lang.String |
getNetwork()
"main" or "test"
|
com.google.protobuf.ByteString |
getNetworkBytes()
"main" or "test"
|
Protos.Output |
getOutputs(int index)
Where payment should be sent
|
int |
getOutputsCount()
Where payment should be sent
|
java.util.List<Protos.Output> |
getOutputsList()
Where payment should be sent
|
Protos.OutputOrBuilder |
getOutputsOrBuilder(int index)
Where payment should be sent
|
java.util.List<? extends Protos.OutputOrBuilder> |
getOutputsOrBuilderList()
Where payment should be sent
|
java.lang.String |
getPaymentUrl()
URL to send Payment and get PaymentACK
|
com.google.protobuf.ByteString |
getPaymentUrlBytes()
URL to send Payment and get PaymentACK
|
long |
getTime()
Timestamp; when payment request created
|
boolean |
hasExpires()
Timestamp; when this request should be considered invalid
|
boolean |
hasMemo()
Human-readable description of request for the customer
|
boolean |
hasMerchantData()
Arbitrary data to include in the Payment message
|
boolean |
hasNetwork()
"main" or "test"
|
boolean |
hasPaymentUrl()
URL to send Payment and get PaymentACK
|
boolean |
hasTime()
Timestamp; when payment request created
|
static Protos.PaymentDetails.Builder |
newBuilder() |
static Protos.PaymentDetails.Builder |
newBuilder(Protos.PaymentDetails prototype) |
static Protos.PaymentDetails |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.PaymentDetails |
parseDelimitedFrom(java.io.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(java.nio.ByteBuffer data) |
static Protos.PaymentDetails |
parseFrom(java.nio.ByteBuffer 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(java.io.InputStream input) |
static Protos.PaymentDetails |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Protos.PaymentDetails> |
parser() |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic 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 boolean hasNetwork()
"main" or "test"
optional string network = 1 [default = "main"];hasNetwork in interface Protos.PaymentDetailsOrBuilderpublic java.lang.String getNetwork()
"main" or "test"
optional string network = 1 [default = "main"];getNetwork in interface Protos.PaymentDetailsOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
"main" or "test"
optional string network = 1 [default = "main"];getNetworkBytes in interface Protos.PaymentDetailsOrBuilderpublic java.util.List<Protos.Output> getOutputsList()
Where payment should be sent
repeated .payments.Output outputs = 2;getOutputsList in interface Protos.PaymentDetailsOrBuilderpublic java.util.List<? extends Protos.OutputOrBuilder> getOutputsOrBuilderList()
Where payment should be sent
repeated .payments.Output outputs = 2;public int getOutputsCount()
Where payment should be sent
repeated .payments.Output outputs = 2;getOutputsCount in interface Protos.PaymentDetailsOrBuilderpublic Protos.Output getOutputs(int index)
Where payment should be sent
repeated .payments.Output outputs = 2;getOutputs in interface Protos.PaymentDetailsOrBuilderpublic Protos.OutputOrBuilder getOutputsOrBuilder(int index)
Where payment should be sent
repeated .payments.Output outputs = 2;public boolean hasTime()
Timestamp; when payment request created
required uint64 time = 3;hasTime in interface Protos.PaymentDetailsOrBuilderpublic long getTime()
Timestamp; when payment request created
required uint64 time = 3;getTime in interface Protos.PaymentDetailsOrBuilderpublic boolean hasExpires()
Timestamp; when this request should be considered invalid
optional uint64 expires = 4;hasExpires in interface Protos.PaymentDetailsOrBuilderpublic long getExpires()
Timestamp; when this request should be considered invalid
optional uint64 expires = 4;getExpires in interface Protos.PaymentDetailsOrBuilderpublic boolean hasMemo()
Human-readable description of request for the customer
optional string memo = 5;hasMemo in interface Protos.PaymentDetailsOrBuilderpublic java.lang.String getMemo()
Human-readable description of request for the customer
optional string memo = 5;getMemo in interface Protos.PaymentDetailsOrBuilderpublic com.google.protobuf.ByteString getMemoBytes()
Human-readable description of request for the customer
optional string memo = 5;getMemoBytes in interface Protos.PaymentDetailsOrBuilderpublic boolean hasPaymentUrl()
URL to send Payment and get PaymentACK
optional string payment_url = 6;hasPaymentUrl in interface Protos.PaymentDetailsOrBuilderpublic java.lang.String getPaymentUrl()
URL to send Payment and get PaymentACK
optional string payment_url = 6;getPaymentUrl in interface Protos.PaymentDetailsOrBuilderpublic com.google.protobuf.ByteString getPaymentUrlBytes()
URL to send Payment and get PaymentACK
optional string payment_url = 6;getPaymentUrlBytes in interface Protos.PaymentDetailsOrBuilderpublic boolean hasMerchantData()
Arbitrary data to include in the Payment message
optional bytes merchant_data = 7;hasMerchantData in interface Protos.PaymentDetailsOrBuilderpublic com.google.protobuf.ByteString getMerchantData()
Arbitrary data to include in the Payment message
optional bytes merchant_data = 7;getMerchantData in interface Protos.PaymentDetailsOrBuilderpublic static Protos.PaymentDetails parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.PaymentDetails parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic 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(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.PaymentDetails parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.PaymentDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.PaymentDetails parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.PaymentDetails parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.PaymentDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.PaymentDetails.Builder newBuilder()
public static Protos.PaymentDetails.Builder newBuilder(Protos.PaymentDetails prototype)
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0,
java.lang.Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Protos.PaymentDetails,Protos.PaymentDetails.Builder>public static Protos.PaymentDetails getDefaultInstance()
public static com.google.protobuf.Parser<Protos.PaymentDetails> parser()