blob: 931251226f99c4f13b12dfbeece4631f8c6a603f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.billing;
import java.util.List;
/**
* @author bjorncs
*/
public record AcceptedCountries(List<Country> countries) {
public AcceptedCountries {
countries = List.copyOf(countries);
}
public record Country(String code, String displayName, boolean taxIdMandatory, List<TaxType> taxTypes) {
public Country {
taxTypes = List.copyOf(taxTypes);
}
}
public record TaxType(String id, String description, String pattern, String example) {}
}
|