mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
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:
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user