public static final class Protos.Payment extends com.google.protobuf.GeneratedMessageV3 implements Protos.PaymentOrBuilder
payments.Payment| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.Payment.Builder
Protobuf type
payments.Payment |
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
MEMO_FIELD_NUMBER |
static int |
MERCHANT_DATA_FIELD_NUMBER |
static com.google.protobuf.Parser<Protos.Payment> |
PARSER
Deprecated.
|
static int |
REFUND_TO_FIELD_NUMBER |
static int |
TRANSACTIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Payment |
getDefaultInstance() |
Protos.Payment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getMemo()
Human-readable message for the merchant
|
com.google.protobuf.ByteString |
getMemoBytes()
Human-readable message for the merchant
|
com.google.protobuf.ByteString |
getMerchantData()
From PaymentDetails.merchant_data
|
com.google.protobuf.Parser<Protos.Payment> |
getParserForType() |
Protos.Output |
getRefundTo(int index)
Where to send refunds, if a refund is necessary
|
int |
getRefundToCount()
Where to send refunds, if a refund is necessary
|
java.util.List<Protos.Output> |
getRefundToList()
Where to send refunds, if a refund is necessary
|
Protos.OutputOrBuilder |
getRefundToOrBuilder(int index)
Where to send refunds, if a refund is necessary
|
java.util.List<? extends Protos.OutputOrBuilder> |
getRefundToOrBuilderList()
Where to send refunds, if a refund is necessary
|
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getTransactions(int index)
Signed transactions that satisfy PaymentDetails.outputs
|
int |
getTransactionsCount()
Signed transactions that satisfy PaymentDetails.outputs
|
java.util.List<com.google.protobuf.ByteString> |
getTransactionsList()
Signed transactions that satisfy PaymentDetails.outputs
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMemo()
Human-readable message for the merchant
|
boolean |
hasMerchantData()
From PaymentDetails.merchant_data
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Payment.Builder |
newBuilder() |
static Protos.Payment.Builder |
newBuilder(Protos.Payment prototype) |
Protos.Payment.Builder |
newBuilderForType() |
protected Protos.Payment.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Protos.Payment |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Payment |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Payment |
parseFrom(byte[] data) |
static Protos.Payment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Payment |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Payment |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Payment |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Payment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Payment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Payment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Payment |
parseFrom(java.io.InputStream input) |
static Protos.Payment |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Protos.Payment> |
parser() |
Protos.Payment.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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 MERCHANT_DATA_FIELD_NUMBER
public static final int TRANSACTIONS_FIELD_NUMBER
public static final int REFUND_TO_FIELD_NUMBER
public static final int MEMO_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Protos.Payment> PARSER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public 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 hasMerchantData()
From PaymentDetails.merchant_data
optional bytes merchant_data = 1;hasMerchantData in interface Protos.PaymentOrBuilderpublic com.google.protobuf.ByteString getMerchantData()
From PaymentDetails.merchant_data
optional bytes merchant_data = 1;getMerchantData in interface Protos.PaymentOrBuilderpublic java.util.List<com.google.protobuf.ByteString> getTransactionsList()
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;getTransactionsList in interface Protos.PaymentOrBuilderpublic int getTransactionsCount()
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;getTransactionsCount in interface Protos.PaymentOrBuilderpublic com.google.protobuf.ByteString getTransactions(int index)
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;getTransactions in interface Protos.PaymentOrBuilderpublic java.util.List<Protos.Output> getRefundToList()
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;getRefundToList in interface Protos.PaymentOrBuilderpublic java.util.List<? extends Protos.OutputOrBuilder> getRefundToOrBuilderList()
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;getRefundToOrBuilderList in interface Protos.PaymentOrBuilderpublic int getRefundToCount()
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;getRefundToCount in interface Protos.PaymentOrBuilderpublic Protos.Output getRefundTo(int index)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;getRefundTo in interface Protos.PaymentOrBuilderpublic Protos.OutputOrBuilder getRefundToOrBuilder(int index)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;getRefundToOrBuilder in interface Protos.PaymentOrBuilderpublic boolean hasMemo()
Human-readable message for the merchant
optional string memo = 4;hasMemo in interface Protos.PaymentOrBuilderpublic java.lang.String getMemo()
Human-readable message for the merchant
optional string memo = 4;getMemo in interface Protos.PaymentOrBuilderpublic com.google.protobuf.ByteString getMemoBytes()
Human-readable message for the merchant
optional string memo = 4;getMemoBytes in interface Protos.PaymentOrBuilderpublic 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.Payment parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Payment parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Payment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Payment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Payment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Payment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Payment parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Payment parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Payment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Payment parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Payment parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Payment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.Payment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Protos.Payment.Builder newBuilder()
public static Protos.Payment.Builder newBuilder(Protos.Payment prototype)
public Protos.Payment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Protos.Payment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Protos.Payment getDefaultInstance()
public static com.google.protobuf.Parser<Protos.Payment> parser()
public com.google.protobuf.Parser<Protos.Payment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Protos.Payment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder