Код: Выделить всё
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Response", propOrder = {
"value",
"account",
"hash",
"tstamp",
"msg",
"code",
"authCode",
"startBal",
"endBal"
})
public class Response {
protected Amount value;
@XmlElement(required = true)
protected Account account;
protected String hash;
protected TimeStamp tstamp;
protected String msg;
@XmlElement(required = true)
protected String code;
@XmlElement(name = "auth_code")
protected String authCode;
@XmlElement(name = "start_bal")
protected Amount startBal;
@XmlElement(name = "end_bal")
protected Amount endBal;
Код: Выделить всё
Код: Выделить всё
I am on JAVA 17 , Spring 4 and likely on jakarta.xml.bind-api 4.0.2 API.
Подробнее здесь: https://stackoverflow.com/questions/791 ... stead-of-x
Мобильная версия