java.lang.Object
com.liferay.portal.vulcan.dto.converter.DefaultDTOConverterContext
com.liferay.headless.commerce.delivery.catalog.dto.v1_0.converter.SkuDTOConverterContext
All Implemented Interfaces:
com.liferay.portal.vulcan.dto.converter.DTOConverterContext

public class SkuDTOConverterContext extends com.liferay.portal.vulcan.dto.converter.DefaultDTOConverterContext
  • Constructor Summary

    Constructors
    Constructor
    Description
    SkuDTOConverterContext(com.liferay.commerce.context.CommerceContext commerceContext, long companyId, com.liferay.commerce.product.model.CPDefinition cpDefinition, Locale locale, BigDecimal quantity, long resourcePrimKey, com.liferay.portal.kernel.json.JSONArray skuOptionsJSONArray, String unitOfMeasureKey, javax.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.liferay.commerce.context.CommerceContext
     
    long
     
    com.liferay.commerce.product.model.CPDefinition
     
     
    com.liferay.portal.kernel.json.JSONArray
     
     

    Methods inherited from class com.liferay.portal.vulcan.dto.converter.DefaultDTOConverterContext

    getActions, getAttribute, getAttributes, getDTOConverterRegistry, getHttpServletRequest, getId, getLocale, getUriInfo, getUser, getUserId, isAcceptAllLanguages, removeAttribute, setAttribute, setAttributes

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.vulcan.dto.converter.DTOConverterContext

    containsNestedFieldsValue
  • Constructor Details

    • SkuDTOConverterContext

      public SkuDTOConverterContext(com.liferay.commerce.context.CommerceContext commerceContext, long companyId, com.liferay.commerce.product.model.CPDefinition cpDefinition, Locale locale, BigDecimal quantity, long resourcePrimKey, com.liferay.portal.kernel.json.JSONArray skuOptionsJSONArray, String unitOfMeasureKey, javax.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user)
  • Method Details

    • getCommerceContext

      public com.liferay.commerce.context.CommerceContext getCommerceContext()
    • getCompanyId

      public long getCompanyId()
    • getCPDefinition

      public com.liferay.commerce.product.model.CPDefinition getCPDefinition()
    • getQuantity

      public BigDecimal getQuantity()
    • getSkuOptionsJSONArray

      public com.liferay.portal.kernel.json.JSONArray getSkuOptionsJSONArray()
    • getUnitOfMeasureKey

      public String getUnitOfMeasureKey()