Class CustomerCountry


  • @ApiType("SoftLayer_Brand_Restriction_Location_CustomerCountry")
    public class CustomerCountry
    extends Entity
    The [[SoftLayer_Brand_Restriction_Location_CustomerCountry]] data type defines the relationship between brands, locations and countries associated with a user's account that are ineligible when ordering products. For example, the India datacenter may not be available on the SoftLayer US brand for customers that live in Great Britain.
    See Also:
    SoftLayer_Brand_Restriction_Location_CustomerCountry
    • Field Detail

      • brand

        @ApiProperty
        protected Brand brand
        This references the brand that has a brand-location-country restriction setup.
      • location

        @ApiProperty
        protected Location location
        This references the datacenter that has a brand-location-country restriction setup. For example, if a datacenter is listed with a restriction for Canada, a Canadian customer may not be eligible to order services at that location.
      • brandIdSpecified

        protected boolean brandIdSpecified
      • customerCountryCodeSpecified

        protected boolean customerCountryCodeSpecified
      • locationIdSpecified

        protected boolean locationIdSpecified
    • Constructor Detail

      • CustomerCountry

        public CustomerCountry()
    • Method Detail

      • getBrand

        public Brand getBrand()
      • setBrand

        public void setBrand​(Brand brand)
      • getLocation

        public Location getLocation()
      • setLocation

        public void setLocation​(Location location)
      • getBrandId

        public Long getBrandId()
      • setBrandId

        public void setBrandId​(Long brandId)
      • isBrandIdSpecified

        public boolean isBrandIdSpecified()
      • unsetBrandId

        public void unsetBrandId()
      • getCustomerCountryCode

        public String getCustomerCountryCode()
      • setCustomerCountryCode

        public void setCustomerCountryCode​(String customerCountryCode)
      • isCustomerCountryCodeSpecified

        public boolean isCustomerCountryCodeSpecified()
      • unsetCustomerCountryCode

        public void unsetCustomerCountryCode()
      • getLocationId

        public Long getLocationId()
      • setLocationId

        public void setLocationId​(Long locationId)
      • isLocationIdSpecified

        public boolean isLocationIdSpecified()
      • unsetLocationId

        public void unsetLocationId()