public class SubscriptionJson extends JsonBase
| Modifier and Type | Class and Description |
|---|---|
static class |
SubscriptionJson.EventSubscriptionJson |
| Constructor and Description |
|---|
SubscriptionJson(Subscription subscription,
Currency currency,
AccountAuditLogs accountAuditLogs) |
SubscriptionJson(java.util.UUID accountId,
java.util.UUID bundleId,
java.util.UUID subscriptionId,
java.lang.String externalKey,
org.joda.time.LocalDate startDate,
java.lang.String productName,
ProductCategory productCategory,
BillingPeriod billingPeriod,
PhaseType phaseType,
java.lang.String priceList,
java.lang.String planName,
Entitlement.EntitlementState state,
Entitlement.EntitlementSourceType sourceType,
org.joda.time.LocalDate cancelledDate,
org.joda.time.LocalDate chargedThroughDate,
org.joda.time.LocalDate billingStartDate,
org.joda.time.LocalDate billingEndDate,
java.lang.Integer billCycleDayLocal,
java.util.List<SubscriptionJson.EventSubscriptionJson> events,
java.util.List<PhasePriceJson> priceOverrides,
java.util.List<PhasePriceJson> prices,
java.util.List<AuditLogJson> auditLogs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.UUID |
getAccountId() |
java.lang.Integer |
getBillCycleDayLocal() |
org.joda.time.LocalDate |
getBillingEndDate() |
BillingPeriod |
getBillingPeriod() |
org.joda.time.LocalDate |
getBillingStartDate() |
java.util.UUID |
getBundleId() |
org.joda.time.LocalDate |
getCancelledDate() |
org.joda.time.LocalDate |
getChargedThroughDate() |
java.util.List<SubscriptionJson.EventSubscriptionJson> |
getEvents() |
java.lang.String |
getExternalKey() |
PhaseType |
getPhaseType() |
java.lang.String |
getPlanName() |
java.lang.String |
getPriceList() |
java.util.List<PhasePriceJson> |
getPriceOverrides() |
java.util.List<PhasePriceJson> |
getPrices() |
ProductCategory |
getProductCategory() |
java.lang.String |
getProductName() |
Entitlement.EntitlementSourceType |
getSourceType() |
org.joda.time.LocalDate |
getStartDate() |
Entitlement.EntitlementState |
getState() |
java.util.UUID |
getSubscriptionId() |
int |
hashCode() |
java.lang.String |
toString() |
getAuditLogs, propertiesToList, propertiesToMap, toAuditLogJson, toPluginPropertyJson, toStringpublic SubscriptionJson(@Nullable
java.util.UUID accountId,
@Nullable
java.util.UUID bundleId,
@Nullable
java.util.UUID subscriptionId,
@Nullable
java.lang.String externalKey,
@Nullable
org.joda.time.LocalDate startDate,
@Nullable
java.lang.String productName,
@Nullable
ProductCategory productCategory,
@Nullable
BillingPeriod billingPeriod,
@Nullable
PhaseType phaseType,
@Nullable
java.lang.String priceList,
@Nullable
java.lang.String planName,
@Nullable
Entitlement.EntitlementState state,
@Nullable
Entitlement.EntitlementSourceType sourceType,
@Nullable
org.joda.time.LocalDate cancelledDate,
@Nullable
org.joda.time.LocalDate chargedThroughDate,
@Nullable
org.joda.time.LocalDate billingStartDate,
@Nullable
org.joda.time.LocalDate billingEndDate,
@Nullable
java.lang.Integer billCycleDayLocal,
@Nullable
java.util.List<SubscriptionJson.EventSubscriptionJson> events,
java.util.List<PhasePriceJson> priceOverrides,
java.util.List<PhasePriceJson> prices,
@Nullable
java.util.List<AuditLogJson> auditLogs)
public SubscriptionJson(Subscription subscription, @Nullable Currency currency, @Nullable AccountAuditLogs accountAuditLogs) throws CatalogApiException
CatalogApiExceptionpublic java.util.UUID getAccountId()
public java.util.UUID getBundleId()
public java.util.UUID getSubscriptionId()
public java.lang.String getExternalKey()
public org.joda.time.LocalDate getStartDate()
public java.lang.String getProductName()
public ProductCategory getProductCategory()
public BillingPeriod getBillingPeriod()
public PhaseType getPhaseType()
public java.lang.String getPriceList()
public java.lang.String getPlanName()
public Entitlement.EntitlementState getState()
public Entitlement.EntitlementSourceType getSourceType()
public org.joda.time.LocalDate getCancelledDate()
public org.joda.time.LocalDate getChargedThroughDate()
public org.joda.time.LocalDate getBillingStartDate()
public org.joda.time.LocalDate getBillingEndDate()
public java.lang.Integer getBillCycleDayLocal()
public java.util.List<SubscriptionJson.EventSubscriptionJson> getEvents()
public java.util.List<PhasePriceJson> getPriceOverrides()
public java.util.List<PhasePriceJson> getPrices()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2010-2018. All Rights Reserved.