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. (eg: gift, pledge, recurringGift, etc)")
        private List<ContributionType> contributionTypes
        Contribution Type

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

      • creditTypes

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

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

      • categoryInclusion

        @JsonPropertyDescription("An indication if the specified categories are included or excluded in the calculation rule.")
        private ContributionCalculationRules.CategoryInclusion 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 ContributionCalculationRules.CategoryGroupInclusion 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()