Class Credit

    • Field Detail

      • type

        @JsonPropertyDescription("The type of credit given to the donor.")
        private Credit.Type type
        Type

        The type of credit given to the donor. (Required)

      • amount

        @JsonPropertyDescription("The amount of credit of the specified type given to the donor.")
        private Object amount
        Amount

        The amount of credit of the specified type given to the donor.

    • Constructor Detail

      • Credit

        public Credit()
    • Method Detail

      • getType

        public Credit.Type getType()
        Type

        The type of credit given to the donor. (Required)

      • setType

        public void setType​(Credit.Type type)
        Type

        The type of credit given to the donor. (Required)

      • getAmount

        public Object getAmount()
        Amount

        The amount of credit of the specified type given to the donor.

      • setAmount

        public void setAmount​(Object amount)
        Amount

        The amount of credit of the specified type given to the donor.

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object