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