Class LockStatus.LockStatusBuilder
java.lang.Object
com.broadleafcommerce.orderoperation.domain.subscription.LockStatus.LockStatusBuilder
- Enclosing class:
- LockStatus
-
Method Summary
Modifier and TypeMethodDescriptionadditionalAttributes(Map<String, String> additionalAttributes) Additional information about the lockbuild()The time the lock was createdThe time the lock will expireisChildLock(boolean isChildLock) Whether the lock is a child lockThe ID of the lockremainingReservations(int remainingReservations) The quantity of reservations remaining for the lockreservationTokens(Stack<String> reservationTokens) The tokens associated with each of the optional child locks.The current state of the locksubscriptionId(String subscriptionId) The subscription ID that the lock is associated withtoString()
-
Method Details
-
state
The current state of the lock- Returns:
this.
-
subscriptionId
The subscription ID that the lock is associated with- Returns:
this.
-
isChildLock
Whether the lock is a child lock- Returns:
this.
-
created
The time the lock was created- Returns:
this.
-
expires
The time the lock will expire- Returns:
this.
-
lockId
The ID of the lock- Returns:
this.
-
reservationTokens
The tokens associated with each of the optional child locks. Used when releasing child locks.- Returns:
this.
-
remainingReservations
The quantity of reservations remaining for the lock- Returns:
this.
-
additionalAttributes
Additional information about the lock- Returns:
this.
-
build
-
toString
-