Class SubscriptionLockRequest
java.lang.Object
com.broadleafcommerce.subscription.service.SubscriptionLockRequest
- All Implemented Interfaces:
Serializable
Intra-service POJO for describing a request to apply locks upon a
Subscription- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe duration of the lockThe number of additional child locks that should be applied on the subscription with a randomly-generated a child lock identifierA list of child lock identifiers that should be used to generate additional child locks on the subscriptionId of the targetedSubscriptioninthashCode()voidsetDuration(Long duration) The duration of the lockvoidsetReservationCount(Integer reservationCount) The number of additional child locks that should be applied on the subscription with a randomly-generated a child lock identifiervoidsetReservationList(List<String> reservationList) A list of child lock identifiers that should be used to generate additional child locks on the subscriptionvoidsetSubscriptionId(String subscriptionId) Id of the targetedSubscriptiontoString()
-
Constructor Details
-
SubscriptionLockRequest
public SubscriptionLockRequest()
-
-
Method Details
-
getSubscriptionId
Id of the targetedSubscription -
getReservationCount
The number of additional child locks that should be applied on the subscription with a randomly-generated a child lock identifier -
getReservationList
A list of child lock identifiers that should be used to generate additional child locks on the subscription -
getDuration
The duration of the lock -
setSubscriptionId
Id of the targetedSubscription -
setReservationCount
The number of additional child locks that should be applied on the subscription with a randomly-generated a child lock identifier -
setReservationList
A list of child lock identifiers that should be used to generate additional child locks on the subscription -
setDuration
The duration of the lock -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-