Skip to content

Commit

Permalink
Update enum values in README
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-kody committed Dec 13, 2024
1 parent 6193803 commit 01ef938
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ Request parameters:

````java
public enum PaymentStatus {
PENDING("PENDING"),
SUCCESS("SUCCESS"),
FAILED("FAILED"),
CANCELLED("CANCELLED")
PENDING(0),
SUCCESS(1),
FAILED(2),
CANCELLED(3)
}

public class PayResponse {
Expand Down Expand Up @@ -295,10 +295,10 @@ The cancel payment request requires the following parameters:
#### CancelResponse : Cancel Payment Response
````java
public enum PaymentStatus {
PENDING("PENDING"),
SUCCESS("SUCCESS"),
FAILED("FAILED"),
CANCELLED("CANCELLED")
PENDING(0),
SUCCESS(1),
FAILED(2),
CANCELLED(3)
}

public class CancelResponse {
Expand Down Expand Up @@ -348,9 +348,9 @@ The refund payment request requires the following parameters:
#### RefundResponse : Refund Payment Response
````java
public enum RefundStatus {
PENDING("PENDING"),
REQUESTED("REQUESTED"),
FAILED("FAILED")
PENDING(0),
REQUESTED(1),
FAILED(2)
}

public class RefundResponse {
Expand Down Expand Up @@ -570,9 +570,9 @@ The refund payment request requires the following parameters:
#### RefundResponse : Refund Payment Response
````java
public enum RefundStatus {
PENDING("PENDING"),
REQUESTED("REQUESTED"),
FAILED("FAILED")
PENDING(0),
REQUESTED(1),
FAILED(2)
}

public class RefundResponse {
Expand Down

0 comments on commit 01ef938

Please sign in to comment.