public static class RateCardSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RateCardSummary |
build() |
RateCardSummary.Builder |
copy(RateCardSummary model) |
RateCardSummary.Builder |
currency(Currency currency) |
RateCardSummary.Builder |
discretionaryDiscountPercentage(String discretionaryDiscountPercentage)
Rate card discretionary discount percentage
|
RateCardSummary.Builder |
isTier(Boolean isTier)
Rate card price tier flag
|
RateCardSummary.Builder |
netUnitPrice(String netUnitPrice)
Rate card net unit price
|
RateCardSummary.Builder |
overagePrice(String overagePrice)
Rate card overage price
|
RateCardSummary.Builder |
product(Product product) |
RateCardSummary.Builder |
rateCardTiers(List<RateCardTier> rateCardTiers)
List of tiered rate card prices
|
RateCardSummary.Builder |
timeEnd(Date timeEnd)
Rate card end date
|
RateCardSummary.Builder |
timeStart(Date timeStart)
Rate card start date
|
public RateCardSummary.Builder product(Product product)
public RateCardSummary.Builder timeStart(Date timeStart)
Rate card start date
timeStart
- the value to setpublic RateCardSummary.Builder timeEnd(Date timeEnd)
Rate card end date
timeEnd
- the value to setpublic RateCardSummary.Builder netUnitPrice(String netUnitPrice)
Rate card net unit price
netUnitPrice
- the value to setpublic RateCardSummary.Builder discretionaryDiscountPercentage(String discretionaryDiscountPercentage)
Rate card discretionary discount percentage
discretionaryDiscountPercentage
- the value to setpublic RateCardSummary.Builder overagePrice(String overagePrice)
Rate card overage price
overagePrice
- the value to setpublic RateCardSummary.Builder isTier(Boolean isTier)
Rate card price tier flag
isTier
- the value to setpublic RateCardSummary.Builder currency(Currency currency)
public RateCardSummary.Builder rateCardTiers(List<RateCardTier> rateCardTiers)
List of tiered rate card prices
rateCardTiers
- the value to setpublic RateCardSummary build()
public RateCardSummary.Builder copy(RateCardSummary model)
Copyright © 2016–2024. All rights reserved.