Back to project page Java-Yandex.Money-API-SDK.
The source code is released under:
MIT License
If you think the Android project Java-Yandex.Money-API-SDK listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package ru.yandex.money.api.response; //from w w w . j a v a 2 s .c om import ru.yandex.money.api.response.util.Operation; /** * <p>??????? ???? ???????? ?????????? ?????? operationDetail. ???????? * ????????? ?????????? ? ?????????? ???????? ?? ????????.</p> * <b>????????</b>: ??? ??????????? ?????????? ???????? ???? ?????, ????? error ? * status (????? ??????? ??????????????), ????? null * @author dvmelnikov */ public class OperationDetailResponse extends Operation { private static final long serialVersionUID = -8469292472444798257L; private String error; private OperationDetailResponse() { super(); } /** * ????? ?????????? ?? ??????? ??? ?????? ? ?????????? ???????? * @return ???? ??????? ??????????? ???????? */ public Boolean isSuccess() { return error == null; } /** * @return ??? ??????, ?????????????? ??? ?????? ??????????? ????????. * ????????? ?????????: * <ul> * <li>illegal_param_operation_id ???????? ???????? * ????????? operation_id ????????.</li> * </ul> */ public String getError() { return error; } @Override public String toString() { if (isSuccess()) { return super.toString(); } return "OperationDetailResponse{" + "error='" + error + "\'}"; } }