jp.gopay.sdk.models.response.subscription.FullSubscription 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;
import java.math.BigDecimal;
import java.math.BigInteger;
public class FullSubscription extends Subscription{
@SerializedName("amount_left")
private BigInteger amountLeft;
@SerializedName("amount_left_formatted")
private BigDecimal amountLeftFormatted;
@SerializedName("installment_plan")
private InstallmentPlan installmentPlan;
@SerializedName("next_payment")
private ScheduledPayment nextPayment;
@SerializedName("payments_left")
private Integer paymentsLeft;
public BigInteger getAmountLeft() {
return amountLeft;
}
public BigDecimal getAmountLeftFormatted() {
return amountLeftFormatted;
}
public InstallmentPlan getInstallmentPlan() {
return installmentPlan;
}
public ScheduledPayment getNextPayment() {
return nextPayment;
}
public Integer getPaymentsLeft() {
return paymentsLeft;
}
}