public class OrderBillingPlan extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderBillingPlan.Builder
Class to build instances of
OrderBillingPlan. |
| Constructor and Description |
|---|
OrderBillingPlan()
Default constructor.
|
OrderBillingPlan(List<BillingCycle> billingCycles,
Money setupFee,
String name)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<BillingCycle> |
getBillingCycles()
Getter for BillingCycles.
|
String |
getName()
Getter for Name.
|
Money |
getSetupFee()
Getter for SetupFee.
|
void |
setBillingCycles(List<BillingCycle> billingCycles)
Setter for BillingCycles.
|
void |
setName(String name)
Setter for Name.
|
void |
setSetupFee(Money setupFee)
Setter for SetupFee.
|
OrderBillingPlan.Builder |
toBuilder()
Builds a new
OrderBillingPlan.Builder object. |
String |
toString()
Converts this OrderBillingPlan into string format.
|
public OrderBillingPlan()
public OrderBillingPlan(List<BillingCycle> billingCycles, Money setupFee, String name)
billingCycles - List of BillingCycle value for billingCycles.setupFee - Money value for setupFee.name - String value for name.public List<BillingCycle> getBillingCycles()
public void setBillingCycles(List<BillingCycle> billingCycles)
billingCycles - Value for List of BillingCyclepublic Money getSetupFee()
public void setSetupFee(Money setupFee)
setupFee - Value for Moneypublic String getName()
public void setName(String name)
name - Value for Stringpublic String toString()
public OrderBillingPlan.Builder toBuilder()
OrderBillingPlan.Builder object.
Creates the instance with the state of the current model.OrderBillingPlan.Builder objectCopyright © 2026. All rights reserved.