How to get data from nested data type in Kotlin?
I have some three types, it's a chain.
public class IndataType {
@XmlElement(name = "ID")
protected Long id;
@XmlElement(name = "INVOICE", required = true)
protected List invoice;
public Long ID() {
return id;
}
public List getINVOICE() {
if (invoice == null) {
invoice = new ArrayList();
}
return this.invoice;
}
}
public class IndataInvoiceType {
@XmlElement(name = "LINE", required = true)
protected List line;
public List...