- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 29 of file DocumentLine.java.
◆ assignValuesFrom()
void org.turro.financials.entity.DocumentLine.assignValuesFrom |
( |
DocumentLine |
documentLine | ) |
|
Definition at line 304 of file DocumentLine.java.
312 setTax(documentLine.getTax());
void setStore(Contract store)
void setEquivalenceSurcharge(double equivalenceSurcharge)
void setContractPreference(ContractPreference contractPreference)
void setQuantity(double quantity)
void setDiscountMoney(double discountMoney)
void setDiscountPerCent(double discountPerCent)
void setLineType(LineType lineType)
void setRetention(double retention)
void setDocument(Document document)
void setProduct(Product product)
void setPrice(double price)
void setProductByContractor(ProductByContractor productByContractor)
void setConcept(String concept)
◆ clearLine()
void org.turro.financials.entity.DocumentLine.clearLine |
( |
| ) |
|
◆ getAmount()
Double org.turro.financials.entity.DocumentLine.getAmount |
( |
| ) |
|
Definition at line 284 of file DocumentLine.java.
OperatingModifier getOperatingModifier()
boolean isSumTax(DocumentLine line)
◆ getConcept()
String org.turro.financials.entity.DocumentLine.getConcept |
( |
| ) |
|
◆ getContractPreference()
◆ getDescription()
String org.turro.financials.entity.DocumentLine.getDescription |
( |
| ) |
|
Definition at line 224 of file DocumentLine.java.
225 if(product !=
null) {
228 if(productByContractor !=
null && productByContractor.
getProduct() !=
null) {
◆ getDiscount()
double org.turro.financials.entity.DocumentLine.getDiscount |
( |
| ) |
|
Definition at line 243 of file DocumentLine.java.
244 return new Round(((
getSubtotal() - discountMoney) * (discountPerCent / 100.0)) + discountMoney).decimals(document.
getCurrency().getDefaultFractionDigits()).value();
◆ getDiscountMoney()
double org.turro.financials.entity.DocumentLine.getDiscountMoney |
( |
| ) |
|
◆ getDiscountPerCent()
double org.turro.financials.entity.DocumentLine.getDiscountPerCent |
( |
| ) |
|
◆ getDocument()
Document org.turro.financials.entity.DocumentLine.getDocument |
( |
| ) |
|
◆ getEquivalenceSurcharge()
double org.turro.financials.entity.DocumentLine.getEquivalenceSurcharge |
( |
| ) |
|
◆ getEquivalenceSurchargeValue()
Double org.turro.financials.entity.DocumentLine.getEquivalenceSurchargeValue |
( |
| ) |
|
◆ getFullTax()
Double org.turro.financials.entity.DocumentLine.getFullTax |
( |
| ) |
|
◆ getFullTaxValue()
Double org.turro.financials.entity.DocumentLine.getFullTaxValue |
( |
| ) |
|
◆ getId()
long org.turro.financials.entity.DocumentLine.getId |
( |
| ) |
|
◆ getLineOrder()
int org.turro.financials.entity.DocumentLine.getLineOrder |
( |
| ) |
|
◆ getLineType()
LineType org.turro.financials.entity.DocumentLine.getLineType |
( |
| ) |
|
Definition at line 127 of file DocumentLine.java.
128 if(lineType !=
null) {
void setContractPreference(ContractPreference contractPreference)
◆ getPrice()
double org.turro.financials.entity.DocumentLine.getPrice |
( |
| ) |
|
◆ getProduct()
Product org.turro.financials.entity.DocumentLine.getProduct |
( |
| ) |
|
◆ getProductByContractor()
◆ getQuantity()
double org.turro.financials.entity.DocumentLine.getQuantity |
( |
| ) |
|
◆ getRealTaxValue()
Double org.turro.financials.entity.DocumentLine.getRealTaxValue |
( |
| ) |
|
◆ getRetained()
double org.turro.financials.entity.DocumentLine.getRetained |
( |
| ) |
|
◆ getRetention()
double org.turro.financials.entity.DocumentLine.getRetention |
( |
| ) |
|
◆ getStore()
Contract org.turro.financials.entity.DocumentLine.getStore |
( |
| ) |
|
◆ getSubtotal()
double org.turro.financials.entity.DocumentLine.getSubtotal |
( |
| ) |
|
Definition at line 234 of file DocumentLine.java.
236 return new Round(quantity == 0 ? price : price * quantity).decimals(fractions).value();
◆ getTax()
double org.turro.financials.entity.DocumentLine.getTax |
( |
| ) |
|
◆ getTaxable()
Double org.turro.financials.entity.DocumentLine.getTaxable |
( |
| ) |
|
◆ getTaxValue()
Double org.turro.financials.entity.DocumentLine.getTaxValue |
( |
| ) |
|
◆ getToDeclare()
Double org.turro.financials.entity.DocumentLine.getToDeclare |
( |
| ) |
|
◆ isEmpty()
boolean org.turro.financials.entity.DocumentLine.isEmpty |
( |
| ) |
|
◆ setConcept()
void org.turro.financials.entity.DocumentLine.setConcept |
( |
String |
concept | ) |
|
Definition at line 70 of file DocumentLine.java.
71 if(!Strings.isBlank(concept)) {
72 if(concept.length() > 255) {
73 concept = concept.substring(0, 255);
76 this.concept = concept;
◆ setContractPreference()
void org.turro.financials.entity.DocumentLine.setContractPreference |
( |
ContractPreference |
contractPreference | ) |
|
Definition at line 83 of file DocumentLine.java.
84 this.contractPreference = contractPreference;
◆ setDiscountMoney()
void org.turro.financials.entity.DocumentLine.setDiscountMoney |
( |
double |
discountMoney | ) |
|
◆ setDiscountPerCent()
void org.turro.financials.entity.DocumentLine.setDiscountPerCent |
( |
double |
discountPerCent | ) |
|
◆ setDocument()
void org.turro.financials.entity.DocumentLine.setDocument |
( |
Document |
document | ) |
|
◆ setEquivalenceSurcharge()
void org.turro.financials.entity.DocumentLine.setEquivalenceSurcharge |
( |
double |
equivalenceSurcharge | ) |
|
Definition at line 201 of file DocumentLine.java.
202 this.equivalenceSurcharge = equivalenceSurcharge;
◆ setId()
void org.turro.financials.entity.DocumentLine.setId |
( |
long |
id | ) |
|
◆ setLineOrder()
void org.turro.financials.entity.DocumentLine.setLineOrder |
( |
int |
lineOrder | ) |
|
◆ setLineType()
void org.turro.financials.entity.DocumentLine.setLineType |
( |
LineType |
lineType | ) |
|
Definition at line 134 of file DocumentLine.java.
135 this.lineType = lineType;
ContractPreference getContractPreference()
◆ setPrice()
void org.turro.financials.entity.DocumentLine.setPrice |
( |
double |
price | ) |
|
◆ setProduct()
void org.turro.financials.entity.DocumentLine.setProduct |
( |
Product |
product | ) |
|
◆ setProductByContractor()
void org.turro.financials.entity.DocumentLine.setProductByContractor |
( |
ProductByContractor |
productByContractor | ) |
|
Definition at line 161 of file DocumentLine.java.
162 this.productByContractor = productByContractor;
◆ setQuantity()
void org.turro.financials.entity.DocumentLine.setQuantity |
( |
double |
quantity | ) |
|
◆ setRetention()
void org.turro.financials.entity.DocumentLine.setRetention |
( |
double |
retention | ) |
|
◆ setStore()
void org.turro.financials.entity.DocumentLine.setStore |
( |
Contract |
store | ) |
|
◆ setTax()
void org.turro.financials.entity.DocumentLine.setTax |
( |
double |
tax | ) |
|
The documentation for this class was generated from the following file: