oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.PaymentMeansType Maven / Gradle / Ivy
package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Nonnegative;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import com.phloc.commons.annotations.ReturnsMutableObject;
import com.phloc.commons.equals.EqualsUtils;
import com.phloc.commons.hash.HashCodeGenerator;
import com.phloc.commons.string.ToStringGenerator;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InstructionIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InstructionNoteType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PaymentChannelCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PaymentDueDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PaymentIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PaymentMeansCodeType;
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Means. Details</ccts:DictionaryEntryName><ccts:Definition>Information about Payment Means.</ccts:Definition><ccts:ObjectClass>Payment Means</ccts:ObjectClass></ccts:Component>
*
*
*
* Java class for PaymentMeansType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PaymentMeansType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PaymentMeansCode"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PaymentDueDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PaymentChannelCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}InstructionID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}InstructionNote" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PaymentID" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}CardAccount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PayerFinancialAccount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PayeeFinancialAccount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}CreditAccount" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentMeansType", propOrder = {
"id",
"paymentMeansCode",
"paymentDueDate",
"paymentChannelCode",
"instructionID",
"instructionNote",
"paymentID",
"cardAccount",
"payerFinancialAccount",
"payeeFinancialAccount",
"creditAccount"
})
public class PaymentMeansType implements Serializable
{
@XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private IDType id;
@XmlElement(name = "PaymentMeansCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
private PaymentMeansCodeType paymentMeansCode;
@XmlElement(name = "PaymentDueDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private PaymentDueDateType paymentDueDate;
@XmlElement(name = "PaymentChannelCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private PaymentChannelCodeType paymentChannelCode;
@XmlElement(name = "InstructionID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private InstructionIDType instructionID;
@XmlElement(name = "InstructionNote", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private List instructionNote;
@XmlElement(name = "PaymentID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private List paymentID;
@XmlElement(name = "CardAccount")
private CardAccountType cardAccount;
@XmlElement(name = "PayerFinancialAccount")
private FinancialAccountType payerFinancialAccount;
@XmlElement(name = "PayeeFinancialAccount")
private FinancialAccountType payeeFinancialAccount;
@XmlElement(name = "CreditAccount")
private CreditAccountType creditAccount;
/**
* Default constructor
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
*/
public PaymentMeansType() {
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Means. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the Payment Means.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Means</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link IDType }
*
*/
@Nullable
public IDType getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link IDType }
*
*/
public void setID(
@Nullable
IDType value) {
this.id = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Means. Payment Means Code. Code</ccts:DictionaryEntryName><ccts:Definition>The Payment Means expressed as a code</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Payment Means</ccts:ObjectClass><ccts:PropertyTerm>Payment Means Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Payment Means_ Code. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link PaymentMeansCodeType }
*
*/
@Nullable
public PaymentMeansCodeType getPaymentMeansCode() {
return paymentMeansCode;
}
/**
* Sets the value of the paymentMeansCode property.
*
* @param value
* allowed object is
* {@link PaymentMeansCodeType }
*
*/
public void setPaymentMeansCode(
@Nullable
PaymentMeansCodeType value) {
this.paymentMeansCode = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Means. Payment Due Date. Date</ccts:DictionaryEntryName><ccts:Definition>The date on which payment is due for the Payment Means.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Means</ccts:ObjectClass><ccts:PropertyTerm>Payment Due Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link PaymentDueDateType }
*
*/
@Nullable
public PaymentDueDateType getPaymentDueDate() {
return paymentDueDate;
}
/**
* Sets the value of the paymentDueDate property.
*
* @param value
* allowed object is
* {@link PaymentDueDateType }
*
*/
public void setPaymentDueDate(
@Nullable
PaymentDueDateType value) {
this.paymentDueDate = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Means. Payment Channel Code. Code</ccts:DictionaryEntryName><ccts:Definition>The Payment Channel, expressed as a code.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Means</ccts:ObjectClass><ccts:PropertyTerm>Payment Channel Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link PaymentChannelCodeType }
*
*/
@Nullable
public PaymentChannelCodeType getPaymentChannelCode() {
return paymentChannelCode;
}
/**
* Sets the value of the paymentChannelCode property.
*
* @param value
* allowed object is
* {@link PaymentChannelCodeType }
*
*/
public void setPaymentChannelCode(
@Nullable
PaymentChannelCodeType value) {
this.paymentChannelCode = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Means. Instruction Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the Payment Instruction.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Means</ccts:ObjectClass><ccts:PropertyTerm>Instruction Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link InstructionIDType }
*
*/
@Nullable
public InstructionIDType getInstructionID() {
return instructionID;
}
/**
* Sets the value of the instructionID property.
*
* @param value
* allowed object is
* {@link InstructionIDType }
*
*/
public void setInstructionID(
@Nullable
InstructionIDType value) {
this.instructionID = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Means. Instruction_ Note. Text</ccts:DictionaryEntryName><ccts:Definition>Free-form text applying to the Payment.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Payment Means</ccts:ObjectClass><ccts:PropertyTermQualifier>Instruction</ccts:PropertyTermQualifier><ccts:PropertyTerm>Note</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
*
* Gets the value of the instructionNote 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 instructionNote property.
*
*
* For example, to add a new item, do as follows:
*
* getInstructionNote().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InstructionNoteType }
*
*
*/
@Nonnull
@ReturnsMutableObject(reason = "JAXB implementation style")
public List getInstructionNote() {
if (instructionNote == null) {
instructionNote = new ArrayList();
}
return this.instructionNote;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Means. Payment Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the Payment(s).</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Payment Means</ccts:ObjectClass><ccts:PropertyTerm>Payment Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
*
* Gets the value of the paymentID 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 paymentID property.
*
*
* For example, to add a new item, do as follows:
*
* getPaymentID().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentIDType }
*
*
*/
@Nonnull
@ReturnsMutableObject(reason = "JAXB implementation style")
public List getPaymentID() {
if (paymentID == null) {
paymentID = new ArrayList();
}
return this.paymentID;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Means. Card Account</ccts:DictionaryEntryName><ccts:Definition>An association to Card Account.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Means</ccts:ObjectClass><ccts:PropertyTerm>Card Account</ccts:PropertyTerm><ccts:AssociatedObjectClass>Card Account</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link CardAccountType }
*
*/
@Nullable
public CardAccountType getCardAccount() {
return cardAccount;
}
/**
* Sets the value of the cardAccount property.
*
* @param value
* allowed object is
* {@link CardAccountType }
*
*/
public void setCardAccount(
@Nullable
CardAccountType value) {
this.cardAccount = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Means. Payer_ Financial Account. Financial Account</ccts:DictionaryEntryName><ccts:Definition>An association to the payer's Financial Account.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Means</ccts:ObjectClass><ccts:PropertyTermQualifier>Payer</ccts:PropertyTermQualifier><ccts:PropertyTerm>Financial Account</ccts:PropertyTerm><ccts:AssociatedObjectClass>Financial Account</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link FinancialAccountType }
*
*/
@Nullable
public FinancialAccountType getPayerFinancialAccount() {
return payerFinancialAccount;
}
/**
* Sets the value of the payerFinancialAccount property.
*
* @param value
* allowed object is
* {@link FinancialAccountType }
*
*/
public void setPayerFinancialAccount(
@Nullable
FinancialAccountType value) {
this.payerFinancialAccount = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Means. Payee_ Financial Account. Financial Account</ccts:DictionaryEntryName><ccts:Definition>An association to the payee's Financial Account.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Means</ccts:ObjectClass><ccts:PropertyTermQualifier>Payee</ccts:PropertyTermQualifier><ccts:PropertyTerm>Financial Account</ccts:PropertyTerm><ccts:AssociatedObjectClass>Financial Account</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link FinancialAccountType }
*
*/
@Nullable
public FinancialAccountType getPayeeFinancialAccount() {
return payeeFinancialAccount;
}
/**
* Sets the value of the payeeFinancialAccount property.
*
* @param value
* allowed object is
* {@link FinancialAccountType }
*
*/
public void setPayeeFinancialAccount(
@Nullable
FinancialAccountType value) {
this.payeeFinancialAccount = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Payment Means. Credit Account</ccts:DictionaryEntryName><ccts:Definition>An association to Credit Account.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Payment Means</ccts:ObjectClass><ccts:PropertyTerm>Credit Account</ccts:PropertyTerm><ccts:AssociatedObjectClass>Credit Account</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link CreditAccountType }
*
*/
@Nullable
public CreditAccountType getCreditAccount() {
return creditAccount;
}
/**
* Sets the value of the creditAccount property.
*
* @param value
* allowed object is
* {@link CreditAccountType }
*
*/
public void setCreditAccount(
@Nullable
CreditAccountType value) {
this.creditAccount = value;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-equalshashcode
*
*/
@Override
public boolean equals(final Object o) {
if (o == this) {
return true;
}
if ((o == null)||(!getClass().equals(o.getClass()))) {
return false;
}
final PaymentMeansType rhs = ((PaymentMeansType) o);
if (!EqualsUtils.equals(id, rhs.id)) {
return false;
}
if (!EqualsUtils.equals(paymentMeansCode, rhs.paymentMeansCode)) {
return false;
}
if (!EqualsUtils.equals(paymentDueDate, rhs.paymentDueDate)) {
return false;
}
if (!EqualsUtils.equals(paymentChannelCode, rhs.paymentChannelCode)) {
return false;
}
if (!EqualsUtils.equals(instructionID, rhs.instructionID)) {
return false;
}
if (!EqualsUtils.equals(instructionNote, rhs.instructionNote)) {
return false;
}
if (!EqualsUtils.equals(paymentID, rhs.paymentID)) {
return false;
}
if (!EqualsUtils.equals(cardAccount, rhs.cardAccount)) {
return false;
}
if (!EqualsUtils.equals(payerFinancialAccount, rhs.payerFinancialAccount)) {
return false;
}
if (!EqualsUtils.equals(payeeFinancialAccount, rhs.payeeFinancialAccount)) {
return false;
}
if (!EqualsUtils.equals(creditAccount, rhs.creditAccount)) {
return false;
}
return true;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-equalshashcode
*
*/
@Override
public int hashCode() {
return new HashCodeGenerator(this).append(id).append(paymentMeansCode).append(paymentDueDate).append(paymentChannelCode).append(instructionID).append(instructionNote).append(paymentID).append(cardAccount).append(payerFinancialAccount).append(payeeFinancialAccount).append(creditAccount).getHashCode();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-tostring
*
*/
@Override
public String toString() {
return new ToStringGenerator(this).append("id", id).append("paymentMeansCode", paymentMeansCode).append("paymentDueDate", paymentDueDate).append("paymentChannelCode", paymentChannelCode).append("instructionID", instructionID).append("instructionNote", instructionNote).append("paymentID", paymentID).append("cardAccount", cardAccount).append("payerFinancialAccount", payerFinancialAccount).append("payeeFinancialAccount", payeeFinancialAccount).append("creditAccount", creditAccount).toString();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param aList
* The new list member to set. May be null
.
*/
public void setInstructionNote(
@Nullable
final List aList) {
instructionNote = aList;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param aList
* The new list member to set. May be null
.
*/
public void setPaymentID(
@Nullable
final List aList) {
paymentID = aList;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if at least one item is contained, false
otherwise.
*/
public boolean hasInstructionNoteEntries() {
return (!getInstructionNote().isEmpty());
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if no item is contained, false
otherwise.
*/
public boolean hasNoInstructionNoteEntries() {
return getInstructionNote().isEmpty();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* The number of contained elements. Always ≥ 0.
*/
@Nonnegative
public int getInstructionNoteCount() {
return getInstructionNote().size();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param index
* The index to retrieve
* @return
* The element at the specified index. May be null
* @throws ArrayIndexOutOfBoundsException
* if the index is invalid!
*/
@Nullable
public InstructionNoteType getInstructionNoteAtIndex(
@Nonnegative
final int index) {
return getInstructionNote().get(index);
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if at least one item is contained, false
otherwise.
*/
public boolean hasPaymentIDEntries() {
return (!getPaymentID().isEmpty());
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if no item is contained, false
otherwise.
*/
public boolean hasNoPaymentIDEntries() {
return getPaymentID().isEmpty();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* The number of contained elements. Always ≥ 0.
*/
@Nonnegative
public int getPaymentIDCount() {
return getPaymentID().size();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param index
* The index to retrieve
* @return
* The element at the specified index. May be null
* @throws ArrayIndexOutOfBoundsException
* if the index is invalid!
*/
@Nullable
public PaymentIDType getPaymentIDAtIndex(
@Nonnegative
final int index) {
return getPaymentID().get(index);
}
/**
* Special setter with value of type XMLGregorianCalendar
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type PaymentDueDateType and never null
*/
@Nonnull
public PaymentDueDateType setPaymentDueDate(
@Nullable
final XMLGregorianCalendar valueParam) {
PaymentDueDateType aObj = getPaymentDueDate();
if (aObj == null) {
aObj = new PaymentDueDateType(valueParam);
setPaymentDueDate(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type String
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type IDType and never null
*/
@Nonnull
public IDType setID(
@Nullable
final String valueParam) {
IDType aObj = getID();
if (aObj == null) {
aObj = new IDType(valueParam);
setID(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type String
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type InstructionIDType and never null
*/
@Nonnull
public InstructionIDType setInstructionID(
@Nullable
final String valueParam) {
InstructionIDType aObj = getInstructionID();
if (aObj == null) {
aObj = new InstructionIDType(valueParam);
setInstructionID(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type String
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type PaymentMeansCodeType and never null
*/
@Nonnull
public PaymentMeansCodeType setPaymentMeansCode(
@Nullable
final String valueParam) {
PaymentMeansCodeType aObj = getPaymentMeansCode();
if (aObj == null) {
aObj = new PaymentMeansCodeType(valueParam);
setPaymentMeansCode(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type String
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type PaymentChannelCodeType and never null
*/
@Nonnull
public PaymentChannelCodeType setPaymentChannelCode(
@Nullable
final String valueParam) {
PaymentChannelCodeType aObj = getPaymentChannelCode();
if (aObj == null) {
aObj = new PaymentChannelCodeType(valueParam);
setPaymentChannelCode(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Get the value of the contained IDType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained IDType object or null
*/
@Nullable
public String getIDValue() {
IDType aObj = getID();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained PaymentMeansCodeType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained PaymentMeansCodeType object or null
*/
@Nullable
public String getPaymentMeansCodeValue() {
PaymentMeansCodeType aObj = getPaymentMeansCode();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained PaymentDueDateType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained PaymentDueDateType object or null
*/
@Nullable
public XMLGregorianCalendar getPaymentDueDateValue() {
PaymentDueDateType aObj = getPaymentDueDate();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained PaymentChannelCodeType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained PaymentChannelCodeType object or null
*/
@Nullable
public String getPaymentChannelCodeValue() {
PaymentChannelCodeType aObj = getPaymentChannelCode();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained InstructionIDType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained InstructionIDType object or null
*/
@Nullable
public String getInstructionIDValue() {
InstructionIDType aObj = getInstructionID();
return ((aObj == null)?null:aObj.getValue());
}
}