Class Transaction
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.bgbilling.common.bean.BGAbstractTransaction
ru.bitel.bgbilling.modules.yoomoney.common.bean.Transaction
- All Implemented Interfaces:
Serializable
,Idable
Представление части информации о каждой транзакции (в БД), то, что
возвращается в наш экзекутер при оплате (и это эе самое приходит при
проверке).
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getCancelComment
(String who, String why) Если платеж пришел с статусом Cancel, то можно попытаться узнать по какой причине.long
getPan()
void
setContractComment
(String contractComment) void
setInvoiceId
(long invoiceId) void
setOrderSumBankPaycash
(CurrencyBank orderSumBankPaycash) void
setOrderSumCurrencyPaycash
(CurrencyCode orderSumCurrencyPaycash) void
setPaymentPayerCode
(String paymentPayerCode) void
setPaymentType
(String paymentType) void
setRawRequest
(String rawRequest) void
setShopSumAmount
(BigDecimal shopSumAmount) void
setShopSumBankPaycash
(CurrencyBank shopSumBankPaycash) void
setShopSumCurrencyPaycash
(CurrencyCode shopSumCurrencyPaycash) void
setYoomoneyId
(String yoomoneyId) Methods inherited from class ru.bitel.bgbilling.common.bean.BGAbstractTransaction
getContractId, getContractTitle, getCreateDate, getParameter, getPaymentId, getStatus, getSum, getTransactionDate, getTransactionId, getTransactionType, isAutopayment, setAutopayment, setContractId, setContractTitle, setCreateDate, setPaymentId, setStatus, setSum, setTransactionDate, setTransactionId, setTransactionType, toString
-
Constructor Details
-
Transaction
public Transaction()
-
-
Method Details
-
getInvoiceId
public long getInvoiceId() -
setInvoiceId
public void setInvoiceId(long invoiceId) -
getOrderSumCurrencyPaycash
-
setOrderSumCurrencyPaycash
-
getOrderSumBankPaycash
-
setOrderSumBankPaycash
-
getShopSumAmount
-
setShopSumAmount
-
getShopSumCurrencyPaycash
-
setShopSumCurrencyPaycash
-
getShopSumBankPaycash
-
setShopSumBankPaycash
-
getPaymentPayerCode
-
setPaymentPayerCode
-
setContractComment
- Overrides:
setContractComment
in classBGAbstractTransaction
-
getContractComment
- Overrides:
getContractComment
in classBGAbstractTransaction
-
getPaymentType
-
setPaymentType
-
getRawRequest
-
setRawRequest
-
getYoomoneyId
-
setYoomoneyId
-
getPan
- Overrides:
getPan
in classBGAbstractTransaction
-
getCardholderName
- Overrides:
getCardholderName
in classBGAbstractTransaction
-
getCancelComment
Если платеж пришел с статусом Cancel, то можно попытаться узнать по какой причине.- Parameters:
who
- - кто отменил. merchant - Продавец товаров и услуг (мы), yoomoney_checkout - Яндекс.Касса, payment_network - кто угодно. Пока не используется.why
- - причина отказа
-