java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.brand.restriction.location.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 Details

    • 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.
    • brandId

      @ApiProperty(canBeNullOrNotSet=true) protected Long brandId
      The brand associated with customer's account.
    • brandIdSpecified

      protected boolean brandIdSpecified
    • customerCountryCode

      @ApiProperty(canBeNullOrNotSet=true) protected String customerCountryCode
      country code associated with customer's account.
    • customerCountryCodeSpecified

      protected boolean customerCountryCodeSpecified
    • locationId

      @ApiProperty(canBeNullOrNotSet=true) protected Long locationId
      The id for datacenter location.
    • locationIdSpecified

      protected boolean locationIdSpecified
  • Constructor Details

    • CustomerCountry

      public CustomerCountry()
  • Method Details

    • 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()
    • service

      public static CustomerCountry.Service service​(ApiClient client)