package com.freemud.sdk.api.assortment.order.request.stock;

import com.freemud.sdk.api.assortment.order.enums.StockChangeType;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
public class UpdateStockRequest {

    private StockChangeType changeType;

    private String partnerId;

    private String shopId;

    private String transNo;

    private List<UpdateStockProduct> products;


    @Data
    @NoArgsConstructor
    public static class UpdateStockProduct {

        private String productId;

        private String qty;
    }

}
