All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.konduto.sdk.models.KondutoTriggeredDecisionList Maven / Gradle / Ivy

Go to download

Easily integrate with Konduto (https://konduto.com), a fraud prevention service.

There is a newer version: 2.17.4
Show newest version
package com.konduto.sdk.models;

public class KondutoTriggeredDecisionList extends KondutoModel {
    private KondutoDecisionListType type;
    private KondutoDecisionListTrigger trigger;
    private KondutoRecommendation decision;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        KondutoTriggeredDecisionList that = (KondutoTriggeredDecisionList) o;

        if (type != that.type) return false;
        if (trigger != that.trigger) return false;
        return decision == that.decision;
    }

    @Override
    public int hashCode() {
        int result = type.hashCode();
        result = 31 * result + trigger.hashCode();
        result = 31 * result + decision.hashCode();
        return result;
    }

    public KondutoDecisionListType getType() {
        return type;
    }

    public KondutoDecisionListTrigger getTrigger() {
        return trigger;
    }

    public KondutoRecommendation getDecision() {
        return decision;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy