gopaycommunity / gopay-java-api

GoPay's JAVA SDK for Payments REST API
MIT License
10 stars 5 forks source link

OrderItem does not correspond with documentation #3

Closed zarubto4 closed 7 years ago

zarubto4 commented 8 years ago

OrderItem requred 4 values

@XmlElement(name = "name")
private String name;

@XmlElement(name = "amount")
private Long amount;

@XmlElement(name = "fee")
private Long fee;

@XmlElement(name = "count")
private Long count;`

But documentation say that you have to used only two

"items":[ {"name":"item01","amount":"500"}, {"name":"item02","amount":"500"} ],

FSichinger commented 7 years ago

The fee property has no real functionallity, removed in 3.4.0