diff --git a/src/Klarna.Common/Models/OrderManagementInitialPaymentMethodType.cs b/src/Klarna.Common/Models/OrderManagementInitialPaymentMethodType.cs index 31cd7bdb..e67b675d 100644 --- a/src/Klarna.Common/Models/OrderManagementInitialPaymentMethodType.cs +++ b/src/Klarna.Common/Models/OrderManagementInitialPaymentMethodType.cs @@ -1,5 +1,7 @@ -namespace Klarna.Common.Models +namespace Klarna.Common.Models { + // IMPORTANT: This list needs to be kept up to date with + // https://docs.kustom.co/contents/api/order-management/orders/getorder#orders/getorder/t=response&c=200&path=initial_payment_method/type public enum OrderManagementInitialPaymentMethodType { INVOICE, @@ -18,6 +20,13 @@ public enum OrderManagementInitialPaymentMethodType PAY_LATER_BY_CARD, MOBILEPAY, OTHER, - SWISH + SWISH, + // Methods introduced more recently than 2023 (added to the end, to avoid number mismatches in the backing type) + APPLE_PAY_CARD, + GOOGLE_PAY_CARD, + CARTES_BANCAIRES, + BLIK, + TWINT, + BANCONTACT } }