PlacedOrderResult.java 1010 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  aQute.bnd.annotation.ProviderType
 */
package com.adobe.cq.commerce.api;

import aQute.bnd.annotation.ProviderType;
import com.adobe.cq.commerce.api.CommerceSort;
import com.adobe.cq.commerce.api.PaginationInfo;
import com.adobe.cq.commerce.api.PlacedOrder;
import java.util.List;

@ProviderType
public class PlacedOrderResult {
    protected PaginationInfo paginationInfo;
    protected List<CommerceSort> sorts;
    protected List<PlacedOrder> orders;

    public PlacedOrderResult(List<PlacedOrder> orders, List<CommerceSort> sorts, PaginationInfo paginationInfo) {
        this.paginationInfo = paginationInfo;
        this.sorts = sorts;
        this.orders = orders;
    }

    public PaginationInfo getPaginationInfo() {
        return this.paginationInfo;
    }

    public List<CommerceSort> getSorts() {
        return this.sorts;
    }

    public List<PlacedOrder> getOrders() {
        return this.orders;
    }
}