@Generated(value="")
public class MappedProduct
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MappedProduct.Type |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
actions |
protected Availability |
availability |
protected MappedProduct |
firstAvailableReplacementMappedProduct |
protected java.lang.Long |
id |
protected Price |
price |
protected ProductConfiguration |
productConfiguration |
protected java.lang.String |
productExternalReferenceCode |
protected java.lang.Long |
productId |
protected java.util.Map<java.lang.String,java.lang.String> |
productName |
protected ProductOption[] |
productOptions |
protected java.lang.Boolean |
purchasable |
protected java.lang.Integer |
quantity |
protected MappedProduct |
replacementMappedProduct |
protected java.lang.String |
replacementMessage |
protected java.lang.String |
sequence |
protected java.lang.String |
sku |
protected java.lang.String |
skuExternalReferenceCode |
protected java.lang.Long |
skuId |
protected SkuOption[] |
skuOptions |
protected java.lang.String |
thumbnail |
protected MappedProduct.Type |
type |
protected java.util.Map<java.lang.String,java.lang.String> |
urls |
java.lang.String |
xClassName |
Constructor and Description |
---|
MappedProduct() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
@Valid java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getActions() |
@Valid Availability |
getAvailability() |
@Valid MappedProduct |
getFirstAvailableReplacementMappedProduct() |
@DecimalMin(value="0") java.lang.Long |
getId() |
@Valid Price |
getPrice() |
@Valid ProductConfiguration |
getProductConfiguration() |
java.lang.String |
getProductExternalReferenceCode() |
@DecimalMin(value="0") java.lang.Long |
getProductId() |
@Valid java.util.Map<java.lang.String,java.lang.String> |
getProductName() |
@Valid ProductOption[] |
getProductOptions() |
java.lang.Boolean |
getPurchasable() |
@DecimalMin(value="0") java.lang.Integer |
getQuantity() |
@Valid MappedProduct |
getReplacementMappedProduct() |
java.lang.String |
getReplacementMessage() |
java.lang.String |
getSequence() |
java.lang.String |
getSku() |
java.lang.String |
getSkuExternalReferenceCode() |
@DecimalMin(value="0") java.lang.Long |
getSkuId() |
@Valid SkuOption[] |
getSkuOptions() |
java.lang.String |
getThumbnail() |
@Valid MappedProduct.Type |
getType() |
java.lang.String |
getTypeAsString() |
@Valid java.util.Map<java.lang.String,java.lang.String> |
getUrls() |
int |
hashCode() |
void |
setActions(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> actions) |
void |
setActions(com.liferay.petra.function.UnsafeSupplier<java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>,java.lang.Exception> actionsUnsafeSupplier) |
void |
setAvailability(Availability availability) |
void |
setAvailability(com.liferay.petra.function.UnsafeSupplier<Availability,java.lang.Exception> availabilityUnsafeSupplier) |
void |
setFirstAvailableReplacementMappedProduct(MappedProduct firstAvailableReplacementMappedProduct) |
void |
setFirstAvailableReplacementMappedProduct(com.liferay.petra.function.UnsafeSupplier<MappedProduct,java.lang.Exception> firstAvailableReplacementMappedProductUnsafeSupplier) |
void |
setId(java.lang.Long id) |
void |
setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier) |
void |
setPrice(Price price) |
void |
setPrice(com.liferay.petra.function.UnsafeSupplier<Price,java.lang.Exception> priceUnsafeSupplier) |
void |
setProductConfiguration(ProductConfiguration productConfiguration) |
void |
setProductConfiguration(com.liferay.petra.function.UnsafeSupplier<ProductConfiguration,java.lang.Exception> productConfigurationUnsafeSupplier) |
void |
setProductExternalReferenceCode(java.lang.String productExternalReferenceCode) |
void |
setProductExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> productExternalReferenceCodeUnsafeSupplier) |
void |
setProductId(java.lang.Long productId) |
void |
setProductId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> productIdUnsafeSupplier) |
void |
setProductName(java.util.Map<java.lang.String,java.lang.String> productName) |
void |
setProductName(com.liferay.petra.function.UnsafeSupplier<java.util.Map<java.lang.String,java.lang.String>,java.lang.Exception> productNameUnsafeSupplier) |
void |
setProductOptions(ProductOption[] productOptions) |
void |
setProductOptions(com.liferay.petra.function.UnsafeSupplier<ProductOption[],java.lang.Exception> productOptionsUnsafeSupplier) |
void |
setPurchasable(java.lang.Boolean purchasable) |
void |
setPurchasable(com.liferay.petra.function.UnsafeSupplier<java.lang.Boolean,java.lang.Exception> purchasableUnsafeSupplier) |
void |
setQuantity(java.lang.Integer quantity) |
void |
setQuantity(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> quantityUnsafeSupplier) |
void |
setReplacementMappedProduct(MappedProduct replacementMappedProduct) |
void |
setReplacementMappedProduct(com.liferay.petra.function.UnsafeSupplier<MappedProduct,java.lang.Exception> replacementMappedProductUnsafeSupplier) |
void |
setReplacementMessage(java.lang.String replacementMessage) |
void |
setReplacementMessage(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> replacementMessageUnsafeSupplier) |
void |
setSequence(java.lang.String sequence) |
void |
setSequence(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> sequenceUnsafeSupplier) |
void |
setSku(java.lang.String sku) |
void |
setSku(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> skuUnsafeSupplier) |
void |
setSkuExternalReferenceCode(java.lang.String skuExternalReferenceCode) |
void |
setSkuExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> skuExternalReferenceCodeUnsafeSupplier) |
void |
setSkuId(java.lang.Long skuId) |
void |
setSkuId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> skuIdUnsafeSupplier) |
void |
setSkuOptions(SkuOption[] skuOptions) |
void |
setSkuOptions(com.liferay.petra.function.UnsafeSupplier<SkuOption[],java.lang.Exception> skuOptionsUnsafeSupplier) |
void |
setThumbnail(java.lang.String thumbnail) |
void |
setThumbnail(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> thumbnailUnsafeSupplier) |
void |
setType(MappedProduct.Type type) |
void |
setType(com.liferay.petra.function.UnsafeSupplier<MappedProduct.Type,java.lang.Exception> typeUnsafeSupplier) |
void |
setUrls(java.util.Map<java.lang.String,java.lang.String> urls) |
void |
setUrls(com.liferay.petra.function.UnsafeSupplier<java.util.Map<java.lang.String,java.lang.String>,java.lang.Exception> urlsUnsafeSupplier) |
static MappedProduct |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static MappedProduct |
unsafeToDTO(java.lang.String json) |
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> actions
protected Availability availability
protected MappedProduct firstAvailableReplacementMappedProduct
protected java.lang.Long id
protected Price price
protected ProductConfiguration productConfiguration
protected java.lang.String productExternalReferenceCode
protected java.lang.Long productId
protected java.util.Map<java.lang.String,java.lang.String> productName
protected ProductOption[] productOptions
protected java.lang.Boolean purchasable
protected java.lang.Integer quantity
protected MappedProduct replacementMappedProduct
protected java.lang.String replacementMessage
protected java.lang.String sequence
protected java.lang.String sku
protected java.lang.String skuExternalReferenceCode
protected java.lang.Long skuId
protected SkuOption[] skuOptions
protected java.lang.String thumbnail
protected MappedProduct.Type type
protected java.util.Map<java.lang.String,java.lang.String> urls
public java.lang.String xClassName
public static MappedProduct toDTO(java.lang.String json)
public static MappedProduct unsafeToDTO(java.lang.String json)
@Valid public @Valid java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getActions()
public void setActions(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> actions)
public void setActions(com.liferay.petra.function.UnsafeSupplier<java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>,java.lang.Exception> actionsUnsafeSupplier)
@Valid public @Valid Availability getAvailability()
public void setAvailability(Availability availability)
public void setAvailability(com.liferay.petra.function.UnsafeSupplier<Availability,java.lang.Exception> availabilityUnsafeSupplier)
@Valid public @Valid MappedProduct getFirstAvailableReplacementMappedProduct()
public void setFirstAvailableReplacementMappedProduct(MappedProduct firstAvailableReplacementMappedProduct)
public void setFirstAvailableReplacementMappedProduct(com.liferay.petra.function.UnsafeSupplier<MappedProduct,java.lang.Exception> firstAvailableReplacementMappedProductUnsafeSupplier)
@DecimalMin(value="0") public @DecimalMin(value="0") java.lang.Long getId()
public void setId(java.lang.Long id)
public void setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier)
@Valid public @Valid Price getPrice()
public void setPrice(Price price)
public void setPrice(com.liferay.petra.function.UnsafeSupplier<Price,java.lang.Exception> priceUnsafeSupplier)
@Valid public @Valid ProductConfiguration getProductConfiguration()
public void setProductConfiguration(ProductConfiguration productConfiguration)
public void setProductConfiguration(com.liferay.petra.function.UnsafeSupplier<ProductConfiguration,java.lang.Exception> productConfigurationUnsafeSupplier)
public java.lang.String getProductExternalReferenceCode()
public void setProductExternalReferenceCode(java.lang.String productExternalReferenceCode)
public void setProductExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> productExternalReferenceCodeUnsafeSupplier)
@DecimalMin(value="0") public @DecimalMin(value="0") java.lang.Long getProductId()
public void setProductId(java.lang.Long productId)
public void setProductId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> productIdUnsafeSupplier)
@Valid public @Valid java.util.Map<java.lang.String,java.lang.String> getProductName()
public void setProductName(java.util.Map<java.lang.String,java.lang.String> productName)
public void setProductName(com.liferay.petra.function.UnsafeSupplier<java.util.Map<java.lang.String,java.lang.String>,java.lang.Exception> productNameUnsafeSupplier)
@Valid public @Valid ProductOption[] getProductOptions()
public void setProductOptions(ProductOption[] productOptions)
public void setProductOptions(com.liferay.petra.function.UnsafeSupplier<ProductOption[],java.lang.Exception> productOptionsUnsafeSupplier)
public java.lang.Boolean getPurchasable()
public void setPurchasable(java.lang.Boolean purchasable)
public void setPurchasable(com.liferay.petra.function.UnsafeSupplier<java.lang.Boolean,java.lang.Exception> purchasableUnsafeSupplier)
@DecimalMin(value="0") public @DecimalMin(value="0") java.lang.Integer getQuantity()
public void setQuantity(java.lang.Integer quantity)
public void setQuantity(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> quantityUnsafeSupplier)
@Valid public @Valid MappedProduct getReplacementMappedProduct()
public void setReplacementMappedProduct(MappedProduct replacementMappedProduct)
public void setReplacementMappedProduct(com.liferay.petra.function.UnsafeSupplier<MappedProduct,java.lang.Exception> replacementMappedProductUnsafeSupplier)
public java.lang.String getReplacementMessage()
public void setReplacementMessage(java.lang.String replacementMessage)
public void setReplacementMessage(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> replacementMessageUnsafeSupplier)
public java.lang.String getSequence()
public void setSequence(java.lang.String sequence)
public void setSequence(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> sequenceUnsafeSupplier)
public java.lang.String getSku()
public void setSku(java.lang.String sku)
public void setSku(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> skuUnsafeSupplier)
public java.lang.String getSkuExternalReferenceCode()
public void setSkuExternalReferenceCode(java.lang.String skuExternalReferenceCode)
public void setSkuExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> skuExternalReferenceCodeUnsafeSupplier)
@DecimalMin(value="0") public @DecimalMin(value="0") java.lang.Long getSkuId()
public void setSkuId(java.lang.Long skuId)
public void setSkuId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> skuIdUnsafeSupplier)
@Valid public @Valid SkuOption[] getSkuOptions()
public void setSkuOptions(SkuOption[] skuOptions)
public void setSkuOptions(com.liferay.petra.function.UnsafeSupplier<SkuOption[],java.lang.Exception> skuOptionsUnsafeSupplier)
public java.lang.String getThumbnail()
public void setThumbnail(java.lang.String thumbnail)
public void setThumbnail(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> thumbnailUnsafeSupplier)
@Valid public @Valid MappedProduct.Type getType()
public java.lang.String getTypeAsString()
public void setType(MappedProduct.Type type)
public void setType(com.liferay.petra.function.UnsafeSupplier<MappedProduct.Type,java.lang.Exception> typeUnsafeSupplier)
@Valid public @Valid java.util.Map<java.lang.String,java.lang.String> getUrls()
public void setUrls(java.util.Map<java.lang.String,java.lang.String> urls)
public void setUrls(com.liferay.petra.function.UnsafeSupplier<java.util.Map<java.lang.String,java.lang.String>,java.lang.Exception> urlsUnsafeSupplier)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object