Skip to content

Conversation

ajrice6713
Copy link
Contributor

No description provided.


@Nullable
@JacksonXmlProperty(localName = "OrderStatus")
public abstract String getOrderStatus();
Copy link

@tyhsq tyhsq Dec 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the same OrderStatus as

?

Can it be reused? So we can use an enum to check status.

the enum has an isTerminal() that we can check whether the status is terminal:

Copy link

@tyhsq tyhsq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ajrice6713 ajrice6713 merged commit 783c420 into master Dec 4, 2024
5 checks passed
@ajrice6713 ajrice6713 deleted the SWI-6678 branch December 4, 2024 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants