Skip to content

Commit 44d7688

Browse files
authored
Return the merchant supported payment methods as a list. (#433)
1 parent 57bdd5e commit 44d7688

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/NoFrixion.MoneyMoov/Models/Merchant/Merchant.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,19 @@ public class Merchant
101101
/// For internal use only.
102102
/// </summary>
103103
public string? ModulrCustomerID { get; set; }
104-
104+
105105
/// <summary>
106106
/// The payment methods that are configured and supported for this merchant.
107107
/// Returned as a comma-separated list of PaymentMethodTypeEnum values.
108108
/// </summary>
109+
[Obsolete("Please usse SupportedPaymentMethodsList instead.")]
109110
public PaymentMethodTypeEnum SupportedPaymentMethods { get; set; }
110111

112+
/// <summary>
113+
/// The payment methods that are configured and supported for this merchant.
114+
/// </summary>
115+
public List<PaymentMethodTypeEnum> SupportedPaymentMethodsList { get; set; } = new List<PaymentMethodTypeEnum>();
116+
111117
/// <summary>
112118
/// The role of the identity that loaded the merchant record.
113119
/// </summary>

0 commit comments

Comments
 (0)