public class PlanCollection extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PlanCollection.Builder
Class to build instances of
PlanCollection. |
| Constructor and Description |
|---|
PlanCollection()
Default constructor.
|
PlanCollection(List<BillingPlan> plans,
Integer totalItems,
Integer totalPages,
List<LinkDescription> links)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<LinkDescription> |
getLinks()
Getter for Links.
|
List<BillingPlan> |
getPlans()
Getter for Plans.
|
Integer |
getTotalItems()
Getter for TotalItems.
|
Integer |
getTotalPages()
Getter for TotalPages.
|
void |
setLinks(List<LinkDescription> links)
Setter for Links.
|
void |
setPlans(List<BillingPlan> plans)
Setter for Plans.
|
void |
setTotalItems(Integer totalItems)
Setter for TotalItems.
|
void |
setTotalPages(Integer totalPages)
Setter for TotalPages.
|
PlanCollection.Builder |
toBuilder()
Builds a new
PlanCollection.Builder object. |
String |
toString()
Converts this PlanCollection into string format.
|
public PlanCollection()
public PlanCollection(List<BillingPlan> plans, Integer totalItems, Integer totalPages, List<LinkDescription> links)
plans - List of BillingPlan value for plans.totalItems - Integer value for totalItems.totalPages - Integer value for totalPages.links - List of LinkDescription value for links.public List<BillingPlan> getPlans()
public void setPlans(List<BillingPlan> plans)
plans - Value for List of BillingPlanpublic Integer getTotalItems()
public void setTotalItems(Integer totalItems)
totalItems - Value for Integerpublic Integer getTotalPages()
public void setTotalPages(Integer totalPages)
totalPages - Value for Integerpublic List<LinkDescription> getLinks()
public void setLinks(List<LinkDescription> links)
links - Value for List of LinkDescriptionpublic String toString()
public PlanCollection.Builder toBuilder()
PlanCollection.Builder object.
Creates the instance with the state of the current model.PlanCollection.Builder objectCopyright © 2026. All rights reserved.