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

de.adorsys.ledgers.deposit.api.domain.DepositAccountDetailsBO Maven / Gradle / Ivy

package de.adorsys.ledgers.deposit.api.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class DepositAccountDetailsBO {
    private DepositAccountBO account;
    private List balances = new ArrayList<>();

    public boolean isEnabled() {
        return !account.isBlocked() && !account.isSystemBlocked();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy