mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(api_models): derive Serialize, Eq, PartialEq, strum::Display on RefundStatus (#989)
Co-authored-by: manoj <34711289+manojradhakrishnan@users.noreply.github.com>
This commit is contained in:
@ -74,7 +74,9 @@ pub struct RefundUpdateRequest {
|
||||
pub metadata: Option<pii::SecretSerdeValue>,
|
||||
}
|
||||
|
||||
#[derive(Default, Debug, Clone, ToSchema, Deserialize)]
|
||||
#[derive(
|
||||
Default, Debug, Clone, Copy, ToSchema, Deserialize, Serialize, Eq, PartialEq, strum::Display,
|
||||
)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum RefundType {
|
||||
#[default]
|
||||
|
||||
Reference in New Issue
Block a user