Package net.authorize.api.contract.v1
Class TransactionResponse
- java.lang.Object
-
- net.authorize.api.contract.v1.TransactionResponse
-
public class TransactionResponse extends Object
Java class for transactionResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="transactionResponse"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="responseCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="rawResponseCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="authCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="avsResultCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="cvvResultCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="cavvResultCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="transId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="refTransID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="transHash" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="testRequest" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="accountNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="entryMode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="accountType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="splitTenderId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="prePaidCard" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="requestedAmount" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="approvedAmount" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="balanceOnCard" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="messages" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="message" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <element name="errors" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="error" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="errorCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="errorText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <element name="splitTenderPayments" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="splitTenderPayment" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="transId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="responseCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="responseToCustomer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="authCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="accountNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="accountType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="requestedAmount" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="approvedAmount" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="balanceOnCard" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <element name="userFields" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="userField" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}userField" maxOccurs="20" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="shipTo" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}nameAndAddressType" minOccurs="0"/> <element name="secureAcceptance" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="SecureAcceptanceUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="PayerID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="PayerEmail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="emvResponse" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="tlvData" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="tags" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="tag" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}emvTag" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <element name="transHashSha2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="profile" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileIdType" minOccurs="0"/> <element name="networkTransId" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}networkTransId" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransactionResponse.EmvResponseJava class for anonymous complex type.static classTransactionResponse.ErrorsJava class for anonymous complex type.static classTransactionResponse.MessagesJava class for anonymous complex type.static classTransactionResponse.PrePaidCardJava class for anonymous complex type.static classTransactionResponse.SecureAcceptanceJava class for anonymous complex type.static classTransactionResponse.SplitTenderPaymentsJava class for anonymous complex type.static classTransactionResponse.UserFieldsJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected StringaccountNumberprotected StringaccountTypeprotected StringauthCodeprotected StringavsResultCodeprotected StringcavvResultCodeprotected StringcvvResultCodeprotected TransactionResponse.EmvResponseemvResponseprotected StringentryModeprotected TransactionResponse.Errorserrorsprotected TransactionResponse.Messagesmessagesprotected StringnetworkTransIdprotected TransactionResponse.PrePaidCardprePaidCardprotected CustomerProfileIdTypeprofileprotected StringrawResponseCodeprotected StringrefTransIDprotected StringresponseCodeprotected TransactionResponse.SecureAcceptancesecureAcceptanceprotected NameAndAddressTypeshipToprotected StringsplitTenderIdprotected TransactionResponse.SplitTenderPaymentssplitTenderPaymentsprotected StringtestRequestprotected StringtransHashprotected StringtransHashSha2protected StringtransIdprotected TransactionResponse.UserFieldsuserFields
-
Constructor Summary
Constructors Constructor Description TransactionResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccountNumber()Gets the value of the accountNumber property.StringgetAccountType()Gets the value of the accountType property.StringgetAuthCode()Gets the value of the authCode property.StringgetAvsResultCode()Gets the value of the avsResultCode property.StringgetCavvResultCode()Gets the value of the cavvResultCode property.StringgetCvvResultCode()Gets the value of the cvvResultCode property.TransactionResponse.EmvResponsegetEmvResponse()Gets the value of the emvResponse property.StringgetEntryMode()Gets the value of the entryMode property.TransactionResponse.ErrorsgetErrors()Gets the value of the errors property.TransactionResponse.MessagesgetMessages()Gets the value of the messages property.StringgetNetworkTransId()Gets the value of the networkTransId property.TransactionResponse.PrePaidCardgetPrePaidCard()Gets the value of the prePaidCard property.CustomerProfileIdTypegetProfile()Gets the value of the profile property.StringgetRawResponseCode()Gets the value of the rawResponseCode property.StringgetRefTransID()Gets the value of the refTransID property.StringgetResponseCode()Gets the value of the responseCode property.TransactionResponse.SecureAcceptancegetSecureAcceptance()Gets the value of the secureAcceptance property.NameAndAddressTypegetShipTo()Gets the value of the shipTo property.StringgetSplitTenderId()Gets the value of the splitTenderId property.TransactionResponse.SplitTenderPaymentsgetSplitTenderPayments()Gets the value of the splitTenderPayments property.StringgetTestRequest()Gets the value of the testRequest property.StringgetTransHash()Gets the value of the transHash property.StringgetTransHashSha2()Gets the value of the transHashSha2 property.StringgetTransId()Gets the value of the transId property.TransactionResponse.UserFieldsgetUserFields()Gets the value of the userFields property.voidsetAccountNumber(String value)Sets the value of the accountNumber property.voidsetAccountType(String value)Sets the value of the accountType property.voidsetAuthCode(String value)Sets the value of the authCode property.voidsetAvsResultCode(String value)Sets the value of the avsResultCode property.voidsetCavvResultCode(String value)Sets the value of the cavvResultCode property.voidsetCvvResultCode(String value)Sets the value of the cvvResultCode property.voidsetEmvResponse(TransactionResponse.EmvResponse value)Sets the value of the emvResponse property.voidsetEntryMode(String value)Sets the value of the entryMode property.voidsetErrors(TransactionResponse.Errors value)Sets the value of the errors property.voidsetMessages(TransactionResponse.Messages value)Sets the value of the messages property.voidsetNetworkTransId(String value)Sets the value of the networkTransId property.voidsetPrePaidCard(TransactionResponse.PrePaidCard value)Sets the value of the prePaidCard property.voidsetProfile(CustomerProfileIdType value)Sets the value of the profile property.voidsetRawResponseCode(String value)Sets the value of the rawResponseCode property.voidsetRefTransID(String value)Sets the value of the refTransID property.voidsetResponseCode(String value)Sets the value of the responseCode property.voidsetSecureAcceptance(TransactionResponse.SecureAcceptance value)Sets the value of the secureAcceptance property.voidsetShipTo(NameAndAddressType value)Sets the value of the shipTo property.voidsetSplitTenderId(String value)Sets the value of the splitTenderId property.voidsetSplitTenderPayments(TransactionResponse.SplitTenderPayments value)Sets the value of the splitTenderPayments property.voidsetTestRequest(String value)Sets the value of the testRequest property.voidsetTransHash(String value)Sets the value of the transHash property.voidsetTransHashSha2(String value)Sets the value of the transHashSha2 property.voidsetTransId(String value)Sets the value of the transId property.voidsetUserFields(TransactionResponse.UserFields value)Sets the value of the userFields property.
-
-
-
Field Detail
-
responseCode
protected String responseCode
-
rawResponseCode
protected String rawResponseCode
-
authCode
protected String authCode
-
avsResultCode
protected String avsResultCode
-
cvvResultCode
protected String cvvResultCode
-
cavvResultCode
protected String cavvResultCode
-
transId
protected String transId
-
refTransID
protected String refTransID
-
transHash
protected String transHash
-
testRequest
protected String testRequest
-
accountNumber
protected String accountNumber
-
entryMode
protected String entryMode
-
accountType
protected String accountType
-
splitTenderId
protected String splitTenderId
-
prePaidCard
protected TransactionResponse.PrePaidCard prePaidCard
-
messages
protected TransactionResponse.Messages messages
-
errors
protected TransactionResponse.Errors errors
-
splitTenderPayments
protected TransactionResponse.SplitTenderPayments splitTenderPayments
-
userFields
protected TransactionResponse.UserFields userFields
-
shipTo
protected NameAndAddressType shipTo
-
secureAcceptance
protected TransactionResponse.SecureAcceptance secureAcceptance
-
emvResponse
protected TransactionResponse.EmvResponse emvResponse
-
transHashSha2
protected String transHashSha2
-
profile
protected CustomerProfileIdType profile
-
networkTransId
protected String networkTransId
-
-
Method Detail
-
getResponseCode
public String getResponseCode()
Gets the value of the responseCode property.- Returns:
- possible object is
String
-
setResponseCode
public void setResponseCode(String value)
Sets the value of the responseCode property.- Parameters:
value- allowed object isString
-
getRawResponseCode
public String getRawResponseCode()
Gets the value of the rawResponseCode property.- Returns:
- possible object is
String
-
setRawResponseCode
public void setRawResponseCode(String value)
Sets the value of the rawResponseCode property.- Parameters:
value- allowed object isString
-
getAuthCode
public String getAuthCode()
Gets the value of the authCode property.- Returns:
- possible object is
String
-
setAuthCode
public void setAuthCode(String value)
Sets the value of the authCode property.- Parameters:
value- allowed object isString
-
getAvsResultCode
public String getAvsResultCode()
Gets the value of the avsResultCode property.- Returns:
- possible object is
String
-
setAvsResultCode
public void setAvsResultCode(String value)
Sets the value of the avsResultCode property.- Parameters:
value- allowed object isString
-
getCvvResultCode
public String getCvvResultCode()
Gets the value of the cvvResultCode property.- Returns:
- possible object is
String
-
setCvvResultCode
public void setCvvResultCode(String value)
Sets the value of the cvvResultCode property.- Parameters:
value- allowed object isString
-
getCavvResultCode
public String getCavvResultCode()
Gets the value of the cavvResultCode property.- Returns:
- possible object is
String
-
setCavvResultCode
public void setCavvResultCode(String value)
Sets the value of the cavvResultCode property.- Parameters:
value- allowed object isString
-
getTransId
public String getTransId()
Gets the value of the transId property.- Returns:
- possible object is
String
-
setTransId
public void setTransId(String value)
Sets the value of the transId property.- Parameters:
value- allowed object isString
-
getRefTransID
public String getRefTransID()
Gets the value of the refTransID property.- Returns:
- possible object is
String
-
setRefTransID
public void setRefTransID(String value)
Sets the value of the refTransID property.- Parameters:
value- allowed object isString
-
getTransHash
public String getTransHash()
Gets the value of the transHash property.- Returns:
- possible object is
String
-
setTransHash
public void setTransHash(String value)
Sets the value of the transHash property.- Parameters:
value- allowed object isString
-
getTestRequest
public String getTestRequest()
Gets the value of the testRequest property.- Returns:
- possible object is
String
-
setTestRequest
public void setTestRequest(String value)
Sets the value of the testRequest property.- Parameters:
value- allowed object isString
-
getAccountNumber
public String getAccountNumber()
Gets the value of the accountNumber property.- Returns:
- possible object is
String
-
setAccountNumber
public void setAccountNumber(String value)
Sets the value of the accountNumber property.- Parameters:
value- allowed object isString
-
getEntryMode
public String getEntryMode()
Gets the value of the entryMode property.- Returns:
- possible object is
String
-
setEntryMode
public void setEntryMode(String value)
Sets the value of the entryMode property.- Parameters:
value- allowed object isString
-
getAccountType
public String getAccountType()
Gets the value of the accountType property.- Returns:
- possible object is
String
-
setAccountType
public void setAccountType(String value)
Sets the value of the accountType property.- Parameters:
value- allowed object isString
-
getSplitTenderId
public String getSplitTenderId()
Gets the value of the splitTenderId property.- Returns:
- possible object is
String
-
setSplitTenderId
public void setSplitTenderId(String value)
Sets the value of the splitTenderId property.- Parameters:
value- allowed object isString
-
getPrePaidCard
public TransactionResponse.PrePaidCard getPrePaidCard()
Gets the value of the prePaidCard property.- Returns:
- possible object is
TransactionResponse.PrePaidCard
-
setPrePaidCard
public void setPrePaidCard(TransactionResponse.PrePaidCard value)
Sets the value of the prePaidCard property.- Parameters:
value- allowed object isTransactionResponse.PrePaidCard
-
getMessages
public TransactionResponse.Messages getMessages()
Gets the value of the messages property.- Returns:
- possible object is
TransactionResponse.Messages
-
setMessages
public void setMessages(TransactionResponse.Messages value)
Sets the value of the messages property.- Parameters:
value- allowed object isTransactionResponse.Messages
-
getErrors
public TransactionResponse.Errors getErrors()
Gets the value of the errors property.- Returns:
- possible object is
TransactionResponse.Errors
-
setErrors
public void setErrors(TransactionResponse.Errors value)
Sets the value of the errors property.- Parameters:
value- allowed object isTransactionResponse.Errors
-
getSplitTenderPayments
public TransactionResponse.SplitTenderPayments getSplitTenderPayments()
Gets the value of the splitTenderPayments property.- Returns:
- possible object is
TransactionResponse.SplitTenderPayments
-
setSplitTenderPayments
public void setSplitTenderPayments(TransactionResponse.SplitTenderPayments value)
Sets the value of the splitTenderPayments property.- Parameters:
value- allowed object isTransactionResponse.SplitTenderPayments
-
getUserFields
public TransactionResponse.UserFields getUserFields()
Gets the value of the userFields property.- Returns:
- possible object is
TransactionResponse.UserFields
-
setUserFields
public void setUserFields(TransactionResponse.UserFields value)
Sets the value of the userFields property.- Parameters:
value- allowed object isTransactionResponse.UserFields
-
getShipTo
public NameAndAddressType getShipTo()
Gets the value of the shipTo property.- Returns:
- possible object is
NameAndAddressType
-
setShipTo
public void setShipTo(NameAndAddressType value)
Sets the value of the shipTo property.- Parameters:
value- allowed object isNameAndAddressType
-
getSecureAcceptance
public TransactionResponse.SecureAcceptance getSecureAcceptance()
Gets the value of the secureAcceptance property.- Returns:
- possible object is
TransactionResponse.SecureAcceptance
-
setSecureAcceptance
public void setSecureAcceptance(TransactionResponse.SecureAcceptance value)
Sets the value of the secureAcceptance property.- Parameters:
value- allowed object isTransactionResponse.SecureAcceptance
-
getEmvResponse
public TransactionResponse.EmvResponse getEmvResponse()
Gets the value of the emvResponse property.- Returns:
- possible object is
TransactionResponse.EmvResponse
-
setEmvResponse
public void setEmvResponse(TransactionResponse.EmvResponse value)
Sets the value of the emvResponse property.- Parameters:
value- allowed object isTransactionResponse.EmvResponse
-
getTransHashSha2
public String getTransHashSha2()
Gets the value of the transHashSha2 property.- Returns:
- possible object is
String
-
setTransHashSha2
public void setTransHashSha2(String value)
Sets the value of the transHashSha2 property.- Parameters:
value- allowed object isString
-
getProfile
public CustomerProfileIdType getProfile()
Gets the value of the profile property.- Returns:
- possible object is
CustomerProfileIdType
-
setProfile
public void setProfile(CustomerProfileIdType value)
Sets the value of the profile property.- Parameters:
value- allowed object isCustomerProfileIdType
-
getNetworkTransId
public String getNetworkTransId()
Gets the value of the networkTransId property.- Returns:
- possible object is
String
-
-