br.com.moip.resource.Installment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for Moip v2 APIs
package br.com.moip.resource;
import java.util.Arrays;
public class Installment {
private int[] quantity;
private int addition;
private int discount;
private int amount;
private int number;
public int[] getQuantity() {
return quantity;
}
public int getAddition() {
return addition;
}
public int getDiscount() {
return discount;
}
public int getAmount() { return amount; }
public int getNumber() { return number; }
@Override
public String toString() {
return new StringBuilder("Installment{")
.append("quantity='").append(Arrays.toString(quantity))
.append(", addition='").append(addition)
.append(", discount='").append(discount)
.append('}').toString();
}
public Installment setQuantity(int[] quantity) {
this.quantity = quantity;
return this;
}
public Installment setAddition(int addition) {
this.addition = addition;
return this;
}
public Installment setDiscount(int discount) {
this.discount = discount;
return this;
}
}