com.cleeng.api.domain.BaseOfferData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cleeng-java-sdk Show documentation
Show all versions of cleeng-java-sdk Show documentation
When you are building your website or application with Java, you can use the Cleeng Java SDK. It simplifies the use of the Cleeng API as it handles user login and content access, and deals with all JSON-RPC specific code.
package com.cleeng.api.domain;
import java.io.Serializable;
import java.util.List;
public class BaseOfferData implements Serializable {
public double price;
public String title;
public String url;
public String description;
public boolean geoRestrictionEnabled;
public String geoRestrictionType;
public List geoRestrictionCountries;
public BaseOfferData(double price,
String title,
String url,
String description,
boolean geoRestrictionEnabled,
String geoRestrictionType,
List geoRestrictionCountries) {
this.price = price;
this.title = title;
this.url = url;
this.description = description;
this.geoRestrictionEnabled = geoRestrictionEnabled;
this.geoRestrictionType = geoRestrictionType;
this.geoRestrictionCountries = geoRestrictionCountries;
}
public BaseOfferData() {
}
}