Interface CustomLineItemTaxedPrice
public interface CustomLineItemTaxedPrice
CustomLineItemTaxedPrice
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomLineItemTaxedPrice customLineItemTaxedPrice = CustomLineItemTaxedPrice.builder()
.totalNet(totalNetBuilder -> totalNetBuilder)
.totalGross(totalGrossBuilder -> totalGrossBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomLineItemTaxedPricebuilder
(CustomLineItemTaxedPrice template) create builder for CustomLineItemTaxedPrice instancestatic CustomLineItemTaxedPrice
deepCopy
(CustomLineItemTaxedPrice template) factory method to create a deep copy of CustomLineItemTaxedPrice@NotNull @Valid TypedMoney
@NotNull @Valid TypedMoney
static CustomLineItemTaxedPrice
of()
factory methodstatic CustomLineItemTaxedPrice
of
(CustomLineItemTaxedPrice template) factory method to create a shallow copy CustomLineItemTaxedPricevoid
setTotalGross
(TypedMoney totalGross) set totalGrossvoid
setTotalNet
(TypedMoney totalNet) set totalNetstatic com.fasterxml.jackson.core.type.TypeReference<CustomLineItemTaxedPrice>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getTotalNet
- Returns:
- totalNet
-
getTotalGross
- Returns:
- totalGross
-
setTotalNet
set totalNet- Parameters:
totalNet
- value to be set
-
setTotalGross
set totalGross- Parameters:
totalGross
- value to be set
-
of
factory method- Returns:
- instance of CustomLineItemTaxedPrice
-
of
factory method to create a shallow copy CustomLineItemTaxedPrice- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CustomLineItemTaxedPrice- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomLineItemTaxedPrice- Returns:
- builder
-
builder
create builder for CustomLineItemTaxedPrice instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomLineItemTaxedPrice
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-