Class InitResponse
-
- All Implemented Interfaces:
-
java.io.Serializable,ru.tinkoff.acquiring.sdk.responses.ResponseWithPaymentId
public final class InitResponse extends AcquiringResponse implements ResponseWithPaymentId
Ответ на запрос Init
Mariya Chernyadieva, Taras Nagorny
-
-
Field Summary
Fields Modifier and Type Field Description private final Longamountprivate final StringorderIdprivate final LongpaymentIdprivate final ResponseStatusstatusprivate final StringpaymentURLprivate final Stringmessageprivate final Stringdetailsprivate final StringterminalKeyprivate final StringerrorCodeprivate final BooleanisSuccess
-
Constructor Summary
Constructors Constructor Description InitResponse(Long amount, String orderId, Long paymentId, ResponseStatus status, String paymentURL)
-
Method Summary
Modifier and Type Method Description final LonggetAmount()final StringgetOrderId()LonggetPaymentId()final ResponseStatusgetStatus()final StringgetPaymentURL()-
-
Constructor Detail
-
InitResponse
InitResponse(Long amount, String orderId, Long paymentId, ResponseStatus status, String paymentURL)
- Parameters:
amount- сумма списания в копейкахorderId- номер заказа в системе продавцаpaymentId- уникальный идентификатор транзакции в системе банкаstatus- статус транзакцииpaymentURL- ссылка на платежную форму
-
-
Method Detail
-
getOrderId
final String getOrderId()
-
getPaymentId
Long getPaymentId()
-
getStatus
final ResponseStatus getStatus()
-
getPaymentURL
final String getPaymentURL()
-
-
-
-