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 RemittanceInformation {
    private String unstructured;
    private Structured structured;

    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class Structured {
        private CreditorReferenceInformation creditorReferenceInformation;
    }

    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class CreditorReferenceInformation {
        private String reference;
    }
}




