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

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

The 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.LocalizedStrings;
import io.sphere.sdk.models.Reference;

import java.util.List;
import java.util.Optional;

@JsonDeserialize(as=ProductDiscountImpl.class)
public interface ProductDiscount extends DefaultModel {

    public LocalizedStrings 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