io.voucherify.client.model.redemption.response.RedemptionEntryResponse 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.redemption.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import io.voucherify.client.model.order.response.OrderResponse;
import io.voucherify.client.model.redemption.RedemptionStatus;
import java.util.Date;
import java.util.Map;
@NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Getter
@ToString
public class RedemptionEntryResponse {
private String id;
private String object;
private Date date;
@JsonProperty("customer_id")
private String customerId;
@JsonProperty("tracking_id")
private String trackingId;
private String redemption;
private String reason;
private Integer amount;
private OrderResponse order;
private Map metadata;
private RedemptionStatus result;
@JsonProperty("failure_code")
private String failureCode;
@JsonProperty("failure_message")
private String failureMessage;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy