mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
fix: payment link styling for dynamic classes (#8273)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -432,6 +432,7 @@ impl ApiModelToDieselModelConvertor<api_models::admin::PaymentLinkConfigRequest>
|
||||
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,
|
||||
color_icon_card_cvc_error: item.color_icon_card_cvc_error,
|
||||
}
|
||||
}
|
||||
fn convert_back(self) -> api_models::admin::PaymentLinkConfigRequest {
|
||||
@ -460,6 +461,7 @@ impl ApiModelToDieselModelConvertor<api_models::admin::PaymentLinkConfigRequest>
|
||||
payment_form_label_type,
|
||||
show_card_terms,
|
||||
is_setup_mandate_flow,
|
||||
color_icon_card_cvc_error,
|
||||
} = self;
|
||||
api_models::admin::PaymentLinkConfigRequest {
|
||||
theme,
|
||||
@ -492,6 +494,7 @@ impl ApiModelToDieselModelConvertor<api_models::admin::PaymentLinkConfigRequest>
|
||||
payment_form_label_type,
|
||||
show_card_terms,
|
||||
is_setup_mandate_flow,
|
||||
color_icon_card_cvc_error,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user