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, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Protos.PaymentDetails.Builder>public Protos.PaymentDetails.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<Protos.PaymentDetails.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Protos.PaymentDetails.Builder>public Protos.PaymentDetails getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Protos.PaymentDetails build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Protos.PaymentDetails buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Protos.PaymentDetails.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protos.PaymentDetails.Builder>IOExceptionpublic boolean hasNetwork()
optional string network = 1 [default = "main"];
"main" or "test"
hasNetwork in interface Protos.PaymentDetailsOrBuilderpublic String getNetwork()
optional string network = 1 [default = "main"];
"main" or "test"
getNetwork in interface Protos.PaymentDetailsOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
optional string network = 1 [default = "main"];
"main" or "test"
getNetworkBytes in interface Protos.PaymentDetailsOrBuilderpublic 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.PaymentDetailsOrBuilderpublic int getOutputsCount()
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsCount in interface Protos.PaymentDetailsOrBuilderpublic Protos.Output getOutputs(int index)
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputs in interface Protos.PaymentDetailsOrBuilderpublic 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.PaymentDetailsOrBuilderpublic List<? extends Protos.OutputOrBuilder> getOutputsOrBuilderList()
repeated .payments.Output outputs = 2;
Where payment should be sent
getOutputsOrBuilderList in interface Protos.PaymentDetailsOrBuilderpublic 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.PaymentDetailsOrBuilderpublic long getTime()
required uint64 time = 3;
Timestamp; when payment request created
getTime in interface Protos.PaymentDetailsOrBuilderpublic 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.PaymentDetailsOrBuilderpublic long getExpires()
optional uint64 expires = 4;
Timestamp; when this request should be considered invalid
getExpires in interface Protos.PaymentDetailsOrBuilderpublic 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.PaymentDetailsOrBuilderpublic String getMemo()
optional string memo = 5;
Human-readable description of request for the customer
getMemo in interface Protos.PaymentDetailsOrBuilderpublic com.google.protobuf.ByteString getMemoBytes()
optional string memo = 5;
Human-readable description of request for the customer
getMemoBytes in interface Protos.PaymentDetailsOrBuilderpublic 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.PaymentDetailsOrBuilderpublic String getPaymentUrl()
optional string payment_url = 6;
URL to send Payment and get PaymentACK
getPaymentUrl in interface Protos.PaymentDetailsOrBuilderpublic com.google.protobuf.ByteString getPaymentUrlBytes()
optional string payment_url = 6;
URL to send Payment and get PaymentACK
getPaymentUrlBytes in interface Protos.PaymentDetailsOrBuilderpublic 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.PaymentDetailsOrBuilderpublic com.google.protobuf.ByteString getMerchantData()
optional bytes merchant_data = 7;
Arbitrary data to include in the Payment message
getMerchantData in interface Protos.PaymentDetailsOrBuilderpublic 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 © 2015. All rights reserved.