public class PricingTier extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PricingTier.Builder
Class to build instances of
PricingTier. |
| Constructor and Description |
|---|
PricingTier()
Default constructor.
|
PricingTier(String startingQuantity,
Money amount,
String endingQuantity)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
Getter for Amount.
|
String |
getEndingQuantity()
Getter for EndingQuantity.
|
String |
getStartingQuantity()
Getter for StartingQuantity.
|
void |
setAmount(Money amount)
Setter for Amount.
|
void |
setEndingQuantity(String endingQuantity)
Setter for EndingQuantity.
|
void |
setStartingQuantity(String startingQuantity)
Setter for StartingQuantity.
|
PricingTier.Builder |
toBuilder()
Builds a new
PricingTier.Builder object. |
String |
toString()
Converts this PricingTier into string format.
|
public String getStartingQuantity()
public void setStartingQuantity(String startingQuantity)
startingQuantity - Value for Stringpublic String getEndingQuantity()
public void setEndingQuantity(String endingQuantity)
endingQuantity - Value for Stringpublic Money getAmount()
public void setAmount(Money amount)
amount - Value for Moneypublic String toString()
public PricingTier.Builder toBuilder()
PricingTier.Builder object.
Creates the instance with the state of the current model.PricingTier.Builder objectCopyright © 2026. All rights reserved.