public OrderLineWS( Integer id, Integer itemId, String description, BigDecimal amount, BigDecimal quantity, BigDecimal price, Date create, Integer deleted, Integer newTypeId, Boolean editable, Integer orderId, Boolean useItem, Integer version) { setId(id); setItemId(itemId); setDescription(description); setAmount(amount); setQuantity(quantity); setPrice(price); setCreateDatetime(create); setDeleted(deleted); setTypeId(newTypeId); setEditable(editable); setOrderId(orderId); setUseItem(useItem); setVersionNum(version); }
public OrderLineWS( Integer id, Integer itemId, String description, BigDecimal amount, BigDecimal quantity, BigDecimal price, Date create, Integer deleted, Integer newTypeId, Boolean editable, Integer orderId, Boolean useItem, Integer version, String productCode, Integer[] assetIds, MetaFieldValueWS[] metaFields, String sipUri, boolean isPercentage) { setId(id); setItemId(itemId); setDescription(description); setAmount(amount); setQuantity(quantity); setPrice(price); setCreateDatetime(create); setDeleted(deleted); setTypeId(newTypeId); setEditable(editable); setOrderId(orderId); setUseItem(useItem); setVersionNum(version); setAssetIds(assetIds); setSipUri(sipUri); setProductCode(productCode); setMetaFields(metaFields); objectId = UUID.randomUUID().toString(); setProductCode(productCode); setPercentage(isPercentage); }