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

com.liberologico.cloudesire.cmw.model.dto.VendorOrderLineDTO Maven / Gradle / Ivy

The newest version!
package com.liberologico.cloudesire.cmw.model.dto;

import com.liberologico.cloudesire.cmw.model.enums.LineType;

import java.math.BigDecimal;

public class VendorOrderLineDTO extends OrderLineDTO
{
    public VendorOrderLineDTO( BigDecimal value, BigDecimal vat )
    {
        this();
        this.setPrice( new VATPriceDTO().withValue( value ).withVAT( vat ) );
    }

    public VendorOrderLineDTO()
    {
        super();
    }

    @Override
    public LineType getType()
    {
        return LineType.CUSTOM;
    }

    @Override
    public void setType( LineType type )
    {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy