public static final class SettlePayment.Data extends com.google.protobuf.GeneratedMessage implements SettlePayment.DataOrBuilder
SettlePayment.Data| Modifier and Type | Class and Description |
|---|---|
static class |
SettlePayment.Data.Builder
Protobuf type
SettlePayment.Data |
| Modifier and Type | Field and Description |
|---|---|
static int |
CENTS_FIELD_NUMBER |
static int |
DOLLARS_FIELD_NUMBER |
static <any> |
PARSER |
static int |
PAYID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
int |
getCents()
optional uint32 cents = 3 [default = 0]; |
static SettlePayment.Data |
getDefaultInstance() |
SettlePayment.Data |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getDollars()
required uint32 dollars = 2; |
<any> |
getParserForType() |
java.lang.String |
getPayid()
required string payid = 1; |
com.google.protobuf.ByteString |
getPayidBytes()
required string payid = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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() |
static SettlePayment.Data.Builder |
newBuilder() |
static SettlePayment.Data.Builder |
newBuilder(SettlePayment.Data prototype) |
SettlePayment.Data.Builder |
newBuilderForType() |
protected SettlePayment.Data.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static SettlePayment.Data |
parseDelimitedFrom(java.io.InputStream input) |
static SettlePayment.Data |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SettlePayment.Data |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SettlePayment.Data |
parseFrom(com.google.protobuf.ByteString data) |
static SettlePayment.Data |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SettlePayment.Data |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SettlePayment.Data |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SettlePayment.Data |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SettlePayment.Data.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> PARSER
public static final int PAYID_FIELD_NUMBER
public static final int DOLLARS_FIELD_NUMBER
public static final int CENTS_FIELD_NUMBER
public static SettlePayment.Data getDefaultInstance()
public SettlePayment.Data getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public <any> getParserForType()
public 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 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 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 final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic static SettlePayment.Data parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SettlePayment.Data parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SettlePayment.Data parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SettlePayment.Data parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SettlePayment.Data parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SettlePayment.Data parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SettlePayment.Data parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static SettlePayment.Data parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static SettlePayment.Data.Builder newBuilder()
public SettlePayment.Data.Builder newBuilderForType()
public static SettlePayment.Data.Builder newBuilder(SettlePayment.Data prototype)
public SettlePayment.Data.Builder toBuilder()
protected SettlePayment.Data.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)