1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.samples.voipservice.service; |
12 | |
|
13 | |
import org.mule.samples.voipservice.interfaces.BankAgency; |
14 | |
import org.mule.samples.voipservice.to.CreditProfileTO; |
15 | |
|
16 | |
import org.apache.commons.logging.Log; |
17 | |
import org.apache.commons.logging.LogFactory; |
18 | |
|
19 | 0 | public class BankAgencyService implements BankAgency |
20 | |
{ |
21 | |
|
22 | 0 | protected static transient Log logger = LogFactory.getLog(BankAgencyService.class); |
23 | |
|
24 | |
public CreditProfileTO getAuthorisedStatus(CreditProfileTO creditProfileTO) |
25 | |
{ |
26 | 0 | creditProfileTO.setCreditAuthorisedStatus(CreditProfileTO.CREDIT_AUTHORISED); |
27 | 0 | return creditProfileTO; |
28 | |
} |
29 | |
|
30 | |
} |