Class CustomerSelectedBundleSku
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.ccdoffers.model.BundleSku
-
- com.oracle.bmc.ccdoffers.model.CustomerSelectedBundleSku
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20240601") public final class CustomerSelectedBundleSku extends BundleSkuA bundle SKU whose quantity is selected by the customer within the configured range.For FLEX offers, the maxQuantity should be equal to minQuantity if provided.
Note: Objects should always be created or deserialized using theCustomerSelectedBundleSku.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theCustomerSelectedBundleSku.Builder, which maintain a set of all explicitly set fields calledCustomerSelectedBundleSku.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomerSelectedBundleSku.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.ccdoffers.model.BundleSku
BundleSku.QuantityRule
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomerSelectedBundleSku.Builderbuilder()Create a new builder.booleanequals(Object o)LonggetMaxQuantity()The maximum quantity the customer can select for this bundled SKU.LonggetMinQuantity()The minimum quantity the customer can select for this bundled SKU.inthashCode()CustomerSelectedBundleSku.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.ccdoffers.model.BundleSku
getCurrencyCode, getListPrice, getSku, getSkuDisplayName, getSkuMetric
-
-
-
-
Method Detail
-
builder
public static CustomerSelectedBundleSku.Builder builder()
Create a new builder.
-
toBuilder
public CustomerSelectedBundleSku.Builder toBuilder()
-
getMinQuantity
public Long getMinQuantity()
The minimum quantity the customer can select for this bundled SKU.For FLEX offers, minQuantity and maxQuantity must be equal if maxQuantity provided.
- Returns:
- the value
-
getMaxQuantity
public Long getMaxQuantity()
The maximum quantity the customer can select for this bundled SKU.For FLEX offers must be equal to minQuantity if provided.
- Returns:
- the value
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-