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

jp.gopay.sdk.models.response.store.RecurringTokenConfiguration Maven / Gradle / Ivy

There is a newer version: 0.11.17
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy