Package com.oracle.bmc.ccdoffers.model
Class CustomerSelectedBundleSku.Builder
- java.lang.Object
-
- com.oracle.bmc.ccdoffers.model.CustomerSelectedBundleSku.Builder
-
- Enclosing class:
- CustomerSelectedBundleSku
public static class CustomerSelectedBundleSku.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerSelectedBundleSkubuild()CustomerSelectedBundleSku.Buildercopy(CustomerSelectedBundleSku model)CustomerSelectedBundleSku.BuildercurrencyCode(String currencyCode)CustomerSelectedBundleSku.BuilderlistPrice(String listPrice)CustomerSelectedBundleSku.BuildermaxQuantity(Long maxQuantity)The maximum quantity the customer can select for this bundled SKU.CustomerSelectedBundleSku.BuilderminQuantity(Long minQuantity)The minimum quantity the customer can select for this bundled SKU.CustomerSelectedBundleSku.Buildersku(String sku)CustomerSelectedBundleSku.BuilderskuDisplayName(String skuDisplayName)CustomerSelectedBundleSku.BuilderskuMetric(String skuMetric)
-
-
-
Method Detail
-
sku
public CustomerSelectedBundleSku.Builder sku(String sku)
-
skuDisplayName
public CustomerSelectedBundleSku.Builder skuDisplayName(String skuDisplayName)
-
skuMetric
public CustomerSelectedBundleSku.Builder skuMetric(String skuMetric)
-
listPrice
public CustomerSelectedBundleSku.Builder listPrice(String listPrice)
-
currencyCode
public CustomerSelectedBundleSku.Builder currencyCode(String currencyCode)
-
minQuantity
public CustomerSelectedBundleSku.Builder minQuantity(Long minQuantity)
The minimum quantity the customer can select for this bundled SKU.For FLEX offers, minQuantity and maxQuantity must be equal if maxQuantity provided.
- Parameters:
minQuantity- the value to set- Returns:
- this builder
-
maxQuantity
public CustomerSelectedBundleSku.Builder maxQuantity(Long maxQuantity)
The maximum quantity the customer can select for this bundled SKU.For FLEX offers must be equal to minQuantity if provided.
- Parameters:
maxQuantity- the value to set- Returns:
- this builder
-
build
public CustomerSelectedBundleSku build()
-
copy
public CustomerSelectedBundleSku.Builder copy(CustomerSelectedBundleSku model)
-
-