Class MerchantAction

java.lang.Object
com.onlinepayments.domain.MerchantAction

public class MerchantAction extends Object
  • Constructor Details

    • MerchantAction

      public MerchantAction()
  • Method Details

    • getActionType

      public String getActionType()
      Action merchants needs to take in the online payment process. Possible values are:
      • REDIRECT - The customer needs to be redirected using the details found in redirectData
      • SHOW_FORM - The customer needs to be shown a form with the fields found in formFields. You can submit the data entered by the user in a Complete payment request.
      • SHOW_INSTRUCTIONS - The customer needs to be shown payment instruction using the details found in showData. Alternatively the instructions can be rendered by us using the instructionsRenderingData
      • SHOW_TRANSACTION_RESULTS - The customer needs to be shown the transaction results using the details found in showData. Alternatively the instructions can be rendered by us using the instructionsRenderingData
      • MOBILE_THREEDS_CHALLENGE - The customer needs to complete a challenge as part of the 3D Secure authentication inside your mobile app. The details contained in mobileThreeDSecureChallengeParameters need to be provided to the EMVco certified Mobile SDK as a challengeParameters object.
      • CALL_THIRD_PARTY - The merchant needs to call a third party using the data found in thirdPartyData
    • setActionType

      public void setActionType(String value)
      Action merchants needs to take in the online payment process. Possible values are:
      • REDIRECT - The customer needs to be redirected using the details found in redirectData
      • SHOW_FORM - The customer needs to be shown a form with the fields found in formFields. You can submit the data entered by the user in a Complete payment request.
      • SHOW_INSTRUCTIONS - The customer needs to be shown payment instruction using the details found in showData. Alternatively the instructions can be rendered by us using the instructionsRenderingData
      • SHOW_TRANSACTION_RESULTS - The customer needs to be shown the transaction results using the details found in showData. Alternatively the instructions can be rendered by us using the instructionsRenderingData
      • MOBILE_THREEDS_CHALLENGE - The customer needs to complete a challenge as part of the 3D Secure authentication inside your mobile app. The details contained in mobileThreeDSecureChallengeParameters need to be provided to the EMVco certified Mobile SDK as a challengeParameters object.
      • CALL_THIRD_PARTY - The merchant needs to call a third party using the data found in thirdPartyData
    • withActionType

      public MerchantAction withActionType(String value)
      Action merchants needs to take in the online payment process. Possible values are:
      • REDIRECT - The customer needs to be redirected using the details found in redirectData
      • SHOW_FORM - The customer needs to be shown a form with the fields found in formFields. You can submit the data entered by the user in a Complete payment request.
      • SHOW_INSTRUCTIONS - The customer needs to be shown payment instruction using the details found in showData. Alternatively the instructions can be rendered by us using the instructionsRenderingData
      • SHOW_TRANSACTION_RESULTS - The customer needs to be shown the transaction results using the details found in showData. Alternatively the instructions can be rendered by us using the instructionsRenderingData
      • MOBILE_THREEDS_CHALLENGE - The customer needs to complete a challenge as part of the 3D Secure authentication inside your mobile app. The details contained in mobileThreeDSecureChallengeParameters need to be provided to the EMVco certified Mobile SDK as a challengeParameters object.
      • CALL_THIRD_PARTY - The merchant needs to call a third party using the data found in thirdPartyData
    • getMobileThreeDSecureChallengeParameters

      public MobileThreeDSecureChallengeParameters getMobileThreeDSecureChallengeParameters()
      Mobile 3D Secure Challenge Parameters
    • setMobileThreeDSecureChallengeParameters

      public void setMobileThreeDSecureChallengeParameters(MobileThreeDSecureChallengeParameters value)
      Mobile 3D Secure Challenge Parameters
    • withMobileThreeDSecureChallengeParameters

      public MerchantAction withMobileThreeDSecureChallengeParameters(MobileThreeDSecureChallengeParameters value)
      Mobile 3D Secure Challenge Parameters
    • getRedirectData

      public RedirectData getRedirectData()
      Object containing all data needed to redirect the customer
    • setRedirectData

      public void setRedirectData(RedirectData value)
      Object containing all data needed to redirect the customer
    • withRedirectData

      public MerchantAction withRedirectData(RedirectData value)
      Object containing all data needed to redirect the customer
    • getShowFormData

      public ShowFormData getShowFormData()
      Object returned for the SHOW_FORM actionType.
    • setShowFormData

      public void setShowFormData(ShowFormData value)
      Object returned for the SHOW_FORM actionType.
    • withShowFormData

      public MerchantAction withShowFormData(ShowFormData value)
      Object returned for the SHOW_FORM actionType.