jp.gopay.sdk.models.common.stores.LimitChargeByCardConfiguration 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.common.stores;
import com.google.gson.annotations.SerializedName;
import org.threeten.bp.Duration;
public class LimitChargeByCardConfiguration {
@SerializedName("quantity_of_charges")
private Integer quantityOfCharges;
@SerializedName("duration_window")
private Duration durationWindow;
public Integer getQuantityOfCharges() {
return quantityOfCharges;
}
public Duration getDurationWindow() {
return durationWindow;
}
public LimitChargeByCardConfiguration(Integer quantityOfCharges, Duration durationWindow) {
this.quantityOfCharges = quantityOfCharges;
this.durationWindow = durationWindow;
}
}