Class SubscriptionOwnerInfo
java.lang.Object
com.broadleafcommerce.subscription.domain.SubscriptionOwnerInfo
- All Implemented Interfaces:
Serializable
DTO that contains information about the owner of a subscription, e.g. account-owned vs.
customer-owned.
This DTO is typically used for determining what subscriptions to apply price changes to.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSubscriptionOwnerInfo(com.broadleafcommerce.data.tracking.core.Trackable subscription) Simple constructor injection for conversion. -
Method Summary
-
Constructor Details
-
SubscriptionOwnerInfo
public SubscriptionOwnerInfo(com.broadleafcommerce.data.tracking.core.Trackable subscription) Simple constructor injection for conversion.- Parameters:
subscription- The persistent entity to convert
-
-
Method Details
-
getUserRef
Reference to the user to whom this subscription belongs. Generally, this is an account reference. -
getUserRefType
Type of user owning this subscription -
getSubscriptionId
Identifier for the subscription -
getApplicationId
The application associated with the subscription -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-