com.cleeng.api.domain.PassOfferData 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.util.List;
public class PassOfferData extends BaseOfferDataRequest {
public List accessToTags;
public String period;
public long expiresAt;
public PassOfferData() {
}
public PassOfferData(double price,
String period,
long expiresAt,
String title,
String url,
String associateEmail,
String description,
List accessToTags,
boolean geoRestrictionEnabled,
String geoRestrictionType,
List geoRestrictionCountries
) {
super( price,
title,
url,
description,
geoRestrictionEnabled,
geoRestrictionType,
geoRestrictionCountries,
associateEmail
);
this.accessToTags = accessToTags;
this.period = period;
this.expiresAt = expiresAt;
}
}