Class CisResult
- java.lang.Object
-
- com.hybris.cis.client.shared.models.CisResult
-
- All Implemented Interfaces:
Identifiable
- Direct Known Subclasses:
AvsResult,CisFraudReportResult,CisFraudTransactionResult,CisLabel,CisPaymentTransactionResult,CisShipment,CisShippingMethod,CisShippingMethods,CisShippingRateResult,CisTaxDoc,GeoLocationResult
public class CisResult extends java.lang.Object implements Identifiable
Contains details about the result of a CIS operation.
-
-
Constructor Summary
Constructors Constructor Description CisResult()Instantiates a new cis result.CisResult(CisDecision decision)Instantiates a new cis result.CisResult(CisDecision decision, java.lang.String id)Instantiates a new cis result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClientRefId()Gets the client ref id.CisDecisiongetDecision()Gets the decision.java.lang.StringgetHref()Gets the href.java.lang.StringgetId()Gets the id.java.lang.StringgetVendorId()Gets the vendor id.java.lang.StringgetVendorReasonCode()Gets the vendor reason code.AnnotationHashMapgetVendorResponses()java.lang.StringgetVendorStatusCode()Gets the vendor status code.voidsetClientRefId(java.lang.String clientRefId)Sets the client ref id.voidsetDecision(CisDecision decision)Sets the decision.voidsetHref(java.lang.String href)Sets the href.voidsetId(java.lang.String id)Sets the id.voidsetVendorId(java.lang.String vendorId)Sets the vendor id.voidsetVendorReasonCode(java.lang.String vendorReasonCode)Sets the vendor reason code.voidsetVendorResponses(AnnotationHashMap vendorResponses)voidsetVendorStatusCode(java.lang.String vendorStatusCode)Sets the vendor status code.
-
-
-
Constructor Detail
-
CisResult
public CisResult()
Instantiates a new cis result.
-
CisResult
public CisResult(CisDecision decision)
Instantiates a new cis result.- Parameters:
decision- the decision
-
CisResult
public CisResult(CisDecision decision, java.lang.String id)
Instantiates a new cis result.- Parameters:
decision- the decisionid- the id
-
-
Method Detail
-
getDecision
public CisDecision getDecision()
Gets the decision.- Returns:
- the decision
-
setDecision
public void setDecision(CisDecision decision)
Sets the decision.- Parameters:
decision- the decision to set
-
getId
public java.lang.String getId()
Gets the id.- Specified by:
getIdin interfaceIdentifiable- Returns:
- the id
-
setId
public void setId(java.lang.String id)
Sets the id.- Specified by:
setIdin interfaceIdentifiable- Parameters:
id- the id to set
-
getVendorReasonCode
public java.lang.String getVendorReasonCode()
Gets the vendor reason code.- Returns:
- the vendorReasonCode
-
setVendorReasonCode
public void setVendorReasonCode(java.lang.String vendorReasonCode)
Sets the vendor reason code.- Parameters:
vendorReasonCode- the vendorReasonCode to set
-
getVendorStatusCode
public java.lang.String getVendorStatusCode()
Gets the vendor status code.- Returns:
- the vendorStatusCode
-
setVendorStatusCode
public void setVendorStatusCode(java.lang.String vendorStatusCode)
Sets the vendor status code.- Parameters:
vendorStatusCode- the vendorStatusCode to set
-
getClientRefId
public java.lang.String getClientRefId()
Gets the client ref id.- Returns:
- the clientRefId
-
setClientRefId
public void setClientRefId(java.lang.String clientRefId)
Sets the client ref id.- Parameters:
clientRefId- the clientRefId to set
-
getVendorId
public java.lang.String getVendorId()
Gets the vendor id.- Returns:
- the vendorId
-
setVendorId
public void setVendorId(java.lang.String vendorId)
Sets the vendor id.- Parameters:
vendorId- the vendorId to set
-
getHref
public java.lang.String getHref()
Gets the href.- Returns:
- the href
-
setHref
public void setHref(java.lang.String href)
Sets the href.- Parameters:
href- the href to set
-
getVendorResponses
public AnnotationHashMap getVendorResponses()
-
setVendorResponses
public void setVendorResponses(AnnotationHashMap vendorResponses)
-
-