public static PaytrailService createPaytrailService ( ) { IOHandler ioHandler = new HttpClientIOHandler ( ) ; Marshaller marshaller = new JacksonMarshaller ( ) ; String merchantId = SystemUtils . getSettingValue ( "paytrail.merchantId" ) ; String merchantSecret = SystemUtils . getSettingValue ( "paytrail.merchantSecret" ) ; return new PaytrailService ( ioHandler , marshaller , merchantId , merchantSecret ) ; }
Creates a paytrail service instance