1
0
mirror of https://github.com/bitwarden/server synced 2026-01-05 01:53:17 +00:00
Files
server/src/Api/Billing/Models/Requests/Payment/BillingAddressRequest.cs
Alex Morask 61265c7533 [PM-25463] Work towards complete usage of Payments domain (#6363)
* Use payment domain

* Run dotnet format and remove unused code

* Fix swagger

* Stephon's feedback

* Run dotnet format
2025-10-01 10:26:39 -05:00

20 lines
496 B
C#

using Bit.Core.Billing.Payment.Models;
namespace Bit.Api.Billing.Models.Requests.Payment;
public record BillingAddressRequest : CheckoutBillingAddressRequest
{
public string? Line1 { get; set; }
public string? Line2 { get; set; }
public string? City { get; set; }
public string? State { get; set; }
public override BillingAddress ToDomain() => base.ToDomain() with
{
Line1 = Line1,
Line2 = Line2,
City = City,
State = State,
};
}