Class ContributionCalculationRules


  • @Generated("jsonschema2pojo")
    public class ContributionCalculationRules
    extends Object
    Contribution Calculation Rules

    Rules used in calculating contributions.

    • Field Detail

      • metadata

        @JsonPropertyDescription("Metadata about the JSON payload")
        private Metadata metadata
        Metadata

        Metadata about the JSON payload

      • id

        @JsonPropertyDescription("The global identifier of the contribution calculation rule.")
        private String id
        ID

        The global identifier of the contribution calculation rule. (Required)

      • title

        @JsonPropertyDescription("The full name of the contribution calculation rule.")
        private String title
        Title

        The full name of the contribution calculation rule. (Required)

      • description

        @JsonPropertyDescription("The description of the contribution calculation rule.")
        private String description
        Description

        The description of the contribution calculation rule.

      • contributionTypes

        @JsonPropertyDescription("The types of contribution that are applicable to the calculation rule (e.g. gift, pledge, recurringGift, etc.).")
        private List<ContributionType> contributionTypes
        Contribution Type

        The types of contribution that are applicable to the calculation rule (e.g. gift, pledge, recurringGift, etc.).

      • creditTypes

        @JsonPropertyDescription("The types of credit that are applicable to the calculation rule (e.g. legal, recognition, etc.).")
        private List<CreditType> creditTypes
        Credit Types

        The types of credit that are applicable to the calculation rule (e.g. legal, recognition, etc.).

      • categoryInclusion

        @JsonPropertyDescription("An indication if the specified categories are included or excluded in the calculation rule.")
        private Object categoryInclusion
        Category Inclusion

        An indication if the specified categories are included or excluded in the calculation rule.

      • categories

        @JsonPropertyDescription("Contribution categories to be included or excluded in the calculation rule.")
        private List<Category> categories
        Categories

        Contribution categories to be included or excluded in the calculation rule.

      • categoryGroupInclusion

        @JsonPropertyDescription("An indication if the specified category groups are included or excluded in the calculation rule.")
        private Object categoryGroupInclusion
        Category Group Inclusion

        An indication if the specified category groups are included or excluded in the calculation rule.

      • categoryGroups

        @JsonPropertyDescription("Contribution category groups to be included or excluded in the calculation rule.")
        private List<CategoryGroup> categoryGroups
        Category Groups

        Contribution category groups to be included or excluded in the calculation rule.

    • Constructor Detail

      • ContributionCalculationRules

        public ContributionCalculationRules()
    • Method Detail

      • getMetadata

        public Metadata getMetadata()
        Metadata

        Metadata about the JSON payload

      • setMetadata

        public void setMetadata​(Metadata metadata)
        Metadata

        Metadata about the JSON payload

      • getId

        public String getId()
        ID

        The global identifier of the contribution calculation rule. (Required)

      • setId

        public void setId​(String id)
        ID

        The global identifier of the contribution calculation rule. (Required)

      • getTitle

        public String getTitle()
        Title

        The full name of the contribution calculation rule. (Required)

      • setTitle

        public void setTitle​(String title)
        Title

        The full name of the contribution calculation rule. (Required)

      • getDescription

        public String getDescription()
        Description

        The description of the contribution calculation rule.

      • setDescription

        public void setDescription​(String description)
        Description

        The description of the contribution calculation rule.

      • getContributionTypes

        public List<ContributionType> getContributionTypes()
        Contribution Type

        The types of contribution that are applicable to the calculation rule (e.g. gift, pledge, recurringGift, etc.).

      • setContributionTypes

        public void setContributionTypes​(List<ContributionType> contributionTypes)
        Contribution Type

        The types of contribution that are applicable to the calculation rule (e.g. gift, pledge, recurringGift, etc.).

      • getCreditTypes

        public List<CreditType> getCreditTypes()
        Credit Types

        The types of credit that are applicable to the calculation rule (e.g. legal, recognition, etc.).

      • setCreditTypes

        public void setCreditTypes​(List<CreditType> creditTypes)
        Credit Types

        The types of credit that are applicable to the calculation rule (e.g. legal, recognition, etc.).

      • getCategoryInclusion

        public Object getCategoryInclusion()
        Category Inclusion

        An indication if the specified categories are included or excluded in the calculation rule.

      • setCategoryInclusion

        public void setCategoryInclusion​(Object categoryInclusion)
        Category Inclusion

        An indication if the specified categories are included or excluded in the calculation rule.

      • getCategories

        public List<Category> getCategories()
        Categories

        Contribution categories to be included or excluded in the calculation rule.

      • setCategories

        public void setCategories​(List<Category> categories)
        Categories

        Contribution categories to be included or excluded in the calculation rule.

      • getCategoryGroupInclusion

        public Object getCategoryGroupInclusion()
        Category Group Inclusion

        An indication if the specified category groups are included or excluded in the calculation rule.

      • setCategoryGroupInclusion

        public void setCategoryGroupInclusion​(Object categoryGroupInclusion)
        Category Group Inclusion

        An indication if the specified category groups are included or excluded in the calculation rule.

      • getCategoryGroups

        public List<CategoryGroup> getCategoryGroups()
        Category Groups

        Contribution category groups to be included or excluded in the calculation rule.

      • setCategoryGroups

        public void setCategoryGroups​(List<CategoryGroup> categoryGroups)
        Category Groups

        Contribution category groups to be included or excluded in the calculation rule.

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object