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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetCancelComment(String who, String why) Если платеж пришел с статусом Cancel, то можно попытаться узнать по какой причине.longgetPan()voidsetContractComment(String contractComment) voidsetInvoiceId(long invoiceId) voidsetOrderSumBankPaycash(CurrencyBank orderSumBankPaycash) voidsetOrderSumCurrencyPaycash(CurrencyCode orderSumCurrencyPaycash) voidsetPaymentPayerCode(String paymentPayerCode) voidsetPaymentType(String paymentType) voidsetRawRequest(String rawRequest) voidsetShopSumAmount(BigDecimal shopSumAmount) voidsetShopSumBankPaycash(CurrencyBank shopSumBankPaycash) voidsetShopSumCurrencyPaycash(CurrencyCode shopSumCurrencyPaycash) voidsetYoomoneyId(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:
setContractCommentin classBGAbstractTransaction
-
getContractComment
- Overrides:
getContractCommentin classBGAbstractTransaction
-
getPaymentType
-
setPaymentType
-
getRawRequest
-
setRawRequest
-
getYoomoneyId
-
setYoomoneyId
-
getPan
- Overrides:
getPanin classBGAbstractTransaction
-
getCardholderName
- Overrides:
getCardholderNamein classBGAbstractTransaction
-
getCancelComment
Если платеж пришел с статусом Cancel, то можно попытаться узнать по какой причине.- Parameters:
who- - кто отменил. merchant - Продавец товаров и услуг (мы), yoomoney_checkout - Яндекс.Касса, payment_network - кто угодно. Пока не используется.why- - причина отказа
-