feat(payment-link): alternate text for manual captures (#7574)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Mrudul Vajpayee
2025-04-25 17:15:43 +05:30
committed by GitHub
parent 69ba651abd
commit fa46593093
12 changed files with 107 additions and 11 deletions

View File

@ -427,6 +427,7 @@ impl ApiModelToDieselModelConvertor<api_models::admin::PaymentLinkConfigRequest>
payment_form_header_text: item.payment_form_header_text,
payment_form_label_type: item.payment_form_label_type,
show_card_terms: item.show_card_terms,
is_setup_mandate_flow: item.is_setup_mandate_flow,
}
}
fn convert_back(self) -> api_models::admin::PaymentLinkConfigRequest {
@ -454,6 +455,7 @@ impl ApiModelToDieselModelConvertor<api_models::admin::PaymentLinkConfigRequest>
payment_form_header_text,
payment_form_label_type,
show_card_terms,
is_setup_mandate_flow,
} = self;
api_models::admin::PaymentLinkConfigRequest {
theme,
@ -485,6 +487,7 @@ impl ApiModelToDieselModelConvertor<api_models::admin::PaymentLinkConfigRequest>
payment_form_header_text,
payment_form_label_type,
show_card_terms,
is_setup_mandate_flow,
}
}
}