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, mergeFromaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic 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 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.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 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.PaymentOrBuilderpublic 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.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.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 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.