public class CatalogSubscriptionPlan extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CatalogSubscriptionPlan.Builder
Class to build instances of
CatalogSubscriptionPlan. |
| Modifier | Constructor and Description |
|---|---|
|
CatalogSubscriptionPlan(String name,
List<SubscriptionPhase> phases,
List<CatalogObject> subscriptionPlanVariations,
List<String> eligibleItemIds,
List<String> eligibleCategoryIds,
Boolean allItems)
Initialization constructor.
|
protected |
CatalogSubscriptionPlan(String name,
io.apimatic.core.types.OptionalNullable<List<SubscriptionPhase>> phases,
io.apimatic.core.types.OptionalNullable<List<CatalogObject>> subscriptionPlanVariations,
io.apimatic.core.types.OptionalNullable<List<String>> eligibleItemIds,
io.apimatic.core.types.OptionalNullable<List<String>> eligibleCategoryIds,
io.apimatic.core.types.OptionalNullable<Boolean> allItems)
Internal initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getAllItems()
Getter for AllItems.
|
List<String> |
getEligibleCategoryIds()
Getter for EligibleCategoryIds.
|
List<String> |
getEligibleItemIds()
Getter for EligibleItemIds.
|
String |
getName()
Getter for Name.
|
List<SubscriptionPhase> |
getPhases()
Getter for Phases.
|
List<CatalogObject> |
getSubscriptionPlanVariations()
Getter for SubscriptionPlanVariations.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetAllItems()
Internal Getter for AllItems.
|
protected io.apimatic.core.types.OptionalNullable<List<String>> |
internalGetEligibleCategoryIds()
Internal Getter for EligibleCategoryIds.
|
protected io.apimatic.core.types.OptionalNullable<List<String>> |
internalGetEligibleItemIds()
Internal Getter for EligibleItemIds.
|
protected io.apimatic.core.types.OptionalNullable<List<SubscriptionPhase>> |
internalGetPhases()
Internal Getter for Phases.
|
protected io.apimatic.core.types.OptionalNullable<List<CatalogObject>> |
internalGetSubscriptionPlanVariations()
Internal Getter for SubscriptionPlanVariations.
|
CatalogSubscriptionPlan.Builder |
toBuilder()
Builds a new
CatalogSubscriptionPlan.Builder object. |
String |
toString()
Converts this CatalogSubscriptionPlan into string format.
|
public CatalogSubscriptionPlan(String name, List<SubscriptionPhase> phases, List<CatalogObject> subscriptionPlanVariations, List<String> eligibleItemIds, List<String> eligibleCategoryIds, Boolean allItems)
name - String value for name.phases - List of SubscriptionPhase value for phases.subscriptionPlanVariations - List of CatalogObject value for
subscriptionPlanVariations.eligibleItemIds - List of String value for eligibleItemIds.eligibleCategoryIds - List of String value for eligibleCategoryIds.allItems - Boolean value for allItems.protected CatalogSubscriptionPlan(String name, io.apimatic.core.types.OptionalNullable<List<SubscriptionPhase>> phases, io.apimatic.core.types.OptionalNullable<List<CatalogObject>> subscriptionPlanVariations, io.apimatic.core.types.OptionalNullable<List<String>> eligibleItemIds, io.apimatic.core.types.OptionalNullable<List<String>> eligibleCategoryIds, io.apimatic.core.types.OptionalNullable<Boolean> allItems)
public String getName()
protected io.apimatic.core.types.OptionalNullable<List<SubscriptionPhase>> internalGetPhases()
public List<SubscriptionPhase> getPhases()
protected io.apimatic.core.types.OptionalNullable<List<CatalogObject>> internalGetSubscriptionPlanVariations()
public List<CatalogObject> getSubscriptionPlanVariations()
protected io.apimatic.core.types.OptionalNullable<List<String>> internalGetEligibleItemIds()
public List<String> getEligibleItemIds()
protected io.apimatic.core.types.OptionalNullable<List<String>> internalGetEligibleCategoryIds()
public List<String> getEligibleCategoryIds()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetAllItems()
public Boolean getAllItems()
public String toString()
public CatalogSubscriptionPlan.Builder toBuilder()
CatalogSubscriptionPlan.Builder object.
Creates the instance with the state of the current model.CatalogSubscriptionPlan.Builder objectCopyright © 2023. All rights reserved.