public static final class Protos.Payment.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.Payment.Builder> implements Protos.PaymentOrBuilder
payments.Payment
Modifier and Type | Method and Description |
---|---|
Protos.Payment.Builder |
addAllRefundTo(Iterable<? extends Protos.Output> values)
repeated .payments.Output refund_to = 3; |
Protos.Payment.Builder |
addAllTransactions(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes transactions = 2; |
Protos.Payment.Builder |
addRefundTo(int index,
Protos.Output.Builder builderForValue)
repeated .payments.Output refund_to = 3; |
Protos.Payment.Builder |
addRefundTo(int index,
Protos.Output value)
repeated .payments.Output refund_to = 3; |
Protos.Payment.Builder |
addRefundTo(Protos.Output.Builder builderForValue)
repeated .payments.Output refund_to = 3; |
Protos.Payment.Builder |
addRefundTo(Protos.Output value)
repeated .payments.Output refund_to = 3; |
Protos.Output.Builder |
addRefundToBuilder()
repeated .payments.Output refund_to = 3; |
Protos.Output.Builder |
addRefundToBuilder(int index)
repeated .payments.Output refund_to = 3; |
Protos.Payment.Builder |
addTransactions(com.google.protobuf.ByteString value)
repeated bytes transactions = 2; |
Protos.Payment |
build() |
Protos.Payment |
buildPartial() |
Protos.Payment.Builder |
clear() |
Protos.Payment.Builder |
clearMemo()
optional string memo = 4; |
Protos.Payment.Builder |
clearMerchantData()
optional bytes merchant_data = 1; |
Protos.Payment.Builder |
clearRefundTo()
repeated .payments.Output refund_to = 3; |
Protos.Payment.Builder |
clearTransactions()
repeated bytes transactions = 2; |
Protos.Payment.Builder |
clone() |
Protos.Payment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMemo()
optional string memo = 4; |
com.google.protobuf.ByteString |
getMemoBytes()
optional string memo = 4; |
com.google.protobuf.ByteString |
getMerchantData()
optional bytes merchant_data = 1; |
Protos.Output |
getRefundTo(int index)
repeated .payments.Output refund_to = 3; |
Protos.Output.Builder |
getRefundToBuilder(int index)
repeated .payments.Output refund_to = 3; |
List<Protos.Output.Builder> |
getRefundToBuilderList()
repeated .payments.Output refund_to = 3; |
int |
getRefundToCount()
repeated .payments.Output refund_to = 3; |
List<Protos.Output> |
getRefundToList()
repeated .payments.Output refund_to = 3; |
Protos.OutputOrBuilder |
getRefundToOrBuilder(int index)
repeated .payments.Output refund_to = 3; |
List<? extends Protos.OutputOrBuilder> |
getRefundToOrBuilderList()
repeated .payments.Output refund_to = 3; |
com.google.protobuf.ByteString |
getTransactions(int index)
repeated bytes transactions = 2; |
int |
getTransactionsCount()
repeated bytes transactions = 2; |
List<com.google.protobuf.ByteString> |
getTransactionsList()
repeated bytes transactions = 2; |
boolean |
hasMemo()
optional string memo = 4; |
boolean |
hasMerchantData()
optional bytes merchant_data = 1; |
protected com.google.protobuf.GeneratedMessage.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 |
removeRefundTo(int index)
repeated .payments.Output refund_to = 3; |
Protos.Payment.Builder |
setMemo(String value)
optional string memo = 4; |
Protos.Payment.Builder |
setMemoBytes(com.google.protobuf.ByteString value)
optional string memo = 4; |
Protos.Payment.Builder |
setMerchantData(com.google.protobuf.ByteString value)
optional bytes merchant_data = 1; |
Protos.Payment.Builder |
setRefundTo(int index,
Protos.Output.Builder builderForValue)
repeated .payments.Output refund_to = 3; |
Protos.Payment.Builder |
setRefundTo(int index,
Protos.Output value)
repeated .payments.Output refund_to = 3; |
Protos.Payment.Builder |
setTransactions(int index,
com.google.protobuf.ByteString value)
repeated bytes transactions = 2; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Protos.Payment.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.GeneratedMessage.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.GeneratedMessage.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 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.GeneratedMessage.Builder<Protos.Payment.Builder>
public Protos.Payment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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>
IOException
public boolean hasMerchantData()
optional bytes merchant_data = 1;
From PaymentDetails.merchant_data
hasMerchantData
in interface Protos.PaymentOrBuilder
public com.google.protobuf.ByteString getMerchantData()
optional bytes merchant_data = 1;
From PaymentDetails.merchant_data
getMerchantData
in interface Protos.PaymentOrBuilder
public Protos.Payment.Builder setMerchantData(com.google.protobuf.ByteString value)
optional bytes merchant_data = 1;
From PaymentDetails.merchant_data
public Protos.Payment.Builder clearMerchantData()
optional bytes merchant_data = 1;
From PaymentDetails.merchant_data
public List<com.google.protobuf.ByteString> getTransactionsList()
repeated bytes transactions = 2;
Signed transactions that satisfy PaymentDetails.outputs
getTransactionsList
in interface Protos.PaymentOrBuilder
public int getTransactionsCount()
repeated bytes transactions = 2;
Signed transactions that satisfy PaymentDetails.outputs
getTransactionsCount
in interface Protos.PaymentOrBuilder
public com.google.protobuf.ByteString getTransactions(int index)
repeated bytes transactions = 2;
Signed transactions that satisfy PaymentDetails.outputs
getTransactions
in interface Protos.PaymentOrBuilder
public Protos.Payment.Builder setTransactions(int index, com.google.protobuf.ByteString value)
repeated bytes transactions = 2;
Signed transactions that satisfy PaymentDetails.outputs
public Protos.Payment.Builder addTransactions(com.google.protobuf.ByteString value)
repeated bytes transactions = 2;
Signed transactions that satisfy PaymentDetails.outputs
public Protos.Payment.Builder addAllTransactions(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes transactions = 2;
Signed transactions that satisfy PaymentDetails.outputs
public Protos.Payment.Builder clearTransactions()
repeated bytes transactions = 2;
Signed transactions that satisfy PaymentDetails.outputs
public List<Protos.Output> getRefundToList()
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
getRefundToList
in interface Protos.PaymentOrBuilder
public int getRefundToCount()
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
getRefundToCount
in interface Protos.PaymentOrBuilder
public Protos.Output getRefundTo(int index)
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
getRefundTo
in interface Protos.PaymentOrBuilder
public Protos.Payment.Builder setRefundTo(int index, Protos.Output value)
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public Protos.Payment.Builder setRefundTo(int index, Protos.Output.Builder builderForValue)
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public Protos.Payment.Builder addRefundTo(Protos.Output value)
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public Protos.Payment.Builder addRefundTo(int index, Protos.Output value)
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public Protos.Payment.Builder addRefundTo(Protos.Output.Builder builderForValue)
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public Protos.Payment.Builder addRefundTo(int index, Protos.Output.Builder builderForValue)
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public Protos.Payment.Builder addAllRefundTo(Iterable<? extends Protos.Output> values)
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public Protos.Payment.Builder clearRefundTo()
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public Protos.Payment.Builder removeRefundTo(int index)
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public Protos.Output.Builder getRefundToBuilder(int index)
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public Protos.OutputOrBuilder getRefundToOrBuilder(int index)
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
getRefundToOrBuilder
in interface Protos.PaymentOrBuilder
public List<? extends Protos.OutputOrBuilder> getRefundToOrBuilderList()
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
getRefundToOrBuilderList
in interface Protos.PaymentOrBuilder
public Protos.Output.Builder addRefundToBuilder()
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public Protos.Output.Builder addRefundToBuilder(int index)
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public List<Protos.Output.Builder> getRefundToBuilderList()
repeated .payments.Output refund_to = 3;
Where to send refunds, if a refund is necessary
public boolean hasMemo()
optional string memo = 4;
Human-readable message for the merchant
hasMemo
in interface Protos.PaymentOrBuilder
public String getMemo()
optional string memo = 4;
Human-readable message for the merchant
getMemo
in interface Protos.PaymentOrBuilder
public com.google.protobuf.ByteString getMemoBytes()
optional string memo = 4;
Human-readable message for the merchant
getMemoBytes
in interface Protos.PaymentOrBuilder
public Protos.Payment.Builder setMemo(String value)
optional string memo = 4;
Human-readable message for the merchant
public Protos.Payment.Builder clearMemo()
optional string memo = 4;
Human-readable message for the merchant
public Protos.Payment.Builder setMemoBytes(com.google.protobuf.ByteString value)
optional string memo = 4;
Human-readable message for the merchant
Copyright © 2016. All rights reserved.