Class Partner
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.account.business.Partner
-
@ApiType("SoftLayer_Account_Business_Partner") public class Partner extends Entity
Contains business partner details associated with an account. Country Enterprise Identifier (CEID), Channel ID, Segment ID and Reseller Level.- See Also:
- SoftLayer_Account_Business_Partner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Partner.Mask
static interface
Partner.Service
static interface
Partner.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
Account associated with the business partner dataprotected Channel
channel
Channel indicator used to categorize business partner revenue.protected Long
channelId
Account business partner channel identifierprotected boolean
channelIdSpecified
protected String
countryEnterpriseCode
Account business partner country enterprise codeprotected boolean
countryEnterpriseCodeSpecified
protected Long
resellerLevel
Reseller level of an account business partnerprotected boolean
resellerLevelSpecified
protected Segment
segment
Segment indicator used to categorize business partner revenue.protected Long
segmentId
Account business partner segment identifierprotected boolean
segmentIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Partner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount()
Channel
getChannel()
Long
getChannelId()
String
getCountryEnterpriseCode()
Long
getResellerLevel()
Segment
getSegment()
Long
getSegmentId()
boolean
isChannelIdSpecified()
boolean
isCountryEnterpriseCodeSpecified()
boolean
isResellerLevelSpecified()
boolean
isSegmentIdSpecified()
static Partner.Service
service(ApiClient client)
void
setAccount(Account account)
void
setChannel(Channel channel)
void
setChannelId(Long channelId)
void
setCountryEnterpriseCode(String countryEnterpriseCode)
void
setResellerLevel(Long resellerLevel)
void
setSegment(Segment segment)
void
setSegmentId(Long segmentId)
void
unsetChannelId()
void
unsetCountryEnterpriseCode()
void
unsetResellerLevel()
void
unsetSegmentId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
Account associated with the business partner data
-
channel
@ApiProperty protected Channel channel
Channel indicator used to categorize business partner revenue.
-
segment
@ApiProperty protected Segment segment
Segment indicator used to categorize business partner revenue.
-
channelId
@ApiProperty(canBeNullOrNotSet=true) protected Long channelId
Account business partner channel identifier
-
channelIdSpecified
protected boolean channelIdSpecified
-
countryEnterpriseCode
@ApiProperty(canBeNullOrNotSet=true) protected String countryEnterpriseCode
Account business partner country enterprise code
-
countryEnterpriseCodeSpecified
protected boolean countryEnterpriseCodeSpecified
-
resellerLevel
@ApiProperty(canBeNullOrNotSet=true) protected Long resellerLevel
Reseller level of an account business partner
-
resellerLevelSpecified
protected boolean resellerLevelSpecified
-
segmentId
@ApiProperty(canBeNullOrNotSet=true) protected Long segmentId
Account business partner segment identifier
-
segmentIdSpecified
protected boolean segmentIdSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getChannel
public Channel getChannel()
-
setChannel
public void setChannel(Channel channel)
-
getSegment
public Segment getSegment()
-
setSegment
public void setSegment(Segment segment)
-
getChannelId
public Long getChannelId()
-
setChannelId
public void setChannelId(Long channelId)
-
isChannelIdSpecified
public boolean isChannelIdSpecified()
-
unsetChannelId
public void unsetChannelId()
-
getCountryEnterpriseCode
public String getCountryEnterpriseCode()
-
setCountryEnterpriseCode
public void setCountryEnterpriseCode(String countryEnterpriseCode)
-
isCountryEnterpriseCodeSpecified
public boolean isCountryEnterpriseCodeSpecified()
-
unsetCountryEnterpriseCode
public void unsetCountryEnterpriseCode()
-
getResellerLevel
public Long getResellerLevel()
-
setResellerLevel
public void setResellerLevel(Long resellerLevel)
-
isResellerLevelSpecified
public boolean isResellerLevelSpecified()
-
unsetResellerLevel
public void unsetResellerLevel()
-
getSegmentId
public Long getSegmentId()
-
setSegmentId
public void setSegmentId(Long segmentId)
-
isSegmentIdSpecified
public boolean isSegmentIdSpecified()
-
unsetSegmentId
public void unsetSegmentId()
-
service
public static Partner.Service service(ApiClient client)
-
-