io.voucherify.client.model.validationRules.ValidationRules 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.validationRules;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
@NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Builder
@Getter
@ToString
public class ValidationRules {
private String id;
@JsonProperty("voucher_code")
private String voucherCode;
@JsonProperty("campaign_name")
private String campaignName;
private Junction junction;
@JsonProperty("segments")
private SegmentValidationRules segmentRules;
@JsonProperty("products")
private ProductValidationRules productRules;
@JsonProperty("skus")
private SkuValidationRules skuRules;
@JsonProperty("orders")
private OrderValidationRules orderRules;
@JsonProperty("redemptions")
private RedemptionValidationRules redemptionRules;
@JsonProperty("publications")
private PublicationValidationRules publicationRules;
@JsonProperty("users")
private UserValidationRules userRules;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy