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

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

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

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Currency;

@Data
public class MockBookingDetailsBO {
    private String userAccount;
    private LocalDate bookingDate;
    private LocalDate valueDate;
    private String remittance;
    private String crDrName;
    private String otherAccount;
    private BigDecimal amount;
    private Currency currency;

    @JsonIgnore
    public boolean isPaymentTransaction() {
        return amount.compareTo(BigDecimal.ZERO) < 0;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy