Class Subscription
- java.lang.Object
-
- org.killbill.billing.client.model.KillBillObject
-
- org.killbill.billing.client.model.gen.Subscription
-
public class Subscription extends KillBillObject
-
-
Field Summary
-
Fields inherited from class org.killbill.billing.client.model.KillBillObject
auditLogs
-
-
Constructor Summary
Constructors Constructor Description Subscription()Subscription(UUID accountId, UUID bundleId, String bundleExternalKey, UUID subscriptionId, String externalKey, org.joda.time.DateTime startDate, String productName, org.killbill.billing.catalog.api.ProductCategory productCategory, org.killbill.billing.catalog.api.BillingPeriod billingPeriod, org.killbill.billing.catalog.api.PhaseType phaseType, String priceList, String planName, org.killbill.billing.entitlement.api.Entitlement.EntitlementState state, org.killbill.billing.entitlement.api.Entitlement.EntitlementSourceType sourceType, org.joda.time.DateTime cancelledDate, org.joda.time.LocalDate chargedThroughDate, org.joda.time.DateTime billingStartDate, org.joda.time.DateTime billingEndDate, Integer billCycleDayLocal, Integer quantity, List<EventSubscription> events, List<PhasePrice> priceOverrides, List<PhasePrice> prices, List<AuditLog> auditLogs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionaddEventsItem(EventSubscription eventsItem)SubscriptionaddPriceOverridesItem(PhasePrice priceOverridesItem)SubscriptionaddPricesItem(PhasePrice pricesItem)booleanequals(Object o)UUIDgetAccountId()IntegergetBillCycleDayLocal()org.joda.time.DateTimegetBillingEndDate()org.killbill.billing.catalog.api.BillingPeriodgetBillingPeriod()org.joda.time.DateTimegetBillingStartDate()StringgetBundleExternalKey()UUIDgetBundleId()org.joda.time.DateTimegetCancelledDate()org.joda.time.LocalDategetChargedThroughDate()List<EventSubscription>getEvents()StringgetExternalKey()org.killbill.billing.catalog.api.PhaseTypegetPhaseType()StringgetPlanName()StringgetPriceList()List<PhasePrice>getPriceOverrides()List<PhasePrice>getPrices()org.killbill.billing.catalog.api.ProductCategorygetProductCategory()StringgetProductName()IntegergetQuantity()org.killbill.billing.entitlement.api.Entitlement.EntitlementSourceTypegetSourceType()org.joda.time.DateTimegetStartDate()org.killbill.billing.entitlement.api.Entitlement.EntitlementStategetState()UUIDgetSubscriptionId()inthashCode()SubscriptionsetAccountId(UUID accountId)SubscriptionsetBillCycleDayLocal(Integer billCycleDayLocal)SubscriptionsetBillingEndDate(org.joda.time.DateTime billingEndDate)SubscriptionsetBillingPeriod(org.killbill.billing.catalog.api.BillingPeriod billingPeriod)SubscriptionsetBillingStartDate(org.joda.time.DateTime billingStartDate)SubscriptionsetBundleExternalKey(String bundleExternalKey)SubscriptionsetBundleId(UUID bundleId)SubscriptionsetCancelledDate(org.joda.time.DateTime cancelledDate)SubscriptionsetChargedThroughDate(org.joda.time.LocalDate chargedThroughDate)SubscriptionsetEvents(List<EventSubscription> events)SubscriptionsetExternalKey(String externalKey)SubscriptionsetPhaseType(org.killbill.billing.catalog.api.PhaseType phaseType)SubscriptionsetPlanName(String planName)SubscriptionsetPriceList(String priceList)SubscriptionsetPriceOverrides(List<PhasePrice> priceOverrides)SubscriptionsetPrices(List<PhasePrice> prices)SubscriptionsetProductCategory(org.killbill.billing.catalog.api.ProductCategory productCategory)SubscriptionsetProductName(String productName)SubscriptionsetQuantity(Integer quantity)SubscriptionsetSourceType(org.killbill.billing.entitlement.api.Entitlement.EntitlementSourceType sourceType)SubscriptionsetStartDate(org.joda.time.DateTime startDate)SubscriptionsetState(org.killbill.billing.entitlement.api.Entitlement.EntitlementState state)SubscriptionsetSubscriptionId(UUID subscriptionId)StringtoString()-
Methods inherited from class org.killbill.billing.client.model.KillBillObject
getAuditLogs, setAuditLogs
-
-
-
-
Constructor Detail
-
Subscription
public Subscription()
-
Subscription
public Subscription(UUID accountId, UUID bundleId, String bundleExternalKey, UUID subscriptionId, String externalKey, org.joda.time.DateTime startDate, String productName, org.killbill.billing.catalog.api.ProductCategory productCategory, org.killbill.billing.catalog.api.BillingPeriod billingPeriod, org.killbill.billing.catalog.api.PhaseType phaseType, String priceList, String planName, org.killbill.billing.entitlement.api.Entitlement.EntitlementState state, org.killbill.billing.entitlement.api.Entitlement.EntitlementSourceType sourceType, org.joda.time.DateTime cancelledDate, org.joda.time.LocalDate chargedThroughDate, org.joda.time.DateTime billingStartDate, org.joda.time.DateTime billingEndDate, Integer billCycleDayLocal, Integer quantity, List<EventSubscription> events, List<PhasePrice> priceOverrides, List<PhasePrice> prices, List<AuditLog> auditLogs)
-
-
Method Detail
-
setAccountId
public Subscription setAccountId(UUID accountId)
-
getAccountId
public UUID getAccountId()
-
setBundleId
public Subscription setBundleId(UUID bundleId)
-
getBundleId
public UUID getBundleId()
-
setBundleExternalKey
public Subscription setBundleExternalKey(String bundleExternalKey)
-
getBundleExternalKey
public String getBundleExternalKey()
-
setSubscriptionId
public Subscription setSubscriptionId(UUID subscriptionId)
-
getSubscriptionId
public UUID getSubscriptionId()
-
setExternalKey
public Subscription setExternalKey(String externalKey)
-
getExternalKey
public String getExternalKey()
-
setStartDate
public Subscription setStartDate(org.joda.time.DateTime startDate)
-
getStartDate
public org.joda.time.DateTime getStartDate()
-
setProductName
public Subscription setProductName(String productName)
-
getProductName
public String getProductName()
-
setProductCategory
public Subscription setProductCategory(org.killbill.billing.catalog.api.ProductCategory productCategory)
-
getProductCategory
public org.killbill.billing.catalog.api.ProductCategory getProductCategory()
-
setBillingPeriod
public Subscription setBillingPeriod(org.killbill.billing.catalog.api.BillingPeriod billingPeriod)
-
getBillingPeriod
public org.killbill.billing.catalog.api.BillingPeriod getBillingPeriod()
-
setPhaseType
public Subscription setPhaseType(org.killbill.billing.catalog.api.PhaseType phaseType)
-
getPhaseType
public org.killbill.billing.catalog.api.PhaseType getPhaseType()
-
setPriceList
public Subscription setPriceList(String priceList)
-
getPriceList
public String getPriceList()
-
setPlanName
public Subscription setPlanName(String planName)
-
getPlanName
public String getPlanName()
-
setState
public Subscription setState(org.killbill.billing.entitlement.api.Entitlement.EntitlementState state)
-
getState
public org.killbill.billing.entitlement.api.Entitlement.EntitlementState getState()
-
setSourceType
public Subscription setSourceType(org.killbill.billing.entitlement.api.Entitlement.EntitlementSourceType sourceType)
-
getSourceType
public org.killbill.billing.entitlement.api.Entitlement.EntitlementSourceType getSourceType()
-
setCancelledDate
public Subscription setCancelledDate(org.joda.time.DateTime cancelledDate)
-
getCancelledDate
public org.joda.time.DateTime getCancelledDate()
-
setChargedThroughDate
public Subscription setChargedThroughDate(org.joda.time.LocalDate chargedThroughDate)
-
getChargedThroughDate
public org.joda.time.LocalDate getChargedThroughDate()
-
setBillingStartDate
public Subscription setBillingStartDate(org.joda.time.DateTime billingStartDate)
-
getBillingStartDate
public org.joda.time.DateTime getBillingStartDate()
-
setBillingEndDate
public Subscription setBillingEndDate(org.joda.time.DateTime billingEndDate)
-
getBillingEndDate
public org.joda.time.DateTime getBillingEndDate()
-
setBillCycleDayLocal
public Subscription setBillCycleDayLocal(Integer billCycleDayLocal)
-
getBillCycleDayLocal
public Integer getBillCycleDayLocal()
-
setQuantity
public Subscription setQuantity(Integer quantity)
-
getQuantity
public Integer getQuantity()
-
setEvents
public Subscription setEvents(List<EventSubscription> events)
-
addEventsItem
public Subscription addEventsItem(EventSubscription eventsItem)
-
getEvents
public List<EventSubscription> getEvents()
-
setPriceOverrides
public Subscription setPriceOverrides(List<PhasePrice> priceOverrides)
-
addPriceOverridesItem
public Subscription addPriceOverridesItem(PhasePrice priceOverridesItem)
-
getPriceOverrides
public List<PhasePrice> getPriceOverrides()
-
setPrices
public Subscription setPrices(List<PhasePrice> prices)
-
addPricesItem
public Subscription addPricesItem(PhasePrice pricesItem)
-
getPrices
public List<PhasePrice> getPrices()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classKillBillObject
-
hashCode
public int hashCode()
- Overrides:
hashCodein classKillBillObject
-
-