<?xml version="1.0" encoding="utf-8" ?>
<objects
xmlns:util="http://www.springactionscript.org/schema/util">
<object
id="flowCfg"
class="ru.mobw.coreas3.app.config.FlowConfig">
</object>
<object
id="flow"
class="ru.mobw.coreas3.app.flow.mcflow.MCFlowBase"
depends-on="flowCfg">
<constructor-arg ref="flowCfg">
</constructor-arg>
<property name="routeData" ref="route"/>
<property name="elementsMap">
<dictionary>
<entry><key>checkStatus</key><value><ref>checkStatus</ref></value></entry>
<entry><key>title</key><value><ref>title</ref></value></entry>
<entry><key>selectCountry</key><value><ref>selectCountry</ref></value></entry>
<entry><key>countryInfo</key><value><ref>countryInfo</ref></value></entry>
<entry><key>calculator</key><value><ref>calculator</ref></value></entry>
<entry><key>selectPayment</key><value><ref>selectPayment</ref></value></entry>
<entry><key>inputSenderFio</key><value><ref>inputSenderFio</ref></value></entry>
<entry><key>inputRecipientFio</key><value><ref>inputRecipientFio</ref></value></entry>
<entry><key>inputCardNumber</key><value><ref>inputCardNumber</ref></value></entry>
<entry><key>selectRecipient</key><value><ref>selectRecipient</ref></value></entry>
<entry><key>checkSelectCurrency</key><value><ref>checkSelectCurrency</ref></value></entry>
<entry><key>selectCurrency</key><value><ref>selectCurrency</ref></value></entry>
<entry><key>sendPaymentTemplate</key><value><ref>sendPaymentTemplate</ref></value></entry>
<entry><key>inputPhone</key><value><ref>inputPhone</ref></value></entry>
<entry><key>oferta</key><value><ref>oferta</ref></value></entry>
<entry><key>bankOferta</key><value><ref>bankOferta</ref></value></entry>
<entry><key>inputPin</key><value><ref>inputPin</ref></value></entry>
<entry><key>inputSumm</key><value><ref>inputSumm</ref></value></entry>
<entry><key>paymentType</key><value><ref>paymentType</ref></value></entry>
<entry><key>confirm</key><value><ref>confirm</ref></value></entry>
<entry><key>sendPaymentRequest</key><value><ref>sendPaymentRequest</ref></value></entry>
<entry><key>cash</key><value><ref>cash</ref></value></entry>
<entry><key>balancePayment</key><value><ref>balancePayment</ref></value></entry>
<entry><key>enterComment</key><value><ref>enterComment</ref></value></entry>
<entry><key>end</key><value><ref>end</ref></value></entry>
<entry><key>actionSavedData</key><value><ref>actionSavedData</ref></value></entry>
<entry><key>exit</key><value><ref>exit</ref></value></entry>
</dictionary>
</property>
</object>
<object
id="checkStatus"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="1"/>
<constructor-arg value="checkStatus"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="ru.qiwi.bridge.view.AbstractView"/>
<property name="_controllerClass" value="controllers.CheckStatusController"/>
<property name="registrationCandidates">
<array>
<value>controller.checkStatusService,success,S:checkStatus</value>
<value>controller.checkStatusService,prvDenied,E:prvDenied</value>
<value>controller.checkStatusService,printerFail,E:printerFail</value>
<value>controller.checkStatusService,techError,E:techError</value>
</array>
</property>
</object>
<object
id="title"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="2"/>
<constructor-arg value="title"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.TitleView"/>
<property name="_controllerClass" value="controllers.TitleController"/>
<property name="registrationCandidates">
<array>
<value>view.fioButton,ACTION_CLICK,A:fio</value>
<value>view.numCardButton,ACTION_CLICK,A:card</value>
<value>view.calcButton,ACTION_CLICK,A:calcStartPage</value>
<value>view.prevPaymentsButton,ACTION_CLICK,A:getAdressbook</value>
</array>
</property>
</object>
<object
id="selectCountry"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="3"/>
<constructor-arg value="selectCountry"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.SelectCountryView"/>
<property name="_controllerClass" value="controllers.SelectCountryController"/>
</object>
<object
id="countryInfo"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="4"/>
<constructor-arg value="countryInfo"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.CountryInfoView"/>
<property name="_controllerClass" value="controllers.CountryInfoController"/>
</object>
<object
id="selectPayment"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="5"/>
<constructor-arg value="selectPayment"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.SelectPaymentView"/>
<property name="_controllerClass" value="controllers.SelectPaymentController"/>
<property name="registrationCandidates">
<array>
<value>controller.service,getAddressBookSuccess,S:getAddressBookSuccess</value>
<value>controller.service,zeroPayments,S:zeroPayments</value>
<value>controller.service,fail,E:pinFail</value>
<value>controller.service,timeout,E:pinFail</value>
<value>view.editButton,ACTION_CLICK,A:editPayment</value>
</array>
</property>
</object>
<object
id="calculator"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="6"/>
<constructor-arg value="calculator"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.CalculatorView"/>
<property name="_controllerClass" value="controllers.CalculatorController"/>
</object>
<object
id="inputSenderFio"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="7"/>
<constructor-arg value="sender"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.InputFioView"/>
<property name="_controllerClass" value="controllers.InputSenderFioController"/>
</object>
<object
id="inputRecipientFio"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="8"/>
<constructor-arg value="recipients"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.InputFioView"/>
<property name="_controllerClass" value="controllers.InputRecipientFioController"/>
</object>
<object
id="inputCardNumber"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="9"/>
<constructor-arg value="inputCardNumber"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.InputCardNumberView"/>
<property name="_controllerClass" value="controllers.InputCardNumberController"/>
<property name="registrationCandidates">
<array>
<value>controller.service,resultSuccess,S:checkCardNumberSuccess</value>
<value>controller.service,fail,E:checkCardNumberFail</value>
<value>controller.service,timeout,E:checkCardNumberFail</value>
</array>
</property>
</object>
<object
id="selectRecipient"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="10"/>
<constructor-arg value="selectRecipient"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.SelectRecipientView"/>
<property name="_controllerClass" value="controllers.SelectRecipientController"/>
<property name="registrationCandidates">
<array>
<value>view.newRecipientButton,ACTION_CLICK,A:newRecipient</value>
</array>
</property>
</object>
<object
id="selectCurrency"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="11"/>
<constructor-arg value="selectCurrency"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.SelectCurrencyView"/>
<property name="_controllerClass" value="controllers.SelectCurrencyController"/>
<property name="registrationCandidates">
<array>
<value>view.rubButton,ACTION_CLICK,A:transferInRUR</value>
<value>view.dollarButton,ACTION_CLICK,A:transferInUSD</value>
</array>
</property>
</object>
<object
id="actionSavedData"
class="ru.qiwi.general.ui.base.page.BasePageWithOutUI"
>
<property name="id" value="26"/>
<constructor-arg value="actionSavedData"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="ru.qiwi.bridge.view.AbstractView"/>
<property name="_controllerClass" value="controllers.ActionSavedDataController"/>
</object>
<object
id="sendPaymentTemplate"
class="ru.qiwi.general.ui.base.page.BasePageWithOutUI"
>
<property name="id" value="12"/>
<constructor-arg value="sendPaymentTemplate"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="ru.qiwi.bridge.view.AbstractView"/>
<property name="_controllerClass" value="controllers.SendPaymentTemplateController"/>
<property name="registrationCandidates">
<array>
<value>controller.service,templateSuccess,S:checkTemplateSuccess</value>
<value>controller.service,fail,E:checkTemplateFail</value>
<value>controller.service,timeout,E:checkTemplateFail</value>
</array>
</property>
</object>
<object
id="checkSelectCurrency"
class="ru.qiwi.general.ui.base.page.BasePageWithOutUI"
>
<property name="id" value="13"/>
<constructor-arg value="checkSelectCurrency"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="ru.qiwi.bridge.view.AbstractView"/>
<property name="_controllerClass" value="controllers.CheckSelectCurrencyController"/>
</object>
<object
id="inputPhone"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="14"/>
<constructor-arg value="inputPhone"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.InputPhoneView"/>
<property name="_controllerClass" value="controllers.InputPhoneController"/>
<property name="registrationCandidates">
<array>
<value>controller.authService,successLoginResult,S:loginSuccess</value>
<value>controller.authService,noPinResult,S:noPin</value>
<value>controller.authService,sendSmsPinResult,S:sendSmsPin</value>
<value>controller.authService,fail,E:loginFail</value>
<value>controller.authService,timeout,E:loginFail</value>
</array>
</property>
</object>
<object
id="oferta"
class="ru.qiwi.general.ui.base.page.OfertaPage"
>
<property name="id" value="15"/>
<constructor-arg value="oferta"/>
<constructor-arg ref="mainInstance"/>
<constructor-arg value="${config.ofertaPath}"/>
<property name="_viewClass" value="ru.qiwi.general.ui.base.view.OfertaView"/>
<property name="_controllerClass" value="ru.qiwi.general.ui.base.controller.OfertaController"/>
</object>
<object
id="bankOferta"
class="ru.qiwi.general.ui.base.page.OfertaPage"
>
<property name="id" value="16"/>
<constructor-arg value="oferta"/>
<constructor-arg ref="mainInstance"/>
<constructor-arg value="${config.bankOfertaPath}"/>
<property name="_viewClass" value="ru.qiwi.general.ui.base.view.OfertaView"/>
<property name="_controllerClass" value="ru.qiwi.general.ui.base.controller.OfertaController"/>
</object>
<object
id="inputPin"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="17"/>
<constructor-arg value="inputPin"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.InputPinView"/>
<property name="_controllerClass" value="controllers.InputPinController"/>
<property name="registrationCandidates">
<array>
<value>controller.loginService,pinSuccess,S:pinSuccess</value>
<value>controller.loginService,fail,E:pinFail</value>
<value>controller.loginService,timeout,E:pinFail</value>
</array>
</property>
</object>
<object
id="enterComment"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="18"/>
<constructor-arg value="enterComment"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.EnterCommentView"/>
<property name="_controllerClass" value="controllers.EnterCommentController"/>
<property name="registrationCandidates">
<array>
<value>controller.savePaymentService,successSave,S:savePaymentSuccess</value>
<value>controller.savePaymentService,fail,E:savePaymentFail</value>
<value>controller.savePaymentService,timeout,E:savePaymentFail</value>
</array>
</property>
</object>
<object
id="inputSumm"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="19"/>
<constructor-arg value="inputSumm"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.InputSummView"/>
<property name="_controllerClass" value="controllers.InputSummController"/>
<property name="registrationCandidates">
<array>
<value>view.calcButton,ACTION_CLICK,A:calcInputSumm</value>
<value>controller.service,getRateSuccess,S:getRateSuccess</value>
<value>controller.service,fail,E:getRateFail</value>
<value>controller.service,timeout,E:getRateFail</value>
<value>controller.service,getRURSummSuccess,S:getRURSummSuccess</value>
<value>controller.service,failRURSumm,E:getRURSummFail</value>
<value>controller.service,timeoutRURSumm,E:getRURSummFail</value>
</array>
</property>
</object>
<object
id="paymentType"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="20"/>
<constructor-arg value="paymentType"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.PaymentTypeView"/>
<property name="_controllerClass" value="controllers.PaymentTypeController"/>
<property name="registrationCandidates">
<array>
<value>view.cashPayment,ACTION_CLICK,A:payFromCash</value>
<value>view.balancePayment,ACTION_CLICK,A:payFromBalance</value>
</array>
</property>
</object>
<object
id="confirm"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="21"/>
<constructor-arg value="confirm"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.ConfirmView"/>
<property name="_controllerClass" value="controllers.ConfirmController"/>
</object>
<object
id="sendPaymentRequest"
class="ru.qiwi.general.ui.base.page.BasePageWithOutUI"
>
<property name="id" value="22"/>
<constructor-arg value="sendPaymentRequest"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="ru.qiwi.bridge.view.AbstractView"/>
<property name="_controllerClass" value="controllers.SendPaymentRequestController"/>
<property name="registrationCandidates">
<array>
<value>controller.sendPaymentService,successResult,S:createPaymentSuccess</value>
<value>controller.sendPaymentService,errorResult,E:createPaymentFail</value>
<value>controller.sendPaymentService,fail,E:createPaymentFail</value>
<value>controller.sendPaymentService,timeout,E:createPaymentFail</value>
</array>
</property>
</object>
<object
id="cash"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="23"/>
<property name="timeout" value="600000"/>
<constructor-arg value="cash"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.UnistreamCashView"/>
<property name="_controllerClass" value="controllers.UnistreamCashController"/>
</object>
<object
id="balancePayment"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="24"/>
<constructor-arg value="balancePayment"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.BalancePaymentView"/>
<property name="_controllerClass" value="controllers.BalancePaymentController"/>
<property name="registrationCandidates">
<array>
<value>controller.sendPaymentService,successResult,S:balancePaymentSuccess</value>
<value>controller.sendPaymentService,errorResult,E:balancePaymentFail</value>
<value>controller.sendPaymentService,fail,E:balancePaymentFail</value>
<value>controller.sendPaymentService,timeout,E:balancePaymentFail</value>
</array>
</property>
</object>
<object
id="end"
class="ru.qiwi.general.ui.base.page.BasePage"
>
<property name="id" value="25"/>
<constructor-arg value="end"/>
<constructor-arg ref="mainInstance"/>
<property name="_viewClass" value="views.EndView"/>
<property name="_controllerClass" value="controllers.EndController"/>
<property name="registrationCandidates">
<array>
<value>controller.savePaymentService,responseEvent,S:savePaymentOnEndPageSuccess</value>
<value>controller.savePaymentService,fail,E:savePaymentOnEndPageFail</value>
<value>controller.savePaymentService,timeout,E:savePaymentOnEndPageFail</value>
</array>
</property>
</object>
<object
id="exit"
class="ru.qiwi.general.ui.base.page.ExitPage"
>
<constructor-arg value="exit"/>
</object>
</objects>