public class Subscription extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Subscription.Builder
Class to build instances of
Subscription. |
| Constructor and Description |
|---|
Subscription(String id,
String locationId,
String planId,
String customerId,
String startDate,
String canceledDate,
String chargedThroughDate,
String status,
String taxPercentage,
List<String> invoiceIds,
Money priceOverrideMoney,
Long version,
String createdAt,
String cardId,
String timezone,
SubscriptionSource source,
List<SubscriptionAction> actions)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<SubscriptionAction> |
getActions()
Getter for Actions.
|
String |
getCanceledDate()
Getter for CanceledDate.
|
String |
getCardId()
Getter for CardId.
|
String |
getChargedThroughDate()
Getter for ChargedThroughDate.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getCustomerId()
Getter for CustomerId.
|
String |
getId()
Getter for Id.
|
List<String> |
getInvoiceIds()
Getter for InvoiceIds.
|
String |
getLocationId()
Getter for LocationId.
|
String |
getPlanId()
Getter for PlanId.
|
Money |
getPriceOverrideMoney()
Getter for PriceOverrideMoney.
|
SubscriptionSource |
getSource()
Getter for Source.
|
String |
getStartDate()
Getter for StartDate.
|
String |
getStatus()
Getter for Status.
|
String |
getTaxPercentage()
Getter for TaxPercentage.
|
String |
getTimezone()
Getter for Timezone.
|
Long |
getVersion()
Getter for Version.
|
int |
hashCode() |
Subscription.Builder |
toBuilder()
Builds a new
Subscription.Builder object. |
String |
toString()
Converts this Subscription into string format.
|
public Subscription(String id, String locationId, String planId, String customerId, String startDate, String canceledDate, String chargedThroughDate, String status, String taxPercentage, List<String> invoiceIds, Money priceOverrideMoney, Long version, String createdAt, String cardId, String timezone, SubscriptionSource source, List<SubscriptionAction> actions)
id - String value for id.locationId - String value for locationId.planId - String value for planId.customerId - String value for customerId.startDate - String value for startDate.canceledDate - String value for canceledDate.chargedThroughDate - String value for chargedThroughDate.status - String value for status.taxPercentage - String value for taxPercentage.invoiceIds - List of String value for invoiceIds.priceOverrideMoney - Money value for priceOverrideMoney.version - Long value for version.createdAt - String value for createdAt.cardId - String value for cardId.timezone - String value for timezone.source - SubscriptionSource value for source.actions - List of SubscriptionAction value for actions.public String getId()
public String getLocationId()
public String getPlanId()
public String getCustomerId()
public String getStartDate()
public String getCanceledDate()
public String getChargedThroughDate()
public String getStatus()
public String getTaxPercentage()
public List<String> getInvoiceIds()
public Money getPriceOverrideMoney()
public Long getVersion()
public String getCreatedAt()
public String getCardId()
public String getTimezone()
public SubscriptionSource getSource()
public List<SubscriptionAction> getActions()
public String toString()
public Subscription.Builder toBuilder()
Subscription.Builder object.
Creates the instance with the state of the current model.Subscription.Builder objectCopyright © 2022. All rights reserved.