Skip to content

Commit

Permalink
change ResultCode type from string to int
Browse files Browse the repository at this point in the history
  • Loading branch information
vetcher committed Aug 1, 2018
1 parent 6dee6c7 commit 1e92907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ type PaymentCallback struct {
CheckoutRequestID string
// This is a numeric status code that indicates the status of the transaction processing.
// 0 means successful processing and any other code means an error occurred or the transaction failed.
ResultCode string
ResultCode int
// Result description is a message from the API that gives the status of the request processing,
// usually maps to a specific ResultCode value.
// It can be a Success processing message or an error description message.
Expand Down

0 comments on commit 1e92907

Please sign in to comment.