Interface OrderHistoryItem
- All Known Implementing Classes:
OrderHistoryItemJson
public interface OrderHistoryItem
A single order history record (
order-header) returned by an order history search.-
Method Summary
Modifier and TypeMethodDescriptionReturns the account associated with the order.Returns the order created date and time in ISO date format.Returns the list of customer reference numbers for the order lines.getIbx()Returns the list of IBXs for the order lines.getLinks()Returns the HATEOAS links for the order.Returns the notification contact.Returns the notification contacts, as the live service returns them (notificationContactsarray).Returns the ordering contact.Returns the order number.Returns where the order was placed, for examplePortal(orderSource).Returns the order status (seeOrderHistoryStatusfor the values the live service uses; unrecognised values read asUNKNOWN).Returns the submitted date.Returns the technical contacts (technicalContacts).getType()Returns the list of products ordered in the order.
-
Method Details
-
getOrderNumber
-
getType
-
getOrderStatus
OrderHistoryStatus getOrderStatus()Returns the order status (seeOrderHistoryStatusfor the values the live service uses; unrecognised values read asUNKNOWN).- Returns:
- the order status
-
getCreatedAt
String getCreatedAt()Returns the order created date and time in ISO date format.- Returns:
- the created date and time
-
getSubmittedDate
-
getAccount
OrderHistoryAccount getAccount()Returns the account associated with the order.- Returns:
- the account
-
getOrderingContact
OrderHistoryContact getOrderingContact()Returns the ordering contact.- Returns:
- the ordering contact
-
getNotificationContact
OrderHistoryContact getNotificationContact()Returns the notification contact.- Returns:
- the notification contact
-
getNotificationContacts
List<OrderHistoryContact> getNotificationContacts()Returns the notification contacts, as the live service returns them (notificationContactsarray). Not in the orderhistoryv1 spec.- Returns:
- the notification contacts, or
null
-
getTechnicalContacts
List<OrderHistoryContact> getTechnicalContacts()Returns the technical contacts (technicalContacts). Not in the orderhistoryv1 spec.- Returns:
- the technical contacts, or
null
-
getOrderSource
String getOrderSource()Returns where the order was placed, for examplePortal(orderSource). Not in the orderhistoryv1 spec.- Returns:
- the order source, or
null
-
getIbx
-
getCustomerReferenceNumbers
-
getLinks
-