public class Subscription extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Subscription.Builder
Class to build instances of
Subscription. |
| Modifier | Constructor and Description |
|---|---|
protected |
Subscription(String id,
String locationId,
String planVariationId,
String customerId,
String startDate,
io.apimatic.core.types.OptionalNullable<String> canceledDate,
String chargedThroughDate,
String status,
io.apimatic.core.types.OptionalNullable<String> taxPercentage,
List<String> invoiceIds,
Money priceOverrideMoney,
Long version,
String createdAt,
io.apimatic.core.types.OptionalNullable<String> cardId,
String timezone,
SubscriptionSource source,
io.apimatic.core.types.OptionalNullable<List<SubscriptionAction>> actions,
Integer monthlyBillingAnchorDate,
List<Phase> phases)
Initialization constructor.
|
|
Subscription(String id,
String locationId,
String planVariationId,
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,
Integer monthlyBillingAnchorDate,
List<Phase> phases)
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.
|
Integer |
getMonthlyBillingAnchorDate()
Getter for MonthlyBillingAnchorDate.
|
List<Phase> |
getPhases()
Getter for Phases.
|
String |
getPlanVariationId()
Getter for PlanVariationId.
|
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() |
protected io.apimatic.core.types.OptionalNullable<List<SubscriptionAction>> |
internalGetActions()
Internal Getter for Actions.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCanceledDate()
Internal Getter for CanceledDate.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCardId()
Internal Getter for CardId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetTaxPercentage()
Internal Getter for TaxPercentage.
|
Subscription.Builder |
toBuilder()
Builds a new
Subscription.Builder object. |
String |
toString()
Converts this Subscription into string format.
|
public Subscription(String id, String locationId, String planVariationId, 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, Integer monthlyBillingAnchorDate, List<Phase> phases)
id - String value for id.locationId - String value for locationId.planVariationId - String value for planVariationId.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.monthlyBillingAnchorDate - Integer value for monthlyBillingAnchorDate.phases - List of Phase value for phases.protected Subscription(String id, String locationId, String planVariationId, String customerId, String startDate, io.apimatic.core.types.OptionalNullable<String> canceledDate, String chargedThroughDate, String status, io.apimatic.core.types.OptionalNullable<String> taxPercentage, List<String> invoiceIds, Money priceOverrideMoney, Long version, String createdAt, io.apimatic.core.types.OptionalNullable<String> cardId, String timezone, SubscriptionSource source, io.apimatic.core.types.OptionalNullable<List<SubscriptionAction>> actions, Integer monthlyBillingAnchorDate, List<Phase> phases)
id - String value for id.locationId - String value for locationId.planVariationId - String value for planVariationId.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.monthlyBillingAnchorDate - Integer value for monthlyBillingAnchorDate.phases - List of Phase value for phases.public String getId()
public String getLocationId()
public String getPlanVariationId()
public String getCustomerId()
public String getStartDate()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCanceledDate()
public String getCanceledDate()
public String getChargedThroughDate()
public String getStatus()
protected io.apimatic.core.types.OptionalNullable<String> internalGetTaxPercentage()
public String getTaxPercentage()
public List<String> getInvoiceIds()
public Money getPriceOverrideMoney()
public Long getVersion()
public String getCreatedAt()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCardId()
public String getCardId()
public String getTimezone()
public SubscriptionSource getSource()
protected io.apimatic.core.types.OptionalNullable<List<SubscriptionAction>> internalGetActions()
public List<SubscriptionAction> getActions()
public Integer getMonthlyBillingAnchorDate()
public List<Phase> getPhases()
public String toString()
public Subscription.Builder toBuilder()
Subscription.Builder object.
Creates the instance with the state of the current model.Subscription.Builder objectCopyright © 2024. All rights reserved.