refactor(api_models): derive serialize onPaymentsCaptureRequest struct (#1129)

This commit is contained in:
harsh-sharma-juspay
2023-05-11 18:26:35 +05:30
committed by GitHub
parent 0d46690502
commit e779ee78a4

View File

@ -945,7 +945,7 @@ pub struct PhoneDetails {
pub country_code: Option<String>,
}
#[derive(Debug, Clone, Default, Eq, PartialEq, serde::Deserialize, ToSchema)]
#[derive(Debug, Clone, Default, Eq, PartialEq, serde::Deserialize, serde::Serialize, ToSchema)]
pub struct PaymentsCaptureRequest {
/// The unique identifier for the payment
pub payment_id: Option<String>,