refactor: Fix typos (#4277)

This commit is contained in:
Chethan Rao
2024-04-03 13:40:04 +05:30
committed by GitHub
parent 06e30e04b0
commit 36f4112a6f
285 changed files with 195 additions and 197 deletions

View File

@ -9,7 +9,7 @@ use crate::{admin, enums};
#[derive(Default, Debug, ToSchema, Clone, Deserialize, Serialize)]
#[serde(deny_unknown_fields)]
pub struct RefundRequest {
/// The payment id against which refund is to be intiated
/// The payment id against which refund is to be initiated
#[schema(
max_length = 30,
min_length = 30,
@ -102,7 +102,7 @@ pub enum RefundType {
pub struct RefundResponse {
/// Unique Identifier for the refund
pub refund_id: String,
/// The payment id against which refund is intiated
/// The payment id against which refund is initiated
pub payment_id: String,
/// The refund amount, which should be less than or equal to the total payment amount. Amount for the payment in lowest denomination of the currency. (i.e) in cents for USD denomination, in paisa for INR denomination etc
pub amount: i64,