mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 20:23:43 +08:00
refactor(api_models): derive serialize onPaymentsCaptureRequest struct (#1129)
This commit is contained in:
committed by
GitHub
parent
0d46690502
commit
e779ee78a4
@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user