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