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

com.truelayer.java.entities.Configuration Maven / Gradle / Ivy

There is a newer version: 16.0.0
Show newest version
package com.truelayer.java.entities;

import com.fasterxml.jackson.annotation.JsonGetter;
import com.truelayer.java.payments.entities.paymentdetail.RedirectStatus;
import java.util.Optional;
import lombok.Value;

@Value
public class Configuration {
    ProviderSelection providerSelection;

    RedirectStatus redirect;

    Retry retry;

    @Value
    public static class ProviderSelection {
        ConfigurationStatus status;
    }

    @JsonGetter
    public Optional getRetry() {
        return Optional.ofNullable(retry);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy