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

io.sphere.sdk.productdiscounts.ProductDiscount Maven / Gradle / Ivy

There is a newer version: 1.0.0-M7
Show newest version
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";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy