All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.beigesoft.acc.mdlp.PuInSrLn Maven / Gradle / Ivy

Go to download

It consists of double entry accounting and trading (web-store) business logic. It's based on previous beigesoft-accounting and beigesoft-webstore projects.

The newest version!
/*
BSD 2-Clause License

Copyright (c) 2019, Beigesoft™
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

package org.beigesoft.acc.mdlp;

import java.util.List;

import org.beigesoft.acc.mdlb.AInvLn;

/**
 * 

Model of purchase invoice service line.

* * @author Yury Demidenko */ public class PuInSrLn extends AInvLn { /** *

Invoice.

**/ private PurInv ownr; /** *

Item.

**/ private Srv itm; /** *

Account with subaccount expenses, not null.

**/ private Acnt acc; /** *

Sub-account, not null.

**/ private String saNm; /** *

Sub-account, not null.

**/ private Long saId; /** *

Sub-account type, not null, always 1000 - expense.

**/ private Integer saTy = 1000; /** *

Item basis tax lines.

**/ private List txLns; /** *

Getter for ownr.

* @return PurInv **/ @Override public final PurInv getOwnr() { return this.ownr; } /** *

Setter for ownr.

* @param pOwnr reference **/ @Override public final void setOwnr(final PurInv pOwnr) { this.ownr = pOwnr; } /** *

Getter for itm.

* @return Srv **/ @Override public final Srv getItm() { return this.itm; } /** *

Setter for itm.

* @param pItm reference **/ @Override public final void setItm(final Srv pItm) { this.itm = pItm; } //Simple getters and setters: /** *

Getter for txLns.

* @return List **/ public final List getTxLns() { return this.txLns; } /** *

Setter for txLns.

* @param pTxLns reference **/ public final void setTxLns(final List pTxLns) { this.txLns = pTxLns; } /** *

Getter for acc.

* @return Acnt **/ public final Acnt getAcc() { return this.acc; } /** *

Setter for acc.

* @param pAcc reference **/ public final void setAcc(final Acnt pAcc) { this.acc = pAcc; } /** *

Getter for saNm.

* @return String **/ public final String getSaNm() { return this.saNm; } /** *

Setter for saNm.

* @param pSaNm reference **/ public final void setSaNm(final String pSaNm) { this.saNm = pSaNm; } /** *

Getter for saId.

* @return Long **/ public final Long getSaId() { return this.saId; } /** *

Setter for saId.

* @param pSaId reference **/ public final void setSaId(final Long pSaId) { this.saId = pSaId; } /** *

Getter for saTy.

* @return Integer **/ public final Integer getSaTy() { return this.saTy; } /** *

Setter for saTy.

* @param pSaTy reference **/ public final void setSaTy(final Integer pSaTy) { this.saTy = pSaTy; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy