public class IPGApiResult extends Object
IPGApiResult
object is returned when successfully calling
IPGApiClient.commitTransaction(IPGApiTransaction)
. This class
contains getter
methods for accessing the data fields which give
detailed information about the transaction approval.Constructor and Description |
---|
IPGApiResult(de.firstdata.ipg.api.schema.IPGApiOrderResponse response)
the constructor is invoked internally during the execution of
IPGApiClient.commitTransaction(IPGApiTransaction) |
Modifier and Type | Method and Description |
---|---|
String |
getApprovalCode()
returns the code which is created by the credit card processor when
having approved this transaction
|
String |
getAVSResponse()
returns the address verification response (AVS)
|
String |
getBrand() |
String |
getCommercialServiceProvider()
returns the commercial service provider
|
String |
getCountry() |
String |
getDebugInformation()
returns debug information - for internal use only
|
String |
getErrorMessage()
returns the processing error message - note that this element is always
empty since the transaction has been approved
|
String |
getExternalMerchantID()
returns ExternalMerchantId from Response
|
List<String> |
getHostedDataIds() |
Long |
getIpgTransactionId() |
String |
getMandateReference() |
String |
getOrderId()
returns the order ID which must be provided when referring to this
transaction - you have to provide this ID when creating a follow-up
transaction by calling one of the operations
IPGApiClient#createPostAuthTransaction(double, String) ,
IPGApiClient#createReturnTransaction(double, String) , and
IPGApiClient#createVoidTransaction(String, String) |
String |
getPayerSecurityLevel() |
String |
getPaymentType() |
String |
getProcessorApprovalCode()
Returns the processor approval code
|
String |
getProcessorCCVResponse() |
BigDecimal |
getProcessorInstallmentFirstAmount() |
BigDecimal |
getProcessorInstallmentInsuranceAmount() |
BigDecimal |
getProcessorInstallmentIssuerFeeAmount() |
BigDecimal |
getProcessorInstallmentOtherAmount() |
BigDecimal |
getProcessorInstallmentOtherExpensesAmount() |
BigDecimal |
getProcessorInstallmentRatePerYear() |
BigDecimal |
getProcessorInstallmentTaxesAmount() |
BigDecimal |
getProcessorInstallmentTotalAmount() |
String |
getProcessorNetworkInformation() |
String |
getProcessorReceiptNumber()
Returns the processor receipt number
|
String |
getProcessorReferenceNumber()
returns the reference number the credit card processor uses for referring
to this transaction
|
String |
getProcessorResponseCode()
Returns the processor response code
|
String |
getProcessorResponseMessage()
returns the processing response message returned by the credit card
processor - since the transaction has been approved, the string
Function performed error-free is always returned
|
String |
getProcessorTraceNumber()
Returns the processor trace number
|
BigDecimal |
getProcessorVoucherRemainingAmount() |
String |
getProcessorVoucherType() |
String |
getRedirectURL() |
de.firstdata.ipg.api.schema.Secure3DResponse |
getSecure3DResponse() |
de.firstdata.ipg.api.schema.SecurePlusResponse |
getSecurePlusResponse() |
String |
getTDate()
returns the tDate which must be provided when voiding this transaction by
creating a Void transaction object via
IPGApiClient#createVoidTransaction(String, String) |
String |
getTDateFormatted() |
String |
getTerminalID()
returns the terminal id of this transaction
|
String |
getTransactionResult()
returns the transaction result which is always set to APPROVED
|
String |
getTransactionTime()
returns the time stamp set by the First Data API Web Service before
returning the transaction result
|
String |
getUpdatedAccountErrorCode() |
String |
getUpdatedAccountStatus() |
String |
getUpdatedExpirationDate() |
String |
getUpdatedPrimaryAccountNumber() |
public IPGApiResult(de.firstdata.ipg.api.schema.IPGApiOrderResponse response)
IPGApiClient.commitTransaction(IPGApiTransaction)
response
- the unmarshalled response objectpublic String getExternalMerchantID()
public String getDebugInformation()
public String getCommercialServiceProvider()
public String getTransactionTime()
public String getProcessorReferenceNumber()
public String getProcessorResponseMessage()
public String getErrorMessage()
public String getOrderId()
IPGApiClient#createPostAuthTransaction(double, String)
,
IPGApiClient#createReturnTransaction(double, String)
, and
IPGApiClient#createVoidTransaction(String, String)
public String getApprovalCode()
public String getAVSResponse()
public String getTDate()
IPGApiClient#createVoidTransaction(String, String)
public String getTransactionResult()
public String getTerminalID()
public String getProcessorResponseCode()
public String getProcessorApprovalCode()
public String getProcessorReceiptNumber()
public String getProcessorTraceNumber()
public String getProcessorCCVResponse()
public String getBrand()
public String getCountry()
public String getPayerSecurityLevel()
public String getPaymentType()
public String getTDateFormatted()
public String getMandateReference()
public String getRedirectURL()
public BigDecimal getProcessorInstallmentFirstAmount()
public BigDecimal getProcessorInstallmentOtherAmount()
public BigDecimal getProcessorInstallmentIssuerFeeAmount()
public BigDecimal getProcessorInstallmentTaxesAmount()
public BigDecimal getProcessorInstallmentInsuranceAmount()
public BigDecimal getProcessorInstallmentOtherExpensesAmount()
public BigDecimal getProcessorInstallmentTotalAmount()
public BigDecimal getProcessorInstallmentRatePerYear()
public BigDecimal getProcessorVoucherRemainingAmount()
public String getProcessorVoucherType()
public Long getIpgTransactionId()
public de.firstdata.ipg.api.schema.Secure3DResponse getSecure3DResponse()
public de.firstdata.ipg.api.schema.SecurePlusResponse getSecurePlusResponse()
public String getProcessorNetworkInformation()
public String getUpdatedAccountStatus()
public String getUpdatedPrimaryAccountNumber()
public String getUpdatedExpirationDate()
public String getUpdatedAccountErrorCode()
Copyright © 2019. All rights reserved.