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

com.softlayer.api.service.container.collection.locale.VatCountryCodeAndFormat Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.container.collection.locale;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;

/**
 * This container is used to hold VAT information. 
 *
 * @see SoftLayer_Container_Collection_Locale_VatCountryCodeAndFormat
 */
@ApiType("SoftLayer_Container_Collection_Locale_VatCountryCodeAndFormat")
public class VatCountryCodeAndFormat extends Entity {

    @ApiProperty(canBeNullOrNotSet = true)
    protected String countryCode;

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        countryCodeSpecified = true;
        this.countryCode = countryCode;
    }

    protected boolean countryCodeSpecified;

    public boolean isCountryCodeSpecified() {
        return countryCodeSpecified;
    }

    public void unsetCountryCode() {
        countryCode = null;
        countryCodeSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String regex;

    public String getRegex() {
        return regex;
    }

    public void setRegex(String regex) {
        regexSpecified = true;
        this.regex = regex;
    }

    protected boolean regexSpecified;

    public boolean isRegexSpecified() {
        return regexSpecified;
    }

    public void unsetRegex() {
        regex = null;
        regexSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public Mask countryCode() {
            withLocalProperty("countryCode");
            return this;
        }

        public Mask regex() {
            withLocalProperty("regex");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy