Issue:
Use `serde_repr` for serializing enums as u8

https://github.com/juspay/orca/blob/56d153d8f7c2c75391799cf14280c448df97842f/crates/router/src/connector/authorizedotnet/transformers.rs#L219-L227

Instead of such renaming, it would be more properly to use `#[repr(u8)]` here:
 ```rust
#[derive(Serialize_repr, Deserialize_repr)]
#[repr(u8)]
pub enum AuthorizedotnetPaymentStatus {
    Approved = 1,
    Declined = 2,
    Error = 3,
    #[default]
    HeldForReview = 4,
}
```

https://serde.rs/enum-number.html

Resolution:
<think>
PR Context:
- Title: use `serde_repr` for serializing enums as `u8`
- Merged: 2022-12-13T13:23:37Z
- Files changed: 3 files
- Commits: 2 commits

Implementation approach:
## Type of Chang

- [x] Refactoring

## Motivation and Context
Closes #110.

## Checklist
- [x] I formatted the code `cargo +nightly fmt`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed submitted code

</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** use `serde_repr` for serializing enums as `u8` (#130)
Files to modify:


**crates/router/src/connector/authorizedotnet/transformers.rs**
  Modify existing code