public static final class Protos.PaymentDetails.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Protos.PaymentDetails,Protos.PaymentDetails.Builder> implements Protos.PaymentDetailsOrBuilder
payments.PaymentDetails
Modifier and Type | Method and Description |
---|---|
Protos.PaymentDetails.Builder |
addAllOutputs(java.lang.Iterable<? extends Protos.Output> values)
Where payment should be sent
|
Protos.PaymentDetails.Builder |
addOutputs(int index,
Protos.Output.Builder builderForValue)
Where payment should be sent
|
Protos.PaymentDetails.Builder |
addOutputs(int index,
Protos.Output value)
Where payment should be sent
|
Protos.PaymentDetails.Builder |
addOutputs(Protos.Output.Builder builderForValue)
Where payment should be sent
|
Protos.PaymentDetails.Builder |
addOutputs(Protos.Output value)
Where payment should be sent
|
Protos.PaymentDetails.Builder |
clearExpires()
Timestamp; when this request should be considered invalid
|
Protos.PaymentDetails.Builder |
clearMemo()
Human-readable description of request for the customer
|
Protos.PaymentDetails.Builder |
clearMerchantData()
Arbitrary data to include in the Payment message
|
Protos.PaymentDetails.Builder |
clearNetwork()
"main" or "test"
|
Protos.PaymentDetails.Builder |
clearOutputs()
Where payment should be sent
|
Protos.PaymentDetails.Builder |
clearPaymentUrl()
URL to send Payment and get PaymentACK
|
Protos.PaymentDetails.Builder |
clearTime()
Timestamp; when payment request created
|
long |
getExpires()
Timestamp; when this request should be considered invalid
|
java.lang.String |
getMemo()
Human-readable description of request for the customer
|
com.google.protobuf.ByteString |
getMemoBytes()
Human-readable description of request for the customer
|
com.google.protobuf.ByteString |
getMerchantData()
Arbitrary data to include in the Payment message
|
java.lang.String |
getNetwork()
"main" or "test"
|
com.google.protobuf.ByteString |
getNetworkBytes()
"main" or "test"
|
Protos.Output |
getOutputs(int index)
Where payment should be sent
|
int |
getOutputsCount()
Where payment should be sent
|
java.util.List<Protos.Output> |
getOutputsList()
Where payment should be sent
|
java.lang.String |
getPaymentUrl()
URL to send Payment and get PaymentACK
|
com.google.protobuf.ByteString |
getPaymentUrlBytes()
URL to send Payment and get PaymentACK
|
long |
getTime()
Timestamp; when payment request created
|
boolean |
hasExpires()
Timestamp; when this request should be considered invalid
|
boolean |
hasMemo()
Human-readable description of request for the customer
|
boolean |
hasMerchantData()
Arbitrary data to include in the Payment message
|
boolean |
hasNetwork()
"main" or "test"
|
boolean |
hasPaymentUrl()
URL to send Payment and get PaymentACK
|
boolean |
hasTime()
Timestamp; when payment request created
|
Protos.PaymentDetails.Builder |
removeOutputs(int index)
Where payment should be sent
|
Protos.PaymentDetails.Builder |
setExpires(long value)
Timestamp; when this request should be considered invalid
|
Protos.PaymentDetails.Builder |
setMemo(java.lang.String value)
Human-readable description of request for the customer
|
Protos.PaymentDetails.Builder |
setMemoBytes(com.google.protobuf.ByteString value)
Human-readable description of request for the customer
|
Protos.PaymentDetails.Builder |
setMerchantData(com.google.protobuf.ByteString value)
Arbitrary data to include in the Payment message
|
Protos.PaymentDetails.Builder |
setNetwork(java.lang.String value)
"main" or "test"
|
Protos.PaymentDetails.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
"main" or "test"
|
Protos.PaymentDetails.Builder |
setOutputs(int index,
Protos.Output.Builder builderForValue)
Where payment should be sent
|
Protos.PaymentDetails.Builder |
setOutputs(int index,
Protos.Output value)
Where payment should be sent
|
Protos.PaymentDetails.Builder |
setPaymentUrl(java.lang.String value)
URL to send Payment and get PaymentACK
|
Protos.PaymentDetails.Builder |
setPaymentUrlBytes(com.google.protobuf.ByteString value)
URL to send Payment and get PaymentACK
|
Protos.PaymentDetails.Builder |
setTime(long value)
Timestamp; when payment request created
|
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 hasNetwork()
"main" or "test"
optional string network = 1 [default = "main"];
hasNetwork
in interface Protos.PaymentDetailsOrBuilder
public java.lang.String getNetwork()
"main" or "test"
optional string network = 1 [default = "main"];
getNetwork
in interface Protos.PaymentDetailsOrBuilder
public com.google.protobuf.ByteString getNetworkBytes()
"main" or "test"
optional string network = 1 [default = "main"];
getNetworkBytes
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setNetwork(java.lang.String value)
"main" or "test"
optional string network = 1 [default = "main"];
value
- The network to set.public Protos.PaymentDetails.Builder clearNetwork()
"main" or "test"
optional string network = 1 [default = "main"];
public Protos.PaymentDetails.Builder setNetworkBytes(com.google.protobuf.ByteString value)
"main" or "test"
optional string network = 1 [default = "main"];
value
- The bytes for network to set.public java.util.List<Protos.Output> getOutputsList()
Where payment should be sent
repeated .payments.Output outputs = 2;
getOutputsList
in interface Protos.PaymentDetailsOrBuilder
public int getOutputsCount()
Where payment should be sent
repeated .payments.Output outputs = 2;
getOutputsCount
in interface Protos.PaymentDetailsOrBuilder
public Protos.Output getOutputs(int index)
Where payment should be sent
repeated .payments.Output outputs = 2;
getOutputs
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setOutputs(int index, Protos.Output value)
Where payment should be sent
repeated .payments.Output outputs = 2;
public Protos.PaymentDetails.Builder setOutputs(int index, Protos.Output.Builder builderForValue)
Where payment should be sent
repeated .payments.Output outputs = 2;
public Protos.PaymentDetails.Builder addOutputs(Protos.Output value)
Where payment should be sent
repeated .payments.Output outputs = 2;
public Protos.PaymentDetails.Builder addOutputs(int index, Protos.Output value)
Where payment should be sent
repeated .payments.Output outputs = 2;
public Protos.PaymentDetails.Builder addOutputs(Protos.Output.Builder builderForValue)
Where payment should be sent
repeated .payments.Output outputs = 2;
public Protos.PaymentDetails.Builder addOutputs(int index, Protos.Output.Builder builderForValue)
Where payment should be sent
repeated .payments.Output outputs = 2;
public Protos.PaymentDetails.Builder addAllOutputs(java.lang.Iterable<? extends Protos.Output> values)
Where payment should be sent
repeated .payments.Output outputs = 2;
public Protos.PaymentDetails.Builder clearOutputs()
Where payment should be sent
repeated .payments.Output outputs = 2;
public Protos.PaymentDetails.Builder removeOutputs(int index)
Where payment should be sent
repeated .payments.Output outputs = 2;
public boolean hasTime()
Timestamp; when payment request created
required uint64 time = 3;
hasTime
in interface Protos.PaymentDetailsOrBuilder
public long getTime()
Timestamp; when payment request created
required uint64 time = 3;
getTime
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setTime(long value)
Timestamp; when payment request created
required uint64 time = 3;
value
- The time to set.public Protos.PaymentDetails.Builder clearTime()
Timestamp; when payment request created
required uint64 time = 3;
public boolean hasExpires()
Timestamp; when this request should be considered invalid
optional uint64 expires = 4;
hasExpires
in interface Protos.PaymentDetailsOrBuilder
public long getExpires()
Timestamp; when this request should be considered invalid
optional uint64 expires = 4;
getExpires
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setExpires(long value)
Timestamp; when this request should be considered invalid
optional uint64 expires = 4;
value
- The expires to set.public Protos.PaymentDetails.Builder clearExpires()
Timestamp; when this request should be considered invalid
optional uint64 expires = 4;
public boolean hasMemo()
Human-readable description of request for the customer
optional string memo = 5;
hasMemo
in interface Protos.PaymentDetailsOrBuilder
public java.lang.String getMemo()
Human-readable description of request for the customer
optional string memo = 5;
getMemo
in interface Protos.PaymentDetailsOrBuilder
public com.google.protobuf.ByteString getMemoBytes()
Human-readable description of request for the customer
optional string memo = 5;
getMemoBytes
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setMemo(java.lang.String value)
Human-readable description of request for the customer
optional string memo = 5;
value
- The memo to set.public Protos.PaymentDetails.Builder clearMemo()
Human-readable description of request for the customer
optional string memo = 5;
public Protos.PaymentDetails.Builder setMemoBytes(com.google.protobuf.ByteString value)
Human-readable description of request for the customer
optional string memo = 5;
value
- The bytes for memo to set.public boolean hasPaymentUrl()
URL to send Payment and get PaymentACK
optional string payment_url = 6;
hasPaymentUrl
in interface Protos.PaymentDetailsOrBuilder
public java.lang.String getPaymentUrl()
URL to send Payment and get PaymentACK
optional string payment_url = 6;
getPaymentUrl
in interface Protos.PaymentDetailsOrBuilder
public com.google.protobuf.ByteString getPaymentUrlBytes()
URL to send Payment and get PaymentACK
optional string payment_url = 6;
getPaymentUrlBytes
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setPaymentUrl(java.lang.String value)
URL to send Payment and get PaymentACK
optional string payment_url = 6;
value
- The paymentUrl to set.public Protos.PaymentDetails.Builder clearPaymentUrl()
URL to send Payment and get PaymentACK
optional string payment_url = 6;
public Protos.PaymentDetails.Builder setPaymentUrlBytes(com.google.protobuf.ByteString value)
URL to send Payment and get PaymentACK
optional string payment_url = 6;
value
- The bytes for paymentUrl to set.public boolean hasMerchantData()
Arbitrary data to include in the Payment message
optional bytes merchant_data = 7;
hasMerchantData
in interface Protos.PaymentDetailsOrBuilder
public com.google.protobuf.ByteString getMerchantData()
Arbitrary data to include in the Payment message
optional bytes merchant_data = 7;
getMerchantData
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setMerchantData(com.google.protobuf.ByteString value)
Arbitrary data to include in the Payment message
optional bytes merchant_data = 7;
value
- The merchantData to set.public Protos.PaymentDetails.Builder clearMerchantData()
Arbitrary data to include in the Payment message
optional bytes merchant_data = 7;