mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 23:52:50 -05:00

* [NO LOGIC] [PM-21104] Organize Core.Billing tax code * Add PreviewTaxAmountCommand and expose through TaxController * Add PreviewTaxAmountCommandTests * Run dotnet format
15 lines
387 B
C#
15 lines
387 B
C#
using Bit.Core.Billing.Tax.Models;
|
|
|
|
namespace Bit.Core.Billing.Models.Sales;
|
|
|
|
#nullable enable
|
|
|
|
public class CustomerSetup
|
|
{
|
|
public TokenizedPaymentSource? TokenizedPaymentSource { get; set; }
|
|
public TaxInformation? TaxInformation { get; set; }
|
|
public string? Coupon { get; set; }
|
|
|
|
public bool IsBillable => TokenizedPaymentSource != null && TaxInformation != null;
|
|
}
|