All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.productdiscounts.commands.ProductDiscountCreateCommand Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.productdiscounts.commands;

import io.sphere.sdk.commands.CreateCommand;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;
import io.sphere.sdk.productdiscounts.ProductDiscount;
import io.sphere.sdk.productdiscounts.ProductDiscountDraft;
import io.sphere.sdk.productdiscounts.expansion.ProductDiscountExpansionModel;

/**
 * {@include.example io.sphere.sdk.productdiscounts.commands.ProductDiscountCreateCommandTest#execution()}
 */
public interface ProductDiscountCreateCommand extends CreateCommand, MetaModelExpansionDsl> {
    static ProductDiscountCreateCommand of(final ProductDiscountDraft draft) {
        return new ProductDiscountCreateCommandImpl(draft);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy