mirror of
https://github.com/bitwarden/server
synced 2026-01-05 01:53:17 +00:00
* Use payment domain * Run dotnet format and remove unused code * Fix swagger * Stephon's feedback * Run dotnet format
20 lines
496 B
C#
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,
|
|
};
|
|
}
|