/** * 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 property, such as a catalog, discount, order, or email template.For a product field it will be the name of the field.For a category ID, must be a positive integer not greater than 2000000. By default, auto-generates a category ID when categories are created. If you want to specify an ID during creation (which preserves category link relationships when migrating tenant data from one sandbox to another), you must also include the query string in the endpoint. For example, . Then, use the property to specify the desired category ID.For a product attribute it will be the Attribute FQN.For a document, the ID must be specified as a 32 character, case-insensitive, alphanumeric string. You can specify the ID as 32 sequential characters or as groups separated by dashes in the format 8-4-4-4-12. For example, or.For email templates, the ID must be one of the following values: */ 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. This data may be captured when creating, updating, and removing data. */ 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; } }