Class Request
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.billing.item.cancellation.Request
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Request.Mask
static interface
Request.Service
SoftLayer customers can use this API to submit a cancellation request.static interface
Request.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The SoftLayer account that a service cancellation request belongs to.protected Long
accountId
The internal identifier of the customer account that a service cancellation record belongs to.protected boolean
accountIdSpecified
protected Long
billingCancelReasonId
The last modified date.protected boolean
billingCancelReasonIdSpecified
protected GregorianCalendar
createDate
The date that a cancellation request was created.protected boolean
createDateSpecified
protected Long
id
A cancellation record's internal identifier.protected boolean
idSpecified
protected Long
itemCount
A count of a collection of service cancellation items.protected List<Item>
items
A collection of service cancellation items.protected GregorianCalendar
modifyDate
The last modified date.protected boolean
modifyDateSpecified
protected String
notes
Brief cancellation note.protected boolean
notesSpecified
protected Status
status
The status of a service cancellation request.protected Long
statusId
An internal identifier of the service cancellation status that this request is associated with.protected boolean
statusIdSpecified
protected Ticket
ticket
The ticket that is associated with the service cancellation request.protected Long
ticketId
An internal identifier of the ticket that is associated with a service cancellation request.protected boolean
ticketIdSpecified
protected Customer
user
The user that initiated a service cancellation request.-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Request()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The SoftLayer account that a service cancellation request belongs to.
-
items
@ApiProperty protected List<Item> items
A collection of service cancellation items.
-
status
@ApiProperty protected Status status
The status of a service cancellation request.
-
ticket
@ApiProperty protected Ticket ticket
The ticket that is associated with the service cancellation request.
-
user
@ApiProperty protected Customer user
The user that initiated a service cancellation request.
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
The internal identifier of the customer account that a service cancellation record belongs to.
-
accountIdSpecified
protected boolean accountIdSpecified
-
billingCancelReasonId
@ApiProperty(canBeNullOrNotSet=true) protected Long billingCancelReasonId
The last modified date.
-
billingCancelReasonIdSpecified
protected boolean billingCancelReasonIdSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The date that a cancellation request was created.
-
createDateSpecified
protected boolean createDateSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A cancellation record's internal identifier.
-
idSpecified
protected boolean idSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
The last modified date.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
notes
@ApiProperty(canBeNullOrNotSet=true) protected String notes
Brief cancellation note.
-
notesSpecified
protected boolean notesSpecified
-
statusId
@ApiProperty(canBeNullOrNotSet=true) protected Long statusId
An internal identifier of the service cancellation status that this request is associated with. When a service cancellation is submitted, it will be in "Pending" status until SoftLayer Sales team reviews it. The status of a cancellation request will be updated to "Approved" or "Voided" by SoftLayer Sales.
It will be updated to "Complete" when all services are reclaimed.
-
statusIdSpecified
protected boolean statusIdSpecified
-
ticketId
@ApiProperty(canBeNullOrNotSet=true) protected Long ticketId
An internal identifier of the ticket that is associated with a service cancellation request. When a service cancellation is submitted, a support ticket will be created. This ticket contains details on your service cancellation details and SoftLayer Sales team will use it to further communicate with you.
-
ticketIdSpecified
protected boolean ticketIdSpecified
-
itemCount
@ApiProperty protected Long itemCount
A count of a collection of service cancellation items.
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getStatus
public Status getStatus()
-
setStatus
public void setStatus(Status status)
-
getTicket
public Ticket getTicket()
-
setTicket
public void setTicket(Ticket ticket)
-
getUser
public Customer getUser()
-
setUser
public void setUser(Customer user)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getBillingCancelReasonId
public Long getBillingCancelReasonId()
-
setBillingCancelReasonId
public void setBillingCancelReasonId(Long billingCancelReasonId)
-
isBillingCancelReasonIdSpecified
public boolean isBillingCancelReasonIdSpecified()
-
unsetBillingCancelReasonId
public void unsetBillingCancelReasonId()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getNotes
public String getNotes()
-
setNotes
public void setNotes(String notes)
-
isNotesSpecified
public boolean isNotesSpecified()
-
unsetNotes
public void unsetNotes()
-
getStatusId
public Long getStatusId()
-
setStatusId
public void setStatusId(Long statusId)
-
isStatusIdSpecified
public boolean isStatusIdSpecified()
-
unsetStatusId
public void unsetStatusId()
-
getTicketId
public Long getTicketId()
-
setTicketId
public void setTicketId(Long ticketId)
-
isTicketIdSpecified
public boolean isTicketIdSpecified()
-
unsetTicketId
public void unsetTicketId()
-
getItemCount
public Long getItemCount()
-
setItemCount
public void setItemCount(Long itemCount)
-
asService
public Request.Service asService(ApiClient client)
-
service
public static Request.Service service(ApiClient client)
-
service
public static Request.Service service(ApiClient client, Long id)
-
-