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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDetermines the length of time an account invite remains valid before expiring.booleanWhether to automatically accept all pendingAccountInviteswhen an invited user registers as aCustomer.booleanDetermines whether the account invite never expires.voidsetAutoAcceptPendingInvitesOnRegistration(boolean autoAcceptPendingInvitesOnRegistration) Whether to automatically accept all pendingAccountInviteswhen an invited user registers as aCustomer.voidsetInviteDuration(Duration inviteDuration) Determines the length of time an account invite remains valid before expiring.voidsetInvitesNeverExpire(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 pendingAccountInviteswhen 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 pendingAccountInviteswhen 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.
-