Class ReorderReceiptRuleSetRequest

    • Constructor Detail

      • ReorderReceiptRuleSetRequest

        public ReorderReceiptRuleSetRequest()
    • Method Detail

      • setRuleSetName

        public void setRuleSetName​(String ruleSetName)

        The name of the receipt rule set to reorder.

        Parameters:
        ruleSetName - The name of the receipt rule set to reorder.
      • getRuleSetName

        public String getRuleSetName()

        The name of the receipt rule set to reorder.

        Returns:
        The name of the receipt rule set to reorder.
      • withRuleSetName

        public ReorderReceiptRuleSetRequest withRuleSetName​(String ruleSetName)

        The name of the receipt rule set to reorder.

        Parameters:
        ruleSetName - The name of the receipt rule set to reorder.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getRuleNames

        public List<String> getRuleNames()

        A list of the specified receipt rule set's receipt rules in the order that you want to put them.

        Returns:
        A list of the specified receipt rule set's receipt rules in the order that you want to put them.
      • setRuleNames

        public void setRuleNames​(Collection<String> ruleNames)

        A list of the specified receipt rule set's receipt rules in the order that you want to put them.

        Parameters:
        ruleNames - A list of the specified receipt rule set's receipt rules in the order that you want to put them.
      • withRuleNames

        public ReorderReceiptRuleSetRequest withRuleNames​(String... ruleNames)

        A list of the specified receipt rule set's receipt rules in the order that you want to put them.

        NOTE: This method appends the values to the existing list (if any). Use setRuleNames(java.util.Collection) or withRuleNames(java.util.Collection) if you want to override the existing values.

        Parameters:
        ruleNames - A list of the specified receipt rule set's receipt rules in the order that you want to put them.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withRuleNames

        public ReorderReceiptRuleSetRequest withRuleNames​(Collection<String> ruleNames)

        A list of the specified receipt rule set's receipt rules in the order that you want to put them.

        Parameters:
        ruleNames - A list of the specified receipt rule set's receipt rules in the order that you want to put them.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object