Record Class OrderNotification
java.lang.Object
java.lang.Record
com.eqixiac.equinix.messaging.OrderNotification
- Record Components:
header- common headerbody- the order status detailsrawJson- the envelope as received
- All Implemented Interfaces:
EmgMessage
public record OrderNotification(EmgHeader header, OrderNotification.Body body, String rawJson)
extends Record
implements EmgMessage
Order status notification for orders placed through the Customer Portal, the APIs or EMG
(Cross Connect, Smart Hands, Work Visit, Shipment, Trouble Ticket, ...):
Task.Resource one
of the spec's order product groups (SmartHands, Shipping, WorkVisit, ...).
These inbound Order Notifications remain supported. They are distinct from EMG Order Management (placing orders through EMG), which Equinix deprecated on 2024-09-30 and which this SDK does not implement.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordAn order attachment.static final recordOrder notification body (specOrderNotificationBody).static enumOrder state. -
Constructor Summary
ConstructorsConstructorDescriptionOrderNotification(EmgHeader header, OrderNotification.Body body, String rawJson) Creates an instance of aOrderNotificationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbody()Returns the value of thebodyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.header()Returns the value of theheaderrecord component.rawJson()Returns the value of therawJsonrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface EmgMessage
id
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
header
Returns the value of theheaderrecord component.- Specified by:
headerin interfaceEmgMessage- Returns:
- the value of the
headerrecord component
-
body
-
rawJson
Returns the value of therawJsonrecord component.- Specified by:
rawJsonin interfaceEmgMessage- Returns:
- the value of the
rawJsonrecord component
-