| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
package org.kuali.student.r2.core.fee.dto; |
| 18 | |
|
| 19 | |
import java.io.Serializable; |
| 20 | |
import java.util.List; |
| 21 | |
|
| 22 | |
import javax.xml.bind.annotation.XmlAccessType; |
| 23 | |
import javax.xml.bind.annotation.XmlAccessorType; |
| 24 | |
import javax.xml.bind.annotation.XmlAnyElement; |
| 25 | |
import javax.xml.bind.annotation.XmlElement; |
| 26 | |
import javax.xml.bind.annotation.XmlType; |
| 27 | |
|
| 28 | |
import org.kuali.student.r2.core.fee.infc.EnrollmentFeeAmount; |
| 29 | |
import org.w3c.dom.Element; |
| 30 | |
|
| 31 | |
|
| 32 | |
|
| 33 | |
|
| 34 | |
|
| 35 | |
|
| 36 | |
|
| 37 | |
|
| 38 | |
|
| 39 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 40 | |
@XmlType(name = "FeeAmountInfo", propOrder = { |
| 41 | |
"currencyTypeKey", "currencyQuantity", |
| 42 | |
"_futureElements"}) |
| 43 | |
|
| 44 | |
public class EnrollmentFeeAmountInfo |
| 45 | |
implements EnrollmentFeeAmount, Serializable { |
| 46 | |
|
| 47 | |
private static final long serialVersionUID = 1L; |
| 48 | |
|
| 49 | |
@XmlElement |
| 50 | |
private String currencyTypeKey; |
| 51 | |
|
| 52 | |
@XmlElement |
| 53 | |
private Integer currencyQuantity; |
| 54 | |
|
| 55 | |
@XmlAnyElement |
| 56 | |
private List<Element> _futureElements; |
| 57 | |
|
| 58 | |
|
| 59 | |
|
| 60 | |
|
| 61 | 0 | public EnrollmentFeeAmountInfo() { |
| 62 | 0 | } |
| 63 | |
|
| 64 | |
|
| 65 | |
|
| 66 | |
|
| 67 | |
|
| 68 | |
|
| 69 | 0 | public EnrollmentFeeAmountInfo(EnrollmentFeeAmount currency) { |
| 70 | 0 | if (currency != null) { |
| 71 | 0 | this.currencyQuantity = currency.getCurrencyQuantity(); |
| 72 | 0 | this.currencyTypeKey = currency.getCurrencyTypeKey(); |
| 73 | |
} |
| 74 | 0 | } |
| 75 | |
|
| 76 | |
@Override |
| 77 | |
public String getCurrencyTypeKey() { |
| 78 | 0 | return currencyTypeKey; |
| 79 | |
} |
| 80 | |
|
| 81 | |
public void setCurrencyTypeKey(String currencyTypeKey) { |
| 82 | 0 | this.currencyTypeKey = currencyTypeKey; |
| 83 | 0 | } |
| 84 | |
|
| 85 | |
@Override |
| 86 | |
public Integer getCurrencyQuantity() { |
| 87 | 0 | return currencyQuantity; |
| 88 | |
} |
| 89 | |
|
| 90 | |
public void setCurrencyQuantity(Integer currencyQuantity) { |
| 91 | 0 | this.currencyQuantity = currencyQuantity; |
| 92 | 0 | } |
| 93 | |
} |