Class CustomerSelectedBundleSku


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20240601")
    public final class CustomerSelectedBundleSku
    extends BundleSku
    A 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 the CustomerSelectedBundleSku.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 the CustomerSelectedBundleSku.Builder, which maintain a set of all explicitly set fields called CustomerSelectedBundleSku.Builder.__explicitlySet__. The hashCode() and equals(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).

    • Method Detail

      • 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.
        Overrides:
        toString in class BundleSku
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation