FEAT(klarna): Klarna Kustom Checkout Integration (#6839)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
sweta-kumari-sharma
2024-12-19 13:11:44 +05:30
committed by GitHub
parent 839e69df24
commit c525c9f4c9
29 changed files with 594 additions and 266 deletions

View File

@ -133,6 +133,8 @@ impl ApiModelToDieselModelConvertor<ApiOrderDetailsWithAmount> for OrderDetailsW
brand,
product_type,
product_tax_code,
tax_rate,
total_tax_amount,
} = from;
Self {
product_name,
@ -146,6 +148,8 @@ impl ApiModelToDieselModelConvertor<ApiOrderDetailsWithAmount> for OrderDetailsW
brand,
product_type,
product_tax_code,
tax_rate,
total_tax_amount,
}
}
@ -162,6 +166,8 @@ impl ApiModelToDieselModelConvertor<ApiOrderDetailsWithAmount> for OrderDetailsW
brand,
product_type,
product_tax_code,
tax_rate,
total_tax_amount,
} = self;
ApiOrderDetailsWithAmount {
product_name,
@ -175,6 +181,8 @@ impl ApiModelToDieselModelConvertor<ApiOrderDetailsWithAmount> for OrderDetailsW
brand,
product_type,
product_tax_code,
tax_rate,
total_tax_amount,
}
}
}