Class DiscriminatedProperties<P>
java.lang.Object
com.broadleafcommerce.shipping.properties.DiscriminatedProperties<P>
- Direct Known Subclasses:
BandedFulfillmentPricingProperties
,FixedFulfillmentPricingProperties
,VirtualFulfillmentPricingProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getApplicationIdFromContext
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected <T> T
getField
(String fieldName, Class<T> type, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected <T> T
protected String
getTenantIdFromContext
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) void
setApplication
(Map<String, P> application) void
-
Constructor Details
-
DiscriminatedProperties
public DiscriminatedProperties()
-
-
Method Details
-
getField
-
getField
-
getApplicationIdFromContext
@Nullable protected String getApplicationIdFromContext(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
getTenantIdFromContext
@Nullable protected String getTenantIdFromContext(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
getApplication
-
setApplication
-
getTenant
-
setTenant
-