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

io.voucherify.client.model.distribution.response.PublicationResponse Maven / Gradle / Ivy

Go to download

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)

There is a newer version: 16.0.2
Show newest version
package io.voucherify.client.model.distribution.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.voucherify.client.model.customer.response.CustomerResponse;
import io.voucherify.client.model.voucher.response.VoucherResponse;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.Map;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Getter
@ToString
public class PublicationResponse {

  private String id;

  private String object;

  private Integer total;

  @JsonProperty("created_at")
  private Date createdAt;

  @JsonProperty("customer_id")
  private String customerId;

  @JsonProperty("tracking_id")
  private String trackingId;

  private Map metadata;

  private String channel;

  private String result;

  private CustomerResponse customer;

  private VoucherResponse voucher;

  @JsonProperty("failure_code")
  private Integer failureCode;

  @JsonProperty("failure_message")
  private String failureMessage;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy