public class Subscription extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Subscription.Builder |
Constructor and Description |
---|
Subscription(String amount,
boolean autoRenewEnabled,
List<URI> descendants,
double discountAmount,
double discountPercent,
Date endTime,
String id,
Date lastNotification,
String period,
double price,
String remaining,
SubscriptionResource resource,
URI resourceUri,
Date startTime,
String status,
String subscribedObject,
String uuid) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAmount() |
List<URI> |
getDescendants() |
double |
getDiscountAmount() |
double |
getDiscountPercent() |
Date |
getEndTime() |
String |
getId() |
Date |
getLastNotification() |
String |
getPeriod() |
double |
getPrice() |
String |
getRemaining() |
SubscriptionResource |
getResource() |
URI |
getResourceUri() |
Date |
getStartTime() |
String |
getStatus() |
String |
getSubscribedObject() |
String |
getUuid() |
int |
hashCode() |
boolean |
isAutoRenewEnabled() |
String |
toString() |
@ConstructorProperties(value={"amount","auto_renew","descendants","discount_amount","discount_percent","end_time","id","last_notification","period","price","remaining","resource","resource_uri","start_time","status","subscribed_object","uuid"}) public Subscription(String amount, boolean autoRenewEnabled, List<URI> descendants, double discountAmount, double discountPercent, Date endTime, String id, Date lastNotification, String period, double price, String remaining, SubscriptionResource resource, URI resourceUri, Date startTime, String status, String subscribedObject, String uuid)
public String getAmount()
public boolean isAutoRenewEnabled()
public List<URI> getDescendants()
public double getDiscountAmount()
public double getDiscountPercent()
public Date getEndTime()
public String getId()
public Date getLastNotification()
public String getPeriod()
public double getPrice()
public String getRemaining()
public SubscriptionResource getResource()
public URI getResourceUri()
public Date getStartTime()
public String getStatus()
public String getSubscribedObject()
public String getUuid()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.