public class DefaultBillingEvent extends Object implements BillingEvent
| Constructor and Description |
|---|
DefaultBillingEvent(Account account,
EffectiveSubscriptionInternalEvent transition,
SubscriptionBase subscription,
int billCycleDayLocal,
Currency currency,
Catalog catalog) |
DefaultBillingEvent(Account account,
SubscriptionBase subscription,
org.joda.time.DateTime effectiveDate,
Plan plan,
PlanPhase planPhase,
BigDecimal fixedPrice,
BigDecimal recurringPrice,
Currency currency,
BillingPeriod billingPeriod,
int billCycleDayLocal,
BillingMode billingMode,
String description,
long totalOrdering,
SubscriptionBaseTransitionType type,
org.joda.time.DateTimeZone timeZone) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BillingEvent e1) |
boolean |
equals(Object o) |
Account |
getAccount() |
int |
getBillCycleDayLocal() |
BillingMode |
getBillingMode() |
BillingPeriod |
getBillingPeriod() |
Currency |
getCurrency() |
String |
getDescription() |
org.joda.time.DateTime |
getEffectiveDate() |
BigDecimal |
getFixedPrice() |
Plan |
getPlan() |
PlanPhase |
getPlanPhase() |
BigDecimal |
getRecurringPrice() |
SubscriptionBase |
getSubscription() |
org.joda.time.DateTimeZone |
getTimeZone() |
Long |
getTotalOrdering() |
SubscriptionBaseTransitionType |
getTransitionType() |
List<Usage> |
getUsages() |
int |
hashCode() |
String |
toString() |
public DefaultBillingEvent(Account account, EffectiveSubscriptionInternalEvent transition, SubscriptionBase subscription, int billCycleDayLocal, Currency currency, Catalog catalog) throws CatalogApiException
CatalogApiExceptionpublic DefaultBillingEvent(Account account, SubscriptionBase subscription, org.joda.time.DateTime effectiveDate, Plan plan, PlanPhase planPhase, BigDecimal fixedPrice, BigDecimal recurringPrice, Currency currency, BillingPeriod billingPeriod, int billCycleDayLocal, BillingMode billingMode, String description, long totalOrdering, SubscriptionBaseTransitionType type, org.joda.time.DateTimeZone timeZone)
public int compareTo(BillingEvent e1)
compareTo in interface Comparable<BillingEvent>public Account getAccount()
getAccount in interface BillingEventpublic int getBillCycleDayLocal()
getBillCycleDayLocal in interface BillingEventpublic SubscriptionBase getSubscription()
getSubscription in interface BillingEventpublic org.joda.time.DateTime getEffectiveDate()
getEffectiveDate in interface BillingEventpublic PlanPhase getPlanPhase()
getPlanPhase in interface BillingEventpublic Plan getPlan()
getPlan in interface BillingEventpublic BillingPeriod getBillingPeriod()
getBillingPeriod in interface BillingEventpublic BillingMode getBillingMode()
getBillingMode in interface BillingEventpublic String getDescription()
getDescription in interface BillingEventpublic BigDecimal getFixedPrice()
getFixedPrice in interface BillingEventpublic BigDecimal getRecurringPrice()
getRecurringPrice in interface BillingEventpublic Currency getCurrency()
getCurrency in interface BillingEventpublic SubscriptionBaseTransitionType getTransitionType()
getTransitionType in interface BillingEventpublic Long getTotalOrdering()
getTotalOrdering in interface BillingEventpublic org.joda.time.DateTimeZone getTimeZone()
getTimeZone in interface BillingEventpublic List<Usage> getUsages()
getUsages in interface BillingEventCopyright © 2010-2014. All Rights Reserved.