refactor(router): add updated field to PaymentsResponse (#4292)

Co-authored-by: soumil.sudhir <soumil.sudhir@maximl.com>
This commit is contained in:
soumilbaldota
2024-04-10 17:07:41 +05:30
committed by GitHub
parent 963a10c877
commit c99e038a48
3 changed files with 13 additions and 0 deletions

View File

@ -3253,6 +3253,11 @@ pub struct PaymentsResponse {
/// Payment Method Status
#[schema(value_type = Option<PaymentMethodStatus>)]
pub payment_method_status: Option<common_enums::PaymentMethodStatus>,
/// Date time at which payment was updated
#[schema(example = "2022-09-10T10:11:12Z")]
#[serde(default, with = "common_utils::custom_serde::iso8601::option")]
pub updated: Option<PrimitiveDateTime>,
}
#[derive(Setter, Clone, Default, Debug, PartialEq, serde::Serialize, ToSchema)]