fun Order.isFirstItemExpired(inboundPattern: String = "yyyy-MM-dd'T'HH:mm:ss.SSS"): Boolean
Returns true if the first item in the order has an expiredAt date the is not null and is in the past.
inboundPattern
- Date pattern that should match the format of the Order's first (if any)
LineItem.expiresAt date. Defaults to a pattern of yyyy-MM-dd'T'HH:mm:ss.SSS
.