com.endeca.mobile.services.cart.models
Class GiftWrapSpec

java.lang.Object
  extended by com.endeca.mobile.services.cart.models.Model
      extended by com.endeca.mobile.services.cart.models.GiftWrapSpec
All Implemented Interfaces:
java.io.Serializable

public class GiftWrapSpec
extends Model

See Also:
Serialized Form

Field Summary
static java.lang.String ACTION_ADD
           
static java.lang.String ACTION_DELETE
           
static java.lang.String ACTION_UPDATE
           
 
Constructor Summary
GiftWrapSpec()
           
 
Method Summary
 java.lang.String getAction()
          This has to have values of "ADD", "UPDATE", or "DELETE".
 CartItemSpec getCartItemSpec()
          The CartItemSpec of the object to which this GiftWrapSpec should be applied.
 java.util.List<TextFieldModelSpec> getGiftMessageFields()
          List.
 java.lang.String getGiftWrapOptionId()
          The selected GiftWrapOption.
 void setAction(java.lang.String action)
           
 void setCartItemSpec(CartItemSpec cartItemSpec)
           
 void setGiftMessageFields(java.util.List<TextFieldModelSpec> giftMessageFields)
           
 void setGiftWrapOptionId(java.lang.String giftWrapOptionId)
           
 
Methods inherited from class com.endeca.mobile.services.cart.models.Model
containsProperty, getId, getProperties, getProperty, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, putProperty, setId, setProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_ADD

public static final java.lang.String ACTION_ADD
See Also:
Constant Field Values

ACTION_UPDATE

public static final java.lang.String ACTION_UPDATE
See Also:
Constant Field Values

ACTION_DELETE

public static final java.lang.String ACTION_DELETE
See Also:
Constant Field Values
Constructor Detail

GiftWrapSpec

public GiftWrapSpec()
Method Detail

getGiftMessageFields

public java.util.List<TextFieldModelSpec> getGiftMessageFields()
List. The List of TextFieldModelSpec objects.


setGiftMessageFields

public void setGiftMessageFields(java.util.List<TextFieldModelSpec> giftMessageFields)

getGiftWrapOptionId

public java.lang.String getGiftWrapOptionId()
The selected GiftWrapOption.


setGiftWrapOptionId

public void setGiftWrapOptionId(java.lang.String giftWrapOptionId)

getAction

public java.lang.String getAction()
This has to have values of "ADD", "UPDATE", or "DELETE".


setAction

public void setAction(java.lang.String action)

getCartItemSpec

public CartItemSpec getCartItemSpec()
The CartItemSpec of the object to which this GiftWrapSpec should be applied.


setCartItemSpec

public void setCartItemSpec(CartItemSpec cartItemSpec)