All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rutebanken.netex.model.SalesTransaction_VersionStructure Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2017.09.21 at 10:53:23 AM CEST 
//


package org.rutebanken.netex.model;

import java.math.BigDecimal;
import java.time.OffsetDateTime;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for SalesTransaction_VersionStructure complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="SalesTransaction_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}PassengerContractEntry_VersionStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}SalesTransactionGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SalesTransaction_VersionStructure", propOrder = { "amount", "priceUnitRef", "paymentMethod", "cardNumber", "customerPurchasePackageRef", "travelDocumentRef", "collectionPointRef", "collectionNote" }) @XmlSeeAlso({ SalesTransaction.class }) public class SalesTransaction_VersionStructure extends PassengerContractEntry_VersionStructure { @XmlElement(name = "Amount") protected BigDecimal amount; @XmlElement(name = "PriceUnitRef") protected PriceUnitRefStructure priceUnitRef; @XmlElement(name = "PaymentMethod") @XmlSchemaType(name = "normalizedString") protected PaymentMethodEnumeration paymentMethod; @XmlElement(name = "CardNumber") protected PrivateCodeStructure cardNumber; @XmlElement(name = "CustomerPurchasePackageRef") protected CustomerPurchasePackageRefStructure customerPurchasePackageRef; @XmlElement(name = "TravelDocumentRef") protected TravelDocumentRefStructure travelDocumentRef; @XmlElement(name = "CollectionPointRef") protected Point_VersionStructure collectionPointRef; @XmlElement(name = "CollectionNote") protected MultilingualString collectionNote; /** * Gets the value of the amount property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getAmount() { return amount; } /** * Sets the value of the amount property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setAmount(BigDecimal value) { this.amount = value; } /** * Gets the value of the priceUnitRef property. * * @return * possible object is * {@link PriceUnitRefStructure } * */ public PriceUnitRefStructure getPriceUnitRef() { return priceUnitRef; } /** * Sets the value of the priceUnitRef property. * * @param value * allowed object is * {@link PriceUnitRefStructure } * */ public void setPriceUnitRef(PriceUnitRefStructure value) { this.priceUnitRef = value; } /** * Gets the value of the paymentMethod property. * * @return * possible object is * {@link PaymentMethodEnumeration } * */ public PaymentMethodEnumeration getPaymentMethod() { return paymentMethod; } /** * Sets the value of the paymentMethod property. * * @param value * allowed object is * {@link PaymentMethodEnumeration } * */ public void setPaymentMethod(PaymentMethodEnumeration value) { this.paymentMethod = value; } /** * Gets the value of the cardNumber property. * * @return * possible object is * {@link PrivateCodeStructure } * */ public PrivateCodeStructure getCardNumber() { return cardNumber; } /** * Sets the value of the cardNumber property. * * @param value * allowed object is * {@link PrivateCodeStructure } * */ public void setCardNumber(PrivateCodeStructure value) { this.cardNumber = value; } /** * Gets the value of the customerPurchasePackageRef property. * * @return * possible object is * {@link CustomerPurchasePackageRefStructure } * */ public CustomerPurchasePackageRefStructure getCustomerPurchasePackageRef() { return customerPurchasePackageRef; } /** * Sets the value of the customerPurchasePackageRef property. * * @param value * allowed object is * {@link CustomerPurchasePackageRefStructure } * */ public void setCustomerPurchasePackageRef(CustomerPurchasePackageRefStructure value) { this.customerPurchasePackageRef = value; } /** * Gets the value of the travelDocumentRef property. * * @return * possible object is * {@link TravelDocumentRefStructure } * */ public TravelDocumentRefStructure getTravelDocumentRef() { return travelDocumentRef; } /** * Sets the value of the travelDocumentRef property. * * @param value * allowed object is * {@link TravelDocumentRefStructure } * */ public void setTravelDocumentRef(TravelDocumentRefStructure value) { this.travelDocumentRef = value; } /** * Gets the value of the collectionPointRef property. * * @return * possible object is * {@link Point_VersionStructure } * */ public Point_VersionStructure getCollectionPointRef() { return collectionPointRef; } /** * Sets the value of the collectionPointRef property. * * @param value * allowed object is * {@link Point_VersionStructure } * */ public void setCollectionPointRef(Point_VersionStructure value) { this.collectionPointRef = value; } /** * Gets the value of the collectionNote property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getCollectionNote() { return collectionNote; } /** * Sets the value of the collectionNote property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setCollectionNote(MultilingualString value) { this.collectionNote = value; } public SalesTransaction_VersionStructure withAmount(BigDecimal value) { setAmount(value); return this; } public SalesTransaction_VersionStructure withPriceUnitRef(PriceUnitRefStructure value) { setPriceUnitRef(value); return this; } public SalesTransaction_VersionStructure withPaymentMethod(PaymentMethodEnumeration value) { setPaymentMethod(value); return this; } public SalesTransaction_VersionStructure withCardNumber(PrivateCodeStructure value) { setCardNumber(value); return this; } public SalesTransaction_VersionStructure withCustomerPurchasePackageRef(CustomerPurchasePackageRefStructure value) { setCustomerPurchasePackageRef(value); return this; } public SalesTransaction_VersionStructure withTravelDocumentRef(TravelDocumentRefStructure value) { setTravelDocumentRef(value); return this; } public SalesTransaction_VersionStructure withCollectionPointRef(Point_VersionStructure value) { setCollectionPointRef(value); return this; } public SalesTransaction_VersionStructure withCollectionNote(MultilingualString value) { setCollectionNote(value); return this; } @Override public SalesTransaction_VersionStructure withIsValid(Boolean value) { setIsValid(value); return this; } @Override public SalesTransaction_VersionStructure withTypeOfPassengerContractEntryRef(TypeOfPassengerContractEntryRefStructure value) { setTypeOfPassengerContractEntryRef(value); return this; } @Override public SalesTransaction_VersionStructure withPassengerContractRef(PassengerContractRefStructure value) { setPassengerContractRef(value); return this; } @Override public SalesTransaction_VersionStructure withName(MultilingualString value) { setName(value); return this; } @Override public SalesTransaction_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } @Override public SalesTransaction_VersionStructure withDate(OffsetDateTime value) { setDate(value); return this; } @Override public SalesTransaction_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public SalesTransaction_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public SalesTransaction_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public SalesTransaction_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public SalesTransaction_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public SalesTransaction_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public SalesTransaction_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public SalesTransaction_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public SalesTransaction_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public SalesTransaction_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public SalesTransaction_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public SalesTransaction_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public SalesTransaction_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public SalesTransaction_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public SalesTransaction_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public SalesTransaction_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public SalesTransaction_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public SalesTransaction_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public SalesTransaction_VersionStructure withId(String value) { setId(value); return this; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy