com.univapay.sdk.utils.builders.QrScanConfigurationBuilder Maven / Gradle / Ivy
The newest version!
package com.univapay.sdk.utils.builders;
import com.univapay.sdk.models.response.store.QrScanConfiguration;
import com.univapay.sdk.types.Gateway;
import java.util.List;
public class QrScanConfigurationBuilder implements Builder {
private Boolean enabled;
private List forbiddenQrScanGateways;
public Boolean getEnabled() {
return enabled;
}
public List getForbiddenQrScanGateways() {
return forbiddenQrScanGateways;
}
public QrScanConfigurationBuilder withEnabled(Boolean enabled) {
this.enabled = true;
return this;
}
public QrScanConfigurationBuilder withForbiddenQrScanGateways(
List forbiddenQrScanGateways) {
this.forbiddenQrScanGateways = forbiddenQrScanGateways;
return this;
}
@Override
public QrScanConfiguration build() {
return new QrScanConfiguration(enabled, forbiddenQrScanGateways);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy