jp.gopay.sdk.models.response.subscription.SubscriptionConfiguration 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;
public class SubscriptionConfiguration {
@SerializedName("failed_charges_to_cancel")
private Integer failedChargesToCancel;
@SerializedName("suspend_on_cancel")
private Boolean suspendOnCancel;
public SubscriptionConfiguration(Integer failedChargesToCancel, Boolean suspendOnCancel) {
this.failedChargesToCancel = failedChargesToCancel;
this.suspendOnCancel = suspendOnCancel;
}
public Integer getFailedChargesToCancel() {
return failedChargesToCancel;
}
public Boolean getSuspendOnCancel() {
return suspendOnCancel;
}
}