feat(bank_redirects): modify api contract for sofort (#880)

This commit is contained in:
Prasunna Soppa
2023-04-17 23:58:09 +05:30
committed by GitHub
parent 456c16fb72
commit fc2e4514a3
3 changed files with 5 additions and 0 deletions

View File

@ -701,6 +701,7 @@ fn get_sofort_extra_details(
if let api_models::payments::BankRedirectData::Sofort {
country,
preferred_language,
..
} = b
{
(

View File

@ -508,6 +508,7 @@ fn get_bank_specific_data(
payments::BankRedirectData::Sofort {
country,
preferred_language,
..
} => Some(BankSpecificData::Sofort {
country: country.to_owned(),
preferred_language: preferred_language.to_owned(),