Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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
}
}