Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Document Logs
Change log:

...

Helper methodreturn typeDescription
getApplicationStatusOutputExceptionIfNull()

GetApplicationStatusOutput

(package path:

dk.ekspresbank.feedbackservice._2014._01)

Returns a reference to the actual result object returned by the FeedbackService.getApplicationStatus call. This object can be used in case the helper methods available in ApplicationStatusResult object are not enough to meet the requirements.

This method throws a RuntimeException if the GetApplicationStatusOutput object returned by FeedbackService.getApplicationStatus call is null.

All the helper methods described in the next rows of this table are actually calling the corresponding getter methods on this GetApplicationStatusOutput object. Some times the helper methods perform some internal conversions/formatting for easy use.

For ex:

  • Boolean type result values are converted to boolean type (with false being the default when Boolean object is null)
  • XMLGregorianCalendar type result values are converted to java.util.Date type
isStatusResultOk()boolean

true: The currentStatus and latestEvent value in the response can be trusted

false: Something went wrong, so the response values cannot be trusted

isHasGoAhead()boolean

true/false

Returns the value of hasGoAhead property

isHasShipped()boolean

true/false

Returns the value of hasShipped property

isIsOk()boolean

true/false

Returns the value of outputexception property

getRequestId()StringReturns the requestId returned by Ekspresbank in getApplicationStatus response
getApplicationGuid()StringReturns the applicationGUID returned by Ekspresbank in getApplicationStatus response. This will be same as the applicationGUID supplied in the input
getApplicationId()IntegerReturns the applicationId returned by Ekspresbank in getApplicationStatus response.
getCurrentStatus()Integer

Gets the Current status of the application. Below is a list of all possible values for CurrentStatus:

CurrentStatus valueDescription
0Unknown: The application is not currently known by the system
1Pending: The application is known, but has not yet reached its final status
2Accepted: The application is approved, and is waiting for the customer to sign the agreement
3Declined: The customer cannot get a loan at this time
4Canceled: The application has been annulled and cannot be used for financing a purchase
getCurrentStatusDate()DateDate on which the application reached current status
getLatestEvent()Integer

Gets the value of the latestEvent. Below is a list of all possible values for latestEvent property:

latestEvent value

Description

0

Unknown: The application is not currently known by the system.

1

Pending: The application is known, but has not yet reached its final status.

2

Accepted: The application is approved, and is waiting for the customer to sign the agreement.

3

Declined: The customer cannot get a loan at this time.

4

Cancelled: The application has been annulled and cannot be used for financing a purchase.

101

Initiation

102

Submit

103

Working

281

GoAhead: The agreement is signed, and the order is ready to be sent to the customer.

282

Shipped

291

Board

299

Disburse

401

CancelSale

402

CancelApplication

getLatestEventDate()DateReturns the date of latestEvent
getContractUrl()JAXBElement<String>Gets the value of the contractUrl

...

Parameter Path/TypeMandatory?ValueDescription
FINANCIAL.EKSPRESBANK.PARTNER_ID
NumberYESTo be provided by Ekspres BankA unique Id supplied by Ekspresbank to identify the Partner.
FINANCIAL.EKSPRESBANK.EVENT_RECORD_PASS_KEY
StringYESTo be provided by Ekspres Bank

Value of eventRecordPassKey input parameter used in FeedbackService.putEventRecord method calls. This is supplied by Ekspres Bank

FINANCIAL.EKSPRESBANK.CANCEL_SIGNAL_EVENT_TYPE

Number

NO

Default value: 401

Value of eventType input parameter passed to the FeedbackService.putEventRecord method for canceling an Application.

This parameter is created for flexibility that if this value changes in future, then it can be configured via the parameter.

Note: Cancel can be initiated via the FeedbackService.putEventRecord call, ONLY if the order has NOT yet been shipped i.e. ship signal is not yet sent.

FINANCIAL.EKSPRESBANK.SHIP_SIGNAL_EVENT_TYPE
NumberNO

Default value: 282

 

Value of eventType input parameter passed to the FeedbackService.putEventRecord method for sending 'Order Shipped' (i.e. Capture) signal to Ekspres Bank

This parameter is created for flexibility that if this value changes in future, then it can be configured via the parameter.

FINANCIAL.EKSPRESBANK.FEEDBACK_SERVICE_ENDPOINT
StringYES

URL to access the Ekspres Bank webservice FeedbackService

The URL to access FeedbackService Test service(Note: This is the value to be the configured in this parameter entry on TEST environment): https://preprodservices.ekspresbanktest.com/feedback/FeedbackService.svc

The URL to access FeedbackService Production service(Note: This is the value to be the configured in this parameter entry on PRODUCTION environment): https://services.ekspresbank.com/feedback/FeedbackService.svc

 

Endpoint URL to connect to the Ekspres Bank FeedbackService.

In case the WSDLs need to be accessed, here are the links (do not use these URLs in this parameter tree entry value)

For Test FeedbackService WSDL:  https://preprodservices.ekspresbanktest.com/feedback/FeedbackService.wsdl

For Production FeedbackService WSDL: https://services.ekspresbank.com/feedback/FeedbackService.wsdl

...