package Ġco . om ise go . omg shop . pages . transaction . generate . caller Ċ Ċ import Ġco . om ise go . omg shop . base . Base Contract Ċ import Ġco . om ise go . omg shop . models . Credential Ċ import Ġco . om ise go . om ise go . model . API Error Ċ import Ġco . om ise go . om ise go . model . OM G Response Ċ import Ġco . om ise go . om ise go . model . transaction . request . Transaction Request Ċ import Ġco . om ise go . om ise go . model . transaction . request . Transaction Request Create Params Ċ Ċ /* Ċ Ġ* ĠOm ise GO Ċ Ġ* Ċ Ġ* ĠCreated Ġby ĠPh uch it ĠSi ri mong k ols ath ien Ġon Ġ 1 9 / 6 / 2 0 1 8 ĠAD . Ċ Ġ* ĠCopyright ĠÂ© Ġ 2 0 1 7 - 2 0 1 8 ĠOm ise GO . ĠAll Ġrights Ġreserved . Ċ Ġ*/ Ċ interface ĠGenerate Transaction Caller Contract Ġ{ ĊĠĠĠ Ġinterface ĠCall er Ġ: ĠBase Contract . Base Caller Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġcredential : ĠCredential ĊĠĠĠĠĠĠĠ Ġfun Ġgenerate ( auth Token : ĠString Ġ= Ġcredential . om ise go Authentication Token , Ġrequest : ĠTransaction Request Create Params ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġinterface ĠHandler Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġhandle Generate Transaction Success ( response : ĠO MG Response < Transaction Request >) ĊĠĠĠĠĠĠĠ Ġfun Ġhandle Generate Transaction Failed ( error : ĠO MG Response < API Error >) ĊĠĠĠĠĠĠĠ Ġfun Ġshow Loading () ĊĠĠĠ Ġ} Ċ }