1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

[PM-13999] show estimated tax for taxable countries (#12245)

This commit is contained in:
Jonas Hendrickx
2025-01-02 20:28:04 +01:00
committed by GitHub
parent 3917263703
commit c724b0d974
34 changed files with 1203 additions and 1261 deletions

View File

@@ -12,6 +12,10 @@ export class ExpandedTaxInfoUpdateRequest extends TaxInfoUpdateRequest {
state: string;
static From(taxInformation: TaxInformation): ExpandedTaxInfoUpdateRequest {
if (!taxInformation) {
return null;
}
const request = new ExpandedTaxInfoUpdateRequest();
request.country = taxInformation.country;
request.postalCode = taxInformation.postalCode;