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

jp.gopay.sdk.models.common.stores.SecurityConfiguration Maven / Gradle / Ivy

There is a newer version: 0.11.17
Show newest version
package jp.gopay.sdk.models.common.stores;

import com.google.gson.annotations.SerializedName;
import org.joda.time.Period;

import java.math.BigDecimal;

public class SecurityConfiguration {
    @SerializedName("inspect_suspicious_login_after")
    private Period inspectSuspiciousLoginAfter;

    @SerializedName("refund_percent_limit")
    private BigDecimal refundPercentLimit;

    @SerializedName("limit_charge_by_card_configuration")
    private LimitChargeByCardConfiguration limitChargeByCardConfiguration;

    @SerializedName("confirmation_required")
    private Boolean confirmationRequired;

    public Period getInspectSuspiciousLoginAfter() {
        return inspectSuspiciousLoginAfter;
    }

    public BigDecimal getRefundPercentLimit() {
        return refundPercentLimit;
    }

    public LimitChargeByCardConfiguration getLimitChargeByCardConfiguration() {
        return limitChargeByCardConfiguration;
    }

    public Boolean getConfirmationRequired() {
        return confirmationRequired;
    }

    public SecurityConfiguration() {
    }

    public SecurityConfiguration(Period inspectSuspiciousLoginAfter) {
        this.inspectSuspiciousLoginAfter = inspectSuspiciousLoginAfter;
    }

    public SecurityConfiguration withConfirmationRequired(Boolean confirmationRequired) {
        this.confirmationRequired = confirmationRequired;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy