Class Payment

  • All Implemented Interfaces:
    java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    @Generated(value="com.sun.tools.xjc.Driver",
               date="2020-04-08T08:04:58+00:00",
               comments="JAXB RI v2.3.2")
    public class Payment
    extends BaseElement
    implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    Java class for Payment complex type.

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

     <complexType name="Payment">
       <complexContent>
         <extension base="{http://www.printtalk.org/schema_20}BaseElement">
           <sequence>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}Comment" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}Contact" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}GeneralID" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="Authorization" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="AuthorizationExpires" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
           <attribute name="Expires" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
           <attribute name="IsPaid" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="PaymentType" use="required">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <enumeration value="BankTransfer"/>
                 <enumeration value="Contract"/>
                 <enumeration value="CreditCard"/>
                 <enumeration value="DebitCard"/>
                 <enumeration value="DigitalCurrency"/>
                 <enumeration value="Invoice"/>
                 <enumeration value="Other"/>
                 <enumeration value="PaymentProvider"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="PaymentTypeDetails" type="{http://www.w3.org/2001/XMLSchema}string" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String authorization  
      protected org.cip4.lib.xjdf.type.DateTime authorizationExpires  
      protected org.cip4.lib.xjdf.schema.Comment comment  
      protected org.cip4.lib.xjdf.schema.Contact contact  
      protected org.cip4.lib.xjdf.type.DateTime expires  
      protected java.util.List<org.cip4.lib.xjdf.schema.GeneralID> generalID  
      protected java.lang.Boolean isPaid  
      protected java.lang.String paymentType  
      protected java.lang.String paymentTypeDetails  
    • Constructor Summary

      Constructors 
      Constructor Description
      Payment()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)  
      java.lang.String getAuthorization()
      Gets the value of the authorization property.
      org.cip4.lib.xjdf.type.DateTime getAuthorizationExpires()
      Gets the value of the authorizationExpires property.
      org.cip4.lib.xjdf.schema.Comment getComment()
      Gets the value of the comment property.
      org.cip4.lib.xjdf.schema.Contact getContact()
      Gets the value of the contact property.
      org.cip4.lib.xjdf.type.DateTime getExpires()
      Gets the value of the expires property.
      java.util.List<org.cip4.lib.xjdf.schema.GeneralID> getGeneralID()
      Gets the value of the generalID property.
      java.lang.String getPaymentType()
      Gets the value of the paymentType property.
      java.lang.String getPaymentTypeDetails()
      Gets the value of the paymentTypeDetails property.
      int hashCode()  
      int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)  
      java.lang.Boolean isIsPaid()
      Gets the value of the isPaid property.
      void setAuthorization​(java.lang.String value)
      Sets the value of the authorization property.
      void setAuthorizationExpires​(org.cip4.lib.xjdf.type.DateTime value)
      Sets the value of the authorizationExpires property.
      void setComment​(org.cip4.lib.xjdf.schema.Comment value)
      Sets the value of the comment property.
      void setContact​(org.cip4.lib.xjdf.schema.Contact value)
      Sets the value of the contact property.
      void setExpires​(org.cip4.lib.xjdf.type.DateTime value)
      Sets the value of the expires property.
      void setIsPaid​(java.lang.Boolean value)
      Sets the value of the isPaid property.
      void setPaymentType​(java.lang.String value)
      Sets the value of the paymentType property.
      void setPaymentTypeDetails​(java.lang.String value)
      Sets the value of the paymentTypeDetails property.
      Payment withAuthorization​(java.lang.String value)  
      Payment withAuthorizationExpires​(org.cip4.lib.xjdf.type.DateTime value)  
      Payment withComment​(org.cip4.lib.xjdf.schema.Comment value)  
      Payment withContact​(org.cip4.lib.xjdf.schema.Contact value)  
      Payment withExpires​(org.cip4.lib.xjdf.type.DateTime value)  
      Payment withGeneralID​(java.util.Collection<org.cip4.lib.xjdf.schema.GeneralID> values)  
      Payment withGeneralID​(org.cip4.lib.xjdf.schema.GeneralID... values)  
      Payment withIsPaid​(java.lang.Boolean value)  
      Payment withPaymentType​(java.lang.String value)  
      Payment withPaymentTypeDetails​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • comment

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected org.cip4.lib.xjdf.schema.Comment comment
      • contact

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected org.cip4.lib.xjdf.schema.Contact contact
      • generalID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.util.List<org.cip4.lib.xjdf.schema.GeneralID> generalID
      • authorization

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.String authorization
      • authorizationExpires

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected org.cip4.lib.xjdf.type.DateTime authorizationExpires
      • expires

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected org.cip4.lib.xjdf.type.DateTime expires
      • isPaid

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.Boolean isPaid
      • paymentType

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.String paymentType
      • paymentTypeDetails

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.String paymentTypeDetails
    • Constructor Detail

      • Payment

        public Payment()
    • Method Detail

      • getComment

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public org.cip4.lib.xjdf.schema.Comment getComment()
        Gets the value of the comment property.
        Returns:
        possible object is Comment
      • setComment

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setComment​(org.cip4.lib.xjdf.schema.Comment value)
        Sets the value of the comment property.
        Parameters:
        value - allowed object is Comment
      • getContact

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public org.cip4.lib.xjdf.schema.Contact getContact()
        Gets the value of the contact property.
        Returns:
        possible object is Contact
      • setContact

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setContact​(org.cip4.lib.xjdf.schema.Contact value)
        Sets the value of the contact property.
        Parameters:
        value - allowed object is Contact
      • getGeneralID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.util.List<org.cip4.lib.xjdf.schema.GeneralID> getGeneralID()
        Gets the value of the generalID property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the generalID property.

        For example, to add a new item, do as follows:

            getGeneralID().add(newItem);
         

        Objects of the following type(s) are allowed in the list GeneralID

      • getAuthorization

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.String getAuthorization()
        Gets the value of the authorization property.
        Returns:
        possible object is String
      • setAuthorization

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setAuthorization​(java.lang.String value)
        Sets the value of the authorization property.
        Parameters:
        value - allowed object is String
      • getAuthorizationExpires

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public org.cip4.lib.xjdf.type.DateTime getAuthorizationExpires()
        Gets the value of the authorizationExpires property.
        Returns:
        possible object is String
      • setAuthorizationExpires

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setAuthorizationExpires​(org.cip4.lib.xjdf.type.DateTime value)
        Sets the value of the authorizationExpires property.
        Parameters:
        value - allowed object is String
      • getExpires

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public org.cip4.lib.xjdf.type.DateTime getExpires()
        Gets the value of the expires property.
        Returns:
        possible object is String
      • setExpires

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setExpires​(org.cip4.lib.xjdf.type.DateTime value)
        Sets the value of the expires property.
        Parameters:
        value - allowed object is String
      • isIsPaid

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.Boolean isIsPaid()
        Gets the value of the isPaid property.
        Returns:
        possible object is Boolean
      • setIsPaid

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setIsPaid​(java.lang.Boolean value)
        Sets the value of the isPaid property.
        Parameters:
        value - allowed object is Boolean
      • getPaymentType

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.String getPaymentType()
        Gets the value of the paymentType property.
        Returns:
        possible object is String
      • setPaymentType

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setPaymentType​(java.lang.String value)
        Sets the value of the paymentType property.
        Parameters:
        value - allowed object is String
      • getPaymentTypeDetails

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.String getPaymentTypeDetails()
        Gets the value of the paymentTypeDetails property.
        Returns:
        possible object is String
      • setPaymentTypeDetails

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setPaymentTypeDetails​(java.lang.String value)
        Sets the value of the paymentTypeDetails property.
        Parameters:
        value - allowed object is String
      • withComment

        public Payment withComment​(org.cip4.lib.xjdf.schema.Comment value)
      • withContact

        public Payment withContact​(org.cip4.lib.xjdf.schema.Contact value)
      • withGeneralID

        public Payment withGeneralID​(org.cip4.lib.xjdf.schema.GeneralID... values)
      • withGeneralID

        public Payment withGeneralID​(java.util.Collection<org.cip4.lib.xjdf.schema.GeneralID> values)
      • withAuthorization

        public Payment withAuthorization​(java.lang.String value)
      • withAuthorizationExpires

        public Payment withAuthorizationExpires​(org.cip4.lib.xjdf.type.DateTime value)
      • withExpires

        public Payment withExpires​(org.cip4.lib.xjdf.type.DateTime value)
      • withIsPaid

        public Payment withIsPaid​(java.lang.Boolean value)
      • withPaymentType

        public Payment withPaymentType​(java.lang.String value)
      • withPaymentTypeDetails

        public Payment withPaymentTypeDetails​(java.lang.String value)
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class BaseElement
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class BaseElement
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
        Overrides:
        hashCode in class BaseElement