com.konduto.sdk.models.KondutoOption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Easily integrate with Konduto (https://konduto.com), a fraud prevention service.
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;
}
}