Class DiscriminatedProperties<P>

java.lang.Object
com.broadleafcommerce.shipping.properties.DiscriminatedProperties<P>
Direct Known Subclasses:
BandedFulfillmentPricingProperties, FixedFulfillmentPricingProperties, VirtualFulfillmentPricingProperties

public class DiscriminatedProperties<P> extends Object
  • Constructor Details

    • DiscriminatedProperties

      public DiscriminatedProperties()
  • Method Details

    • getField

      protected <T> T getField(String fieldName, Class<T> type, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • getField

      protected <T> T getField(String fieldName, String applicationId, String tenantId, Class<T> type)
    • 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

      public Map<String,P> getApplication()
    • setApplication

      public void setApplication(Map<String,P> application)
    • getTenant

      public Map<String,P> getTenant()
    • setTenant

      public void setTenant(Map<String,P> tenant)