Class OverrideDetail

    • Constructor Detail

      • OverrideDetail

        public OverrideDetail()
    • Method Detail

      • getUserId

        public String getUserId()
        The user ID of the admin user who performed the override.
        Returns:
        The ID of the admin user who pepwd rformed the override.
      • getAuthor

        public String getAuthor()
        The admin user who performed the override.
        Returns:
        The admin user who performed the override.
      • getType

        public String getType()
        The type of override performed, e.g. a Cart Item Price override or a Fulfillment Group Price override.
        Returns:
        The type of override performed.
        See Also:
        DefaultOverrideTypes
      • getOriginalAmount

        public javax.money.MonetaryAmount getOriginalAmount()
        The amount contained in the field prior to being overridden.
        Returns:
        The amount contained in the field prior to being overridden.
      • getOverrideAmount

        public javax.money.MonetaryAmount getOverrideAmount()
        The amount which the field has been overridden to.
        Returns:
        The amount which the field has been overridden to.
      • getReason

        @Nullable
        public String getReason()
        The reason the override was performed, for example, "Price Match".
        Returns:
        The reason the override was performed.
      • getComment

        @Nullable
        public String getComment()
        The optional, long-form comment explaining any extra context for the override.
        Returns:
        The optional, long-form comment explaining any extra context for the override.
      • setUserId

        public void setUserId​(String userId)
        The user ID of the admin user who performed the override.
        Parameters:
        userId - The ID of the admin user who performed the override.
      • setAuthor

        public void setAuthor​(String author)
        The admin user who performed the override.
        Parameters:
        userId - The admin user who performed the override.
      • setType

        public void setType​(String type)
        The type of override performed, e.g. a Cart Item Price override or a Fulfillment Group Price override.
        Parameters:
        type - The type of override performed.
        See Also:
        DefaultOverrideTypes
      • setOriginalAmount

        public void setOriginalAmount​(javax.money.MonetaryAmount originalAmount)
        The amount contained in the field prior to being overridden.
        Parameters:
        originalAmount - The amount contained in the field prior to being overridden.
      • setOverrideAmount

        public void setOverrideAmount​(javax.money.MonetaryAmount overrideAmount)
        The amount which the field has been overridden to.
        Parameters:
        overrideAmount - The amount which the field has been overridden to.
      • setReason

        public void setReason​(@Nullable
                              String reason)
        The reason the override was performed, for example, "Price Match".
        Parameters:
        reason - The reason the override was performed.
      • setComment

        public void setComment​(@Nullable
                               String comment)
        The optional, long-form comment explaining any extra context for the override.
        Parameters:
        comment - The optional, long-form comment explaining any extra context for the override.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object