org.dasein.cloud.services.accounting
Class Prepayment

java.lang.Object
  extended by org.dasein.cloud.services.accounting.Prepayment
All Implemented Interfaces:
Serializable

public class Prepayment
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Prepayment()
           
Prepayment(String prepaymentId, String currencyCode, int period, long periodStart, String dataCenterId, Platform platform, String size, String software, int count, double fixedFee, double usageFee, PrepaymentState state)
           
 
Method Summary
 int getCount()
           
 String getCurrencyCode()
           
 String getDataCenterId()
           
 double getFixedFee()
           
 int getPeriodInDays()
           
 long getPeriodStartTimestamp()
           
 Platform getPlatform()
           
 PrepaymentState getPrepaymentState()
           
 String getProviderPrepaymentId()
           
 String getSize()
           
 String getSoftware()
           
 double getUsageFee()
           
 void setCount(int count)
           
 void setCurrencyCode(String currencyCode)
           
 void setDataCenterId(String dataCenterId)
           
 void setFixedFee(double fixedFee)
           
 void setPeriodInDays(int periodInDays)
           
 void setPeriodStartTimestamp(long ts)
           
 void setPlatform(Platform platform)
           
 void setPrepaymentId(String prepaymentId)
           
 void setPrepaymentState(PrepaymentState prepaymentState)
           
 void setSize(String size)
           
 void setSoftware(String software)
           
 void setUsageFee(double usageFee)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Prepayment

public Prepayment()

Prepayment

public Prepayment(String prepaymentId,
                  String currencyCode,
                  int period,
                  long periodStart,
                  String dataCenterId,
                  Platform platform,
                  String size,
                  String software,
                  int count,
                  double fixedFee,
                  double usageFee,
                  PrepaymentState state)
Method Detail

getCount

public int getCount()

getCurrencyCode

public String getCurrencyCode()

getDataCenterId

public String getDataCenterId()

getFixedFee

public double getFixedFee()

getPeriodInDays

public int getPeriodInDays()

getPlatform

public Platform getPlatform()

getPeriodStartTimestamp

public long getPeriodStartTimestamp()

getPrepaymentState

public PrepaymentState getPrepaymentState()

getProviderPrepaymentId

public String getProviderPrepaymentId()

getSize

public String getSize()

getSoftware

public String getSoftware()

getUsageFee

public double getUsageFee()

setCount

public void setCount(int count)

setCurrencyCode

public void setCurrencyCode(String currencyCode)

setDataCenterId

public void setDataCenterId(String dataCenterId)

setFixedFee

public void setFixedFee(double fixedFee)

setPeriodInDays

public void setPeriodInDays(int periodInDays)

setPeriodStartTimestamp

public void setPeriodStartTimestamp(long ts)

setPlatform

public void setPlatform(Platform platform)

setPrepaymentId

public void setPrepaymentId(String prepaymentId)

setPrepaymentState

public void setPrepaymentState(PrepaymentState prepaymentState)

setSize

public void setSize(String size)

setSoftware

public void setSoftware(String software)

setUsageFee

public void setUsageFee(double usageFee)