1
0
mirror of https://github.com/bitwarden/server synced 2026-01-03 09:03:44 +00:00
Files
server/src/Core/Billing/Models/PaymentMethod.cs
Stephon Brown 87bc9299e6 [PM-23309] Admin Console Credit is not Displaying Decimals (#6280)
* fix: update calculation to be decimal

* fix: update record type property to decimal

* tests: add tests to service and update test names
2025-09-05 11:15:01 -04:00

16 lines
394 B
C#

// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.Billing.Tax.Models;
namespace Bit.Core.Billing.Models;
public record PaymentMethod(
decimal AccountCredit,
PaymentSource PaymentSource,
string SubscriptionStatus,
TaxInformation TaxInformation)
{
public static PaymentMethod Empty => new(0, null, null, null);
}