package com.ruoyi.web.modules.order.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * 确认页预览请求
 */
public class CheckoutPreviewDTO
{
    private String source;

    private Long addressId;

    private List<Long> cartItemIds = new ArrayList<>();

    private List<CheckoutLineDTO> items = new ArrayList<>();

    public String getSource()
    {
        return source;
    }

    public void setSource(String source)
    {
        this.source = source;
    }

    public Long getAddressId()
    {
        return addressId;
    }

    public void setAddressId(Long addressId)
    {
        this.addressId = addressId;
    }

    public List<Long> getCartItemIds()
    {
        return cartItemIds;
    }

    public void setCartItemIds(List<Long> cartItemIds)
    {
        this.cartItemIds = cartItemIds;
    }

    public List<CheckoutLineDTO> getItems()
    {
        return items;
    }

    public void setItems(List<CheckoutLineDTO> items)
    {
        this.items = items;
    }
}
