@Service(value="blCustomerVariableExpression") @ConditionalOnTemplating public class CustomerVariableExpression extends Object implements org.broadleafcommerce.common.web.expression.BroadleafVariableExpression
| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.profile.core.service.CustomerAddressService |
customerAddressService |
protected org.broadleafcommerce.profile.core.service.CustomerPaymentService |
customerPaymentService |
protected org.springframework.core.env.Environment |
env |
| Constructor and Description |
|---|
CustomerVariableExpression() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.profile.core.domain.Customer |
getCurrent() |
List<org.broadleafcommerce.profile.core.domain.CustomerAddress> |
getCustomerAddresses() |
List<org.broadleafcommerce.profile.core.domain.CustomerPayment> |
getCustomerPayments() |
String |
getName() |
boolean |
savedPaymentsAreEnabled() |
protected void |
sortCustomerPaymentsByDefault(List<org.broadleafcommerce.profile.core.domain.CustomerPayment> savedPayments) |
protected org.broadleafcommerce.profile.core.service.CustomerAddressService customerAddressService
protected org.broadleafcommerce.profile.core.service.CustomerPaymentService customerPaymentService
@Autowired protected org.springframework.core.env.Environment env
public String getName()
getName in interface org.broadleafcommerce.common.web.expression.BroadleafVariableExpressionpublic org.broadleafcommerce.profile.core.domain.Customer getCurrent()
public List<org.broadleafcommerce.profile.core.domain.CustomerAddress> getCustomerAddresses()
public boolean savedPaymentsAreEnabled()
public List<org.broadleafcommerce.profile.core.domain.CustomerPayment> getCustomerPayments()
protected void sortCustomerPaymentsByDefault(List<org.broadleafcommerce.profile.core.domain.CustomerPayment> savedPayments)
Copyright © 2022. All rights reserved.