package cz.moneta.test.dsl.cagw.api.cbl.psd.pisp.my.payments;

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

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class DebtorAccount {
    private String currency;
    private DebtorIdentification identification;

    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class DebtorIdentification {
        private Other other;
        private String iban;
    }

    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class Other {
        private String identification;
    }
}




