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 Creditor {
    private PostalAddress postalAddress;
    private String name;

    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class PostalAddress {
        private String addressLine;
        private String country;
        private String townName;
    }
}