|
@ -553,6 +553,7 @@ public class KYCV2Presenter extends BasePresenter implements KYCV2PresenterInter |
|
|
protected void onSuccess(KYCRegistrationDataResponse kycRegistrationDataResponse) { |
|
|
protected void onSuccess(KYCRegistrationDataResponse kycRegistrationDataResponse) { |
|
|
if(kycRegistrationDataResponse.getErrorCode().equalsIgnoreCase(Constants.SUCCESS_CODE_V2)) |
|
|
if(kycRegistrationDataResponse.getErrorCode().equalsIgnoreCase(Constants.SUCCESS_CODE_V2)) |
|
|
{ |
|
|
{ |
|
|
|
|
|
gateway.updateKYCSubmittedFlagLocally(true); |
|
|
view.showPopUpMessage(kycRegistrationDataResponse.getMsg(), CustomAlertDialog.AlertType.SUCCESS, new CustomAlertDialog.CustomDialogActionListener() { |
|
|
view.showPopUpMessage(kycRegistrationDataResponse.getMsg(), CustomAlertDialog.AlertType.SUCCESS, new CustomAlertDialog.CustomDialogActionListener() { |
|
|
@Override |
|
|
@Override |
|
|
public void onCutomDialogActionPressed(CustomAlertDialog.AlertType alertType) { |
|
|
public void onCutomDialogActionPressed(CustomAlertDialog.AlertType alertType) { |
|
@ -562,6 +563,7 @@ public class KYCV2Presenter extends BasePresenter implements KYCV2PresenterInter |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
view.showPopUpMessage(kycRegistrationDataResponse.getMsg(), CustomAlertDialog.AlertType.FAILED, null); |
|
|
view.showPopUpMessage(kycRegistrationDataResponse.getMsg(), CustomAlertDialog.AlertType.FAILED, null); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|