Package ru.bitel.bgbilling.modules.pscb.common.bean

# Class Transaction

java.lang.Object
ru.bitel.common.model.Id
ru.bitel.bgbilling.common.bean.BGAbstractTransaction
ru.bitel.bgbilling.modules.pscb.common.bean.Transaction

All Implemented Interfaces:
  `Serializable`, `ContractIdable`, `Idable`

public class Transaction extends BGAbstractTransaction
Bean для платежа в платежной системе PSCB (Петербургский социальный коммерческий банк)

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Transaction()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getPaymentMethod()`
  Получение метода оплаты, которым совершили данный платеж (qiwi, карта и т.д.)
  `Transaction`
  `setContractId(int contractId)`
  `Transaction`
  `setContractTitle(String contractTitle)`
  `Transaction`
  `setId(int id)`
  Устанавливает id объекта
  `void`
  `setPaymentMethod(String paymentMethod)`
  Установка метода оплаты.
  `Transaction`
  `setStatus(String status)`
  `Transaction`
  `setSum(BigDecimal sum)`
  `Transaction`
  `setTransactionDate(Date transactionDate)`
  `String`
  `toString()`

  ### Methods inherited from class ru.bitel.bgbilling.common.bean.BGAbstractTransaction

  `getCardholderName, getContractComment, getContractId, getContractTitle, getCreateDate, getPan, getParameter, getParameters, getPaymentId, getStatus, getSum, getTransactionDate, getTransactionId, getTransactionType, isAutopayment, setAutopayment, setContractComment, setCreateDate, setParameters, setPaymentId, setTransactionId, setTransactionType`

  ### Methods inherited from class ru.bitel.common.model.Id

  `copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Transaction

    public Transaction()

- ## Method Details

  - ### getPaymentMethod

    public String getPaymentMethod()
    Получение метода оплаты, которым совершили данный платеж (qiwi, карта и т.д.)
    Returns:
      метод оплаты

  - ### setPaymentMethod

    public void setPaymentMethod(String paymentMethod)
    Установка метода оплаты.
    Parameters:
      `paymentMethod` - метод оплаты. Примеры: “ac”, “qiwi”, “ym” и т.д.

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `BGAbstractTransaction`

  - ### setContractId

    public Transaction setContractId(int contractId)
    Overrides:
      `setContractId` in class `BGAbstractTransaction`

  - ### setStatus

    public Transaction setStatus(String status)
    Overrides:
      `setStatus` in class `BGAbstractTransaction`

  - ### setSum

    public Transaction setSum(BigDecimal sum)
    Overrides:
      `setSum` in class `BGAbstractTransaction`

  - ### setId

    public Transaction setId(int id)
    Description copied from class: `Id`
    Устанавливает id объекта
    Overrides:
      `setId` in class `Id`

  - ### setContractTitle

    public Transaction setContractTitle(String contractTitle)
    Overrides:
      `setContractTitle` in class `BGAbstractTransaction`

  - ### setTransactionDate

    public Transaction setTransactionDate(Date transactionDate)
    Overrides:
      `setTransactionDate` in class `BGAbstractTransaction`