public static final class AuthorizePayment.Data extends com.google.protobuf.GeneratedMessage implements AuthorizePayment.DataOrBuilder
AuthorizePayment.Data| Modifier and Type | Class and Description |
|---|---|
static class |
AuthorizePayment.Data.Builder
Protobuf type
AuthorizePayment.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 AuthorizePayment.Data |
getDefaultInstance() |
AuthorizePayment.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 AuthorizePayment.Data.Builder |
newBuilder() |
static AuthorizePayment.Data.Builder |
newBuilder(AuthorizePayment.Data prototype) |
AuthorizePayment.Data.Builder |
newBuilderForType() |
protected AuthorizePayment.Data.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static AuthorizePayment.Data |
parseDelimitedFrom(java.io.InputStream input) |
static AuthorizePayment.Data |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthorizePayment.Data |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthorizePayment.Data |
parseFrom(com.google.protobuf.ByteString data) |
static AuthorizePayment.Data |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthorizePayment.Data |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AuthorizePayment.Data |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthorizePayment.Data |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AuthorizePayment.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 AuthorizePayment.Data getDefaultInstance()
public AuthorizePayment.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 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 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 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 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 AuthorizePayment.Data parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthorizePayment.Data parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthorizePayment.Data parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthorizePayment.Data parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AuthorizePayment.Data parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AuthorizePayment.Data parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AuthorizePayment.Data parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AuthorizePayment.Data parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AuthorizePayment.Data.Builder newBuilder()
public AuthorizePayment.Data.Builder newBuilderForType()
public static AuthorizePayment.Data.Builder newBuilder(AuthorizePayment.Data prototype)
public AuthorizePayment.Data.Builder toBuilder()
protected AuthorizePayment.Data.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)