mirror of
https://github.com/bitwarden/server
synced 2025-12-11 13:53:40 +00:00
22 lines
673 B
C#
22 lines
673 B
C#
namespace Bit.Core.Models.Business;
|
|
|
|
public class TaxInfo
|
|
{
|
|
public string TaxIdNumber { get; set; }
|
|
public string TaxIdType { get; set; }
|
|
|
|
public string StripeTaxRateId { get; set; }
|
|
public string BillingAddressLine1 { get; set; }
|
|
public string BillingAddressLine2 { get; set; }
|
|
public string BillingAddressCity { get; set; }
|
|
public string BillingAddressState { get; set; }
|
|
public string BillingAddressPostalCode { get; set; }
|
|
public string BillingAddressCountry { get; set; } = "US";
|
|
|
|
public bool HasTaxId
|
|
{
|
|
get => !string.IsNullOrWhiteSpace(TaxIdNumber) &&
|
|
!string.IsNullOrWhiteSpace(TaxIdType);
|
|
}
|
|
}
|