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:
-
Nested Class Summary
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.common.bean.BGAbstractTransaction
parameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Transaction.Builder
builder()
static 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, getParameters, getPaymentId, getStatus, getSum, getTransactionDate, getTransactionId, getTransactionType, isAutopayment, setAutopayment, setContractId, setContractTitle, setCreateDate, setParameters, 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
- - причина отказа
-
builder
-