feat: modularize external providers

This commit is contained in:
2026-07-27 17:47:21 +08:00
parent db4c7b4496
commit 70b99e6063
47 changed files with 1219 additions and 667 deletions

View File

@@ -375,11 +375,13 @@ public sealed class CommerceEndpointTests
Days = 39,
IsActive = true
},
new TenantPaymentAccount
new TenantExternalProvider
{
TenantId = tenantId,
Capability = TenantExternalProviderCapability.Payment,
Provider = "manual",
Status = TenantPaymentAccountStatus.Active
Status = TenantExternalProviderStatus.Active,
ConfigPublic = JsonSerializer.SerializeToElement(new { mode = "TenantCollect" })
}
};
if (includeMembership)