jp.gopay.sdk.models.request.charge.MoneyRange 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.request.charge;
import java.math.BigInteger;
public class MoneyRange {
private BigInteger minimumAmount;
private BigInteger maximumAmount;
public MoneyRange() {
}
public MoneyRange(BigInteger minimumAmount, BigInteger maximumAmount) {
this.minimumAmount = minimumAmount;
this.maximumAmount = maximumAmount;
}
public MoneyRange withMinimumAmount(BigInteger minimumAmount){
this.minimumAmount = minimumAmount;
return this;
}
public MoneyRange withMaximumAmount(BigInteger maximumAmount){
this.maximumAmount = maximumAmount;
return this;
}
public BigInteger getMinimumAmount() {
return minimumAmount;
}
public BigInteger getMaximumAmount() {
return maximumAmount;
}
}