public static final class Protos.PaymentDetails extends com.google.protobuf.GeneratedMessageV3 implements Protos.PaymentDetailsOrBuilder
payments.PaymentDetails| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.PaymentDetails.Builder
Protobuf type
payments.PaymentDetails |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 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
Deprecated.
|
static int |
PAYMENT_URL_FIELD_NUMBER |
static int |
TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.PaymentDetails |
getDefaultInstance() |
Protos.PaymentDetails |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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
|
com.google.protobuf.Parser<Protos.PaymentDetails> |
getParserForType() |
java.lang.String |
getPaymentUrl()
URL to send Payment and get PaymentACK
|
com.google.protobuf.ByteString |
getPaymentUrlBytes()
URL to send Payment and get PaymentACK
|
int |
getSerializedSize() |
long |
getTime()
Timestamp; when payment request created
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasExpires()
Timestamp; when this request should be considered invalid
|
int |
hashCode() |
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
|
protected com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.BuilderParent parent) |
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() |
Protos.PaymentDetails.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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
@Deprecated public static final com.google.protobuf.Parser<Protos.PaymentDetails> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;getOutputsOrBuilderList in interface Protos.PaymentDetailsOrBuilderpublic 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;getOutputsOrBuilder in interface Protos.PaymentDetailsOrBuilderpublic 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic 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 Protos.PaymentDetails.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Protos.PaymentDetails.Builder newBuilder()
public 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.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Protos.PaymentDetails getDefaultInstance()
public static com.google.protobuf.Parser<Protos.PaymentDetails> parser()
public 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.GeneratedMessageV3public Protos.PaymentDetails getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder