// RB2 Core Connect namespace CoreConnect.Payments; public class PaymentMethod{ public required string Id { get; set; } public string? Image { get; set; } public string? Code { get; set; } public required string Name { get; set; } public string? Provider { get; set; } public List<SubPaymentMethod> SubMethods { get; set; } = new List<SubPaymentMethod>(); public decimal MinAuthorizationAmount { get; set; }} public class SubPaymentMethod{ public string? Id { get; set; } public string? Image { get; set; } public string? Code { get; set; } public string? Name { get; set; }}