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

com.cleeng.api.domain.SubscriptionOfferData Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 2.8.2
Show newest version
package com.cleeng.api.domain;

import java.util.List;

public class SubscriptionOfferData extends BaseOfferDataRequest {

    public String period;
    public int freePeriods;
    public int freeDays;
    public List accessToTags;

    public SubscriptionOfferData(double price,
                                 String period,
                                 String title,
                                 String url,
                                 String description,
                                 String associateEmail,
                                 int freePeriods,
                                 int freeDays,
                                 List accessToTags,
                                 boolean geoRestrictionEnabled,
                                 String geoRestrictionType,
                                 List geoRestrictionCountries) {

        super( price,
            title,
            url,
            description,
            geoRestrictionEnabled,
            geoRestrictionType,
            geoRestrictionCountries,
            associateEmail
        );

        this.period = period;
        this.freeDays = freeDays;
        this.freePeriods = freePeriods;
        this.accessToTags = accessToTags;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy