001// -------------------------------------------------------------------------------- 002// Copyright 2002-2024 Echo Three, LLC 003// 004// Licensed under the Apache License, Version 2.0 (the "License"); 005// you may not use this file except in compliance with the License. 006// You may obtain a copy of the License at 007// 008// http://www.apache.org/licenses/LICENSE-2.0 009// 010// Unless required by applicable law or agreed to in writing, software 011// distributed under the License is distributed on an "AS IS" BASIS, 012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013// See the License for the specific language governing permissions and 014// limitations under the License. 015// -------------------------------------------------------------------------------- 016 017package com.echothree.model.control.wishlist.common.transfer; 018 019import com.echothree.model.control.associate.common.transfer.AssociateReferralTransfer; 020import com.echothree.model.control.inventory.common.transfer.InventoryConditionTransfer; 021import com.echothree.model.control.item.common.transfer.ItemTransfer; 022import com.echothree.model.control.offer.common.transfer.OfferUseTransfer; 023import com.echothree.model.control.order.common.transfer.OrderLineTransfer; 024import com.echothree.model.control.uom.common.transfer.UnitOfMeasureTypeTransfer; 025 026public class WishlistLineTransfer 027 extends OrderLineTransfer<WishlistTransfer> { 028 029 private OfferUseTransfer offerUse; 030 private WishlistPriorityTransfer wishlistPriority; 031 private AssociateReferralTransfer associateReferral; 032 private String comment; 033 034 /** Creates a new instance of WishlistLineTransfer */ 035 public WishlistLineTransfer(WishlistTransfer wishlist, Integer orderLineSequence, ItemTransfer item, InventoryConditionTransfer inventoryCondition, 036 UnitOfMeasureTypeTransfer unitOfMeasureType, Long quantity, Long unformattedUnitAmount, String unitAmount, String description, 037 OfferUseTransfer offerUse, WishlistPriorityTransfer wishlistPriority, AssociateReferralTransfer associateReferral, String comment) { 038 super(wishlist, orderLineSequence, item, inventoryCondition, unitOfMeasureType, quantity, unformattedUnitAmount, unitAmount, description, null, null, 039 null); 040 041 this.offerUse = offerUse; 042 this.wishlistPriority = wishlistPriority; 043 this.associateReferral = associateReferral; 044 this.comment = comment; 045 } 046 047 public WishlistTransfer getWishlist() { 048 return this.order; 049 } 050 051 public void setWishlist(WishlistTransfer wishlist) { 052 this.order = wishlist; 053 } 054 055 public Integer getWishlistLineSequence() { 056 return getOrderLineSequence(); 057 } 058 059 public void setWishlistLineSequence(Integer orderLineSequence) { 060 this.orderLineSequence = orderLineSequence; 061 } 062 063 public OfferUseTransfer getOfferUse() { 064 return offerUse; 065 } 066 067 public void setOfferUse(OfferUseTransfer offerUse) { 068 this.offerUse = offerUse; 069 } 070 071 public WishlistPriorityTransfer getWishlistPriority() { 072 return wishlistPriority; 073 } 074 075 public void setWishlistPriority(WishlistPriorityTransfer wishlistPriority) { 076 this.wishlistPriority = wishlistPriority; 077 } 078 079 public AssociateReferralTransfer getAssociateReferral() { 080 return associateReferral; 081 } 082 083 public void setAssociateReferral(AssociateReferralTransfer associateReferral) { 084 this.associateReferral = associateReferral; 085 } 086 087 public String getComment() { 088 return comment; 089 } 090 091 public void setComment(String comment) { 092 this.comment = comment; 093 } 094}