public abstract static class BillingToken.Builder<T extends BillingToken.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
id |
protected String |
name |
protected double |
price |
Constructor and Description |
---|
BillingToken.Builder() |
Modifier and Type | Method and Description |
---|---|
BillingToken |
build() |
T |
fromBillingToken(BillingToken in) |
T |
id(long id) |
T |
name(String name) |
T |
price(double price) |
protected abstract T |
self() |
protected long id
protected String name
protected double price
protected abstract T self()
public T id(long id)
BillingToken.getId()
public T name(String name)
BillingToken.getName()
public T price(double price)
BillingToken.getPrice()
public BillingToken build()
public T fromBillingToken(BillingToken in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.