public static final class Protos.PaymentDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.PaymentDetails.Builder> implements Protos.PaymentDetailsOrBuilder
payments.PaymentDetails
Modifier and Type | Method and Description |
---|---|
Protos.PaymentDetails.Builder |
addAllOutputs(Iterable<? extends Protos.Output> values)
repeated .payments.Output outputs = 2; |
Protos.PaymentDetails.Builder |
addOutputs(int index,
Protos.Output.Builder builderForValue)
repeated .payments.Output outputs = 2; |
Protos.PaymentDetails.Builder |
addOutputs(int index,
Protos.Output value)
repeated .payments.Output outputs = 2; |
Protos.PaymentDetails.Builder |
addOutputs(Protos.Output.Builder builderForValue)
repeated .payments.Output outputs = 2; |
Protos.PaymentDetails.Builder |
addOutputs(Protos.Output value)
repeated .payments.Output outputs = 2; |
Protos.Output.Builder |
addOutputsBuilder()
repeated .payments.Output outputs = 2; |
Protos.Output.Builder |
addOutputsBuilder(int index)
repeated .payments.Output outputs = 2; |
Protos.PaymentDetails |
build() |
Protos.PaymentDetails |
buildPartial() |
Protos.PaymentDetails.Builder |
clear() |
Protos.PaymentDetails.Builder |
clearExpires()
optional uint64 expires = 4; |
Protos.PaymentDetails.Builder |
clearMemo()
optional string memo = 5; |
Protos.PaymentDetails.Builder |
clearMerchantData()
optional bytes merchant_data = 7; |
Protos.PaymentDetails.Builder |
clearNetwork()
optional string network = 1 [default = "main"]; |
Protos.PaymentDetails.Builder |
clearOutputs()
repeated .payments.Output outputs = 2; |
Protos.PaymentDetails.Builder |
clearPaymentUrl()
optional string payment_url = 6; |
Protos.PaymentDetails.Builder |
clearTime()
required uint64 time = 3; |
Protos.PaymentDetails.Builder |
clone() |
Protos.PaymentDetails |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getExpires()
optional uint64 expires = 4; |
String |
getMemo()
optional string memo = 5; |
com.google.protobuf.ByteString |
getMemoBytes()
optional string memo = 5; |
com.google.protobuf.ByteString |
getMerchantData()
optional bytes merchant_data = 7; |
String |
getNetwork()
optional string network = 1 [default = "main"]; |
com.google.protobuf.ByteString |
getNetworkBytes()
optional string network = 1 [default = "main"]; |
Protos.Output |
getOutputs(int index)
repeated .payments.Output outputs = 2; |
Protos.Output.Builder |
getOutputsBuilder(int index)
repeated .payments.Output outputs = 2; |
List<Protos.Output.Builder> |
getOutputsBuilderList()
repeated .payments.Output outputs = 2; |
int |
getOutputsCount()
repeated .payments.Output outputs = 2; |
List<Protos.Output> |
getOutputsList()
repeated .payments.Output outputs = 2; |
Protos.OutputOrBuilder |
getOutputsOrBuilder(int index)
repeated .payments.Output outputs = 2; |
List<? extends Protos.OutputOrBuilder> |
getOutputsOrBuilderList()
repeated .payments.Output outputs = 2; |
String |
getPaymentUrl()
optional string payment_url = 6; |
com.google.protobuf.ByteString |
getPaymentUrlBytes()
optional string payment_url = 6; |
long |
getTime()
required uint64 time = 3; |
boolean |
hasExpires()
optional uint64 expires = 4; |
boolean |
hasMemo()
optional string memo = 5; |
boolean |
hasMerchantData()
optional bytes merchant_data = 7; |
boolean |
hasNetwork()
optional string network = 1 [default = "main"]; |
boolean |
hasPaymentUrl()
optional string payment_url = 6; |
boolean |
hasTime()
required uint64 time = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.PaymentDetails.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.PaymentDetails.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.PaymentDetails.Builder |
mergeFrom(Protos.PaymentDetails other) |
Protos.PaymentDetails.Builder |
removeOutputs(int index)
repeated .payments.Output outputs = 2; |
Protos.PaymentDetails.Builder |
setExpires(long value)
optional uint64 expires = 4; |
Protos.PaymentDetails.Builder |
setMemo(String value)
optional string memo = 5; |
Protos.PaymentDetails.Builder |
setMemoBytes(com.google.protobuf.ByteString value)
optional string memo = 5; |
Protos.PaymentDetails.Builder |
setMerchantData(com.google.protobuf.ByteString value)
optional bytes merchant_data = 7; |
Protos.PaymentDetails.Builder |
setNetwork(String value)
optional string network = 1 [default = "main"]; |
Protos.PaymentDetails.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
optional string network = 1 [default = "main"]; |
Protos.PaymentDetails.Builder |
setOutputs(int index,
Protos.Output.Builder builderForValue)
repeated .payments.Output outputs = 2; |
Protos.PaymentDetails.Builder |
setOutputs(int index,
Protos.Output value)
repeated .payments.Output outputs = 2; |
Protos.PaymentDetails.Builder |
setPaymentUrl(String value)
optional string payment_url = 6; |
Protos.PaymentDetails.Builder |
setPaymentUrlBytes(com.google.protobuf.ByteString value)
optional string payment_url = 6; |
Protos.PaymentDetails.Builder |
setTime(long value)
required uint64 time = 3; |
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.PaymentDetails.Builder>
public Protos.PaymentDetails.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.PaymentDetails.Builder>
public Protos.PaymentDetails.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.PaymentDetails.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.PaymentDetails.Builder>
public Protos.PaymentDetails getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.PaymentDetails build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.PaymentDetails buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.PaymentDetails.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.PaymentDetails.Builder>
public Protos.PaymentDetails.Builder mergeFrom(Protos.PaymentDetails other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.PaymentDetails.Builder>
public Protos.PaymentDetails.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.PaymentDetails.Builder>
IOException
public boolean hasNetwork()
optional string network = 1 [default = "main"];
"main" or "test"
hasNetwork
in interface Protos.PaymentDetailsOrBuilder
public String getNetwork()
optional string network = 1 [default = "main"];
"main" or "test"
getNetwork
in interface Protos.PaymentDetailsOrBuilder
public com.google.protobuf.ByteString getNetworkBytes()
optional string network = 1 [default = "main"];
"main" or "test"
getNetworkBytes
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setNetwork(String value)
optional string network = 1 [default = "main"];
"main" or "test"
public Protos.PaymentDetails.Builder clearNetwork()
optional string network = 1 [default = "main"];
"main" or "test"
public Protos.PaymentDetails.Builder setNetworkBytes(com.google.protobuf.ByteString value)
optional string network = 1 [default = "main"];
"main" or "test"
public List<Protos.Output> getOutputsList()
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsList
in interface Protos.PaymentDetailsOrBuilder
public int getOutputsCount()
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsCount
in interface Protos.PaymentDetailsOrBuilder
public Protos.Output getOutputs(int index)
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputs
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setOutputs(int index, Protos.Output value)
repeated .payments.Output outputs = 2;
Where payment should be sent
public Protos.PaymentDetails.Builder setOutputs(int index, Protos.Output.Builder builderForValue)
repeated .payments.Output outputs = 2;
Where payment should be sent
public Protos.PaymentDetails.Builder addOutputs(Protos.Output value)
repeated .payments.Output outputs = 2;
Where payment should be sent
public Protos.PaymentDetails.Builder addOutputs(int index, Protos.Output value)
repeated .payments.Output outputs = 2;
Where payment should be sent
public Protos.PaymentDetails.Builder addOutputs(Protos.Output.Builder builderForValue)
repeated .payments.Output outputs = 2;
Where payment should be sent
public Protos.PaymentDetails.Builder addOutputs(int index, Protos.Output.Builder builderForValue)
repeated .payments.Output outputs = 2;
Where payment should be sent
public Protos.PaymentDetails.Builder addAllOutputs(Iterable<? extends Protos.Output> values)
repeated .payments.Output outputs = 2;
Where payment should be sent
public Protos.PaymentDetails.Builder clearOutputs()
repeated .payments.Output outputs = 2;
Where payment should be sent
public Protos.PaymentDetails.Builder removeOutputs(int index)
repeated .payments.Output outputs = 2;
Where payment should be sent
public Protos.Output.Builder getOutputsBuilder(int index)
repeated .payments.Output outputs = 2;
Where payment should be sent
public Protos.OutputOrBuilder getOutputsOrBuilder(int index)
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsOrBuilder
in interface Protos.PaymentDetailsOrBuilder
public List<? extends Protos.OutputOrBuilder> getOutputsOrBuilderList()
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsOrBuilderList
in interface Protos.PaymentDetailsOrBuilder
public Protos.Output.Builder addOutputsBuilder()
repeated .payments.Output outputs = 2;
Where payment should be sent
public Protos.Output.Builder addOutputsBuilder(int index)
repeated .payments.Output outputs = 2;
Where payment should be sent
public List<Protos.Output.Builder> getOutputsBuilderList()
repeated .payments.Output outputs = 2;
Where payment should be sent
public boolean hasTime()
required uint64 time = 3;
Timestamp; when payment request created
hasTime
in interface Protos.PaymentDetailsOrBuilder
public long getTime()
required uint64 time = 3;
Timestamp; when payment request created
getTime
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setTime(long value)
required uint64 time = 3;
Timestamp; when payment request created
public Protos.PaymentDetails.Builder clearTime()
required uint64 time = 3;
Timestamp; when payment request created
public boolean hasExpires()
optional uint64 expires = 4;
Timestamp; when this request should be considered invalid
hasExpires
in interface Protos.PaymentDetailsOrBuilder
public long getExpires()
optional uint64 expires = 4;
Timestamp; when this request should be considered invalid
getExpires
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setExpires(long value)
optional uint64 expires = 4;
Timestamp; when this request should be considered invalid
public Protos.PaymentDetails.Builder clearExpires()
optional uint64 expires = 4;
Timestamp; when this request should be considered invalid
public boolean hasMemo()
optional string memo = 5;
Human-readable description of request for the customer
hasMemo
in interface Protos.PaymentDetailsOrBuilder
public String getMemo()
optional string memo = 5;
Human-readable description of request for the customer
getMemo
in interface Protos.PaymentDetailsOrBuilder
public com.google.protobuf.ByteString getMemoBytes()
optional string memo = 5;
Human-readable description of request for the customer
getMemoBytes
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setMemo(String value)
optional string memo = 5;
Human-readable description of request for the customer
public Protos.PaymentDetails.Builder clearMemo()
optional string memo = 5;
Human-readable description of request for the customer
public Protos.PaymentDetails.Builder setMemoBytes(com.google.protobuf.ByteString value)
optional string memo = 5;
Human-readable description of request for the customer
public boolean hasPaymentUrl()
optional string payment_url = 6;
URL to send Payment and get PaymentACK
hasPaymentUrl
in interface Protos.PaymentDetailsOrBuilder
public String getPaymentUrl()
optional string payment_url = 6;
URL to send Payment and get PaymentACK
getPaymentUrl
in interface Protos.PaymentDetailsOrBuilder
public com.google.protobuf.ByteString getPaymentUrlBytes()
optional string payment_url = 6;
URL to send Payment and get PaymentACK
getPaymentUrlBytes
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setPaymentUrl(String value)
optional string payment_url = 6;
URL to send Payment and get PaymentACK
public Protos.PaymentDetails.Builder clearPaymentUrl()
optional string payment_url = 6;
URL to send Payment and get PaymentACK
public Protos.PaymentDetails.Builder setPaymentUrlBytes(com.google.protobuf.ByteString value)
optional string payment_url = 6;
URL to send Payment and get PaymentACK
public boolean hasMerchantData()
optional bytes merchant_data = 7;
Arbitrary data to include in the Payment message
hasMerchantData
in interface Protos.PaymentDetailsOrBuilder
public com.google.protobuf.ByteString getMerchantData()
optional bytes merchant_data = 7;
Arbitrary data to include in the Payment message
getMerchantData
in interface Protos.PaymentDetailsOrBuilder
public Protos.PaymentDetails.Builder setMerchantData(com.google.protobuf.ByteString value)
optional bytes merchant_data = 7;
Arbitrary data to include in the Payment message
public Protos.PaymentDetails.Builder clearMerchantData()
optional bytes merchant_data = 7;
Arbitrary data to include in the Payment message
Copyright © 2016. All rights reserved.