All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.vespa.hosted.controller.api.integration.billing.AcceptedCountries Maven / Gradle / Ivy

There is a newer version: 8.253.3
Show newest version
// Copyright Yahoo. 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 countries) {

    public AcceptedCountries {
        countries = List.copyOf(countries);
    }

    public record Country(String code, String displayName, boolean taxIdMandatory, List taxTypes) {
        public Country {
            taxTypes = List.copyOf(taxTypes);
        }
    }

    public record TaxType(String id, String description, String pattern, String example) {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy