Record Class BillingNotification
java.lang.Object
java.lang.Record
com.eqixiac.equinix.messaging.BillingNotification
- Record Components:
header- common headerbody- the billing detailsrawJson- the envelope as received
- All Implemented Interfaces:
EmgMessage
public record BillingNotification(EmgHeader header, BillingNotification.Body body, String rawJson)
extends Record
implements EmgMessage
Billing notification: sent when an order is closed and Equinix starts billing (resellers also
receive it for their customers' orders, since R2024.7). Shape: the spec's
BillingNotificationBody; the spec routes Task.Resource CROSSCONNECT /
CrossConnect here, and the parser also routes any order-family resource whose body carries
LineDetails (the documented sample uses the misspelt resource CrossConnnect).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordBilling notification body.static final recordOne billed line. -
Constructor Summary
ConstructorsConstructorDescriptionBillingNotification(EmgHeader header, BillingNotification.Body body, String rawJson) Creates an instance of aBillingNotificationrecord 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
-