mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
refactor: Fix typos (#4277)
This commit is contained in:
@ -145,7 +145,7 @@ pub struct PaymentMethodResponse {
|
||||
pub customer_id: Option<String>,
|
||||
|
||||
/// The unique identifier of the Payment method
|
||||
#[schema(example = "card_rGK4Vi5iSW70MY7J2mIy")]
|
||||
#[schema(example = "card_rGK4Vi5iSW70MY7J2mIg")]
|
||||
pub payment_method_id: String,
|
||||
|
||||
/// The type of payment method use for the payment.
|
||||
@ -536,7 +536,7 @@ pub struct RequestPaymentMethodTypes {
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct PaymentMethodListRequest {
|
||||
/// This is a 15 minute expiry token which shall be used from the client to authenticate and perform sessions from the SDK
|
||||
#[schema(max_length = 30, min_length = 30, example = "secret_k2uj3he2893ein2d")]
|
||||
#[schema(max_length = 30, min_length = 30, example = "secret_k2uj3he2893eiu2d")]
|
||||
pub client_secret: Option<String>,
|
||||
|
||||
/// The two-letter ISO currency code
|
||||
@ -743,7 +743,7 @@ pub struct CustomerPaymentMethodsListResponse {
|
||||
#[derive(Debug, serde::Serialize, ToSchema)]
|
||||
pub struct PaymentMethodDeleteResponse {
|
||||
/// The unique identifier of the Payment method
|
||||
#[schema(example = "card_rGK4Vi5iSW70MY7J2mIy")]
|
||||
#[schema(example = "card_rGK4Vi5iSW70MY7J2mIg")]
|
||||
pub payment_method_id: String,
|
||||
|
||||
/// Whether payment method was deleted or not
|
||||
@ -753,7 +753,7 @@ pub struct PaymentMethodDeleteResponse {
|
||||
#[derive(Debug, serde::Serialize, ToSchema)]
|
||||
pub struct CustomerDefaultPaymentMethodResponse {
|
||||
/// The unique identifier of the Payment method
|
||||
#[schema(example = "card_rGK4Vi5iSW70MY7J2mIy")]
|
||||
#[schema(example = "card_rGK4Vi5iSW70MY7J2mIg")]
|
||||
pub default_payment_method_id: Option<String>,
|
||||
/// The unique identifier of the customer.
|
||||
#[schema(example = "cus_meowerunwiuwiwqw")]
|
||||
|
||||
Reference in New Issue
Block a user