jp.gopay.sdk.models.response.subscription.ScheduleSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gopay-java-sdk Show documentation
Show all versions of gopay-java-sdk Show documentation
Official Gyro-n Payments Java SDK
package jp.gopay.sdk.models.response.subscription;
import com.google.gson.annotations.SerializedName;
import org.joda.time.LocalDate;
import org.threeten.bp.ZoneId;
public class ScheduleSettings {
@SerializedName("start_on")
private LocalDate startOn;
@SerializedName("zone_id")
private ZoneId zoneId;
@SerializedName("preserve_end_of_month")
private Boolean preserveEndOfMonth;
public ScheduleSettings(LocalDate startOn, ZoneId zoneId, Boolean preserveEndOfMonth) {
this.startOn = startOn;
this.zoneId = zoneId;
this.preserveEndOfMonth = preserveEndOfMonth;
}
public LocalDate getStartOn() {
return startOn;
}
public ZoneId getZoneId() {
return zoneId;
}
public Boolean getPreserveEndOfMonth() {
return preserveEndOfMonth;
}
}