Class TransactionData.GatewayInfo (3.13.0)

public static final class TransactionData.GatewayInfo extends GeneratedMessageV3 implements TransactionData.GatewayInfoOrBuilder

Details about the transaction from the gateway.

Protobuf type google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo

Static Fields

AVS_RESPONSE_CODE_FIELD_NUMBER

public static final int AVS_RESPONSE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

CVV_RESPONSE_CODE_FIELD_NUMBER

public static final int CVV_RESPONSE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

GATEWAY_RESPONSE_CODE_FIELD_NUMBER

public static final int GATEWAY_RESPONSE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransactionData.GatewayInfo getDefaultInstance()
Returns
TypeDescription
TransactionData.GatewayInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TransactionData.GatewayInfo.Builder newBuilder()
Returns
TypeDescription
TransactionData.GatewayInfo.Builder

newBuilder(TransactionData.GatewayInfo prototype)

public static TransactionData.GatewayInfo.Builder newBuilder(TransactionData.GatewayInfo prototype)
Parameter
NameDescription
prototypeTransactionData.GatewayInfo
Returns
TypeDescription
TransactionData.GatewayInfo.Builder

parseDelimitedFrom(InputStream input)

public static TransactionData.GatewayInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransactionData.GatewayInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransactionData.GatewayInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.GatewayInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransactionData.GatewayInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransactionData.GatewayInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransactionData.GatewayInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.GatewayInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransactionData.GatewayInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransactionData.GatewayInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransactionData.GatewayInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.GatewayInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransactionData.GatewayInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransactionData.GatewayInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransactionData.GatewayInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.GatewayInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransactionData.GatewayInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransactionData.GatewayInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransactionData.GatewayInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.GatewayInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransactionData.GatewayInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransactionData.GatewayInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransactionData.GatewayInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.GatewayInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TransactionData.GatewayInfo> parser()
Returns
TypeDescription
Parser<GatewayInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAvsResponseCode()

public String getAvsResponseCode()

AVS response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).

string avs_response_code = 3;

Returns
TypeDescription
String

The avsResponseCode.

getAvsResponseCodeBytes()

public ByteString getAvsResponseCodeBytes()

AVS response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).

string avs_response_code = 3;

Returns
TypeDescription
ByteString

The bytes for avsResponseCode.

getCvvResponseCode()

public String getCvvResponseCode()

CVV response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).

string cvv_response_code = 4;

Returns
TypeDescription
String

The cvvResponseCode.

getCvvResponseCodeBytes()

public ByteString getCvvResponseCodeBytes()

CVV response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).

string cvv_response_code = 4;

Returns
TypeDescription
ByteString

The bytes for cvvResponseCode.

getDefaultInstanceForType()

public TransactionData.GatewayInfo getDefaultInstanceForType()
Returns
TypeDescription
TransactionData.GatewayInfo

getGatewayResponseCode()

public String getGatewayResponseCode()

Gateway response code describing the state of the transaction.

string gateway_response_code = 2;

Returns
TypeDescription
String

The gatewayResponseCode.

getGatewayResponseCodeBytes()

public ByteString getGatewayResponseCodeBytes()

Gateway response code describing the state of the transaction.

string gateway_response_code = 2;

Returns
TypeDescription
ByteString

The bytes for gatewayResponseCode.

getName()

public String getName()

Name of the gateway service (for example, stripe, square, paypal).

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the gateway service (for example, stripe, square, paypal).

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<TransactionData.GatewayInfo> getParserForType()
Returns
TypeDescription
Parser<GatewayInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TransactionData.GatewayInfo.Builder newBuilderForType()
Returns
TypeDescription
TransactionData.GatewayInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransactionData.GatewayInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransactionData.GatewayInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TransactionData.GatewayInfo.Builder toBuilder()
Returns
TypeDescription
TransactionData.GatewayInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException