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

com.konduto.sdk.models.KondutoOption 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;

import com.google.gson.annotations.SerializedName;

/**
 *
 * Device model.
 *
 * @see Konduto API Spec
 *
 */
public class KondutoOption extends KondutoModel {

	@SerializedName("real_time")
	private boolean realTime;

	@SerializedName("sales_channel")
	private KondutoSalesChannel salesChannel;

	public KondutoOption(){}

	/* Equals */

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (!(o instanceof KondutoOption)) return false;

		KondutoOption that = (KondutoOption) o;

		if (realTime != that.realTime) return false;
		if (salesChannel != that.salesChannel) return false;

		return true;
	}

	@Override
	public int hashCode() {
		return 0;
	}

	/* Getters and Setters */
	public boolean getRealTime() {
		return realTime;
	}

	public void setRealTime(boolean realTime) {
		this.realTime = realTime;
	}

	public KondutoSalesChannel getSalesChannel() {
		return salesChannel;
	}

	public void setSalesChannel(KondutoSalesChannel salesChannel) {
		this.salesChannel = salesChannel;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy