/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.contracts.commerceruntime.refunds;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.joda.time.DateTime;
import java.io.IOException;
import java.lang.ClassNotFoundException;
import com.mozu.api.contracts.core.AuditInfo;
import com.mozu.api.contracts.commerceruntime.payments.Payment;
/**
* Mozu.CommerceRuntime.Contracts.Refunds.Refund ApiType DOCUMENT_HERE
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Refund implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
/**
* Amount refunded.
*/
protected Double amount;
public Double getAmount() {
return this.amount;
}
public void setAmount(Double amount) {
this.amount = amount;
}
/**
* Unique identifier of the source product property. For a product field it will be the name of the field. For a product attribute it will be the Attribute FQN.
*/
protected String id;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
/**
* Unique identifier of the order associated with the payment.
*/
protected String orderId;
public String getOrderId() {
return this.orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
/**
* The reason description for an action, including item return, coupon not valid, and item is taxed.
*/
protected String reason;
public String getReason() {
return this.reason;
}
public void setReason(String reason) {
this.reason = reason;
}
/**
* Basic audit info about the object, including date, time, and user account. Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only.
*/
protected AuditInfo auditInfo;
public AuditInfo getAuditInfo() {
return this.auditInfo;
}
public void setAuditInfo(AuditInfo auditInfo) {
this.auditInfo = auditInfo;
}
/**
* The payment associated with this refund (if applicable).
*/
protected Payment payment;
public Payment getPayment() {
return this.payment;
}
public void setPayment(Payment payment) {
this.payment = payment;
}
}