com.tinypass.client.publisher.model.UserPaymentRefundDTO Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class UserPaymentRefundDTO {
/* The user payment status. */
private String status = null;
//public enum statusEnum { completed, disputed, refunded, verified, canceled, pending, refund requested, initiated, aborted, };
/* The ID of the external refund transaction */
private String refundExternalTxId = null;
/* The ID of the external refund downstream transaction */
private String refundDownstreamExternalTxId = null;
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getRefundExternalTxId() {
return refundExternalTxId;
}
public void setRefundExternalTxId(String refundExternalTxId) {
this.refundExternalTxId = refundExternalTxId;
}
public String getRefundDownstreamExternalTxId() {
return refundDownstreamExternalTxId;
}
public void setRefundDownstreamExternalTxId(String refundDownstreamExternalTxId) {
this.refundDownstreamExternalTxId = refundDownstreamExternalTxId;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserPaymentRefundDTO {\n");
sb.append(" status: ").append(status).append("\n");
sb.append(" refundExternalTxId: ").append(refundExternalTxId).append("\n");
sb.append(" refundDownstreamExternalTxId: ").append(refundDownstreamExternalTxId).append("\n");
sb.append("}\n");
return sb.toString();
}
}