All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.univapay.sdk.models.request.charge.MoneyRange Maven / Gradle / Ivy

There is a newer version: 0.2.35
Show newest version
package com.univapay.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;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy