public class MerchantAction extends Object
Constructor and Description |
---|
MerchantAction() |
Modifier and Type | Method and Description |
---|---|
String |
getActionType()
Action merchants needs to take in the online payment process.
|
List<PaymentProductField> |
getFormFields()
Populated only when the actionType of the merchantAction is SHOW_FORM.
|
MobileThreeDSecureChallengeParameters |
getMobileThreeDSecureChallengeParameters()
Populated only when the actionType of the merchantAction is MOBILE_THREEDS_CHALLENGE.
|
RedirectData |
getRedirectData()
Object containing all data needed to redirect the customer
|
String |
getRenderingData()
This property contains the blob with data for the instructions rendering service.
|
List<KeyValuePair> |
getShowData()
This is returned for the SHOW_INSTRUCTION, the SHOW_TRANSACTION_RESULTS and the SHOW_FORM actionType.
When returned for SHOW_TRANSACTION_RESULTS or SHOW_FORM, this contains an array of key value pairs of data that needs to be shown to the customer. Note: The returned value for the key BARCODE is a base64 encoded gif image. |
ThirdPartyData |
getThirdPartyData()
This is returned for the CALL_THIRD_PARTY actionType.
The payment product specific field of the payment product used for the payment will be populated with the third party data that should be used when calling the third party. |
void |
setActionType(String value)
Action merchants needs to take in the online payment process.
|
void |
setFormFields(List<PaymentProductField> value)
Populated only when the actionType of the merchantAction is SHOW_FORM.
|
void |
setMobileThreeDSecureChallengeParameters(MobileThreeDSecureChallengeParameters value)
Populated only when the actionType of the merchantAction is MOBILE_THREEDS_CHALLENGE.
|
void |
setRedirectData(RedirectData value)
Object containing all data needed to redirect the customer
|
void |
setRenderingData(String value)
This property contains the blob with data for the instructions rendering service.
|
void |
setShowData(List<KeyValuePair> value)
This is returned for the SHOW_INSTRUCTION, the SHOW_TRANSACTION_RESULTS and the SHOW_FORM actionType.
When returned for SHOW_TRANSACTION_RESULTS or SHOW_FORM, this contains an array of key value pairs of data that needs to be shown to the customer. Note: The returned value for the key BARCODE is a base64 encoded gif image. |
void |
setThirdPartyData(ThirdPartyData value)
This is returned for the CALL_THIRD_PARTY actionType.
The payment product specific field of the payment product used for the payment will be populated with the third party data that should be used when calling the third party. |
public String getActionType()
public void setActionType(String value)
public List<PaymentProductField> getFormFields()
public void setFormFields(List<PaymentProductField> value)
public MobileThreeDSecureChallengeParameters getMobileThreeDSecureChallengeParameters()
public void setMobileThreeDSecureChallengeParameters(MobileThreeDSecureChallengeParameters value)
public RedirectData getRedirectData()
public void setRedirectData(RedirectData value)
public String getRenderingData()
This service will be available at the following endpoint: http(s)://{{merchant specific subdomain}}.{{base MyCheckout hosted payment pages domain}}/instructions/{{merchantId}}/{{clientSessionId}}
This instructions page rendering service accepts the following parameters:
The instructionsRenderingData is a String blob that is presented to you via the Server API as part of the merchantAction (if available, and non-redirect) in the JSON return values for the createPayment call or the getHostedCheckoutStatus call (merchantAction inside createdPaymentOutput when available). You are responsible to store the instructionsRenderingData blob in order to be able to present the instructions page at a later time, when this information might no longer be available through Server API calls.
public void setRenderingData(String value)
This service will be available at the following endpoint: http(s)://{{merchant specific subdomain}}.{{base MyCheckout hosted payment pages domain}}/instructions/{{merchantId}}/{{clientSessionId}}
This instructions page rendering service accepts the following parameters:
The instructionsRenderingData is a String blob that is presented to you via the Server API as part of the merchantAction (if available, and non-redirect) in the JSON return values for the createPayment call or the getHostedCheckoutStatus call (merchantAction inside createdPaymentOutput when available). You are responsible to store the instructionsRenderingData blob in order to be able to present the instructions page at a later time, when this information might no longer be available through Server API calls.
public List<KeyValuePair> getShowData()
public void setShowData(List<KeyValuePair> value)
public ThirdPartyData getThirdPartyData()
public void setThirdPartyData(ThirdPartyData value)
Copyright © 2024 Worldline Global Collect. All rights reserved.