com.ingenico.connect.gateway.sdk.java.domain.hostedcheckout.definitions.TrialPeriod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connect-sdk-java Show documentation
Show all versions of connect-sdk-java Show documentation
SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
*/
package com.ingenico.connect.gateway.sdk.java.domain.hostedcheckout.definitions;
/**
* The object containing information on the trial period duration and the interval between payments during that period.
*/
public class TrialPeriod {
private Integer duration = null;
private String interval = null;
/**
* The number of days, weeks, months, or years before the trial period ends.
*/
public Integer getDuration() {
return duration;
}
/**
* The number of days, weeks, months, or years before the trial period ends.
*/
public void setDuration(Integer value) {
this.duration = value;
}
/**
* The interval for the trial period to finish specified as days, weeks, months, quarters, or years.
*/
public String getInterval() {
return interval;
}
/**
* The interval for the trial period to finish specified as days, weeks, months, quarters, or years.
*/
public void setInterval(String value) {
this.interval = value;
}
}