io.voucherify.client.model.promotion.CreatePromotionCampaign Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of voucherify-java-sdk Show documentation
Show all versions of voucherify-java-sdk Show documentation
Voucherify-java-sdk is a Java client (can be used in Android application as well) which was created to simplify integration with Voucherify backend (http://www.voucherify.io)
package io.voucherify.client.model.promotion;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.voucherify.client.model.campaign.CampaignType;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Singular;
import lombok.ToString;
import java.util.Date;
import java.util.List;
@NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Getter
@Builder
@ToString
public class CreatePromotionCampaign {
private String name;
@JsonProperty("campaign_type")
private CampaignType campaignType;
@JsonProperty("start_date")
private Date startDate;
@JsonProperty("expiration_date")
private Date expirationDate;
private Promotion promotion;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy