-
- All Implemented Interfaces:
-
java.io.Serializable
public final class ChargeResponse extends AcquiringResponse
Ответ на запрос Charge
-
-
Field Summary
Fields Modifier and Type Field Description private final StringorderIdprivate final LongpaymentIdprivate final Longamountprivate final ResponseStatusstatusprivate final StringcardIdprivate final Stringmessageprivate final Stringdetailsprivate final StringterminalKeyprivate final StringerrorCodeprivate final BooleanisSuccess
-
Constructor Summary
Constructors Constructor Description ChargeResponse(String orderId, Long paymentId, Long amount, ResponseStatus status, String cardId)
-
Method Summary
Modifier and Type Method Description final StringgetOrderId()final LonggetPaymentId()final LonggetAmount()final ResponseStatusgetStatus()final StringgetCardId()final PaymentInfogetPaymentInfo()-
-
Constructor Detail
-
ChargeResponse
ChargeResponse(String orderId, Long paymentId, Long amount, ResponseStatus status, String cardId)
- Parameters:
orderId- номер заказа в системе продавцаpaymentId- уникальный идентификатор транзакции в системе банкаamount- сумма списания в копейкахstatus- статус транзакцииcardId- идентификатор карты в системе банка, с которой производилось списание
-
-
Method Detail
-
getOrderId
final String getOrderId()
-
getPaymentId
final Long getPaymentId()
-
getStatus
final ResponseStatus getStatus()
-
getPaymentInfo
final PaymentInfo getPaymentInfo()
-
-
-
-