com.bloomscorp.aster.restful.AsterCartResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bmx-aster Show documentation
Show all versions of bmx-aster Show documentation
Base package with managed dependencies for a single vendor e-commerce platform.
This is an opinionated version of Spring Boot configuration with added as-is dependency configurations.
The newest version!
package com.bloomscorp.aster.restful;
import com.bloomscorp.aster.cart.orm.AsterCart;
import com.bloomscorp.aster.cart.orm.AsterCartItem;
import com.bloomscorp.aster.product.category.orm.AsterProductCategory;
import com.bloomscorp.aster.product.collection.orm.AsterProductCollection;
import com.bloomscorp.aster.product.orm.AsterProduct;
import com.bloomscorp.aster.product.subcategory.orm.AsterProductSubCategory;
import com.bloomscorp.aster.support.ResponseParameter;
import com.bloomscorp.aster.tenant.orm.AsterUserRole;
import com.bloomscorp.nverse.pojo.NVerseTenant;
import com.bloomscorp.raintree.RainTree;
import com.bloomscorp.raintree.restful.RainResponse;
import java.util.List;
public class AsterCartResponse<
E extends Enum,
R extends AsterUserRole,
T extends NVerseTenant,
CA extends AsterProductCategory,
SCA extends AsterProductSubCategory,
CO extends AsterProductCollection,
P extends AsterProduct,
CI extends AsterCartItem,
CT extends AsterCart
> extends RainResponse {
public AsterCartResponse(RainTree rainTree) {
super(rainTree);
}
@Override
public String buildEntity(CT c) {
return this.prepareEntity(c, ResponseParameter.CART);
}
@Override
public String buildList(List list) {
return this.prepareList(list, ResponseParameter.CART_LIST);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy