Package org.killbill.billing.jaxrs.json
Class BundleJson
- java.lang.Object
-
- org.killbill.billing.jaxrs.json.JsonBase
-
- org.killbill.billing.jaxrs.json.BundleJson
-
public class BundleJson extends JsonBase
-
-
Constructor Summary
Constructors Constructor Description BundleJson(UUID accountId, UUID bundleId, String externalKey, List<SubscriptionJson> subscriptions, BundleTimelineJson timeline, List<AuditLogJson> auditLogs)BundleJson(SubscriptionBundle bundle, Currency currency, AccountAuditLogs accountAuditLogs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)UUIDgetAccountId()UUIDgetBundleId()StringgetExternalKey()List<SubscriptionJson>getSubscriptions()BundleTimelineJsongetTimeline()inthashCode()StringtoString()-
Methods inherited from class org.killbill.billing.jaxrs.json.JsonBase
getAuditLogs, propertiesToList, propertiesToMap, toAuditLogJson, toPluginPropertyJson, toString
-
-
-
-
Constructor Detail
-
BundleJson
public BundleJson(@Nullable UUID accountId, @Nullable UUID bundleId, @Nullable String externalKey, @Nullable List<SubscriptionJson> subscriptions, @Nullable BundleTimelineJson timeline, @Nullable List<AuditLogJson> auditLogs)
-
BundleJson
public BundleJson(SubscriptionBundle bundle, @Nullable Currency currency, @Nullable AccountAuditLogs accountAuditLogs) throws CatalogApiException
- Throws:
CatalogApiException
-
-
Method Detail
-
getSubscriptions
public List<SubscriptionJson> getSubscriptions()
-
getAccountId
public UUID getAccountId()
-
getBundleId
public UUID getBundleId()
-
getExternalKey
public String getExternalKey()
-
getTimeline
public BundleTimelineJson getTimeline()
-
-