Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesDuring the payment flow, the integrator-app receives customer display messages that can be displayed on a customer display.
ShowOnCustomerDisplay contains two objects MainText and DisplayText. The MainText and DisplayText objects both contains the text attribute for the customer display text. The MainText object additionally contains a TextID and a LanguageCode attribute.
PaymentDelegate delegate = new PaymentDelegate() {
...
@Override
public void showOnCustomerDisplay(MainTextRequest mainTextRequest, DisplayTextRequest subTextRequest) {
if(StringUtils.isNotEmpty(mainTextRequest.text())){
log(String.format("[ %s ]: Customer Display MainText: %s", context, mainTextRequest.text()));
}
if(StringUtils.isNotEmpty(subTextRequest.text())){
log(String.format("[ %s ]: Customer Display SubText: %s", context, subTextRequest.text()));
}
}
...
};
...