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

com.unzer.payment.models.paypage.PaymentMethodConfig Maven / Gradle / Ivy

package com.unzer.payment.models.paypage;

import lombok.Data;

@Data
public class PaymentMethodConfig {
    private Boolean enabled;
    private Integer order;

    // Type specific configs.
    private String label; // paylater types only.

    private Boolean credentialOnFile = null; // card only.
    private String exemption; // card only.

    public PaymentMethodConfig(boolean enabled, Integer order) {
        this.enabled = enabled;
        this.order = order;
    }

    public PaymentMethodConfig(boolean enabled) {
        this.enabled = enabled;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy