package com.XXX.schema.utility; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; import org.joda.time.DateTime; import org.opentravel.otm.common.ExtensionPoint; /** * Local Name: CurrencyRateConversion_Summary * Namespace: http://www.XXX.com/schema/utility * Facet Type: SUMMARY */ @XmlAccessorType(XmlAccessType.FIELD) @XmlRootElement(name="CurrencyRateConversion") @XmlType(name="CurrencyRateConversion") @XmlSeeAlso({CurrencyRateConversionSummary.class} ) public class CurrencyRateConversion extends CurrencyRateConversionID{ @XmlElement(name="ExtensionPoint_Summary", namespace="http://www.opentravel.org/OTM/Common/v0") private ExtensionPoint extensionPointSummary; /** * Local Name: SourceDecimalPlace * The decimal place for a fractional number with the authority such as IATA, ISO, etc. * * Type: http://www.XXX.com/schema/utility/v0:DecimalPlace * Required * Example value: 1234 * Max Occurrences: 1 * */ @XmlElement(name="SourceDecimalPlace", required=true) private DecimalPlace sourceDecimalPlace; /** * Local Name: rateAsOf * The datetime this rate was set * * Type: http://www.w3.org/2001/XMLSchema:dateTime * Example value: 2011-01-24T09:45:00 * */ @XmlAttribute(name="rateAsOf") private DateTime rateAsOf; /** * Local Name: targetCurrencyCode * currency code of the converted amount * * Type: http://www.XXX.com/schema/common/v3:CurrencyCode_ISO * Pattern: [a-zA-Z]{3} * Example value: USD * */ @XmlAttribute(name="targetCurrencyCode") private String targetCurrencyCode; /** * Local Name: sourceCurrencyCode * currency code for the start * * Type: http://www.XXX.com/schema/common/v3:CurrencyCode_ISO * Pattern: [a-zA-Z]{3} * Example value: USD * */ @XmlAttribute(name="sourceCurrencyCode") private String sourceCurrencyCode; /** * Local Name: ConversionRate * A conversion metric from standard to another with the contextual authority * * Type: http://www.XXX.com/schema/utility/v0:ConversionRate * Required * Example value: 12 * Max Occurrences: 1 * */ @XmlElement(name="ConversionRate", required=true) private ConversionRate conversionRate; /** * Local Name: TargetDecimalPlace * The decimal place for a fractional number with the authority such as IATA, ISO, etc. * * Type: http://www.XXX.com/schema/utility/v0:DecimalPlace * Required * Example value: 1234 * Max Occurrences: 1 * */ @XmlElement(name="TargetDecimalPlace", required=true) private DecimalPlace targetDecimalPlace; /** * * @returns ExtensionPoint */ public ExtensionPoint getExtensionPointSummary() { return extensionPointSummary; } /** * * @param extensionPointSummary the property value to assign */ public void setExtensionPointSummary(ExtensionPoint extensionPointSummary) { this.extensionPointSummary = extensionPointSummary; } /** * Local Name: SourceDecimalPlace
* The decimal place for a fractional number with the authority such as IATA, ISO, etc.
*
* Type: http://www.XXX.com/schema/utility/v0:DecimalPlace
* Required
* Example value: 1234
* Max Occurrences: 1
* * * @returns DecimalPlace */ public DecimalPlace getSourceDecimalPlace() { return sourceDecimalPlace; } /** * Local Name: SourceDecimalPlace
* The decimal place for a fractional number with the authority such as IATA, ISO, etc.
*
* Type: http://www.XXX.com/schema/utility/v0:DecimalPlace
* Required
* Example value: 1234
* Max Occurrences: 1
* * * @param sourceDecimalPlace the property value to assign */ public void setSourceDecimalPlace(DecimalPlace sourceDecimalPlace) { this.sourceDecimalPlace = sourceDecimalPlace; } /** * Local Name: rateAsOf
* The datetime this rate was set
*
* Type: http://www.w3.org/2001/XMLSchema:dateTime
* Example value: 2011-01-24T09:45:00
* * * @returns DateTime */ public DateTime getRateAsOf() { return rateAsOf; } /** * Local Name: rateAsOf
* The datetime this rate was set
*
* Type: http://www.w3.org/2001/XMLSchema:dateTime
* Example value: 2011-01-24T09:45:00
* * * @param rateAsOf the property value to assign */ public void setRateAsOf(DateTime rateAsOf) { this.rateAsOf = rateAsOf; } /** * Local Name: targetCurrencyCode
* currency code of the converted amount
*
* Type: http://www.XXX.com/schema/common/v3:CurrencyCode_ISO
* Pattern: [a-zA-Z]{3}
* Example value: USD
* * * @returns String */ public String getTargetCurrencyCode() { return targetCurrencyCode; } /** * Local Name: targetCurrencyCode
* currency code of the converted amount
*
* Type: http://www.XXX.com/schema/common/v3:CurrencyCode_ISO
* Pattern: [a-zA-Z]{3}
* Example value: USD
* * * @param targetCurrencyCode the property value to assign */ public void setTargetCurrencyCode(String targetCurrencyCode) { this.targetCurrencyCode = targetCurrencyCode; } /** * Local Name: sourceCurrencyCode
* currency code for the start
*
* Type: http://www.XXX.com/schema/common/v3:CurrencyCode_ISO
* Pattern: [a-zA-Z]{3}
* Example value: USD
* * * @returns String */ public String getSourceCurrencyCode() { return sourceCurrencyCode; } /** * Local Name: sourceCurrencyCode
* currency code for the start
*
* Type: http://www.XXX.com/schema/common/v3:CurrencyCode_ISO
* Pattern: [a-zA-Z]{3}
* Example value: USD
* * * @param sourceCurrencyCode the property value to assign */ public void setSourceCurrencyCode(String sourceCurrencyCode) { this.sourceCurrencyCode = sourceCurrencyCode; } /** * Local Name: ConversionRate
* A conversion metric from standard to another with the contextual authority
*
* Type: http://www.XXX.com/schema/utility/v0:ConversionRate
* Required
* Example value: 12
* Max Occurrences: 1
* * * @returns ConversionRate */ public ConversionRate getConversionRate() { return conversionRate; } /** * Local Name: ConversionRate
* A conversion metric from standard to another with the contextual authority
*
* Type: http://www.XXX.com/schema/utility/v0:ConversionRate
* Required
* Example value: 12
* Max Occurrences: 1
* * * @param conversionRate the property value to assign */ public void setConversionRate(ConversionRate conversionRate) { this.conversionRate = conversionRate; } /** * Local Name: TargetDecimalPlace
* The decimal place for a fractional number with the authority such as IATA, ISO, etc.
*
* Type: http://www.XXX.com/schema/utility/v0:DecimalPlace
* Required
* Example value: 1234
* Max Occurrences: 1
* * * @returns DecimalPlace */ public DecimalPlace getTargetDecimalPlace() { return targetDecimalPlace; } /** * Local Name: TargetDecimalPlace
* The decimal place for a fractional number with the authority such as IATA, ISO, etc.
*
* Type: http://www.XXX.com/schema/utility/v0:DecimalPlace
* Required
* Example value: 1234
* Max Occurrences: 1
* * * @param targetDecimalPlace the property value to assign */ public void setTargetDecimalPlace(DecimalPlace targetDecimalPlace) { this.targetDecimalPlace = targetDecimalPlace; } }