java.lang.Object
com.liferay.headless.commerce.admin.pricing.dto.v2_0.PriceList
All Implemented Interfaces:
Serializable

@Generated("") public class PriceList extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • actions

      protected Map<String,Map<String,String>> actions
    • active

      protected Boolean active
    • author

      protected String author
    • catalogBasePriceList

      protected Boolean catalogBasePriceList
    • catalogId

      @NotNull protected @NotNull Long catalogId
    • catalogName

      protected String catalogName
    • createDate

      protected Date createDate
    • currencyCode

      @NotEmpty protected @NotEmpty String currencyCode
    • currencyExternalReferenceCode

      protected String currencyExternalReferenceCode
    • currencyId

      protected Long currencyId
    • customFields

      protected Map<String,?> customFields
    • displayDate

      protected Date displayDate
    • expirationDate

      protected Date expirationDate
    • externalReferenceCode

      protected String externalReferenceCode
    • id

      protected Long id
    • name

      @NotEmpty protected @NotEmpty String name
    • netPrice

      protected Boolean netPrice
    • neverExpire

      protected Boolean neverExpire
    • parentPriceListId

      protected Long parentPriceListId
    • priceEntries

      protected PriceEntry[] priceEntries
    • priceListAccountGroups

      protected PriceListAccountGroup[] priceListAccountGroups
    • priceListAccounts

      protected PriceListAccount[] priceListAccounts
    • priceListChannels

      protected PriceListChannel[] priceListChannels
    • priceListDiscounts

      protected PriceListDiscount[] priceListDiscounts
    • priceListOrderTypes

      protected PriceListOrderType[] priceListOrderTypes
    • priceModifiers

      protected PriceModifier[] priceModifiers
    • priority

      protected Double priority
    • type

      @NotNull protected @NotNull PriceList.Type type
    • workflowStatusInfo

      protected Status workflowStatusInfo
    • xClassName

      public String xClassName
  • Constructor Details

    • PriceList

      public PriceList()
  • Method Details

    • toDTO

      public static PriceList toDTO(String json)
    • unsafeToDTO

      public static PriceList unsafeToDTO(String json)
    • getActions

      @Valid public @Valid Map<String,Map<String,String>> getActions()
    • setActions

      public void setActions(Map<String,Map<String,String>> actions)
    • setActions

      public void setActions(com.liferay.petra.function.UnsafeSupplier<Map<String,Map<String,String>>,Exception> actionsUnsafeSupplier)
    • getActive

      public Boolean getActive()
    • setActive

      public void setActive(Boolean active)
    • setActive

      public void setActive(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> activeUnsafeSupplier)
    • getAuthor

      public String getAuthor()
    • setAuthor

      public void setAuthor(String author)
    • setAuthor

      public void setAuthor(com.liferay.petra.function.UnsafeSupplier<String,Exception> authorUnsafeSupplier)
    • getCatalogBasePriceList

      public Boolean getCatalogBasePriceList()
    • setCatalogBasePriceList

      public void setCatalogBasePriceList(Boolean catalogBasePriceList)
    • setCatalogBasePriceList

      public void setCatalogBasePriceList(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> catalogBasePriceListUnsafeSupplier)
    • getCatalogId

      @DecimalMin("0") public @DecimalMin("0") Long getCatalogId()
    • setCatalogId

      public void setCatalogId(Long catalogId)
    • setCatalogId

      public void setCatalogId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> catalogIdUnsafeSupplier)
    • getCatalogName

      public String getCatalogName()
    • setCatalogName

      public void setCatalogName(String catalogName)
    • setCatalogName

      public void setCatalogName(com.liferay.petra.function.UnsafeSupplier<String,Exception> catalogNameUnsafeSupplier)
    • getCreateDate

      public Date getCreateDate()
    • setCreateDate

      public void setCreateDate(Date createDate)
    • setCreateDate

      public void setCreateDate(com.liferay.petra.function.UnsafeSupplier<Date,Exception> createDateUnsafeSupplier)
    • getCurrencyCode

      public String getCurrencyCode()
    • setCurrencyCode

      public void setCurrencyCode(String currencyCode)
    • setCurrencyCode

      public void setCurrencyCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> currencyCodeUnsafeSupplier)
    • getCurrencyExternalReferenceCode

      public String getCurrencyExternalReferenceCode()
    • setCurrencyExternalReferenceCode

      public void setCurrencyExternalReferenceCode(String currencyExternalReferenceCode)
    • setCurrencyExternalReferenceCode

      public void setCurrencyExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> currencyExternalReferenceCodeUnsafeSupplier)
    • getCurrencyId

      @DecimalMin("0") public @DecimalMin("0") Long getCurrencyId()
    • setCurrencyId

      public void setCurrencyId(Long currencyId)
    • setCurrencyId

      public void setCurrencyId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> currencyIdUnsafeSupplier)
    • getCustomFields

      @Valid public @Valid Map<String,?> getCustomFields()
    • setCustomFields

      public void setCustomFields(Map<String,?> customFields)
    • setCustomFields

      public void setCustomFields(com.liferay.petra.function.UnsafeSupplier<Map<String,?>,Exception> customFieldsUnsafeSupplier)
    • getDisplayDate

      public Date getDisplayDate()
    • setDisplayDate

      public void setDisplayDate(Date displayDate)
    • setDisplayDate

      public void setDisplayDate(com.liferay.petra.function.UnsafeSupplier<Date,Exception> displayDateUnsafeSupplier)
    • getExpirationDate

      public Date getExpirationDate()
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
    • setExpirationDate

      public void setExpirationDate(com.liferay.petra.function.UnsafeSupplier<Date,Exception> expirationDateUnsafeSupplier)
    • getExternalReferenceCode

      public String getExternalReferenceCode()
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
    • setExternalReferenceCode

      public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> externalReferenceCodeUnsafeSupplier)
    • getId

      @DecimalMin("0") public @DecimalMin("0") Long getId()
    • setId

      public void setId(Long id)
    • setId

      public void setId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> idUnsafeSupplier)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

      public void setName(com.liferay.petra.function.UnsafeSupplier<String,Exception> nameUnsafeSupplier)
    • getNetPrice

      public Boolean getNetPrice()
    • setNetPrice

      public void setNetPrice(Boolean netPrice)
    • setNetPrice

      public void setNetPrice(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> netPriceUnsafeSupplier)
    • getNeverExpire

      public Boolean getNeverExpire()
    • setNeverExpire

      public void setNeverExpire(Boolean neverExpire)
    • setNeverExpire

      public void setNeverExpire(com.liferay.petra.function.UnsafeSupplier<Boolean,Exception> neverExpireUnsafeSupplier)
    • getParentPriceListId

      @DecimalMin("0") public @DecimalMin("0") Long getParentPriceListId()
    • setParentPriceListId

      public void setParentPriceListId(Long parentPriceListId)
    • setParentPriceListId

      public void setParentPriceListId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> parentPriceListIdUnsafeSupplier)
    • getPriceEntries

      @Valid public @Valid PriceEntry[] getPriceEntries()
    • setPriceEntries

      public void setPriceEntries(PriceEntry[] priceEntries)
    • setPriceEntries

      public void setPriceEntries(com.liferay.petra.function.UnsafeSupplier<PriceEntry[],Exception> priceEntriesUnsafeSupplier)
    • getPriceListAccountGroups

      @Valid public @Valid PriceListAccountGroup[] getPriceListAccountGroups()
    • setPriceListAccountGroups

      public void setPriceListAccountGroups(PriceListAccountGroup[] priceListAccountGroups)
    • setPriceListAccountGroups

      public void setPriceListAccountGroups(com.liferay.petra.function.UnsafeSupplier<PriceListAccountGroup[],Exception> priceListAccountGroupsUnsafeSupplier)
    • getPriceListAccounts

      @Valid public @Valid PriceListAccount[] getPriceListAccounts()
    • setPriceListAccounts

      public void setPriceListAccounts(PriceListAccount[] priceListAccounts)
    • setPriceListAccounts

      public void setPriceListAccounts(com.liferay.petra.function.UnsafeSupplier<PriceListAccount[],Exception> priceListAccountsUnsafeSupplier)
    • getPriceListChannels

      @Valid public @Valid PriceListChannel[] getPriceListChannels()
    • setPriceListChannels

      public void setPriceListChannels(PriceListChannel[] priceListChannels)
    • setPriceListChannels

      public void setPriceListChannels(com.liferay.petra.function.UnsafeSupplier<PriceListChannel[],Exception> priceListChannelsUnsafeSupplier)
    • getPriceListDiscounts

      @Valid public @Valid PriceListDiscount[] getPriceListDiscounts()
    • setPriceListDiscounts

      public void setPriceListDiscounts(PriceListDiscount[] priceListDiscounts)
    • setPriceListDiscounts

      public void setPriceListDiscounts(com.liferay.petra.function.UnsafeSupplier<PriceListDiscount[],Exception> priceListDiscountsUnsafeSupplier)
    • getPriceListOrderTypes

      @Valid public @Valid PriceListOrderType[] getPriceListOrderTypes()
    • setPriceListOrderTypes

      public void setPriceListOrderTypes(PriceListOrderType[] priceListOrderTypes)
    • setPriceListOrderTypes

      public void setPriceListOrderTypes(com.liferay.petra.function.UnsafeSupplier<PriceListOrderType[],Exception> priceListOrderTypesUnsafeSupplier)
    • getPriceModifiers

      @Valid public @Valid PriceModifier[] getPriceModifiers()
    • setPriceModifiers

      public void setPriceModifiers(PriceModifier[] priceModifiers)
    • setPriceModifiers

      public void setPriceModifiers(com.liferay.petra.function.UnsafeSupplier<PriceModifier[],Exception> priceModifiersUnsafeSupplier)
    • getPriority

      public Double getPriority()
    • setPriority

      public void setPriority(Double priority)
    • setPriority

      public void setPriority(com.liferay.petra.function.UnsafeSupplier<Double,Exception> priorityUnsafeSupplier)
    • getType

      @Valid public @Valid PriceList.Type getType()
    • getTypeAsString

      public String getTypeAsString()
    • setType

      public void setType(PriceList.Type type)
    • setType

      public void setType(com.liferay.petra.function.UnsafeSupplier<PriceList.Type,Exception> typeUnsafeSupplier)
    • getWorkflowStatusInfo

      @Valid public @Valid Status getWorkflowStatusInfo()
    • setWorkflowStatusInfo

      public void setWorkflowStatusInfo(Status workflowStatusInfo)
    • setWorkflowStatusInfo

      public void setWorkflowStatusInfo(com.liferay.petra.function.UnsafeSupplier<Status,Exception> workflowStatusInfoUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object