public class CatalogSubscriptionPlanVariation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CatalogSubscriptionPlanVariation.Builder
Class to build instances of
CatalogSubscriptionPlanVariation. |
| Modifier | Constructor and Description |
|---|---|
protected |
CatalogSubscriptionPlanVariation(String name,
List<SubscriptionPhase> phases,
io.apimatic.core.types.OptionalNullable<String> subscriptionPlanId,
io.apimatic.core.types.OptionalNullable<Long> monthlyBillingAnchorDate,
io.apimatic.core.types.OptionalNullable<Boolean> canProrate,
io.apimatic.core.types.OptionalNullable<String> successorPlanVariationId)
Initialization constructor.
|
|
CatalogSubscriptionPlanVariation(String name,
List<SubscriptionPhase> phases,
String subscriptionPlanId,
Long monthlyBillingAnchorDate,
Boolean canProrate,
String successorPlanVariationId)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getCanProrate()
Getter for CanProrate.
|
Long |
getMonthlyBillingAnchorDate()
Getter for MonthlyBillingAnchorDate.
|
String |
getName()
Getter for Name.
|
List<SubscriptionPhase> |
getPhases()
Getter for Phases.
|
String |
getSubscriptionPlanId()
Getter for SubscriptionPlanId.
|
String |
getSuccessorPlanVariationId()
Getter for SuccessorPlanVariationId.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetCanProrate()
Internal Getter for CanProrate.
|
protected io.apimatic.core.types.OptionalNullable<Long> |
internalGetMonthlyBillingAnchorDate()
Internal Getter for MonthlyBillingAnchorDate.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetSubscriptionPlanId()
Internal Getter for SubscriptionPlanId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetSuccessorPlanVariationId()
Internal Getter for SuccessorPlanVariationId.
|
CatalogSubscriptionPlanVariation.Builder |
toBuilder()
Builds a new
CatalogSubscriptionPlanVariation.Builder object. |
String |
toString()
Converts this CatalogSubscriptionPlanVariation into string format.
|
public CatalogSubscriptionPlanVariation(String name, List<SubscriptionPhase> phases, String subscriptionPlanId, Long monthlyBillingAnchorDate, Boolean canProrate, String successorPlanVariationId)
name - String value for name.phases - List of SubscriptionPhase value for phases.subscriptionPlanId - String value for subscriptionPlanId.monthlyBillingAnchorDate - Long value for monthlyBillingAnchorDate.canProrate - Boolean value for canProrate.successorPlanVariationId - String value for successorPlanVariationId.protected CatalogSubscriptionPlanVariation(String name, List<SubscriptionPhase> phases, io.apimatic.core.types.OptionalNullable<String> subscriptionPlanId, io.apimatic.core.types.OptionalNullable<Long> monthlyBillingAnchorDate, io.apimatic.core.types.OptionalNullable<Boolean> canProrate, io.apimatic.core.types.OptionalNullable<String> successorPlanVariationId)
name - String value for name.phases - List of SubscriptionPhase value for phases.subscriptionPlanId - String value for subscriptionPlanId.monthlyBillingAnchorDate - Long value for monthlyBillingAnchorDate.canProrate - Boolean value for canProrate.successorPlanVariationId - String value for successorPlanVariationId.public String getName()
public List<SubscriptionPhase> getPhases()
protected io.apimatic.core.types.OptionalNullable<String> internalGetSubscriptionPlanId()
public String getSubscriptionPlanId()
protected io.apimatic.core.types.OptionalNullable<Long> internalGetMonthlyBillingAnchorDate()
public Long getMonthlyBillingAnchorDate()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetCanProrate()
public Boolean getCanProrate()
protected io.apimatic.core.types.OptionalNullable<String> internalGetSuccessorPlanVariationId()
public String getSuccessorPlanVariationId()
public String toString()
public CatalogSubscriptionPlanVariation.Builder toBuilder()
CatalogSubscriptionPlanVariation.Builder object.
Creates the instance with the state of the current model.CatalogSubscriptionPlanVariation.Builder objectCopyright © 2024. All rights reserved.