HostResponse

public class HostResponse

Methods

create

public static HostResponse create(String authorizationCode, HostDecisionType hostDecision, HashMap<String, String> emvTags, Decimal authAmount, HostResponseType type, Boolean signatureOverride)
Parameters:
  • authorizationCode – The Authorization code sent from the host.

  • hostDecision – Enum representing the Hosts decision for the request, see HostDecisionType.

  • emvTags – EMV Tags to be sent to the POI deviceAuthAmount.

  • authAmount – The amount which has been authorized, including, if applicable, the approved cashback amount.

  • type – The type of the host response, see HostResponseType.

  • signatureOverride – Signature capture behavior: true means always capture, false means never capture, unset means follow configured behavior.

getAuthAmount

public Decimal getAuthAmount()

The amount which has been authorized, including, if applicable, the approved cashback amount.

getAuthorizationCode

public String getAuthorizationCode()

Authorization code sent from the host.

getEmvTags

public HashMap<String, String> getEmvTags()

EMV Tags to be sent to the POI deviceAuthAmount.

getHostDecision

public HostDecisionType getHostDecision()

Enum representing the Hosts decision for the request, see HostDecisionType.

getSignatureOverride

public Boolean getSignatureOverride()

Signature capture behavior,

getType

public HostResponseType getType()

Type of the host response, see HostResponseType,