
com.securionpay.request.FraudCheckDataRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of securionpay-java Show documentation
Show all versions of securionpay-java Show documentation
Java client library for SecurionPay API
The newest version!
package com.securionpay.request;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import java.util.HashMap;
import java.util.Map;
@JsonInclude(Include.NON_NULL)
public class FraudCheckDataRequest {
private String ipAddress;
private String ipCountry;
private String email;
private String userAgent;
private String acceptLanguage;
@JsonIgnore
private final Map other = new HashMap<>();
public String getIpAddress() {
return ipAddress;
}
public String getIpCountry() {
return ipCountry;
}
public String getEmail() {
return email;
}
public String getUserAgent() {
return userAgent;
}
public String getAcceptLanguage() {
return acceptLanguage;
}
public FraudCheckDataRequest ipAddress(String ipAddress) {
this.ipAddress = ipAddress;
return this;
}
public FraudCheckDataRequest ipCountry(String ipCountry) {
this.ipCountry = ipCountry;
return this;
}
public FraudCheckDataRequest email(String email) {
this.email = email;
return this;
}
public FraudCheckDataRequest userAgent(String userAgent) {
this.userAgent = userAgent;
return this;
}
public FraudCheckDataRequest acceptLanguage(String acceptLanguage) {
this.acceptLanguage = acceptLanguage;
return this;
}
@JsonAnyGetter
private Map getOtherMap() {
return other;
}
@JsonAnySetter
public FraudCheckDataRequest set(String name, Object value) {
other.put(name, value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy