public static final class SettlePayment.Data.Builder extends <any> implements SettlePayment.DataOrBuilder
SettlePayment.Data| Modifier and Type | Method and Description |
|---|---|
SettlePayment.Data |
build() |
SettlePayment.Data |
buildPartial() |
SettlePayment.Data.Builder |
clear() |
SettlePayment.Data.Builder |
clearCents()
optional uint32 cents = 3 [default = 0]; |
SettlePayment.Data.Builder |
clearDollars()
required uint32 dollars = 2; |
SettlePayment.Data.Builder |
clearPayid()
required string payid = 1; |
SettlePayment.Data.Builder |
clone() |
int |
getCents()
optional uint32 cents = 3 [default = 0]; |
SettlePayment.Data |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDollars()
required uint32 dollars = 2; |
java.lang.String |
getPayid()
required string payid = 1; |
com.google.protobuf.ByteString |
getPayidBytes()
required string payid = 1; |
boolean |
hasCents()
optional uint32 cents = 3 [default = 0]; |
boolean |
hasDollars()
required uint32 dollars = 2; |
boolean |
hasPayid()
required string payid = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SettlePayment.Data.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SettlePayment.Data.Builder |
mergeFrom(com.google.protobuf.Message other) |
SettlePayment.Data.Builder |
setCents(int value)
optional uint32 cents = 3 [default = 0]; |
SettlePayment.Data.Builder |
setDollars(int value)
required uint32 dollars = 2; |
SettlePayment.Data.Builder |
setPayid(java.lang.String value)
required string payid = 1; |
SettlePayment.Data.Builder |
setPayidBytes(com.google.protobuf.ByteString value)
required string payid = 1; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public SettlePayment.Data.Builder clear()
public SettlePayment.Data.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public SettlePayment.Data getDefaultInstanceForType()
public SettlePayment.Data build()
public SettlePayment.Data buildPartial()
public SettlePayment.Data.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public SettlePayment.Data.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasPayid()
required string payid = 1;
the id associated with the payment data e.g. returned from WaitForPaymentDataFromHardware
hasPayid in interface SettlePayment.DataOrBuilderpublic java.lang.String getPayid()
required string payid = 1;
the id associated with the payment data e.g. returned from WaitForPaymentDataFromHardware
getPayid in interface SettlePayment.DataOrBuilderpublic com.google.protobuf.ByteString getPayidBytes()
required string payid = 1;
the id associated with the payment data e.g. returned from WaitForPaymentDataFromHardware
getPayidBytes in interface SettlePayment.DataOrBuilderpublic SettlePayment.Data.Builder setPayid(java.lang.String value)
required string payid = 1;
the id associated with the payment data e.g. returned from WaitForPaymentDataFromHardware
public SettlePayment.Data.Builder clearPayid()
required string payid = 1;
the id associated with the payment data e.g. returned from WaitForPaymentDataFromHardware
public SettlePayment.Data.Builder setPayidBytes(com.google.protobuf.ByteString value)
required string payid = 1;
the id associated with the payment data e.g. returned from WaitForPaymentDataFromHardware
public boolean hasDollars()
required uint32 dollars = 2;
number of dollars to charge, the X in $X.Y
hasDollars in interface SettlePayment.DataOrBuilderpublic int getDollars()
required uint32 dollars = 2;
number of dollars to charge, the X in $X.Y
getDollars in interface SettlePayment.DataOrBuilderpublic SettlePayment.Data.Builder setDollars(int value)
required uint32 dollars = 2;
number of dollars to charge, the X in $X.Y
public SettlePayment.Data.Builder clearDollars()
required uint32 dollars = 2;
number of dollars to charge, the X in $X.Y
public boolean hasCents()
optional uint32 cents = 3 [default = 0];
number of cents to charge, the Y in $X.Y
hasCents in interface SettlePayment.DataOrBuilderpublic int getCents()
optional uint32 cents = 3 [default = 0];
number of cents to charge, the Y in $X.Y
getCents in interface SettlePayment.DataOrBuilderpublic SettlePayment.Data.Builder setCents(int value)
optional uint32 cents = 3 [default = 0];
number of cents to charge, the Y in $X.Y
public SettlePayment.Data.Builder clearCents()
optional uint32 cents = 3 [default = 0];
number of cents to charge, the Y in $X.Y