Class AccountInviteProperties
- java.lang.Object
-
- com.broadleafcommerce.customer.service.autoconfigure.AccountInviteProperties
-
@ConfigurationProperties("broadleaf.customer.account.invite") public class AccountInviteProperties extends ObjectConfiguration properties forAccountInvitelogic.- Author:
- Nathan Moore (nathandmoore)
-
-
Constructor Summary
Constructors Constructor Description AccountInviteProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationgetInviteDuration()Determines the length of time an account invite remains valid before expiring.booleanisAutoAcceptPendingInvitesOnRegistration()Whether to automatically accept all pendingAccountInviteswhen an invited user registers as aCustomer.booleanisInvitesNeverExpire()Determines 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.
-
-
-
Method Detail
-
isAutoAcceptPendingInvitesOnRegistration
public boolean isAutoAcceptPendingInvitesOnRegistration()
Whether to automatically accept all pendingAccountInviteswhen an invited user registers as aCustomer.
-
getInviteDuration
public Duration 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
public void setInviteDuration(Duration inviteDuration)
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.
-
-