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