jp.gopay.sdk.models.response.store.RecurringTokenConfiguration 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.store;
import com.google.gson.annotations.SerializedName;
import jp.gopay.sdk.models.common.RecurringTokenCVVConfirmation;
import jp.gopay.sdk.types.RecurringTokenPrivilege;
import org.joda.time.Period;
public class RecurringTokenConfiguration {
public RecurringTokenConfiguration(RecurringTokenPrivilege recurringType, Period chargeWaitPeriod,
RecurringTokenCVVConfirmation recurringTokenCVVConfirmation) {
this.recurringType = recurringType;
this.chargeWaitPeriod = chargeWaitPeriod;
this.recurringTokenCVVConfirmation = recurringTokenCVVConfirmation;
}
@SerializedName("recurring_type")
private RecurringTokenPrivilege recurringType;
@SerializedName("charge_wait_period")
private Period chargeWaitPeriod;
@SerializedName("card_charge_cvv_confirmation")
private RecurringTokenCVVConfirmation recurringTokenCVVConfirmation;
public RecurringTokenPrivilege getRecurringType() {
return recurringType;
}
public Period getChargeWaitPeriod() {
return chargeWaitPeriod;
}
public RecurringTokenCVVConfirmation getRecurringTokenCVVConfirmation() {
return recurringTokenCVVConfirmation;
}
}