Class ShippingGroup

java.lang.Object
com.bhn.risk.common.SmartObject<ShippingGroup>
com.bhn.risk.order.domain.ShippingGroup

public class ShippingGroup extends com.bhn.risk.common.SmartObject<ShippingGroup>

ShippingGroup class.

Version:
$Id: $Id
Author:
pvela00
  • Field Details

    • itemType

      @NotNull(errorCode="shippingGroup.itemType.null", message="shippingGroup.itemType is mandatory") public com.bhn.risk.domain.ItemType itemType
    • recipientEmail

      @ValidateWithMethod(methodName="isValidRecipientEmail", errorCode="shippingGroup.recipientEmail.invalid", message="shippingGroup.recipientEmail is required for Digital item type", parameterType=java.lang.String.class, ignoreIfNull=false) @Length(max=255, errorCode="shippingGroup.recipientEmail.invalidLength", message="Max length of recipient email is 255 characters") public String recipientEmail
    • shippingAddress

      @ValidateWithMethod(methodName="isValidShippingAddress", errorCode="shippingGroup.shippingAddress.invalid", message="shippingGroup.shippingAddress is required for Physical item type", parameterType=Address.class, ignoreIfNull=false) @AssertValid public Address shippingAddress
    • items

      @NotNull(errorCode="shippingGroup.cartItems.null", message="shippingGroup.cartItems is mandatory") @MinSize(value=1, errorCode="shippingGroup.cartItems.invalid", message="There should be at least 1 Cart Item in the cart") @AssertValid public List<CartItem> items
    • shippingLine

      public ShippingLine shippingLine
  • Constructor Details

    • ShippingGroup

      public ShippingGroup()