public class Purchase extends Object
| Constructor and Description |
|---|
Purchase() |
| Modifier and Type | Method and Description |
|---|---|
Purchase |
accountCode(String accountCode) |
Purchase |
coGSAccountCode(String coGSAccountCode) |
boolean |
equals(Object o) |
String |
getAccountCode()
Default account code to be used for purchased/sale.
|
String |
getCoGSAccountCode()
Cost of goods sold account.
|
TaxType |
getTaxType()
Get taxType
|
Float |
getUnitPrice()
Unit Price of the item.
|
int |
hashCode() |
void |
setAccountCode(String accountCode) |
void |
setCoGSAccountCode(String coGSAccountCode) |
void |
setTaxType(TaxType taxType) |
void |
setUnitPrice(Float unitPrice) |
Purchase |
taxType(TaxType taxType) |
String |
toString() |
Purchase |
unitPrice(Float unitPrice) |
public Float getUnitPrice()
public void setUnitPrice(Float unitPrice)
public String getAccountCode()
public void setAccountCode(String accountCode)
public String getCoGSAccountCode()
public void setCoGSAccountCode(String coGSAccountCode)
public TaxType getTaxType()
public void setTaxType(TaxType taxType)
Copyright © 2019. All rights reserved.