public class BillingCycle extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BillingCycle.Builder
Class to build instances of
BillingCycle. |
| Constructor and Description |
|---|
BillingCycle()
Default constructor.
|
BillingCycle(TenureType tenureType,
PricingScheme pricingScheme,
JsonValue frequency,
Integer totalCycles,
Integer sequence,
String startDate)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
JsonValue |
getFrequency()
Getter for Frequency.
|
PricingScheme |
getPricingScheme()
Getter for PricingScheme.
|
Integer |
getSequence()
Getter for Sequence.
|
String |
getStartDate()
Getter for StartDate.
|
TenureType |
getTenureType()
Getter for TenureType.
|
Integer |
getTotalCycles()
Getter for TotalCycles.
|
void |
setFrequency(JsonValue frequency)
Setter for Frequency.
|
void |
setPricingScheme(PricingScheme pricingScheme)
Setter for PricingScheme.
|
void |
setSequence(Integer sequence)
Setter for Sequence.
|
void |
setStartDate(String startDate)
Setter for StartDate.
|
void |
setTenureType(TenureType tenureType)
Setter for TenureType.
|
void |
setTotalCycles(Integer totalCycles)
Setter for TotalCycles.
|
BillingCycle.Builder |
toBuilder()
Builds a new
BillingCycle.Builder object. |
String |
toString()
Converts this BillingCycle into string format.
|
public BillingCycle()
public BillingCycle(TenureType tenureType, PricingScheme pricingScheme, JsonValue frequency, Integer totalCycles, Integer sequence, String startDate)
tenureType - TenureType value for tenureType.pricingScheme - PricingScheme value for pricingScheme.frequency - JsonValue value for frequency.totalCycles - Integer value for totalCycles.sequence - Integer value for sequence.startDate - String value for startDate.public TenureType getTenureType()
public void setTenureType(TenureType tenureType)
tenureType - Value for TenureTypepublic PricingScheme getPricingScheme()
public void setPricingScheme(PricingScheme pricingScheme)
pricingScheme - Value for PricingSchemepublic JsonValue getFrequency()
public void setFrequency(JsonValue frequency)
frequency - Value for JsonValuepublic Integer getTotalCycles()
public void setTotalCycles(Integer totalCycles)
totalCycles - Value for Integerpublic Integer getSequence()
public void setSequence(Integer sequence)
sequence - Value for Integerpublic String getStartDate()
public void setStartDate(String startDate)
startDate - Value for Stringpublic String toString()
public BillingCycle.Builder toBuilder()
BillingCycle.Builder object.
Creates the instance with the state of the current model.BillingCycle.Builder objectCopyright © 2025. All rights reserved.