mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
refactor: Fix typos (#4277)
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user