-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add warnings and deprecate ackWarningsList and warningsList #92
Conversation
6f073ac
to
c06416d
Compare
import it.trade.model.reponse.Warning; | ||
|
||
public class TradeItOrderDetailsParcelable implements Parcelable { | ||
public String orderSymbol; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@guillaumedebavelaere I updated to move warnings
to the orderDetails
. What's our strategy for accessors? Half the classes seem to define them for other fields but then others don't and just mark the field as public.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the user is supposed to modify these fields you can let them public. Otherwise, you can mark them private (or package-private/protected if you need to set them in unit tests) and add a getter.
c06416d
to
5a7309b
Compare
@guillaumedebavelaere updated with |
import it.trade.model.reponse.WarningLink; | ||
|
||
public class TradeItWarningLinkParcelable implements Parcelable { | ||
protected String label; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the getters?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
import it.trade.model.reponse.WarningLink; | ||
|
||
public class TradeItWarningParcelable implements Parcelable { | ||
protected String message; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the getters?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
5a7309b
to
b5a1d1d
Compare
No description provided.