public static final class Protos.Payment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder> implements Protos.PaymentOrBuilder
payments.Payment
Modifier and Type | Method and Description |
---|---|
Protos.Payment.Builder |
addAllRefundTo(java.lang.Iterable<? extends Protos.Output> values)
Where to send refunds, if a refund is necessary
|
Protos.Payment.Builder |
addAllTransactions(java.lang.Iterable<? extends com.google.protobuf.ByteString> values)
Signed transactions that satisfy PaymentDetails.outputs
|
Protos.Payment.Builder |
addRefundTo(int index,
Protos.Output.Builder builderForValue)
Where to send refunds, if a refund is necessary
|
Protos.Payment.Builder |
addRefundTo(int index,
Protos.Output value)
Where to send refunds, if a refund is necessary
|
Protos.Payment.Builder |
addRefundTo(Protos.Output.Builder builderForValue)
Where to send refunds, if a refund is necessary
|
Protos.Payment.Builder |
addRefundTo(Protos.Output value)
Where to send refunds, if a refund is necessary
|
Protos.Output.Builder |
addRefundToBuilder()
Where to send refunds, if a refund is necessary
|
Protos.Output.Builder |
addRefundToBuilder(int index)
Where to send refunds, if a refund is necessary
|
Protos.Payment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Payment.Builder |
addTransactions(com.google.protobuf.ByteString value)
Signed transactions that satisfy PaymentDetails.outputs
|
Protos.Payment |
build() |
Protos.Payment |
buildPartial() |
Protos.Payment.Builder |
clear() |
Protos.Payment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Payment.Builder |
clearMemo()
Human-readable message for the merchant
|
Protos.Payment.Builder |
clearMerchantData()
From PaymentDetails.merchant_data
|
Protos.Payment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Payment.Builder |
clearRefundTo()
Where to send refunds, if a refund is necessary
|
Protos.Payment.Builder |
clearTransactions()
Signed transactions that satisfy PaymentDetails.outputs
|
Protos.Payment.Builder |
clone() |
Protos.Payment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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
|
Protos.Output.Builder |
getRefundToBuilder(int index)
Where to send refunds, if a refund is necessary
|
java.util.List<Protos.Output.Builder> |
getRefundToBuilderList()
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
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Payment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Payment.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Payment.Builder |
mergeFrom(Protos.Payment other) |
Protos.Payment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Payment.Builder |
removeRefundTo(int index)
Where to send refunds, if a refund is necessary
|
Protos.Payment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Payment.Builder |
setMemo(java.lang.String value)
Human-readable message for the merchant
|
Protos.Payment.Builder |
setMemoBytes(com.google.protobuf.ByteString value)
Human-readable message for the merchant
|
Protos.Payment.Builder |
setMerchantData(com.google.protobuf.ByteString value)
From PaymentDetails.merchant_data
|
Protos.Payment.Builder |
setRefundTo(int index,
Protos.Output.Builder builderForValue)
Where to send refunds, if a refund is necessary
|
Protos.Payment.Builder |
setRefundTo(int index,
Protos.Output value)
Where to send refunds, if a refund is necessary
|
Protos.Payment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Payment.Builder |
setTransactions(int index,
com.google.protobuf.ByteString value)
Signed transactions that satisfy PaymentDetails.outputs
|
Protos.Payment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder>
public Protos.Payment.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder>
public Protos.Payment getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.Payment build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.Payment buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.Payment.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder>
public Protos.Payment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder>
public Protos.Payment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder>
public Protos.Payment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder>
public Protos.Payment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder>
public Protos.Payment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder>
public Protos.Payment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.Payment.Builder>
public Protos.Payment.Builder mergeFrom(Protos.Payment other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder>
public Protos.Payment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.Payment.Builder>
java.io.IOException
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 Protos.Payment.Builder setMerchantData(com.google.protobuf.ByteString value)
From PaymentDetails.merchant_data
optional bytes merchant_data = 1;
public Protos.Payment.Builder clearMerchantData()
From PaymentDetails.merchant_data
optional bytes merchant_data = 1;
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 Protos.Payment.Builder setTransactions(int index, com.google.protobuf.ByteString value)
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;
public Protos.Payment.Builder addTransactions(com.google.protobuf.ByteString value)
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;
public Protos.Payment.Builder addAllTransactions(java.lang.Iterable<? extends com.google.protobuf.ByteString> values)
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;
public Protos.Payment.Builder clearTransactions()
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;
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 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.Payment.Builder setRefundTo(int index, Protos.Output value)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
public Protos.Payment.Builder setRefundTo(int index, Protos.Output.Builder builderForValue)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
public Protos.Payment.Builder addRefundTo(Protos.Output value)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
public Protos.Payment.Builder addRefundTo(int index, Protos.Output value)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
public Protos.Payment.Builder addRefundTo(Protos.Output.Builder builderForValue)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
public Protos.Payment.Builder addRefundTo(int index, Protos.Output.Builder builderForValue)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
public Protos.Payment.Builder addAllRefundTo(java.lang.Iterable<? extends Protos.Output> values)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
public Protos.Payment.Builder clearRefundTo()
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
public Protos.Payment.Builder removeRefundTo(int index)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
public Protos.Output.Builder getRefundToBuilder(int index)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
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 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 Protos.Output.Builder addRefundToBuilder()
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
public Protos.Output.Builder addRefundToBuilder(int index)
Where to send refunds, if a refund is necessary
repeated .payments.Output refund_to = 3;
public java.util.List<Protos.Output.Builder> getRefundToBuilderList()
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.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 Protos.Payment.Builder setMemo(java.lang.String value)
Human-readable message for the merchant
optional string memo = 4;
public Protos.Payment.Builder clearMemo()
Human-readable message for the merchant
optional string memo = 4;
public Protos.Payment.Builder setMemoBytes(com.google.protobuf.ByteString value)
Human-readable message for the merchant
optional string memo = 4;
public final Protos.Payment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder>
public final Protos.Payment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protos.Payment.Builder>