Interface CustomerCountry.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- CustomerCountry
@ApiService("SoftLayer_Brand_Restriction_Location_CustomerCountry") public static interface CustomerCountry.Service extends Service
The [[SoftLayer_Brand_Restriction_Location_CustomerCountry]] service 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomerCountry.ServiceAsync
asAsync()
Get an async version of this serviceList<CustomerCountry>
getAllObjects()
Brand
getBrand()
This references the brand that has a brand-location-country restriction setup.Location
getLocation()
This references the datacenter that has a brand-location-country restriction setup.CustomerCountry
getObject()
void
setMask(CustomerCountry.Mask mask)
CustomerCountry.Mask
withMask()
Use the existing mask on this service or create it if not presentCustomerCountry.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
CustomerCountry.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
CustomerCountry.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
CustomerCountry.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(CustomerCountry.Mask mask)
-
getAllObjects
@ApiMethod List<CustomerCountry> getAllObjects()
-
getObject
@ApiMethod(instanceRequired=true) CustomerCountry getObject()
-
getBrand
@ApiMethod(instanceRequired=true) Brand getBrand()
This references the brand that has a brand-location-country restriction setup.
-
getLocation
@ApiMethod(instanceRequired=true) Location getLocation()
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.
-
-