Skip to content

Enums adjustment, PaymentStatus.java Added RETRY_SCHEDULED ("Retry Sc…#597

Merged
david-ruiz-cko merged 1 commit into
masterfrom
feature/INT-1627
May 12, 2026
Merged

Enums adjustment, PaymentStatus.java Added RETRY_SCHEDULED ("Retry Sc…#597
david-ruiz-cko merged 1 commit into
masterfrom
feature/INT-1627

Conversation

@david-ruiz-cko
Copy link
Copy Markdown
Contributor

@david-ruiz-cko david-ruiz-cko commented May 12, 2026

This pull request updates enum definitions to improve serialization consistency and support new payment status values. The most important changes are grouped below:

New payment status support:

  • In PaymentStatus, a new enum value RETRY_SCHEDULED with serialized name "Retry Scheduled" has been added to represent payments scheduled for retry.

Enum serialization improvements:

  • In Exemption, the @SerializedName annotation for the NONE value now uses "none" as the primary value, with "None" and "NONE" as alternates, ensuring consistent lowercase serialization and swagger definition.
  • In PaymentType, the @SerializedName annotation for the MOTO value now uses "MOTO" as the primary value, with "Moto" as an alternate, standardizing the serialized output with the swagger definition.

…heduled"), PaymentType.java Primary "Moto" → "MOTO"; "Moto" kept as alternate, Exemption.java Primary "None" → "none"; "None"/"NONE" kept as alternates.
@david-ruiz-cko david-ruiz-cko requested a review from a team May 12, 2026 09:26
@sonarqubecloud
Copy link
Copy Markdown

@david-ruiz-cko david-ruiz-cko merged commit 688aaf5 into master May 12, 2026
6 checks passed
@david-ruiz-cko david-ruiz-cko deleted the feature/INT-1627 branch May 12, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants