public static class InvoiceLineSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InvoiceLineSummary |
build() |
InvoiceLineSummary.Builder |
copy(InvoiceLineSummary model) |
InvoiceLineSummary.Builder |
currency(Currency currency) |
InvoiceLineSummary.Builder |
netUnitPrice(BigDecimal netUnitPrice)
Unit price of the ordered product
|
InvoiceLineSummary.Builder |
orderNo(String orderNo)
Product of the item
|
InvoiceLineSummary.Builder |
partNumber(String partNumber)
Part number
|
InvoiceLineSummary.Builder |
product(String product)
Product of the item
|
InvoiceLineSummary.Builder |
quantity(BigDecimal quantity)
Quantity of the ordered product
|
InvoiceLineSummary.Builder |
timeEnd(Date timeEnd)
End date
|
InvoiceLineSummary.Builder |
timeStart(Date timeStart)
Start date
|
InvoiceLineSummary.Builder |
totalPrice(BigDecimal totalPrice)
Total price of the ordered product (Net unit price x quantity)
|
public InvoiceLineSummary.Builder product(String product)
Product of the item
product
- the value to setpublic InvoiceLineSummary.Builder orderNo(String orderNo)
Product of the item
orderNo
- the value to setpublic InvoiceLineSummary.Builder partNumber(String partNumber)
Part number
partNumber
- the value to setpublic InvoiceLineSummary.Builder timeStart(Date timeStart)
Start date
timeStart
- the value to setpublic InvoiceLineSummary.Builder timeEnd(Date timeEnd)
End date
timeEnd
- the value to setpublic InvoiceLineSummary.Builder quantity(BigDecimal quantity)
Quantity of the ordered product
quantity
- the value to setpublic InvoiceLineSummary.Builder netUnitPrice(BigDecimal netUnitPrice)
Unit price of the ordered product
netUnitPrice
- the value to setpublic InvoiceLineSummary.Builder totalPrice(BigDecimal totalPrice)
Total price of the ordered product (Net unit price x quantity)
totalPrice
- the value to setpublic InvoiceLineSummary.Builder currency(Currency currency)
public InvoiceLineSummary build()
public InvoiceLineSummary.Builder copy(InvoiceLineSummary model)
Copyright © 2016–2024. All rights reserved.