public static final class Protos.Payment.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.Payment,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.Payment.Builder |
addTransactions(com.google.protobuf.ByteString value)
Signed transactions that satisfy PaymentDetails.outputs
|
Protos.Payment.Builder |
clearMemo()
Human-readable message for the merchant
|
Protos.Payment.Builder |
clearMerchantData()
From PaymentDetails.merchant_data
|
Protos.Payment.Builder |
clearRefundTo()
Where to send refunds, if a refund is necessary
|
Protos.Payment.Builder |
clearTransactions()
Signed transactions that satisfy PaymentDetails.outputs
|
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
|
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
|
Protos.Payment.Builder |
removeRefundTo(int index)
Where to send refunds, if a refund is necessary
|
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 |
setTransactions(int index,
com.google.protobuf.ByteString value)
Signed transactions that satisfy PaymentDetails.outputs
|
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
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;
value
- The merchantData to set.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
index
- The index of the element to return.public Protos.Payment.Builder setTransactions(int index, com.google.protobuf.ByteString value)
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;
value
- The transactions to set.public Protos.Payment.Builder addTransactions(com.google.protobuf.ByteString value)
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;
value
- The transactions to add.public Protos.Payment.Builder addAllTransactions(java.lang.Iterable<? extends com.google.protobuf.ByteString> values)
Signed transactions that satisfy PaymentDetails.outputs
repeated bytes transactions = 2;
values
- The transactions to add.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 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;
value
- The memo to set.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;
value
- The bytes for memo to set.