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(UUID accountId,
UUID bundleId,
String bundleExternalKey,
UUID subscriptionId,
String externalKey,
org.joda.time.LocalDate startDate,
String productName,
ProductCategory productCategory,
BillingPeriod billingPeriod,
PhaseType phaseType,
String priceList,
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,
Integer billCycleDayLocal,
List<SubscriptionJson.EventSubscriptionJson> events,
List<PhasePriceJson> priceOverrides,
List<PhasePriceJson> prices,
List<AuditLogJson> auditLogs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
UUID |
getAccountId() |
Integer |
getBillCycleDayLocal() |
org.joda.time.LocalDate |
getBillingEndDate() |
BillingPeriod |
getBillingPeriod() |
org.joda.time.LocalDate |
getBillingStartDate() |
String |
getBundleExternalKey() |
UUID |
getBundleId() |
org.joda.time.LocalDate |
getCancelledDate() |
org.joda.time.LocalDate |
getChargedThroughDate() |
List<SubscriptionJson.EventSubscriptionJson> |
getEvents() |
String |
getExternalKey() |
PhaseType |
getPhaseType() |
String |
getPlanName() |
String |
getPriceList() |
List<PhasePriceJson> |
getPriceOverrides() |
List<PhasePriceJson> |
getPrices() |
ProductCategory |
getProductCategory() |
String |
getProductName() |
Entitlement.EntitlementSourceType |
getSourceType() |
org.joda.time.LocalDate |
getStartDate() |
Entitlement.EntitlementState |
getState() |
UUID |
getSubscriptionId() |
int |
hashCode() |
String |
toString() |
getAuditLogs, propertiesToList, propertiesToMap, toAuditLogJson, toPluginPropertyJson, toStringpublic SubscriptionJson(@Nullable UUID accountId, @Nullable UUID bundleId, @Nullable String bundleExternalKey, @Nullable UUID subscriptionId, @Nullable String externalKey, @Nullable org.joda.time.LocalDate startDate, @Nullable String productName, @Nullable ProductCategory productCategory, @Nullable BillingPeriod billingPeriod, @Nullable PhaseType phaseType, @Nullable String priceList, @Nullable 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 Integer billCycleDayLocal, @Nullable List<SubscriptionJson.EventSubscriptionJson> events, List<PhasePriceJson> priceOverrides, List<PhasePriceJson> prices, @Nullable List<AuditLogJson> auditLogs)
public SubscriptionJson(Subscription subscription, @Nullable Currency currency, @Nullable AccountAuditLogs accountAuditLogs) throws CatalogApiException
CatalogApiExceptionpublic UUID getAccountId()
public UUID getBundleId()
public UUID getSubscriptionId()
public String getBundleExternalKey()
public String getExternalKey()
public org.joda.time.LocalDate getStartDate()
public String getProductName()
public ProductCategory getProductCategory()
public BillingPeriod getBillingPeriod()
public PhaseType getPhaseType()
public String getPriceList()
public 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 Integer getBillCycleDayLocal()
public List<SubscriptionJson.EventSubscriptionJson> getEvents()
public List<PhasePriceJson> getPriceOverrides()
public List<PhasePriceJson> getPrices()
Copyright © 2010–2022. All rights reserved.