public class Transaction extends BGAbstractTransaction
Constructor and Description |
---|
Transaction() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCancelComment(java.lang.String who,
java.lang.String why)
Если платеж пришел с статусом Cancel, то можно попытаться узнать по какой причине.
|
java.lang.String |
getContractComment() |
long |
getInvoiceId() |
java.math.BigDecimal |
getOrderSumAmount() |
ru.bitel.bgbilling.modules.yamoney.common.CurrencyBank |
getOrderSumBankPaycash() |
ru.bitel.bgbilling.modules.yamoney.common.CurrencyCode |
getOrderSumCurrencyPaycash() |
java.util.Date |
getPaymentDateTime() |
java.lang.String |
getPaymentPayerCode() |
java.lang.String |
getPaymentType() |
java.lang.String |
getRawRequest() |
java.math.BigDecimal |
getShopSumAmount() |
ru.bitel.bgbilling.modules.yamoney.common.CurrencyBank |
getShopSumBankPaycash() |
ru.bitel.bgbilling.modules.yamoney.common.CurrencyCode |
getShopSumCurrencyPaycash() |
java.lang.String |
getYandexId() |
void |
setContractComment(java.lang.String contractComment) |
void |
setInvoiceId(long invoiceId) |
void |
setOrderSumAmount(java.math.BigDecimal orderSumAmount) |
void |
setOrderSumBankPaycash(ru.bitel.bgbilling.modules.yamoney.common.CurrencyBank orderSumBankPaycash) |
void |
setOrderSumCurrencyPaycash(ru.bitel.bgbilling.modules.yamoney.common.CurrencyCode orderSumCurrencyPaycash) |
void |
setPaymentDateTime(java.util.Date paymentDateTime) |
void |
setPaymentPayerCode(java.lang.String paymentPayerCode) |
void |
setPaymentType(java.lang.String paymentType) |
void |
setRawRequest(java.lang.String rawRequest) |
void |
setShopSumAmount(java.math.BigDecimal shopSumAmount) |
void |
setShopSumBankPaycash(ru.bitel.bgbilling.modules.yamoney.common.CurrencyBank shopSumBankPaycash) |
void |
setShopSumCurrencyPaycash(ru.bitel.bgbilling.modules.yamoney.common.CurrencyCode shopSumCurrencyPaycash) |
void |
setYandexId(java.lang.String yandexId) |
getContractId, getContractTitle, getCreateDate, getPaymentId, getStatus, getSum, getTransactionDate, getTransactionId, isAutopayment, setAutopayment, setContractId, setContractTitle, setCreateDate, setPaymentId, setStatus, setSum, setTransactionDate, setTransactionId, toString
public long getInvoiceId()
public void setInvoiceId(long invoiceId)
public java.math.BigDecimal getOrderSumAmount()
public void setOrderSumAmount(java.math.BigDecimal orderSumAmount)
public ru.bitel.bgbilling.modules.yamoney.common.CurrencyCode getOrderSumCurrencyPaycash()
public void setOrderSumCurrencyPaycash(ru.bitel.bgbilling.modules.yamoney.common.CurrencyCode orderSumCurrencyPaycash)
public ru.bitel.bgbilling.modules.yamoney.common.CurrencyBank getOrderSumBankPaycash()
public void setOrderSumBankPaycash(ru.bitel.bgbilling.modules.yamoney.common.CurrencyBank orderSumBankPaycash)
public java.math.BigDecimal getShopSumAmount()
public void setShopSumAmount(java.math.BigDecimal shopSumAmount)
public ru.bitel.bgbilling.modules.yamoney.common.CurrencyCode getShopSumCurrencyPaycash()
public void setShopSumCurrencyPaycash(ru.bitel.bgbilling.modules.yamoney.common.CurrencyCode shopSumCurrencyPaycash)
public ru.bitel.bgbilling.modules.yamoney.common.CurrencyBank getShopSumBankPaycash()
public void setShopSumBankPaycash(ru.bitel.bgbilling.modules.yamoney.common.CurrencyBank shopSumBankPaycash)
public java.lang.String getPaymentPayerCode()
public void setPaymentPayerCode(java.lang.String paymentPayerCode)
public java.util.Date getPaymentDateTime()
public void setPaymentDateTime(java.util.Date paymentDateTime)
public void setContractComment(java.lang.String contractComment)
setContractComment
in class BGAbstractTransaction
public java.lang.String getContractComment()
getContractComment
in class BGAbstractTransaction
public java.lang.String getPaymentType()
public void setPaymentType(java.lang.String paymentType)
public java.lang.String getRawRequest()
public void setRawRequest(java.lang.String rawRequest)
public java.lang.String getYandexId()
public void setYandexId(java.lang.String yandexId)
public static java.lang.String getCancelComment(java.lang.String who, java.lang.String why)
who
- - кто отменил. merchant - Продавец товаров и услуг (мы), yandex_checkout - Яндекс.Касса, payment_network - кто угодно. Пока не используется.why
- - причина отказа