Interface Order
- All Known Implementing Classes:
OrderWrapper
public interface Order
An order retrieved from the Equinix Customer Portal (Orders v2). Reflects the spec
Orders (ordersBase plus details[]).-
Method Summary
Modifier and TypeMethodDescriptionReturns the customer account name.Returns the customer account number.Returns the product-specific additional information.Returns whether the order can be cancelled.Returns the channel the order was placed through.Returns the order closed date and time (UTC).Returns the related parties associated with the order.Returns the order created date and time (UTC).Returns the order currency code in ISO-4217 format.Returns the customer / external reference id.Returns the order line items.Returns the estimated completion date and time (UTC).Returns whether the order can be modified.getNotes()Returns the notes associated with the order.Returns the unique identifier of the order.Returns the request type of the originating quote (NEW,AMENDMENT,PAPERWORK,REPLACEMENT_RENEWAL,TERMINATIONorMIGRATION).Returns the current status of the order (RECEIVED,IN_PROGRESS,ON_HOLD,CLOSEDorCANCELLED).Returns the sub-channel the order was placed through.Returns the order updated date and time (UTC).voidrefresh()Refreshes this order from the API.
-
Method Details
-
getOrderId
-
getAccountName
-
getAccountNumber
-
getQuoteRequestType
QuoteRequestType getQuoteRequestType()Returns the request type of the originating quote (NEW,AMENDMENT,PAPERWORK,REPLACEMENT_RENEWAL,TERMINATIONorMIGRATION).- Returns:
- the quote request type
-
getContacts
List<OrderContactInfo> getContacts()Returns the related parties associated with the order.- Returns:
- the contacts
-
getStatus
OrderStatus getStatus()Returns the current status of the order (RECEIVED,IN_PROGRESS,ON_HOLD,CLOSEDorCANCELLED).- Returns:
- the status
-
getCreatedDateTime
String getCreatedDateTime()Returns the order created date and time (UTC).- Returns:
- the created date and time
-
getUpdatedDateTime
String getUpdatedDateTime()Returns the order updated date and time (UTC).- Returns:
- the updated date and time
-
getClosedDateTime
String getClosedDateTime()Returns the order closed date and time (UTC).- Returns:
- the closed date and time
-
getEstimatedCompletionDateTime
String getEstimatedCompletionDateTime()Returns the estimated completion date and time (UTC).- Returns:
- the estimated completion date and time
-
getCurrencyCode
String getCurrencyCode()Returns the order currency code in ISO-4217 format.- Returns:
- the currency code
-
getChannel
-
getSubChannel
SubChannel getSubChannel()Returns the sub-channel the order was placed through.- Returns:
- the sub-channel
-
getNotes
-
getAdditionalInfo
List<AdditionalInfo> getAdditionalInfo()Returns the product-specific additional information.- Returns:
- the additional info entries
-
getCustomerReferenceId
String getCustomerReferenceId()Returns the customer / external reference id.- Returns:
- the customer reference id
-
getCancellable
Boolean getCancellable()Returns whether the order can be cancelled.- Returns:
truewhen the order is cancellable
-
getModifiable
Boolean getModifiable()Returns whether the order can be modified.- Returns:
truewhen the order is modifiable
-
getDetails
-
refresh
void refresh()Refreshes this order from the API.
-