public virtual OrderItemShipGroupAssociationStateMergePatchedDto NewOrderItemShipGroupAssociationStateMergePatched(string orderItemSeqId)
        {
            var e   = new OrderItemShipGroupAssociationStateMergePatchedDto();
            var eId = NewOrderItemShipGroupAssociationEventId(orderItemSeqId);

            e.OrderItemShipGroupAssociationEventId = eId;
            return(e);
        }
Beispiel #2
0
        public virtual OrderItemShipGroupAssociationStateMergePatchedDto ToOrderItemShipGroupAssociationStateMergePatchedDto(IOrderItemShipGroupAssociationStateMergePatched e)
        {
            var dto = new OrderItemShipGroupAssociationStateMergePatchedDto();

            dto.OrderItemShipGroupAssociationEventId = e.OrderItemShipGroupAssociationEventId;
            dto.CreatedAt                       = e.CreatedAt;
            dto.CreatedBy                       = e.CreatedBy;
            dto.Version                         = e.Version;
            dto.CommandId                       = e.CommandId;
            dto.Quantity                        = e.Quantity;
            dto.CancelQuantity                  = e.CancelQuantity;
            dto.Active                          = e.Active;
            dto.IsPropertyQuantityRemoved       = e.IsPropertyQuantityRemoved;
            dto.IsPropertyCancelQuantityRemoved = e.IsPropertyCancelQuantityRemoved;
            dto.IsPropertyActiveRemoved         = e.IsPropertyActiveRemoved;

            return(dto);
        }