Class GiftcardParams.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Default constructor
    • Method Detail

      • setIsUsable

        public GiftcardParams.Builder setIsUsable​(@Nullable
                                                  java.lang.Boolean isUsable)
        Set the flag to show usable gift cards
        Parameters:
        isUsable - true to show usable gift cards
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setWithBalance

        public GiftcardParams.Builder setWithBalance​(@Nullable
                                                     java.lang.Boolean withBalance)
        Set the flag to show gift cards with balance
        Parameters:
        withBalance - true to show gift cards with balance
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setResultWithCategories

        public GiftcardParams.Builder setResultWithCategories​(@Nullable
                                                              java.lang.Boolean withCategories)
        Set the flag to show category in the results
        Parameters:
        withCategories - true to show category field in results
        Returns:
        The Builder object to allow chaining of calls to set/add methods
      • setCategory

        public GiftcardParams.Builder setCategory​(@Nullable
                                                  java.lang.String category)
        Set the category of the gift card classes to be retrieved
        Parameters:
        category - String internal name of the gift card class category
        Returns:
        The Builder object to allow chaining of calls to set/add methods