public class

Line

extends Object
java.lang.Object
   ↳ org.mule.modules.freshbooks.model.Line

Summary

Fields
private BigDecimal amount
private String description
private String id
private String name
private BigDecimal quantity
private String tax1Name
private BigDecimal tax1Percent
private String tax2Name
private BigDecimal tax2Percent
private LineTypeEnum type
private Double unitCost
Public Constructors
Line()
Public Methods
BigDecimal getAmount()
String getDescription()
String getId()
String getName()
BigDecimal getQuantity()
String getTax1Name()
BigDecimal getTax1Percent()
String getTax2Name()
BigDecimal getTax2Percent()
LineTypeEnum getType()
Double getUnitCost()
void setAmount(BigDecimal amount)
void setDescription(String description)
void setId(String id)
void setName(String name)
void setQuantity(BigDecimal quantity)
void setTax1Name(String tax1Name)
void setTax1Percent(BigDecimal tax1Percent)
void setTax2Name(String tax2Name)
void setTax2Percent(BigDecimal tax2Percent)
void setType(LineTypeEnum type)
void setUnitCost(Double unitCost)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private BigDecimal amount

private String description

private String id

private String name

private BigDecimal quantity

private String tax1Name

private BigDecimal tax1Percent

private String tax2Name

private BigDecimal tax2Percent

private LineTypeEnum type

private Double unitCost

Public Constructors

public Line ()

Public Methods

public BigDecimal getAmount ()

public String getDescription ()

Returns
  • the description

public String getId ()

public String getName ()

Returns
  • the name

public BigDecimal getQuantity ()

Returns
  • the quantity

public String getTax1Name ()

Returns
  • the tax1Name

public BigDecimal getTax1Percent ()

Returns
  • the tax1Percent

public String getTax2Name ()

Returns
  • the tax2Name

public BigDecimal getTax2Percent ()

Returns
  • the tax2Percent

public LineTypeEnum getType ()

public Double getUnitCost ()

Returns
  • the unitCost

public void setAmount (BigDecimal amount)

Parameters
amount

public void setDescription (String description)

Parameters
description The description to set

public void setId (String id)

Parameters
id

public void setName (String name)

Parameters
name The name to set

public void setQuantity (BigDecimal quantity)

Parameters
quantity The quantity to set

public void setTax1Name (String tax1Name)

Parameters
tax1Name The tax1Name to set

public void setTax1Percent (BigDecimal tax1Percent)

Parameters
tax1Percent The tax1Percent to set

public void setTax2Name (String tax2Name)

Parameters
tax2Name The tax2Name to set

public void setTax2Percent (BigDecimal tax2Percent)

Parameters
tax2Percent The tax2Percent to set

public void setType (LineTypeEnum type)

Parameters
type The type to set

public void setUnitCost (Double unitCost)

Parameters
unitCost The unitCost to set