io.sphere.sdk.productdiscounts.ProductDiscount Maven / Gradle / Ivy
package io.sphere.sdk.productdiscounts;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.sphere.sdk.models.DefaultModel;
import io.sphere.sdk.models.LocalizedString;
import io.sphere.sdk.models.Reference;
import java.util.List;
import java.util.Optional;
@JsonDeserialize(as=ProductDiscountImpl.class)
public interface ProductDiscount extends DefaultModel {
public LocalizedString getName();
public Optional getDescription();
public ProductDiscountValue getValue();
public String getPredicate();
public String getSortOrder();
public boolean isActive();
public List> getReferences();
public static String typeId(){
return "product-discount";
}
}