public class PlanQuantity extends Object
| Constructor and Description |
|---|
PlanQuantity() |
| Modifier and Type | Method and Description |
|---|---|
PlanQuantity |
endingQuantity(Integer endingQuantity)
minimum: 1
|
PlanQuantity |
pricePerUnit(BigDecimal pricePerUnit)
minimum: 0
|
void |
setEndingQuantity(Integer endingQuantity) |
void |
setPricePerUnit(BigDecimal pricePerUnit) |
void |
setStartingQuantity(Integer startingQuantity) |
PlanQuantity |
startingQuantity(Integer startingQuantity)
minimum: 1
|
String |
toString() |
public void setEndingQuantity(Integer endingQuantity)
public PlanQuantity endingQuantity(Integer endingQuantity)
endingQuantity - Ending units quantity of the subscription. Mandatory if `pricing_model` is `TIERED` or `VOLUME`public void setPricePerUnit(BigDecimal pricePerUnit)
public PlanQuantity pricePerUnit(BigDecimal pricePerUnit)
pricePerUnit - Price depending units quantity. Mandatory if `pricing_model` is `TIERED` or `VOLUME`public void setStartingQuantity(Integer startingQuantity)
public PlanQuantity startingQuantity(Integer startingQuantity)
startingQuantity - Starting units quantity of the subscription. Mandatory if `pricing_model` is `TIERED` or `VOLUME`Copyright © 2024. All rights reserved.