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
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) |
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, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasMerchantData()
From PaymentDetails.merchant_data
optional bytes merchant_data = 1;
hasMerchantData
in interface Protos.PaymentOrBuilder
public com.google.protobuf.ByteString getMerchantData()
From PaymentDetails.merchant_data
optional bytes merchant_data = 1;
getMerchantData
in interface Protos.PaymentOrBuilder
public java.util.List<com.google.protobuf.ByteString> getTransactionsList()
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;
getTransactionsList
in interface Protos.PaymentOrBuilder
public int getTransactionsCount()
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;
getTransactionsCount
in interface Protos.PaymentOrBuilder
public com.google.protobuf.ByteString getTransactions(int index)
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;
getTransactions
in interface Protos.PaymentOrBuilder
public 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.PaymentOrBuilder
public 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.PaymentOrBuilder
public int getRefundToCount()
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
getRefundToCount
in interface Protos.PaymentOrBuilder
public Protos.Output getRefundTo(int index)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
getRefundTo
in interface Protos.PaymentOrBuilder
public Protos.OutputOrBuilder getRefundToOrBuilder(int index)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
getRefundToOrBuilder
in interface Protos.PaymentOrBuilder
public boolean hasMemo()
Human-readable message for the merchant
optional string memo = 4;
hasMemo
in interface Protos.PaymentOrBuilder
public java.lang.String getMemo()
Human-readable message for the merchant
optional string memo = 4;
getMemo
in interface Protos.PaymentOrBuilder
public com.google.protobuf.ByteString getMemoBytes()
Human-readable message for the merchant
optional string memo = 4;
getMemoBytes
in interface Protos.PaymentOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Protos.Payment parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Payment parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Payment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Payment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Payment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Payment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Payment parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Payment parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Payment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Payment parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Payment parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Payment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Payment.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Protos.Payment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Protos.Payment getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder