Class ProductFamiliesRequest


  • public final class ProductFamiliesRequest
    extends Object
    The filters for showing the product families.
    • Constructor Detail

      • ProductFamiliesRequest

        public ProductFamiliesRequest()
    • Method Detail

      • filterableProperties

        public Map<String,​List<FilterableProperty>> filterableProperties()
        Get the filterableProperties property: Dictionary of filterable properties on product family.
        Returns:
        the filterableProperties value.
      • withFilterableProperties

        public ProductFamiliesRequest withFilterableProperties​(Map<String,​List<FilterableProperty>> filterableProperties)
        Set the filterableProperties property: Dictionary of filterable properties on product family.
        Parameters:
        filterableProperties - the filterableProperties value to set.
        Returns:
        the ProductFamiliesRequest object itself.
      • customerSubscriptionDetails

        public CustomerSubscriptionDetails customerSubscriptionDetails()
        Get the customerSubscriptionDetails property: Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details.
        Returns:
        the customerSubscriptionDetails value.
      • withCustomerSubscriptionDetails

        public ProductFamiliesRequest withCustomerSubscriptionDetails​(CustomerSubscriptionDetails customerSubscriptionDetails)
        Set the customerSubscriptionDetails property: Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details.
        Parameters:
        customerSubscriptionDetails - the customerSubscriptionDetails value to set.
        Returns:
        the ProductFamiliesRequest object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.