Package org.jclouds.gogrid.domain
Class BillingToken
- java.lang.Object
-
- org.jclouds.gogrid.domain.BillingToken
-
- All Implemented Interfaces:
Comparable<BillingToken>
public class BillingToken extends Object implements Comparable<BillingToken>
Class BillingToken
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BillingToken.Builder<T extends BillingToken.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
BillingToken(long id, String name, double price)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.MoreObjects.ToStringHelper
string()
BillingToken.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
BillingToken
@ConstructorProperties({"id","name","price"}) protected BillingToken(long id, String name, double price)
-
-
Method Detail
-
builder
public static BillingToken.Builder<?> builder()
-
toBuilder
public BillingToken.Builder<?> toBuilder()
-
getId
public long getId()
-
getName
public String getName()
-
getPrice
public double getPrice()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(BillingToken o)
- Specified by:
compareTo
in interfaceComparable<BillingToken>
-
-