com.cleeng.api.domain.UpdateCustomerSubscriptionParams 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;
public class UpdateCustomerSubscriptionParams implements Serializable {
public String publisherToken;
public String customerEmail;
public String offerId;
public UpdateCustomerSubscriptionOfferData subscriptionData;
public UpdateCustomerSubscriptionParams(String publisherToken,
String customerEmail,
String offerId,
UpdateCustomerSubscriptionOfferData subscriptionData) {
this.publisherToken = publisherToken;
this.customerEmail = customerEmail;
this.offerId = offerId;
this.subscriptionData = subscriptionData;
}
public UpdateCustomerSubscriptionParams(String customerEmail,
String offerId,
UpdateCustomerSubscriptionOfferData subscriptionData) {
this.customerEmail = customerEmail;
this.offerId = offerId;
this.subscriptionData = subscriptionData;
}
}