public class BillingToken extends Object implements Comparable<BillingToken>
Modifier and Type | Class and Description |
---|---|
static class |
BillingToken.Builder<T extends BillingToken.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
BillingToken(long id,
String name,
double price) |
Modifier and Type | Method and Description |
---|---|
static BillingToken.Builder<?> |
builder() |
int |
compareTo(BillingToken o) |
boolean |
equals(Object obj) |
long |
getId() |
String |
getName() |
double |
getPrice() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
BillingToken.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","name","price"}) protected BillingToken(long id, String name, double price)
public static BillingToken.Builder<?> builder()
public BillingToken.Builder<?> toBuilder()
public long getId()
public String getName()
public double getPrice()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(BillingToken o)
compareTo
in interface Comparable<BillingToken>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.