org.jclouds.gogrid.domain
Class BillingToken

java.lang.Object
  extended by org.jclouds.gogrid.domain.BillingToken
All Implemented Interfaces:
Comparable<BillingToken>

public class BillingToken
extends Object
implements Comparable<BillingToken>

Author:
Oleksiy Yarmula

Constructor Summary
BillingToken()
          A no-args constructor is required for deserialization
BillingToken(long id, String name, double price)
           
 
Method Summary
 int compareTo(BillingToken o)
           
 boolean equals(Object obj)
           
 long getId()
           
 String getName()
           
 double getPrice()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BillingToken

public BillingToken()
A no-args constructor is required for deserialization


BillingToken

public BillingToken(long id,
                    String name,
                    double price)
Method Detail

getId

public long getId()

getName

public String getName()

getPrice

public double getPrice()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(BillingToken o)
Specified by:
compareTo in interface Comparable<BillingToken>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.