Modifier and Type | Field and Description |
---|---|
protected double |
amount |
protected String |
currency |
protected String |
timePeriod |
Constructor and Description |
---|
Cost.Builder() |
protected double amount
protected String currency
protected String timePeriod
protected abstract T self()
public T amount(double amount)
Cost.getAmount()
public T currency(String currency)
Cost.getCurrency()
public T timePeriod(String timePeriod)
Cost.getTimePeriod()
public Cost build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.