Interface BillingPaymentProcess

All Superinterfaces:
ru.bgcrm.util.interactor.utils.process.CanBeClosed, ru.bgcrm.util.interactor.Interactable, ru.bgcrm.util.interactor.utils.process.ProcessInteractor, ru.bgcrm.util.interactor.utils.process.WithSingleCustomer

@EnableCache @ProcessInteractorReference(typeIds=11449) public interface BillingPaymentProcess extends ru.bgcrm.util.interactor.utils.process.ProcessInteractor, ru.bgcrm.util.interactor.utils.process.CanBeClosed, ru.bgcrm.util.interactor.utils.process.WithSingleCustomer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addContract(@NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u0434\u043e\u0433\u043e\u0432\u043e\u0440 \u0434\u043b\u044f \u043e\u043f\u043b\u0430\u0442\u044b") Contract contract)
     
    @Size(max=1,message="\u041a \u043e\u0434\u043d\u043e\u043c\u0443 \u0447\u0435\u043a\u0443 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u0442\u043e\u043b\u044c\u043a\u043e 1 \u0434\u043e\u0433\u043e\u0432\u043e\u0440") Set<Contract>
     
    void
     
     
    @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d id \u043a\u0430\u0441\u0441\u044b") Integer
     
    @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u043a\u0430\u0441\u0441\u0438\u0440") @Size(max=1,message="\u0423 \u043e\u0434\u043d\u043e\u0433\u043e \u0447\u0435\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e 1 \u043a\u0430\u0441\u0441\u0438\u0440") User
     
     
    @NotNull(message="\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e") BillingPaymentConfig
     
    @NotNull(message="\u041a \u0447\u0435\u043a\u0443 \u043d\u0435 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u0434\u043e\u0433\u043e\u0432\u043e\u0440") @Size(max=1,message="\u041a \u043e\u0434\u043d\u043e\u043c\u0443 \u0447\u0435\u043a\u0443 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u0442\u043e\u043b\u044c\u043a\u043e 1 \u0434\u043e\u0433\u043e\u0432\u043e\u0440") Contract
     
    @NotNull LocalDateTime
     
    @Email String
     
    @Size(min=1,message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u044b id \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439") Set<Integer>
     
    @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u0442\u0438\u043f \u043f\u043b\u0430\u0442\u0435\u0436\u0430") Integer
     
     
     
     
     
    @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u043e\u0431\u0449\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u043f\u043e \u0447\u0435\u043a\u0443") BigDecimal
     
    boolean
     
    boolean
     
    void
    setCancelReason(String cancelReason)
     
    void
    setCashBoxId(@NotNull(message="\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 id \u043a\u0430\u0441\u0441\u044b") Integer cashBoxId)
     
    void
     
    void
    setEmail(@Email String email)
     
    void
    setPaymentIds(@Size(min=1,message="\u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c") Set<Integer> paymentIds)
     
    void
    setPaymentTypeId(@NotNull(message="\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0438\u043f \u043f\u043b\u0430\u0442\u0435\u0436\u0430") Integer paymentTypeId)
     
    void
    setPKONumber(String pkoNumber)
     
    void
    setPositionTitle(String positionTitle)
     
    void
    setRefundTypeId(Integer refundTypeId)
     
    void
    setRKONumber(String rkoNumber)
     
    void
    setTotalSum(@NotNull(message="\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0431\u0449\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u043f\u043e \u0447\u0435\u043a\u0443") BigDecimal totalSum)
     
    void
     

    Methods inherited from interface ru.bgcrm.util.interactor.utils.process.CanBeClosed

    isStatusClosed, setStatusClosed

    Methods inherited from interface ru.bgcrm.util.interactor.utils.process.ProcessInteractor

    addDescription, addLinkedCommonContract, addLinkedCommonContracts, addLinkedCustomer, addLinkedObject, addLinkedObjects, addLinkedProcess, addLinkedProcesses, addProcessExecutor, addProcessExecutors, addProcessGroup, addProcessGroups, getCloseTime, getCreateTime, getCreator, getDescription, getId, getLinkedCommonContracts, getLinkedCustomer, getLinkedObjects, getLinkedProcesses, getProcessExecutors, getProcessGroups, getStatus, getType, removeLinkedCommonContract, removeLinkedObject, removeLinkedProcess, removeProcessExecutor, removeProcessGroup, setDescription, setStatus, setStatus, updateLinkedObjects

    Methods inherited from interface ru.bgcrm.util.interactor.utils.process.WithSingleCustomer

    getUniqueCustomer, getUniqueCustomerOrNull, removeCustomer, updateCustomer
  • Field Details

  • Method Details

    • getContract

      @BindProcessLinkedContracts @NotNull(message="\u041a \u0447\u0435\u043a\u0443 \u043d\u0435 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u0434\u043e\u0433\u043e\u0432\u043e\u0440") @Size(max=1, message="\u041a \u043e\u0434\u043d\u043e\u043c\u0443 \u0447\u0435\u043a\u0443 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u0442\u043e\u043b\u044c\u043a\u043e 1 \u0434\u043e\u0433\u043e\u0432\u043e\u0440") @NotNull(message="\u041a \u0447\u0435\u043a\u0443 \u043d\u0435 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u0434\u043e\u0433\u043e\u0432\u043e\u0440") @Size(max=1,message="\u041a \u043e\u0434\u043d\u043e\u043c\u0443 \u0447\u0435\u043a\u0443 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u0442\u043e\u043b\u044c\u043a\u043e 1 \u0434\u043e\u0433\u043e\u0432\u043e\u0440") Contract getContract()
    • assertThatOnlyOneContractIsLinked

      @BindProcessLinkedContracts @Size(max=1, message="\u041a \u043e\u0434\u043d\u043e\u043c\u0443 \u0447\u0435\u043a\u0443 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u0442\u043e\u043b\u044c\u043a\u043e 1 \u0434\u043e\u0433\u043e\u0432\u043e\u0440") @Size(max=1,message="\u041a \u043e\u0434\u043d\u043e\u043c\u0443 \u0447\u0435\u043a\u0443 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u0442\u043e\u043b\u044c\u043a\u043e 1 \u0434\u043e\u0433\u043e\u0432\u043e\u0440") Set<Contract> assertThatOnlyOneContractIsLinked()
    • addContract

      @BindProcessLinkedContracts @DropCache void addContract(@NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u0434\u043e\u0433\u043e\u0432\u043e\u0440 \u0434\u043b\u044f \u043e\u043f\u043b\u0430\u0442\u044b") @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u0434\u043e\u0433\u043e\u0432\u043e\u0440 \u0434\u043b\u044f \u043e\u043f\u043b\u0430\u0442\u044b") Contract contract)
    • isTransacted

      @BindProcessStatusCheck(statuses=8) boolean isTransacted()
    • isReturned

      @BindProcessStatusCheck(statuses=20) boolean isReturned()
    • transactCheck

      @BindProcessStatusSwitch(status=8) @DropCache void transactCheck()
    • cancelCheck

      @BindProcessStatusSwitch(status=20) @DropCache void cancelCheck()
    • getTotalSum

      @BindTextParamAsNumber(2850) @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u043e\u0431\u0449\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u043f\u043e \u0447\u0435\u043a\u0443") @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u043e\u0431\u0449\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u043f\u043e \u0447\u0435\u043a\u0443") BigDecimal getTotalSum()
    • setTotalSum

      @BindTextParamAsNumber(2850) @DropCache void setTotalSum(@NotNull(message="\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0431\u0449\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u043f\u043e \u0447\u0435\u043a\u0443") @NotNull(message="\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0431\u0449\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u043f\u043e \u0447\u0435\u043a\u0443") BigDecimal totalSum)
    • getPaymentTypeId

      @BindTextParamAsNumber(3361) @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u0442\u0438\u043f \u043f\u043b\u0430\u0442\u0435\u0436\u0430") @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u0442\u0438\u043f \u043f\u043b\u0430\u0442\u0435\u0436\u0430") Integer getPaymentTypeId()
    • setPaymentTypeId

      @BindTextParamAsNumber(3361) @DropCache void setPaymentTypeId(@NotNull(message="\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0438\u043f \u043f\u043b\u0430\u0442\u0435\u0436\u0430") @NotNull(message="\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0438\u043f \u043f\u043b\u0430\u0442\u0435\u0436\u0430") Integer paymentTypeId)
    • getEmail

      @BindTextParam(2492) @Email @Email String getEmail()
    • setEmail

      @BindTextParam(2492) @DropCache void setEmail(@Email @Email String email)
    • getCashBoxId

      @BindTextParamAsNumber(3342) @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d id \u043a\u0430\u0441\u0441\u044b") @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d id \u043a\u0430\u0441\u0441\u044b") Integer getCashBoxId()
    • setCashBoxId

      @BindTextParamAsNumber(3342) @DropCache void setCashBoxId(@NotNull(message="\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 id \u043a\u0430\u0441\u0441\u044b") @NotNull(message="\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 id \u043a\u0430\u0441\u0441\u044b") Integer cashBoxId)
    • getPaymentIds

      @BindTextParamAsCollection(3341) @Size(min=1, message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u044b id \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439") @Size(min=1,message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u044b id \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439") Set<Integer> getPaymentIds()
    • setPaymentIds

      @BindTextParamAsCollection(3341) @DropCache void setPaymentIds(@Size(min=1,message="\u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c") @Size(min=1,message="\u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c") Set<Integer> paymentIds)
    • getCashier

      @BindProcessExecutors @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u043a\u0430\u0441\u0441\u0438\u0440") @Size(max=1, message="\u0423 \u043e\u0434\u043d\u043e\u0433\u043e \u0447\u0435\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e 1 \u043a\u0430\u0441\u0441\u0438\u0440") @NotNull(message="\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u043a\u0430\u0441\u0441\u0438\u0440") @Size(max=1,message="\u0423 \u043e\u0434\u043d\u043e\u0433\u043e \u0447\u0435\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e 1 \u043a\u0430\u0441\u0441\u0438\u0440") User getCashier()
    • getPositionTitle

      @BindTextParam(5474) String getPositionTitle()
    • setPositionTitle

      @BindTextParam(5474) @DropCache void setPositionTitle(String positionTitle)
    • setCancelReason

      @BindTextParam(5473) @DropCache void setCancelReason(String cancelReason)
    • getCancelReason

      @BindTextParam(5473) String getCancelReason()
    • setPKONumber

      @BindTextParam(5471) @DropCache void setPKONumber(String pkoNumber)
    • getPKONumber

      @BindTextParam(5471) String getPKONumber()
    • setRKONumber

      @BindTextParam(5472) @DropCache void setRKONumber(String rkoNumber)
    • getRKONumber

      @BindTextParam(5472) String getRKONumber()
    • setRefundTypeId

      @BindTextParamAsNumber(5475) @DropCache void setRefundTypeId(Integer refundTypeId)
    • getRefundTypeId

      @BindTextParamAsNumber(5475) Integer getRefundTypeId()
    • setCityId

      @BindTextParamAsNumber(5476) @DropCache void setCityId(Integer cityId)
    • getCityId

      @BindTextParamAsNumber(5476) Integer getCityId()
    • getConfig

      @BindConfig @NotNull(message="\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e") @NotNull(message="\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e") BillingPaymentConfig getConfig()
    • getCreateLocalDateTime

      @BindCreateTime @NotNull @NotNull LocalDateTime getCreateLocalDateTime()