public static final class Protos.Payment extends com.google.protobuf.GeneratedMessageLite<Protos.Payment,Protos.Payment.Builder> implements Protos.PaymentOrBuilder
payments.Payment| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.Payment.Builder
Protobuf type
payments.Payment |
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 |
MEMO_FIELD_NUMBER |
static int |
MERCHANT_DATA_FIELD_NUMBER |
static int |
REFUND_TO_FIELD_NUMBER |
static int |
TRANSACTIONS_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.Payment |
getDefaultInstance() |
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
|
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
|
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
|
boolean |
hasMemo()
Human-readable message for the merchant
|
boolean |
hasMerchantData()
From PaymentDetails.merchant_data
|
static Protos.Payment.Builder |
newBuilder() |
static Protos.Payment.Builder |
newBuilder(Protos.Payment prototype) |
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() |
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 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
public 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.PaymentOrBuilderindex - The index of the element to return.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.PaymentOrBuilderpublic java.util.List<? extends Protos.OutputOrBuilder> getRefundToOrBuilderList()
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;public 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;public 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 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 static Protos.Payment.Builder newBuilder()
public static Protos.Payment.Builder newBuilder(Protos.Payment 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.Payment,Protos.Payment.Builder>public static Protos.Payment getDefaultInstance()
public static com.google.protobuf.Parser<Protos.Payment> parser()