Class Country
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.billing.currency.Country
@ApiType("SoftLayer_Billing_Currency_Country") public class Country extends Entity
The SoftLayer_Billing_Currency_Country data type maps what currencies are valid for specific countries. US Dollars are valid from any country, but other currencies are only available to customers in certain countries.
- See Also:
- SoftLayer_Billing_Currency_Country
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Country.Mask
static interface
Country.Service
The SoftLayer_Billing_Currency_Country service provides information about what currencies a customer in a specific country is eligible to use.static interface
Country.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
countryId
A unique identifier for the related country.protected boolean
countryIdSpecified
protected Long
currencyId
A unique identifier for the related currency.protected boolean
currencyIdSpecified
protected Long
id
A unique identifier for a map between a country and currency.protected boolean
idSpecified
protected String
locale
The country currency locale.protected boolean
localeSpecified
-
Constructor Summary
Constructors Constructor Description Country()
-
Method Summary
Modifier and Type Method Description Country.Service
asService(ApiClient client)
Long
getCountryId()
Long
getCurrencyId()
Long
getId()
String
getLocale()
boolean
isCountryIdSpecified()
boolean
isCurrencyIdSpecified()
boolean
isIdSpecified()
boolean
isLocaleSpecified()
static Country.Service
service(ApiClient client)
static Country.Service
service(ApiClient client, Long id)
void
setCountryId(Long countryId)
void
setCurrencyId(Long currencyId)
void
setId(Long id)
void
setLocale(String locale)
void
unsetCountryId()
void
unsetCurrencyId()
void
unsetId()
void
unsetLocale()
-
Field Details
-
countryId
A unique identifier for the related country. -
countryIdSpecified
protected boolean countryIdSpecified -
currencyId
A unique identifier for the related currency. -
currencyIdSpecified
protected boolean currencyIdSpecified -
id
A unique identifier for a map between a country and currency. -
idSpecified
protected boolean idSpecified -
locale
The country currency locale. -
localeSpecified
protected boolean localeSpecified
-
-
Constructor Details
-
Country
public Country()
-
-
Method Details
-
getCountryId
-
setCountryId
-
isCountryIdSpecified
public boolean isCountryIdSpecified() -
unsetCountryId
public void unsetCountryId() -
getCurrencyId
-
setCurrencyId
-
isCurrencyIdSpecified
public boolean isCurrencyIdSpecified() -
unsetCurrencyId
public void unsetCurrencyId() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getLocale
-
setLocale
-
isLocaleSpecified
public boolean isLocaleSpecified() -
unsetLocale
public void unsetLocale() -
asService
-
service
-
service
-