Class AccountInviteProperties
java.lang.Object
com.broadleafcommerce.customer.service.autoconfigure.AccountInviteProperties
@ConfigurationProperties("broadleaf.customer.account.invite")
public class AccountInviteProperties
extends Object
Configuration properties for
AccountInvite
logic.- Author:
- Nathan Moore (nathandmoore)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDetermines the length of time an account invite remains valid before expiring.boolean
Whether to automatically accept all pendingAccountInvites
when an invited user registers as aCustomer
.boolean
Determines whether the account invite never expires.void
setAutoAcceptPendingInvitesOnRegistration
(boolean autoAcceptPendingInvitesOnRegistration) Whether to automatically accept all pendingAccountInvites
when an invited user registers as aCustomer
.void
setInviteDuration
(Duration inviteDuration) Determines the length of time an account invite remains valid before expiring.void
setInvitesNeverExpire
(boolean invitesNeverExpire) Determines whether the account invite never expires.
-
Constructor Details
-
AccountInviteProperties
public AccountInviteProperties()
-
-
Method Details
-
isAutoAcceptPendingInvitesOnRegistration
public boolean isAutoAcceptPendingInvitesOnRegistration()Whether to automatically accept all pendingAccountInvites
when an invited user registers as aCustomer
. -
getInviteDuration
Determines the length of time an account invite remains valid before expiring. -
isInvitesNeverExpire
public boolean isInvitesNeverExpire()Determines whether the account invite never expires. -
setAutoAcceptPendingInvitesOnRegistration
public void setAutoAcceptPendingInvitesOnRegistration(boolean autoAcceptPendingInvitesOnRegistration) Whether to automatically accept all pendingAccountInvites
when an invited user registers as aCustomer
. -
setInviteDuration
Determines the length of time an account invite remains valid before expiring. -
setInvitesNeverExpire
public void setInvitesNeverExpire(boolean invitesNeverExpire) Determines whether the account invite never expires.
-