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:
JeevaRamu0104
2023-05-02 17:14:40 +05:30
committed by GitHub
parent 17e8305a5d
commit 22a5372481
2 changed files with 4 additions and 2 deletions

View File

@ -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]