From a0ede0846719f3eaf8787e7b7f8dc24a697734d4 Mon Sep 17 00:00:00 2001 From: Peter Spiess-Knafl Date: Tue, 21 May 2019 12:27:56 +0200 Subject: [PATCH] Update schemas to V2 --- .../client/model/callback/CallbackType.java | 13 +- .../model/callback/ChargebackDataType.java | 2 +- .../callback/ChargebackReversalDataType.java | 255 ++++++ .../model/callback/CreditcardDataType.java | 230 ++++- .../model/callback/CustomerDataType.java | 814 ++++++++++++++++++ .../callback/CustomerProfileDataType.java | 114 +++ .../client/model/callback/ErrorType.java | 2 +- .../client/model/callback/ErrorsType.java | 2 +- .../client/model/callback/ExtraDataType.java | 2 +- .../client/model/callback/FeesType.java | 2 +- .../client/model/callback/GenderType.java | 45 + .../client/model/callback/IbanDataType.java | 195 +++++ .../client/model/callback/ObjectFactory.java | 42 +- .../model/callback/OriginalCallbackType.java | 202 ++++- .../client/model/callback/PhoneDataType.java | 2 +- .../client/model/callback/ResultType.java | 2 +- .../client/model/callback/ReturnDataType.java | 62 +- .../model/callback/ReturnDataTypeEnum.java | 10 +- .../model/callback/ScheduleStatusType.java | 63 ++ .../model/callback/ThreeDSecureType.java | 47 + .../model/callback/TransactionMethodType.java | 38 +- .../client/model/callback/WalletDataType.java | 139 +++ .../client/model/callback/package-info.java | 2 +- .../client/model/options/ObjectFactory.java | 2 +- .../client/model/options/OptionsType.java | 2 +- .../client/model/options/ParameterType.java | 2 +- .../client/model/options/RequestType.java | 2 +- .../client/model/options/ResponseType.java | 2 +- .../client/model/options/package-info.java | 2 +- .../model/result/CreditcardDataType.java | 2 +- .../model/result/CustomerProfileDataType.java | 114 +++ .../ixopay/client/model/result/ErrorType.java | 2 +- .../client/model/result/ErrorsType.java | 2 +- .../client/model/result/ExtraDataType.java | 2 +- .../client/model/result/IbanDataType.java | 195 +++++ .../client/model/result/ObjectFactory.java | 50 +- .../client/model/result/PhoneDataType.java | 139 +++ .../client/model/result/ResultType.java | 172 +++- .../client/model/result/ReturnDataType.java | 62 +- .../model/result/ReturnDataTypeEnum.java | 2 +- .../client/model/result/ReturnType.java | 2 +- .../client/model/result/ReturnTypeValues.java | 2 +- .../model/result/RiskCheckDataType.java | 142 +++ .../model/result/RiskCheckResultType.java | 47 + .../model/result/ScheduleStatusType.java | 63 ++ .../result/ThreeDSecureRequiredType.java | 47 + .../client/model/result/package-info.java | 2 +- .../model/schedule/CancelScheduleType.java | 85 ++ .../model/schedule/ContinueScheduleType.java | 114 +++ .../client/model/schedule/ErrorType.java | 117 +++ .../client/model/schedule/ErrorsType.java | 90 ++ .../client/model/schedule/ObjectFactory.java | 134 +++ .../model/schedule/PauseScheduleType.java | 85 ++ .../client/model/schedule/PeriodUnitType.java | 49 ++ .../model/schedule/ScheduleRequestType.java | 258 ++++++ .../model/schedule/ScheduleResultType.java | 245 ++++++ .../model/schedule/ScheduleStatusType.java | 63 ++ .../model/schedule/ShowScheduleType.java | 85 ++ .../model/schedule/StartScheduleType.java | 224 +++++ .../client/model/schedule/package-info.java | 9 + .../model/status/ChargebackDataType.java | 227 +++++ .../status/ChargebackReversalDataType.java | 255 ++++++ .../model/status/CreditcardDataType.java | 502 +++++++++++ .../client/model/status/CustomerDataType.java | 814 ++++++++++++++++++ .../ixopay/client/model/status/ErrorType.java | 170 ++++ .../client/model/status/ErrorsType.java | 90 ++ .../client/model/status/ExtraDataType.java | 111 +++ .../client/model/status/GenderType.java | 45 + .../client/model/status/IbanDataType.java | 195 +++++ .../client/model/status/ObjectFactory.java | 158 ++++ .../client/model/status/PhoneDataType.java | 139 +++ .../client/model/status/ReturnDataType.java | 168 ++++ .../model/status/ReturnDataTypeEnum.java | 58 ++ .../model/status/ScheduleStatusType.java | 63 ++ .../client/model/status/StatusResultType.java | 561 ++++++++++++ .../client/model/status/StatusType.java | 174 ++++ .../client/model/status/ThreeDSecureType.java | 47 + .../model/status/TransactionMethodType.java | 73 ++ .../model/status/TransactionStatusType.java | 51 ++ .../client/model/status/package-info.java | 9 + .../transaction/AddToCustomerProfileType.java | 141 +++ .../transaction/BaseTransactionType.java | 33 +- .../BaseTransactionWithReferenceType.java | 13 +- .../client/model/transaction/CaptureType.java | 6 +- .../transaction/CardAdditionalDataType.java | 90 ++ .../transaction/CreditCardCustomerType.java | 2 +- .../model/transaction/CustomerType.java | 2 +- .../client/model/transaction/DebitType.java | 92 +- .../model/transaction/DeregisterType.java | 6 +- .../model/transaction/ExtraDataType.java | 2 +- .../client/model/transaction/GenderType.java | 2 +- .../model/transaction/IbanCustomerType.java | 2 +- .../client/model/transaction/ItemType.java | 2 +- .../client/model/transaction/ItemsType.java | 2 +- .../model/transaction/ObjectFactory.java | 86 +- .../client/model/transaction/PayoutType.java | 40 +- .../model/transaction/PeriodUnitType.java | 49 ++ .../model/transaction/PreauthorizeType.java | 92 +- .../client/model/transaction/RefundType.java | 64 +- .../model/transaction/RegisterType.java | 64 +- .../client/model/transaction/RequestType.java | 2 +- .../model/transaction/ScheduleType.java | 194 +++++ .../transaction/TransactionIndicatorType.java | 63 ++ .../model/transaction/TransactionType.java | 34 +- .../client/model/transaction/VoidType.java | 6 +- .../model/transaction/package-info.java | 2 +- src/main/resources/bindings/ixopay.xjb | 40 + ...eway.ixopay.com-Schema-V2-Schedule.episode | 205 +++++ ...xopay.com-Schema-V2-ScheduleResult.episode | 334 +++++++ ...y.ixopay.com-Schema-V2-Transaction.episode | 152 ++-- src/main/resources/schemas/callback.xsd | 114 ++- src/main/resources/schemas/result.xsd | 66 ++ src/main/resources/schemas/schedule.xsd | 78 ++ src/main/resources/schemas/scheduleResult.xsd | 48 ++ src/main/resources/schemas/status.xsd | 27 + src/main/resources/schemas/statusResult.xsd | 249 ++++++ src/main/resources/schemas/transaction.xsd | 71 +- 117 files changed, 11069 insertions(+), 218 deletions(-) create mode 100644 src/main/java/com/ixopay/client/model/callback/ChargebackReversalDataType.java create mode 100644 src/main/java/com/ixopay/client/model/callback/CustomerDataType.java create mode 100644 src/main/java/com/ixopay/client/model/callback/CustomerProfileDataType.java create mode 100644 src/main/java/com/ixopay/client/model/callback/GenderType.java create mode 100644 src/main/java/com/ixopay/client/model/callback/IbanDataType.java create mode 100644 src/main/java/com/ixopay/client/model/callback/ScheduleStatusType.java create mode 100644 src/main/java/com/ixopay/client/model/callback/ThreeDSecureType.java create mode 100644 src/main/java/com/ixopay/client/model/callback/WalletDataType.java create mode 100644 src/main/java/com/ixopay/client/model/result/CustomerProfileDataType.java create mode 100644 src/main/java/com/ixopay/client/model/result/IbanDataType.java create mode 100644 src/main/java/com/ixopay/client/model/result/PhoneDataType.java create mode 100644 src/main/java/com/ixopay/client/model/result/RiskCheckDataType.java create mode 100644 src/main/java/com/ixopay/client/model/result/RiskCheckResultType.java create mode 100644 src/main/java/com/ixopay/client/model/result/ScheduleStatusType.java create mode 100644 src/main/java/com/ixopay/client/model/result/ThreeDSecureRequiredType.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/CancelScheduleType.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/ContinueScheduleType.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/ErrorType.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/ErrorsType.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/ObjectFactory.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/PauseScheduleType.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/PeriodUnitType.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/ScheduleRequestType.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/ScheduleResultType.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/ScheduleStatusType.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/ShowScheduleType.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/StartScheduleType.java create mode 100644 src/main/java/com/ixopay/client/model/schedule/package-info.java create mode 100644 src/main/java/com/ixopay/client/model/status/ChargebackDataType.java create mode 100644 src/main/java/com/ixopay/client/model/status/ChargebackReversalDataType.java create mode 100644 src/main/java/com/ixopay/client/model/status/CreditcardDataType.java create mode 100644 src/main/java/com/ixopay/client/model/status/CustomerDataType.java create mode 100644 src/main/java/com/ixopay/client/model/status/ErrorType.java create mode 100644 src/main/java/com/ixopay/client/model/status/ErrorsType.java create mode 100644 src/main/java/com/ixopay/client/model/status/ExtraDataType.java create mode 100644 src/main/java/com/ixopay/client/model/status/GenderType.java create mode 100644 src/main/java/com/ixopay/client/model/status/IbanDataType.java create mode 100644 src/main/java/com/ixopay/client/model/status/ObjectFactory.java create mode 100644 src/main/java/com/ixopay/client/model/status/PhoneDataType.java create mode 100644 src/main/java/com/ixopay/client/model/status/ReturnDataType.java create mode 100644 src/main/java/com/ixopay/client/model/status/ReturnDataTypeEnum.java create mode 100644 src/main/java/com/ixopay/client/model/status/ScheduleStatusType.java create mode 100644 src/main/java/com/ixopay/client/model/status/StatusResultType.java create mode 100644 src/main/java/com/ixopay/client/model/status/StatusType.java create mode 100644 src/main/java/com/ixopay/client/model/status/ThreeDSecureType.java create mode 100644 src/main/java/com/ixopay/client/model/status/TransactionMethodType.java create mode 100644 src/main/java/com/ixopay/client/model/status/TransactionStatusType.java create mode 100644 src/main/java/com/ixopay/client/model/status/package-info.java create mode 100644 src/main/java/com/ixopay/client/model/transaction/AddToCustomerProfileType.java create mode 100644 src/main/java/com/ixopay/client/model/transaction/CardAdditionalDataType.java create mode 100644 src/main/java/com/ixopay/client/model/transaction/PeriodUnitType.java create mode 100644 src/main/java/com/ixopay/client/model/transaction/ScheduleType.java create mode 100644 src/main/java/com/ixopay/client/model/transaction/TransactionIndicatorType.java create mode 100644 src/main/resources/episodes/gateway.ixopay.com-Schema-V2-Schedule.episode create mode 100644 src/main/resources/episodes/gateway.ixopay.com-Schema-V2-ScheduleResult.episode create mode 100644 src/main/resources/schemas/schedule.xsd create mode 100644 src/main/resources/schemas/scheduleResult.xsd create mode 100644 src/main/resources/schemas/status.xsd create mode 100644 src/main/resources/schemas/statusResult.xsd diff --git a/src/main/java/com/ixopay/client/model/callback/CallbackType.java b/src/main/java/com/ixopay/client/model/callback/CallbackType.java index 6de9c16..33121d5 100644 --- a/src/main/java/com/ixopay/client/model/callback/CallbackType.java +++ b/src/main/java/com/ixopay/client/model/callback/CallbackType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -34,12 +34,19 @@ * <element name="transactionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="purchaseId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="transactionType" type="{http://gateway.ixopay.com/Schema/V2/Callback}transactionMethodType" minOccurs="0"/> + * <element name="paymentMethod" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="amount" type="{http://gateway.ixopay.com/Schema/V2/Callback}amountType" minOccurs="0"/> * <element name="currency" type="{http://gateway.ixopay.com/Schema/V2/Callback}currencyType" minOccurs="0"/> + * <element name="scheduleId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="scheduleStatus" type="{http://gateway.ixopay.com/Schema/V2/Callback}scheduleStatusType" minOccurs="0"/> + * <element name="customerProfile" type="{http://gateway.ixopay.com/Schema/V2/Callback}customerProfileDataType" minOccurs="0"/> * <element name="errors" type="{http://gateway.ixopay.com/Schema/V2/Callback}errorsType" minOccurs="0"/> * <element name="chargebackData" type="{http://gateway.ixopay.com/Schema/V2/Callback}chargebackDataType" minOccurs="0"/> + * <element name="chargebackReversalData" type="{http://gateway.ixopay.com/Schema/V2/Callback}chargebackReversalDataType" minOccurs="0"/> * <element name="extraData" type="{http://gateway.ixopay.com/Schema/V2/Callback}extraDataType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="merchantMetaData" type="{http://gateway.ixopay.com/Schema/V2/Callback}merchantMetaDataType" minOccurs="0"/> * <element name="returnData" type="{http://gateway.ixopay.com/Schema/V2/Callback}returnDataType" minOccurs="0"/> + * <element name="customerData" type="{http://gateway.ixopay.com/Schema/V2/Callback}customerDataType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -77,8 +84,8 @@ public CallbackType() { * Fully-initialising value constructor * */ - public CallbackType(final ResultType result, final String referenceId, final String transactionId, final String purchaseId, final TransactionMethodType transactionType, final BigDecimal amount, final String currency, final ErrorsType errors, final ChargebackDataType chargebackData, final List extraData, final ReturnDataType returnData, final FeesType fees) { - super(result, referenceId, transactionId, purchaseId, transactionType, amount, currency, errors, chargebackData, extraData, returnData); + public CallbackType(final ResultType result, final String referenceId, final String transactionId, final String purchaseId, final TransactionMethodType transactionType, final String paymentMethod, final BigDecimal amount, final String currency, final String scheduleId, final ScheduleStatusType scheduleStatus, final CustomerProfileDataType customerProfile, final ErrorsType errors, final ChargebackDataType chargebackData, final ChargebackReversalDataType chargebackReversalData, final List extraData, final String merchantMetaData, final ReturnDataType returnData, final CustomerDataType customerData, final FeesType fees) { + super(result, referenceId, transactionId, purchaseId, transactionType, paymentMethod, amount, currency, scheduleId, scheduleStatus, customerProfile, errors, chargebackData, chargebackReversalData, extraData, merchantMetaData, returnData, customerData); this.fees = fees; } diff --git a/src/main/java/com/ixopay/client/model/callback/ChargebackDataType.java b/src/main/java/com/ixopay/client/model/callback/ChargebackDataType.java index 4f495dc..d9afca4 100644 --- a/src/main/java/com/ixopay/client/model/callback/ChargebackDataType.java +++ b/src/main/java/com/ixopay/client/model/callback/ChargebackDataType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/callback/ChargebackReversalDataType.java b/src/main/java/com/ixopay/client/model/callback/ChargebackReversalDataType.java new file mode 100644 index 0000000..65ad45a --- /dev/null +++ b/src/main/java/com/ixopay/client/model/callback/ChargebackReversalDataType.java @@ -0,0 +1,255 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.callback; + +import java.math.BigDecimal; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + *

Java class for chargebackReversalDataType complex type. + * + *

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

+ * <complexType name="chargebackReversalDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="originalReferenceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="originalTransactionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="chargebackReferenceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="amount" type="{http://gateway.ixopay.com/Schema/V2/Callback}amountType" minOccurs="0"/>
+ *         <element name="currency" type="{http://gateway.ixopay.com/Schema/V2/Callback}currencyType" minOccurs="0"/>
+ *         <element name="reason" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="reversalDateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "chargebackReversalDataType", propOrder = { + "originalReferenceId", + "originalTransactionId", + "chargebackReferenceId", + "amount", + "currency", + "reason", + "reversalDateTime" +}) +public class ChargebackReversalDataType { + + protected String originalReferenceId; + protected String originalTransactionId; + protected String chargebackReferenceId; + protected BigDecimal amount; + protected String currency; + protected String reason; + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar reversalDateTime; + + /** + * Default no-arg constructor + * + */ + public ChargebackReversalDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ChargebackReversalDataType(final String originalReferenceId, final String originalTransactionId, final String chargebackReferenceId, final BigDecimal amount, final String currency, final String reason, final XMLGregorianCalendar reversalDateTime) { + this.originalReferenceId = originalReferenceId; + this.originalTransactionId = originalTransactionId; + this.chargebackReferenceId = chargebackReferenceId; + this.amount = amount; + this.currency = currency; + this.reason = reason; + this.reversalDateTime = reversalDateTime; + } + + /** + * Gets the value of the originalReferenceId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOriginalReferenceId() { + return originalReferenceId; + } + + /** + * Sets the value of the originalReferenceId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOriginalReferenceId(String value) { + this.originalReferenceId = value; + } + + /** + * Gets the value of the originalTransactionId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOriginalTransactionId() { + return originalTransactionId; + } + + /** + * Sets the value of the originalTransactionId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOriginalTransactionId(String value) { + this.originalTransactionId = value; + } + + /** + * Gets the value of the chargebackReferenceId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChargebackReferenceId() { + return chargebackReferenceId; + } + + /** + * Sets the value of the chargebackReferenceId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChargebackReferenceId(String value) { + this.chargebackReferenceId = value; + } + + /** + * 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 currency property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCurrency() { + return currency; + } + + /** + * Sets the value of the currency property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCurrency(String value) { + this.currency = value; + } + + /** + * Gets the value of the reason property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReason() { + return reason; + } + + /** + * Sets the value of the reason property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReason(String value) { + this.reason = value; + } + + /** + * Gets the value of the reversalDateTime property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getReversalDateTime() { + return reversalDateTime; + } + + /** + * Sets the value of the reversalDateTime property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setReversalDateTime(XMLGregorianCalendar value) { + this.reversalDateTime = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/callback/CreditcardDataType.java b/src/main/java/com/ixopay/client/model/callback/CreditcardDataType.java index 1a136c8..f208662 100644 --- a/src/main/java/com/ixopay/client/model/callback/CreditcardDataType.java +++ b/src/main/java/com/ixopay/client/model/callback/CreditcardDataType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -57,6 +57,14 @@ * </restriction> * </simpleType> * </element> + * <element name="fingerprint" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="binBrand" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="binBank" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="binType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="binLevel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="binCountry" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="threeDSecure" type="{http://gateway.ixopay.com/Schema/V2/Callback}threeDSecureType" minOccurs="0"/> + * <element name="eci" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -73,7 +81,15 @@ "expiryMonth", "expiryYear", "firstSixDigits", - "lastFourDigits" + "lastFourDigits", + "fingerprint", + "binBrand", + "binBank", + "binType", + "binLevel", + "binCountry", + "threeDSecure", + "eci" }) public class CreditcardDataType { @@ -84,6 +100,14 @@ public class CreditcardDataType { protected BigInteger expiryYear; protected String firstSixDigits; protected String lastFourDigits; + protected String fingerprint; + protected String binBrand; + protected String binBank; + protected String binType; + protected String binLevel; + protected String binCountry; + protected ThreeDSecureType threeDSecure; + protected String eci; /** * Default no-arg constructor @@ -97,7 +121,7 @@ public CreditcardDataType() { * Fully-initialising value constructor * */ - public CreditcardDataType(final String type, final String country, final String cardHolder, final Integer expiryMonth, final BigInteger expiryYear, final String firstSixDigits, final String lastFourDigits) { + public CreditcardDataType(final String type, final String country, final String cardHolder, final Integer expiryMonth, final BigInteger expiryYear, final String firstSixDigits, final String lastFourDigits, final String fingerprint, final String binBrand, final String binBank, final String binType, final String binLevel, final String binCountry, final ThreeDSecureType threeDSecure, final String eci) { this.type = type; this.country = country; this.cardHolder = cardHolder; @@ -105,6 +129,14 @@ public CreditcardDataType(final String type, final String country, final String this.expiryYear = expiryYear; this.firstSixDigits = firstSixDigits; this.lastFourDigits = lastFourDigits; + this.fingerprint = fingerprint; + this.binBrand = binBrand; + this.binBank = binBank; + this.binType = binType; + this.binLevel = binLevel; + this.binCountry = binCountry; + this.threeDSecure = threeDSecure; + this.eci = eci; } /** @@ -275,4 +307,196 @@ public void setLastFourDigits(String value) { this.lastFourDigits = value; } + /** + * Gets the value of the fingerprint property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFingerprint() { + return fingerprint; + } + + /** + * Sets the value of the fingerprint property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFingerprint(String value) { + this.fingerprint = value; + } + + /** + * Gets the value of the binBrand property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBinBrand() { + return binBrand; + } + + /** + * Sets the value of the binBrand property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBinBrand(String value) { + this.binBrand = value; + } + + /** + * Gets the value of the binBank property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBinBank() { + return binBank; + } + + /** + * Sets the value of the binBank property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBinBank(String value) { + this.binBank = value; + } + + /** + * Gets the value of the binType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBinType() { + return binType; + } + + /** + * Sets the value of the binType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBinType(String value) { + this.binType = value; + } + + /** + * Gets the value of the binLevel property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBinLevel() { + return binLevel; + } + + /** + * Sets the value of the binLevel property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBinLevel(String value) { + this.binLevel = value; + } + + /** + * Gets the value of the binCountry property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBinCountry() { + return binCountry; + } + + /** + * Sets the value of the binCountry property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBinCountry(String value) { + this.binCountry = value; + } + + /** + * Gets the value of the threeDSecure property. + * + * @return + * possible object is + * {@link ThreeDSecureType } + * + */ + public ThreeDSecureType getThreeDSecure() { + return threeDSecure; + } + + /** + * Sets the value of the threeDSecure property. + * + * @param value + * allowed object is + * {@link ThreeDSecureType } + * + */ + public void setThreeDSecure(ThreeDSecureType value) { + this.threeDSecure = value; + } + + /** + * Gets the value of the eci property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEci() { + return eci; + } + + /** + * Sets the value of the eci property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEci(String value) { + this.eci = value; + } + } diff --git a/src/main/java/com/ixopay/client/model/callback/CustomerDataType.java b/src/main/java/com/ixopay/client/model/callback/CustomerDataType.java new file mode 100644 index 0000000..be0d39e --- /dev/null +++ b/src/main/java/com/ixopay/client/model/callback/CustomerDataType.java @@ -0,0 +1,814 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.callback; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + *

Java class for customerDataType complex type. + * + *

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

+ * <complexType name="customerDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="identification" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="firstName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="lastName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="birthDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
+ *         <element name="gender" type="{http://gateway.ixopay.com/Schema/V2/Callback}genderType" minOccurs="0"/>
+ *         <element name="billingAddress1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="billingAddress2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="billingCity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="billingPostcode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="billingState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="billingCountry" type="{http://gateway.ixopay.com/Schema/V2/Callback}countryType" minOccurs="0"/>
+ *         <element name="billingPhone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingFirstName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingLastName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingCompany" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingAddress1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingAddress2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingCity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingPostcode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingCountry" type="{http://gateway.ixopay.com/Schema/V2/Callback}countryType" minOccurs="0"/>
+ *         <element name="shippingPhone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="company" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="emailVerified" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="ipAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="nationalId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "customerDataType", propOrder = { + "identification", + "firstName", + "lastName", + "birthDate", + "gender", + "billingAddress1", + "billingAddress2", + "billingCity", + "billingPostcode", + "billingState", + "billingCountry", + "billingPhone", + "shippingFirstName", + "shippingLastName", + "shippingCompany", + "shippingAddress1", + "shippingAddress2", + "shippingCity", + "shippingPostcode", + "shippingState", + "shippingCountry", + "shippingPhone", + "company", + "email", + "emailVerified", + "ipAddress", + "nationalId" +}) +public class CustomerDataType { + + protected String identification; + protected String firstName; + protected String lastName; + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar birthDate; + protected GenderType gender; + protected String billingAddress1; + protected String billingAddress2; + protected String billingCity; + protected String billingPostcode; + protected String billingState; + protected String billingCountry; + protected String billingPhone; + protected String shippingFirstName; + protected String shippingLastName; + protected String shippingCompany; + protected String shippingAddress1; + protected String shippingAddress2; + protected String shippingCity; + protected String shippingPostcode; + protected String shippingState; + protected String shippingCountry; + protected String shippingPhone; + protected String company; + protected String email; + protected Boolean emailVerified; + protected String ipAddress; + protected String nationalId; + + /** + * Default no-arg constructor + * + */ + public CustomerDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public CustomerDataType(final String identification, final String firstName, final String lastName, final XMLGregorianCalendar birthDate, final GenderType gender, final String billingAddress1, final String billingAddress2, final String billingCity, final String billingPostcode, final String billingState, final String billingCountry, final String billingPhone, final String shippingFirstName, final String shippingLastName, final String shippingCompany, final String shippingAddress1, final String shippingAddress2, final String shippingCity, final String shippingPostcode, final String shippingState, final String shippingCountry, final String shippingPhone, final String company, final String email, final Boolean emailVerified, final String ipAddress, final String nationalId) { + this.identification = identification; + this.firstName = firstName; + this.lastName = lastName; + this.birthDate = birthDate; + this.gender = gender; + this.billingAddress1 = billingAddress1; + this.billingAddress2 = billingAddress2; + this.billingCity = billingCity; + this.billingPostcode = billingPostcode; + this.billingState = billingState; + this.billingCountry = billingCountry; + this.billingPhone = billingPhone; + this.shippingFirstName = shippingFirstName; + this.shippingLastName = shippingLastName; + this.shippingCompany = shippingCompany; + this.shippingAddress1 = shippingAddress1; + this.shippingAddress2 = shippingAddress2; + this.shippingCity = shippingCity; + this.shippingPostcode = shippingPostcode; + this.shippingState = shippingState; + this.shippingCountry = shippingCountry; + this.shippingPhone = shippingPhone; + this.company = company; + this.email = email; + this.emailVerified = emailVerified; + this.ipAddress = ipAddress; + this.nationalId = nationalId; + } + + /** + * Gets the value of the identification property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdentification() { + return identification; + } + + /** + * Sets the value of the identification property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdentification(String value) { + this.identification = value; + } + + /** + * Gets the value of the firstName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFirstName() { + return firstName; + } + + /** + * Sets the value of the firstName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFirstName(String value) { + this.firstName = value; + } + + /** + * Gets the value of the lastName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLastName() { + return lastName; + } + + /** + * Sets the value of the lastName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLastName(String value) { + this.lastName = value; + } + + /** + * Gets the value of the birthDate property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getBirthDate() { + return birthDate; + } + + /** + * Sets the value of the birthDate property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setBirthDate(XMLGregorianCalendar value) { + this.birthDate = value; + } + + /** + * Gets the value of the gender property. + * + * @return + * possible object is + * {@link GenderType } + * + */ + public GenderType getGender() { + return gender; + } + + /** + * Sets the value of the gender property. + * + * @param value + * allowed object is + * {@link GenderType } + * + */ + public void setGender(GenderType value) { + this.gender = value; + } + + /** + * Gets the value of the billingAddress1 property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingAddress1() { + return billingAddress1; + } + + /** + * Sets the value of the billingAddress1 property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingAddress1(String value) { + this.billingAddress1 = value; + } + + /** + * Gets the value of the billingAddress2 property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingAddress2() { + return billingAddress2; + } + + /** + * Sets the value of the billingAddress2 property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingAddress2(String value) { + this.billingAddress2 = value; + } + + /** + * Gets the value of the billingCity property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingCity() { + return billingCity; + } + + /** + * Sets the value of the billingCity property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingCity(String value) { + this.billingCity = value; + } + + /** + * Gets the value of the billingPostcode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingPostcode() { + return billingPostcode; + } + + /** + * Sets the value of the billingPostcode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingPostcode(String value) { + this.billingPostcode = value; + } + + /** + * Gets the value of the billingState property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingState() { + return billingState; + } + + /** + * Sets the value of the billingState property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingState(String value) { + this.billingState = value; + } + + /** + * Gets the value of the billingCountry property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingCountry() { + return billingCountry; + } + + /** + * Sets the value of the billingCountry property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingCountry(String value) { + this.billingCountry = value; + } + + /** + * Gets the value of the billingPhone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingPhone() { + return billingPhone; + } + + /** + * Sets the value of the billingPhone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingPhone(String value) { + this.billingPhone = value; + } + + /** + * Gets the value of the shippingFirstName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingFirstName() { + return shippingFirstName; + } + + /** + * Sets the value of the shippingFirstName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingFirstName(String value) { + this.shippingFirstName = value; + } + + /** + * Gets the value of the shippingLastName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingLastName() { + return shippingLastName; + } + + /** + * Sets the value of the shippingLastName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingLastName(String value) { + this.shippingLastName = value; + } + + /** + * Gets the value of the shippingCompany property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingCompany() { + return shippingCompany; + } + + /** + * Sets the value of the shippingCompany property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingCompany(String value) { + this.shippingCompany = value; + } + + /** + * Gets the value of the shippingAddress1 property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingAddress1() { + return shippingAddress1; + } + + /** + * Sets the value of the shippingAddress1 property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingAddress1(String value) { + this.shippingAddress1 = value; + } + + /** + * Gets the value of the shippingAddress2 property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingAddress2() { + return shippingAddress2; + } + + /** + * Sets the value of the shippingAddress2 property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingAddress2(String value) { + this.shippingAddress2 = value; + } + + /** + * Gets the value of the shippingCity property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingCity() { + return shippingCity; + } + + /** + * Sets the value of the shippingCity property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingCity(String value) { + this.shippingCity = value; + } + + /** + * Gets the value of the shippingPostcode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingPostcode() { + return shippingPostcode; + } + + /** + * Sets the value of the shippingPostcode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingPostcode(String value) { + this.shippingPostcode = value; + } + + /** + * Gets the value of the shippingState property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingState() { + return shippingState; + } + + /** + * Sets the value of the shippingState property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingState(String value) { + this.shippingState = value; + } + + /** + * Gets the value of the shippingCountry property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingCountry() { + return shippingCountry; + } + + /** + * Sets the value of the shippingCountry property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingCountry(String value) { + this.shippingCountry = value; + } + + /** + * Gets the value of the shippingPhone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingPhone() { + return shippingPhone; + } + + /** + * Sets the value of the shippingPhone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingPhone(String value) { + this.shippingPhone = value; + } + + /** + * Gets the value of the company property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCompany() { + return company; + } + + /** + * Sets the value of the company property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCompany(String value) { + this.company = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + /** + * Gets the value of the emailVerified property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isEmailVerified() { + return emailVerified; + } + + /** + * Sets the value of the emailVerified property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setEmailVerified(Boolean value) { + this.emailVerified = value; + } + + /** + * Gets the value of the ipAddress property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIpAddress() { + return ipAddress; + } + + /** + * Sets the value of the ipAddress property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIpAddress(String value) { + this.ipAddress = value; + } + + /** + * Gets the value of the nationalId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNationalId() { + return nationalId; + } + + /** + * Sets the value of the nationalId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNationalId(String value) { + this.nationalId = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/callback/CustomerProfileDataType.java b/src/main/java/com/ixopay/client/model/callback/CustomerProfileDataType.java new file mode 100644 index 0000000..dadd808 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/callback/CustomerProfileDataType.java @@ -0,0 +1,114 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.callback; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for customerProfileDataType complex type. + * + *

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

+ * <complexType name="customerProfileDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="profileGuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="customerIdentification" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "customerProfileDataType", propOrder = { + "profileGuid", + "customerIdentification" +}) +public class CustomerProfileDataType { + + @XmlElement(required = true) + protected String profileGuid; + @XmlElement(required = true) + protected String customerIdentification; + + /** + * Default no-arg constructor + * + */ + public CustomerProfileDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public CustomerProfileDataType(final String profileGuid, final String customerIdentification) { + this.profileGuid = profileGuid; + this.customerIdentification = customerIdentification; + } + + /** + * Gets the value of the profileGuid property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProfileGuid() { + return profileGuid; + } + + /** + * Sets the value of the profileGuid property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProfileGuid(String value) { + this.profileGuid = value; + } + + /** + * Gets the value of the customerIdentification property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCustomerIdentification() { + return customerIdentification; + } + + /** + * Sets the value of the customerIdentification property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCustomerIdentification(String value) { + this.customerIdentification = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/callback/ErrorType.java b/src/main/java/com/ixopay/client/model/callback/ErrorType.java index 1364d17..eb12f66 100644 --- a/src/main/java/com/ixopay/client/model/callback/ErrorType.java +++ b/src/main/java/com/ixopay/client/model/callback/ErrorType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/callback/ErrorsType.java b/src/main/java/com/ixopay/client/model/callback/ErrorsType.java index 3f011e6..f6599e8 100644 --- a/src/main/java/com/ixopay/client/model/callback/ErrorsType.java +++ b/src/main/java/com/ixopay/client/model/callback/ErrorsType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/callback/ExtraDataType.java b/src/main/java/com/ixopay/client/model/callback/ExtraDataType.java index d815b13..5bd9367 100644 --- a/src/main/java/com/ixopay/client/model/callback/ExtraDataType.java +++ b/src/main/java/com/ixopay/client/model/callback/ExtraDataType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/callback/FeesType.java b/src/main/java/com/ixopay/client/model/callback/FeesType.java index f1a635d..aa22313 100644 --- a/src/main/java/com/ixopay/client/model/callback/FeesType.java +++ b/src/main/java/com/ixopay/client/model/callback/FeesType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/callback/GenderType.java b/src/main/java/com/ixopay/client/model/callback/GenderType.java new file mode 100644 index 0000000..4369e4b --- /dev/null +++ b/src/main/java/com/ixopay/client/model/callback/GenderType.java @@ -0,0 +1,45 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.callback; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for genderType. + * + *

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

+ *

+ * <simpleType name="genderType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="M"/>
+ *     <enumeration value="F"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "genderType") +@XmlEnum +public enum GenderType { + + M, + F; + + public String value() { + return name(); + } + + public static GenderType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/callback/IbanDataType.java b/src/main/java/com/ixopay/client/model/callback/IbanDataType.java new file mode 100644 index 0000000..6a03bff --- /dev/null +++ b/src/main/java/com/ixopay/client/model/callback/IbanDataType.java @@ -0,0 +1,195 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.callback; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for ibanDataType complex type. + * + *

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

+ * <complexType name="ibanDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="accountOwner" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="iban" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="bic" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="bankName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="country" type="{http://gateway.ixopay.com/Schema/V2/Callback}countryType" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ibanDataType", propOrder = { + "accountOwner", + "iban", + "bic", + "bankName", + "country" +}) +public class IbanDataType { + + protected String accountOwner; + protected String iban; + protected String bic; + protected String bankName; + protected String country; + + /** + * Default no-arg constructor + * + */ + public IbanDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public IbanDataType(final String accountOwner, final String iban, final String bic, final String bankName, final String country) { + this.accountOwner = accountOwner; + this.iban = iban; + this.bic = bic; + this.bankName = bankName; + this.country = country; + } + + /** + * Gets the value of the accountOwner property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAccountOwner() { + return accountOwner; + } + + /** + * Sets the value of the accountOwner property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAccountOwner(String value) { + this.accountOwner = value; + } + + /** + * Gets the value of the iban property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIban() { + return iban; + } + + /** + * Sets the value of the iban property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIban(String value) { + this.iban = value; + } + + /** + * Gets the value of the bic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBic() { + return bic; + } + + /** + * Sets the value of the bic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBic(String value) { + this.bic = value; + } + + /** + * Gets the value of the bankName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBankName() { + return bankName; + } + + /** + * Sets the value of the bankName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBankName(String value) { + this.bankName = value; + } + + /** + * Gets the value of the country property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountry() { + return country; + } + + /** + * Sets the value of the country property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountry(String value) { + this.country = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/callback/ObjectFactory.java b/src/main/java/com/ixopay/client/model/callback/ObjectFactory.java index 653ef6b..bf4ddfb 100644 --- a/src/main/java/com/ixopay/client/model/callback/ObjectFactory.java +++ b/src/main/java/com/ixopay/client/model/callback/ObjectFactory.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -96,6 +96,14 @@ public ErrorType createErrorType() { return new ErrorType(); } + /** + * Create an instance of {@link ChargebackReversalDataType } + * + */ + public ChargebackReversalDataType createChargebackReversalDataType() { + return new ChargebackReversalDataType(); + } + /** * Create an instance of {@link ReturnDataType } * @@ -104,6 +112,30 @@ public ReturnDataType createReturnDataType() { return new ReturnDataType(); } + /** + * Create an instance of {@link IbanDataType } + * + */ + public IbanDataType createIbanDataType() { + return new IbanDataType(); + } + + /** + * Create an instance of {@link CustomerDataType } + * + */ + public CustomerDataType createCustomerDataType() { + return new CustomerDataType(); + } + + /** + * Create an instance of {@link CustomerProfileDataType } + * + */ + public CustomerProfileDataType createCustomerProfileDataType() { + return new CustomerProfileDataType(); + } + /** * Create an instance of {@link ErrorsType } * @@ -112,6 +144,14 @@ public ErrorsType createErrorsType() { return new ErrorsType(); } + /** + * Create an instance of {@link WalletDataType } + * + */ + public WalletDataType createWalletDataType() { + return new WalletDataType(); + } + /** * Create an instance of {@link OriginalCallbackType } * diff --git a/src/main/java/com/ixopay/client/model/callback/OriginalCallbackType.java b/src/main/java/com/ixopay/client/model/callback/OriginalCallbackType.java index ea0febc..3c851e4 100644 --- a/src/main/java/com/ixopay/client/model/callback/OriginalCallbackType.java +++ b/src/main/java/com/ixopay/client/model/callback/OriginalCallbackType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -34,12 +34,19 @@ * <element name="transactionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="purchaseId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="transactionType" type="{http://gateway.ixopay.com/Schema/V2/Callback}transactionMethodType" minOccurs="0"/> + * <element name="paymentMethod" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="amount" type="{http://gateway.ixopay.com/Schema/V2/Callback}amountType" minOccurs="0"/> * <element name="currency" type="{http://gateway.ixopay.com/Schema/V2/Callback}currencyType" minOccurs="0"/> + * <element name="scheduleId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="scheduleStatus" type="{http://gateway.ixopay.com/Schema/V2/Callback}scheduleStatusType" minOccurs="0"/> + * <element name="customerProfile" type="{http://gateway.ixopay.com/Schema/V2/Callback}customerProfileDataType" minOccurs="0"/> * <element name="errors" type="{http://gateway.ixopay.com/Schema/V2/Callback}errorsType" minOccurs="0"/> * <element name="chargebackData" type="{http://gateway.ixopay.com/Schema/V2/Callback}chargebackDataType" minOccurs="0"/> + * <element name="chargebackReversalData" type="{http://gateway.ixopay.com/Schema/V2/Callback}chargebackReversalDataType" minOccurs="0"/> * <element name="extraData" type="{http://gateway.ixopay.com/Schema/V2/Callback}extraDataType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="merchantMetaData" type="{http://gateway.ixopay.com/Schema/V2/Callback}merchantMetaDataType" minOccurs="0"/> * <element name="returnData" type="{http://gateway.ixopay.com/Schema/V2/Callback}returnDataType" minOccurs="0"/> + * <element name="customerData" type="{http://gateway.ixopay.com/Schema/V2/Callback}customerDataType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -55,12 +62,19 @@ "transactionId", "purchaseId", "transactionType", + "paymentMethod", "amount", "currency", + "scheduleId", + "scheduleStatus", + "customerProfile", "errors", "chargebackData", + "chargebackReversalData", "extraData", - "returnData" + "merchantMetaData", + "returnData", + "customerData" }) @XmlSeeAlso({ CallbackType.class @@ -74,12 +88,19 @@ public class OriginalCallbackType { protected String transactionId; protected String purchaseId; protected TransactionMethodType transactionType; + protected String paymentMethod; protected BigDecimal amount; protected String currency; + protected String scheduleId; + protected ScheduleStatusType scheduleStatus; + protected CustomerProfileDataType customerProfile; protected ErrorsType errors; protected ChargebackDataType chargebackData; + protected ChargebackReversalDataType chargebackReversalData; protected List extraData; + protected String merchantMetaData; protected ReturnDataType returnData; + protected CustomerDataType customerData; /** * Default no-arg constructor @@ -93,18 +114,25 @@ public OriginalCallbackType() { * Fully-initialising value constructor * */ - public OriginalCallbackType(final ResultType result, final String referenceId, final String transactionId, final String purchaseId, final TransactionMethodType transactionType, final BigDecimal amount, final String currency, final ErrorsType errors, final ChargebackDataType chargebackData, final List extraData, final ReturnDataType returnData) { + public OriginalCallbackType(final ResultType result, final String referenceId, final String transactionId, final String purchaseId, final TransactionMethodType transactionType, final String paymentMethod, final BigDecimal amount, final String currency, final String scheduleId, final ScheduleStatusType scheduleStatus, final CustomerProfileDataType customerProfile, final ErrorsType errors, final ChargebackDataType chargebackData, final ChargebackReversalDataType chargebackReversalData, final List extraData, final String merchantMetaData, final ReturnDataType returnData, final CustomerDataType customerData) { this.result = result; this.referenceId = referenceId; this.transactionId = transactionId; this.purchaseId = purchaseId; this.transactionType = transactionType; + this.paymentMethod = paymentMethod; this.amount = amount; this.currency = currency; + this.scheduleId = scheduleId; + this.scheduleStatus = scheduleStatus; + this.customerProfile = customerProfile; this.errors = errors; this.chargebackData = chargebackData; + this.chargebackReversalData = chargebackReversalData; this.extraData = extraData; + this.merchantMetaData = merchantMetaData; this.returnData = returnData; + this.customerData = customerData; } /** @@ -227,6 +255,30 @@ public void setTransactionType(TransactionMethodType value) { this.transactionType = value; } + /** + * Gets the value of the paymentMethod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPaymentMethod() { + return paymentMethod; + } + + /** + * Sets the value of the paymentMethod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPaymentMethod(String value) { + this.paymentMethod = value; + } + /** * Gets the value of the amount property. * @@ -275,6 +327,78 @@ public void setCurrency(String value) { this.currency = value; } + /** + * Gets the value of the scheduleId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getScheduleId() { + return scheduleId; + } + + /** + * Sets the value of the scheduleId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setScheduleId(String value) { + this.scheduleId = value; + } + + /** + * Gets the value of the scheduleStatus property. + * + * @return + * possible object is + * {@link ScheduleStatusType } + * + */ + public ScheduleStatusType getScheduleStatus() { + return scheduleStatus; + } + + /** + * Sets the value of the scheduleStatus property. + * + * @param value + * allowed object is + * {@link ScheduleStatusType } + * + */ + public void setScheduleStatus(ScheduleStatusType value) { + this.scheduleStatus = value; + } + + /** + * Gets the value of the customerProfile property. + * + * @return + * possible object is + * {@link CustomerProfileDataType } + * + */ + public CustomerProfileDataType getCustomerProfile() { + return customerProfile; + } + + /** + * Sets the value of the customerProfile property. + * + * @param value + * allowed object is + * {@link CustomerProfileDataType } + * + */ + public void setCustomerProfile(CustomerProfileDataType value) { + this.customerProfile = value; + } + /** * Gets the value of the errors property. * @@ -323,6 +447,30 @@ public void setChargebackData(ChargebackDataType value) { this.chargebackData = value; } + /** + * Gets the value of the chargebackReversalData property. + * + * @return + * possible object is + * {@link ChargebackReversalDataType } + * + */ + public ChargebackReversalDataType getChargebackReversalData() { + return chargebackReversalData; + } + + /** + * Sets the value of the chargebackReversalData property. + * + * @param value + * allowed object is + * {@link ChargebackReversalDataType } + * + */ + public void setChargebackReversalData(ChargebackReversalDataType value) { + this.chargebackReversalData = value; + } + /** * Gets the value of the extraData property. * @@ -352,6 +500,30 @@ public List getExtraData() { return this.extraData; } + /** + * Gets the value of the merchantMetaData property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMerchantMetaData() { + return merchantMetaData; + } + + /** + * Sets the value of the merchantMetaData property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMerchantMetaData(String value) { + this.merchantMetaData = value; + } + /** * Gets the value of the returnData property. * @@ -376,4 +548,28 @@ public void setReturnData(ReturnDataType value) { this.returnData = value; } + /** + * Gets the value of the customerData property. + * + * @return + * possible object is + * {@link CustomerDataType } + * + */ + public CustomerDataType getCustomerData() { + return customerData; + } + + /** + * Sets the value of the customerData property. + * + * @param value + * allowed object is + * {@link CustomerDataType } + * + */ + public void setCustomerData(CustomerDataType value) { + this.customerData = value; + } + } diff --git a/src/main/java/com/ixopay/client/model/callback/PhoneDataType.java b/src/main/java/com/ixopay/client/model/callback/PhoneDataType.java index c79ff6e..59e0307 100644 --- a/src/main/java/com/ixopay/client/model/callback/PhoneDataType.java +++ b/src/main/java/com/ixopay/client/model/callback/PhoneDataType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/callback/ResultType.java b/src/main/java/com/ixopay/client/model/callback/ResultType.java index c703384..b09dd0f 100644 --- a/src/main/java/com/ixopay/client/model/callback/ResultType.java +++ b/src/main/java/com/ixopay/client/model/callback/ResultType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/callback/ReturnDataType.java b/src/main/java/com/ixopay/client/model/callback/ReturnDataType.java index ca0e5e8..f9d4d0a 100644 --- a/src/main/java/com/ixopay/client/model/callback/ReturnDataType.java +++ b/src/main/java/com/ixopay/client/model/callback/ReturnDataType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -26,6 +26,8 @@ * <choice> * <element name="creditcardData" type="{http://gateway.ixopay.com/Schema/V2/Callback}creditcardDataType"/> * <element name="phoneData" type="{http://gateway.ixopay.com/Schema/V2/Callback}phoneDataType"/> + * <element name="ibanData" type="{http://gateway.ixopay.com/Schema/V2/Callback}ibanDataType"/> + * <element name="walletData" type="{http://gateway.ixopay.com/Schema/V2/Callback}walletDataType"/> * </choice> * <attribute name="type" use="required" type="{http://gateway.ixopay.com/Schema/V2/Callback}returnDataTypeEnum" /> * </restriction> @@ -38,12 +40,16 @@ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "returnDataType", propOrder = { "creditcardData", - "phoneData" + "phoneData", + "ibanData", + "walletData" }) public class ReturnDataType { protected CreditcardDataType creditcardData; protected PhoneDataType phoneData; + protected IbanDataType ibanData; + protected WalletDataType walletData; @XmlAttribute(name = "type", required = true) protected ReturnDataTypeEnum type; @@ -59,9 +65,11 @@ public ReturnDataType() { * Fully-initialising value constructor * */ - public ReturnDataType(final CreditcardDataType creditcardData, final PhoneDataType phoneData, final ReturnDataTypeEnum type) { + public ReturnDataType(final CreditcardDataType creditcardData, final PhoneDataType phoneData, final IbanDataType ibanData, final WalletDataType walletData, final ReturnDataTypeEnum type) { this.creditcardData = creditcardData; this.phoneData = phoneData; + this.ibanData = ibanData; + this.walletData = walletData; this.type = type; } @@ -113,6 +121,54 @@ public void setPhoneData(PhoneDataType value) { this.phoneData = value; } + /** + * Gets the value of the ibanData property. + * + * @return + * possible object is + * {@link IbanDataType } + * + */ + public IbanDataType getIbanData() { + return ibanData; + } + + /** + * Sets the value of the ibanData property. + * + * @param value + * allowed object is + * {@link IbanDataType } + * + */ + public void setIbanData(IbanDataType value) { + this.ibanData = value; + } + + /** + * Gets the value of the walletData property. + * + * @return + * possible object is + * {@link WalletDataType } + * + */ + public WalletDataType getWalletData() { + return walletData; + } + + /** + * Sets the value of the walletData property. + * + * @param value + * allowed object is + * {@link WalletDataType } + * + */ + public void setWalletData(WalletDataType value) { + this.walletData = value; + } + /** * Gets the value of the type property. * diff --git a/src/main/java/com/ixopay/client/model/callback/ReturnDataTypeEnum.java b/src/main/java/com/ixopay/client/model/callback/ReturnDataTypeEnum.java index e32dfca..a7653d3 100644 --- a/src/main/java/com/ixopay/client/model/callback/ReturnDataTypeEnum.java +++ b/src/main/java/com/ixopay/client/model/callback/ReturnDataTypeEnum.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -23,6 +23,8 @@ * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="creditcardData"/> * <enumeration value="phoneData"/> + * <enumeration value="ibanData"/> + * <enumeration value="walletData"/> * </restriction> * </simpleType> * @@ -35,7 +37,11 @@ public enum ReturnDataTypeEnum { @XmlEnumValue("creditcardData") CREDITCARD_DATA("creditcardData"), @XmlEnumValue("phoneData") - PHONE_DATA("phoneData"); + PHONE_DATA("phoneData"), + @XmlEnumValue("ibanData") + IBAN_DATA("ibanData"), + @XmlEnumValue("walletData") + WALLET_DATA("walletData"); private final String value; ReturnDataTypeEnum(String v) { diff --git a/src/main/java/com/ixopay/client/model/callback/ScheduleStatusType.java b/src/main/java/com/ixopay/client/model/callback/ScheduleStatusType.java new file mode 100644 index 0000000..61e2d78 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/callback/ScheduleStatusType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.callback; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for scheduleStatusType. + * + *

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

+ *

+ * <simpleType name="scheduleStatusType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="ACTIVE"/>
+ *     <enumeration value="PAUSED"/>
+ *     <enumeration value="CANCELLED"/>
+ *     <enumeration value="ERROR"/>
+ *     <enumeration value="CREATE-PENDING"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "scheduleStatusType") +@XmlEnum +public enum ScheduleStatusType { + + ACTIVE("ACTIVE"), + PAUSED("PAUSED"), + CANCELLED("CANCELLED"), + ERROR("ERROR"), + @XmlEnumValue("CREATE-PENDING") + CREATE_PENDING("CREATE-PENDING"); + private final String value; + + ScheduleStatusType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static ScheduleStatusType fromValue(String v) { + for (ScheduleStatusType c: ScheduleStatusType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/callback/ThreeDSecureType.java b/src/main/java/com/ixopay/client/model/callback/ThreeDSecureType.java new file mode 100644 index 0000000..c2966a8 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/callback/ThreeDSecureType.java @@ -0,0 +1,47 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.callback; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for threeDSecureType. + * + *

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

+ *

+ * <simpleType name="threeDSecureType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="OFF"/>
+ *     <enumeration value="OPTIONAL"/>
+ *     <enumeration value="MANDATORY"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "threeDSecureType") +@XmlEnum +public enum ThreeDSecureType { + + OFF, + OPTIONAL, + MANDATORY; + + public String value() { + return name(); + } + + public static ThreeDSecureType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/callback/TransactionMethodType.java b/src/main/java/com/ixopay/client/model/callback/TransactionMethodType.java index e134774..2b05f6c 100644 --- a/src/main/java/com/ixopay/client/model/callback/TransactionMethodType.java +++ b/src/main/java/com/ixopay/client/model/callback/TransactionMethodType.java @@ -2,13 +2,14 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // package com.ixopay.client.model.callback; import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; @@ -28,6 +29,7 @@ * <enumeration value="REGISTER"/> * <enumeration value="VOID"/> * <enumeration value="CHARGEBACK"/> + * <enumeration value="CHARGEBACK-REVERSAL"/> * <enumeration value="PAYOUT"/> * </restriction> * </simpleType> @@ -38,22 +40,34 @@ @XmlEnum public enum TransactionMethodType { - DEBIT, - CAPTURE, - DEREGISTER, - PREAUTHORIZE, - REFUND, - REGISTER, - VOID, - CHARGEBACK, - PAYOUT; + DEBIT("DEBIT"), + CAPTURE("CAPTURE"), + DEREGISTER("DEREGISTER"), + PREAUTHORIZE("PREAUTHORIZE"), + REFUND("REFUND"), + REGISTER("REGISTER"), + VOID("VOID"), + CHARGEBACK("CHARGEBACK"), + @XmlEnumValue("CHARGEBACK-REVERSAL") + CHARGEBACK_REVERSAL("CHARGEBACK-REVERSAL"), + PAYOUT("PAYOUT"); + private final String value; + + TransactionMethodType(String v) { + value = v; + } public String value() { - return name(); + return value; } public static TransactionMethodType fromValue(String v) { - return valueOf(v); + for (TransactionMethodType c: TransactionMethodType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); } } diff --git a/src/main/java/com/ixopay/client/model/callback/WalletDataType.java b/src/main/java/com/ixopay/client/model/callback/WalletDataType.java new file mode 100644 index 0000000..d18a200 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/callback/WalletDataType.java @@ -0,0 +1,139 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.callback; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for walletDataType complex type. + * + *

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

+ * <complexType name="walletDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="walletReferenceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="walletOwner" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="walletType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "walletDataType", propOrder = { + "walletReferenceId", + "walletOwner", + "walletType" +}) +public class WalletDataType { + + protected String walletReferenceId; + protected String walletOwner; + protected String walletType; + + /** + * Default no-arg constructor + * + */ + public WalletDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public WalletDataType(final String walletReferenceId, final String walletOwner, final String walletType) { + this.walletReferenceId = walletReferenceId; + this.walletOwner = walletOwner; + this.walletType = walletType; + } + + /** + * Gets the value of the walletReferenceId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getWalletReferenceId() { + return walletReferenceId; + } + + /** + * Sets the value of the walletReferenceId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setWalletReferenceId(String value) { + this.walletReferenceId = value; + } + + /** + * Gets the value of the walletOwner property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getWalletOwner() { + return walletOwner; + } + + /** + * Sets the value of the walletOwner property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setWalletOwner(String value) { + this.walletOwner = value; + } + + /** + * Gets the value of the walletType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getWalletType() { + return walletType; + } + + /** + * Sets the value of the walletType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setWalletType(String value) { + this.walletType = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/callback/package-info.java b/src/main/java/com/ixopay/client/model/callback/package-info.java index b390274..57701c0 100644 --- a/src/main/java/com/ixopay/client/model/callback/package-info.java +++ b/src/main/java/com/ixopay/client/model/callback/package-info.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @javax.xml.bind.annotation.XmlSchema(namespace = "http://gateway.ixopay.com/Schema/V2/Callback", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) diff --git a/src/main/java/com/ixopay/client/model/options/ObjectFactory.java b/src/main/java/com/ixopay/client/model/options/ObjectFactory.java index b87f345..61ce41e 100644 --- a/src/main/java/com/ixopay/client/model/options/ObjectFactory.java +++ b/src/main/java/com/ixopay/client/model/options/ObjectFactory.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/options/OptionsType.java b/src/main/java/com/ixopay/client/model/options/OptionsType.java index 83bf6bc..a85e3ce 100644 --- a/src/main/java/com/ixopay/client/model/options/OptionsType.java +++ b/src/main/java/com/ixopay/client/model/options/OptionsType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/options/ParameterType.java b/src/main/java/com/ixopay/client/model/options/ParameterType.java index a43bfae..96e9d31 100644 --- a/src/main/java/com/ixopay/client/model/options/ParameterType.java +++ b/src/main/java/com/ixopay/client/model/options/ParameterType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/options/RequestType.java b/src/main/java/com/ixopay/client/model/options/RequestType.java index 082a805..d47deb8 100644 --- a/src/main/java/com/ixopay/client/model/options/RequestType.java +++ b/src/main/java/com/ixopay/client/model/options/RequestType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/options/ResponseType.java b/src/main/java/com/ixopay/client/model/options/ResponseType.java index 86139e6..f1895e2 100644 --- a/src/main/java/com/ixopay/client/model/options/ResponseType.java +++ b/src/main/java/com/ixopay/client/model/options/ResponseType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/options/package-info.java b/src/main/java/com/ixopay/client/model/options/package-info.java index e1c45f0..298b4f2 100644 --- a/src/main/java/com/ixopay/client/model/options/package-info.java +++ b/src/main/java/com/ixopay/client/model/options/package-info.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @javax.xml.bind.annotation.XmlSchema(namespace = "http://gateway.ixopay.com/Schema/V2/Options", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) diff --git a/src/main/java/com/ixopay/client/model/result/CreditcardDataType.java b/src/main/java/com/ixopay/client/model/result/CreditcardDataType.java index 5efce3c..9927192 100644 --- a/src/main/java/com/ixopay/client/model/result/CreditcardDataType.java +++ b/src/main/java/com/ixopay/client/model/result/CreditcardDataType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/result/CustomerProfileDataType.java b/src/main/java/com/ixopay/client/model/result/CustomerProfileDataType.java new file mode 100644 index 0000000..db046c4 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/result/CustomerProfileDataType.java @@ -0,0 +1,114 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.result; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for customerProfileDataType complex type. + * + *

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

+ * <complexType name="customerProfileDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="profileGuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="customerIdentification" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "customerProfileDataType", propOrder = { + "profileGuid", + "customerIdentification" +}) +public class CustomerProfileDataType { + + @XmlElement(required = true) + protected String profileGuid; + @XmlElement(required = true) + protected String customerIdentification; + + /** + * Default no-arg constructor + * + */ + public CustomerProfileDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public CustomerProfileDataType(final String profileGuid, final String customerIdentification) { + this.profileGuid = profileGuid; + this.customerIdentification = customerIdentification; + } + + /** + * Gets the value of the profileGuid property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProfileGuid() { + return profileGuid; + } + + /** + * Sets the value of the profileGuid property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProfileGuid(String value) { + this.profileGuid = value; + } + + /** + * Gets the value of the customerIdentification property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCustomerIdentification() { + return customerIdentification; + } + + /** + * Sets the value of the customerIdentification property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCustomerIdentification(String value) { + this.customerIdentification = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/result/ErrorType.java b/src/main/java/com/ixopay/client/model/result/ErrorType.java index b617a90..f6ddf27 100644 --- a/src/main/java/com/ixopay/client/model/result/ErrorType.java +++ b/src/main/java/com/ixopay/client/model/result/ErrorType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/result/ErrorsType.java b/src/main/java/com/ixopay/client/model/result/ErrorsType.java index 7c565f9..272eb39 100644 --- a/src/main/java/com/ixopay/client/model/result/ErrorsType.java +++ b/src/main/java/com/ixopay/client/model/result/ErrorsType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/result/ExtraDataType.java b/src/main/java/com/ixopay/client/model/result/ExtraDataType.java index 70c2a67..bab40f3 100644 --- a/src/main/java/com/ixopay/client/model/result/ExtraDataType.java +++ b/src/main/java/com/ixopay/client/model/result/ExtraDataType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/result/IbanDataType.java b/src/main/java/com/ixopay/client/model/result/IbanDataType.java new file mode 100644 index 0000000..a9a9998 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/result/IbanDataType.java @@ -0,0 +1,195 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.result; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for ibanDataType complex type. + * + *

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

+ * <complexType name="ibanDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="accountOwner" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="iban" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="bic" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="bankName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="country" type="{http://gateway.ixopay.com/Schema/V2/Result}countryType" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ibanDataType", propOrder = { + "accountOwner", + "iban", + "bic", + "bankName", + "country" +}) +public class IbanDataType { + + protected String accountOwner; + protected String iban; + protected String bic; + protected String bankName; + protected String country; + + /** + * Default no-arg constructor + * + */ + public IbanDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public IbanDataType(final String accountOwner, final String iban, final String bic, final String bankName, final String country) { + this.accountOwner = accountOwner; + this.iban = iban; + this.bic = bic; + this.bankName = bankName; + this.country = country; + } + + /** + * Gets the value of the accountOwner property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAccountOwner() { + return accountOwner; + } + + /** + * Sets the value of the accountOwner property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAccountOwner(String value) { + this.accountOwner = value; + } + + /** + * Gets the value of the iban property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIban() { + return iban; + } + + /** + * Sets the value of the iban property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIban(String value) { + this.iban = value; + } + + /** + * Gets the value of the bic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBic() { + return bic; + } + + /** + * Sets the value of the bic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBic(String value) { + this.bic = value; + } + + /** + * Gets the value of the bankName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBankName() { + return bankName; + } + + /** + * Sets the value of the bankName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBankName(String value) { + this.bankName = value; + } + + /** + * Gets the value of the country property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountry() { + return country; + } + + /** + * Sets the value of the country property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountry(String value) { + this.country = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/result/ObjectFactory.java b/src/main/java/com/ixopay/client/model/result/ObjectFactory.java index 0dd768b..65806bd 100644 --- a/src/main/java/com/ixopay/client/model/result/ObjectFactory.java +++ b/src/main/java/com/ixopay/client/model/result/ObjectFactory.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -48,6 +48,14 @@ public ResultType createResultType() { return new ResultType(); } + /** + * Create an instance of {@link PhoneDataType } + * + */ + public PhoneDataType createPhoneDataType() { + return new PhoneDataType(); + } + /** * Create an instance of {@link CreditcardDataType } * @@ -64,14 +72,6 @@ public ExtraDataType createExtraDataType() { return new ExtraDataType(); } - /** - * Create an instance of {@link ErrorsType } - * - */ - public ErrorsType createErrorsType() { - return new ErrorsType(); - } - /** * Create an instance of {@link ErrorType } * @@ -88,6 +88,38 @@ public ReturnDataType createReturnDataType() { return new ReturnDataType(); } + /** + * Create an instance of {@link IbanDataType } + * + */ + public IbanDataType createIbanDataType() { + return new IbanDataType(); + } + + /** + * Create an instance of {@link CustomerProfileDataType } + * + */ + public CustomerProfileDataType createCustomerProfileDataType() { + return new CustomerProfileDataType(); + } + + /** + * Create an instance of {@link ErrorsType } + * + */ + public ErrorsType createErrorsType() { + return new ErrorsType(); + } + + /** + * Create an instance of {@link RiskCheckDataType } + * + */ + public RiskCheckDataType createRiskCheckDataType() { + return new RiskCheckDataType(); + } + /** * Create an instance of {@link ReturnType } * diff --git a/src/main/java/com/ixopay/client/model/result/PhoneDataType.java b/src/main/java/com/ixopay/client/model/result/PhoneDataType.java new file mode 100644 index 0000000..0ca295a --- /dev/null +++ b/src/main/java/com/ixopay/client/model/result/PhoneDataType.java @@ -0,0 +1,139 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.result; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for phoneDataType complex type. + * + *

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

+ * <complexType name="phoneDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="phoneNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="country" type="{http://gateway.ixopay.com/Schema/V2/Result}countryType" minOccurs="0"/>
+ *         <element name="operator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "phoneDataType", propOrder = { + "phoneNumber", + "country", + "operator" +}) +public class PhoneDataType { + + protected String phoneNumber; + protected String country; + protected String operator; + + /** + * Default no-arg constructor + * + */ + public PhoneDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public PhoneDataType(final String phoneNumber, final String country, final String operator) { + this.phoneNumber = phoneNumber; + this.country = country; + this.operator = operator; + } + + /** + * Gets the value of the phoneNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPhoneNumber() { + return phoneNumber; + } + + /** + * Sets the value of the phoneNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPhoneNumber(String value) { + this.phoneNumber = value; + } + + /** + * Gets the value of the country property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountry() { + return country; + } + + /** + * Sets the value of the country property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountry(String value) { + this.country = value; + } + + /** + * Gets the value of the operator property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOperator() { + return operator; + } + + /** + * Sets the value of the operator property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOperator(String value) { + this.operator = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/result/ResultType.java b/src/main/java/com/ixopay/client/model/result/ResultType.java index dcbe194..2b7a990 100644 --- a/src/main/java/com/ixopay/client/model/result/ResultType.java +++ b/src/main/java/com/ixopay/client/model/result/ResultType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -36,7 +36,13 @@ * <element name="redirectUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> * <element name="htmlContent" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="paymentDescriptor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="paymentMethod" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="returnData" type="{http://gateway.ixopay.com/Schema/V2/Result}returnDataType" minOccurs="0"/> + * <element name="scheduleId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="scheduleStatus" type="{http://gateway.ixopay.com/Schema/V2/Result}scheduleStatusType" minOccurs="0"/> + * <element name="scheduledAt" type="{http://gateway.ixopay.com/Schema/V2/Result}scheduleDateTime" minOccurs="0"/> + * <element name="customerProfile" type="{http://gateway.ixopay.com/Schema/V2/Result}customerProfileDataType" minOccurs="0"/> + * <element name="riskCheckData" type="{http://gateway.ixopay.com/Schema/V2/Result}riskCheckDataType" minOccurs="0"/> * <element name="errors" type="{http://gateway.ixopay.com/Schema/V2/Result}errorsType" minOccurs="0"/> * <element name="extraData" type="{http://gateway.ixopay.com/Schema/V2/Result}extraDataType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> @@ -57,7 +63,13 @@ "redirectUrl", "htmlContent", "paymentDescriptor", + "paymentMethod", "returnData", + "scheduleId", + "scheduleStatus", + "scheduledAt", + "customerProfile", + "riskCheckData", "errors", "extraData" }) @@ -74,7 +86,13 @@ public class ResultType { protected String redirectUrl; protected String htmlContent; protected String paymentDescriptor; + protected String paymentMethod; protected ReturnDataType returnData; + protected String scheduleId; + protected ScheduleStatusType scheduleStatus; + protected String scheduledAt; + protected CustomerProfileDataType customerProfile; + protected RiskCheckDataType riskCheckData; protected ErrorsType errors; protected List extraData; @@ -90,7 +108,7 @@ public ResultType() { * Fully-initialising value constructor * */ - public ResultType(final boolean success, final String referenceId, final String purchaseId, final String registrationId, final ReturnType returnType, final String redirectUrl, final String htmlContent, final String paymentDescriptor, final ReturnDataType returnData, final ErrorsType errors, final List extraData) { + public ResultType(final boolean success, final String referenceId, final String purchaseId, final String registrationId, final ReturnType returnType, final String redirectUrl, final String htmlContent, final String paymentDescriptor, final String paymentMethod, final ReturnDataType returnData, final String scheduleId, final ScheduleStatusType scheduleStatus, final String scheduledAt, final CustomerProfileDataType customerProfile, final RiskCheckDataType riskCheckData, final ErrorsType errors, final List extraData) { this.success = success; this.referenceId = referenceId; this.purchaseId = purchaseId; @@ -99,7 +117,13 @@ public ResultType(final boolean success, final String referenceId, final String this.redirectUrl = redirectUrl; this.htmlContent = htmlContent; this.paymentDescriptor = paymentDescriptor; + this.paymentMethod = paymentMethod; this.returnData = returnData; + this.scheduleId = scheduleId; + this.scheduleStatus = scheduleStatus; + this.scheduledAt = scheduledAt; + this.customerProfile = customerProfile; + this.riskCheckData = riskCheckData; this.errors = errors; this.extraData = extraData; } @@ -288,6 +312,30 @@ public void setPaymentDescriptor(String value) { this.paymentDescriptor = value; } + /** + * Gets the value of the paymentMethod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPaymentMethod() { + return paymentMethod; + } + + /** + * Sets the value of the paymentMethod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPaymentMethod(String value) { + this.paymentMethod = value; + } + /** * Gets the value of the returnData property. * @@ -312,6 +360,126 @@ public void setReturnData(ReturnDataType value) { this.returnData = value; } + /** + * Gets the value of the scheduleId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getScheduleId() { + return scheduleId; + } + + /** + * Sets the value of the scheduleId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setScheduleId(String value) { + this.scheduleId = value; + } + + /** + * Gets the value of the scheduleStatus property. + * + * @return + * possible object is + * {@link ScheduleStatusType } + * + */ + public ScheduleStatusType getScheduleStatus() { + return scheduleStatus; + } + + /** + * Sets the value of the scheduleStatus property. + * + * @param value + * allowed object is + * {@link ScheduleStatusType } + * + */ + public void setScheduleStatus(ScheduleStatusType value) { + this.scheduleStatus = value; + } + + /** + * Gets the value of the scheduledAt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getScheduledAt() { + return scheduledAt; + } + + /** + * Sets the value of the scheduledAt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setScheduledAt(String value) { + this.scheduledAt = value; + } + + /** + * Gets the value of the customerProfile property. + * + * @return + * possible object is + * {@link CustomerProfileDataType } + * + */ + public CustomerProfileDataType getCustomerProfile() { + return customerProfile; + } + + /** + * Sets the value of the customerProfile property. + * + * @param value + * allowed object is + * {@link CustomerProfileDataType } + * + */ + public void setCustomerProfile(CustomerProfileDataType value) { + this.customerProfile = value; + } + + /** + * Gets the value of the riskCheckData property. + * + * @return + * possible object is + * {@link RiskCheckDataType } + * + */ + public RiskCheckDataType getRiskCheckData() { + return riskCheckData; + } + + /** + * Sets the value of the riskCheckData property. + * + * @param value + * allowed object is + * {@link RiskCheckDataType } + * + */ + public void setRiskCheckData(RiskCheckDataType value) { + this.riskCheckData = value; + } + /** * Gets the value of the errors property. * diff --git a/src/main/java/com/ixopay/client/model/result/ReturnDataType.java b/src/main/java/com/ixopay/client/model/result/ReturnDataType.java index 64f6ca8..804090d 100644 --- a/src/main/java/com/ixopay/client/model/result/ReturnDataType.java +++ b/src/main/java/com/ixopay/client/model/result/ReturnDataType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -25,6 +25,8 @@ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice> * <element name="creditcardData" type="{http://gateway.ixopay.com/Schema/V2/Result}creditcardDataType"/> + * <element name="phoneData" type="{http://gateway.ixopay.com/Schema/V2/Result}phoneDataType"/> + * <element name="ibanData" type="{http://gateway.ixopay.com/Schema/V2/Result}ibanDataType"/> * </choice> * <attribute name="type" use="required" type="{http://gateway.ixopay.com/Schema/V2/Result}returnDataTypeEnum" /> * </restriction> @@ -36,11 +38,15 @@ */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "returnDataType", propOrder = { - "creditcardData" + "creditcardData", + "phoneData", + "ibanData" }) public class ReturnDataType { protected CreditcardDataType creditcardData; + protected PhoneDataType phoneData; + protected IbanDataType ibanData; @XmlAttribute(name = "type", required = true) protected ReturnDataTypeEnum type; @@ -56,8 +62,10 @@ public ReturnDataType() { * Fully-initialising value constructor * */ - public ReturnDataType(final CreditcardDataType creditcardData, final ReturnDataTypeEnum type) { + public ReturnDataType(final CreditcardDataType creditcardData, final PhoneDataType phoneData, final IbanDataType ibanData, final ReturnDataTypeEnum type) { this.creditcardData = creditcardData; + this.phoneData = phoneData; + this.ibanData = ibanData; this.type = type; } @@ -85,6 +93,54 @@ public void setCreditcardData(CreditcardDataType value) { this.creditcardData = value; } + /** + * Gets the value of the phoneData property. + * + * @return + * possible object is + * {@link PhoneDataType } + * + */ + public PhoneDataType getPhoneData() { + return phoneData; + } + + /** + * Sets the value of the phoneData property. + * + * @param value + * allowed object is + * {@link PhoneDataType } + * + */ + public void setPhoneData(PhoneDataType value) { + this.phoneData = value; + } + + /** + * Gets the value of the ibanData property. + * + * @return + * possible object is + * {@link IbanDataType } + * + */ + public IbanDataType getIbanData() { + return ibanData; + } + + /** + * Sets the value of the ibanData property. + * + * @param value + * allowed object is + * {@link IbanDataType } + * + */ + public void setIbanData(IbanDataType value) { + this.ibanData = value; + } + /** * Gets the value of the type property. * diff --git a/src/main/java/com/ixopay/client/model/result/ReturnDataTypeEnum.java b/src/main/java/com/ixopay/client/model/result/ReturnDataTypeEnum.java index 641ed53..4b90244 100644 --- a/src/main/java/com/ixopay/client/model/result/ReturnDataTypeEnum.java +++ b/src/main/java/com/ixopay/client/model/result/ReturnDataTypeEnum.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/result/ReturnType.java b/src/main/java/com/ixopay/client/model/result/ReturnType.java index d09a0e6..069133f 100644 --- a/src/main/java/com/ixopay/client/model/result/ReturnType.java +++ b/src/main/java/com/ixopay/client/model/result/ReturnType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/result/ReturnTypeValues.java b/src/main/java/com/ixopay/client/model/result/ReturnTypeValues.java index 093652a..3f57d7b 100644 --- a/src/main/java/com/ixopay/client/model/result/ReturnTypeValues.java +++ b/src/main/java/com/ixopay/client/model/result/ReturnTypeValues.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/result/RiskCheckDataType.java b/src/main/java/com/ixopay/client/model/result/RiskCheckDataType.java new file mode 100644 index 0000000..b4d403f --- /dev/null +++ b/src/main/java/com/ixopay/client/model/result/RiskCheckDataType.java @@ -0,0 +1,142 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.result; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for riskCheckDataType complex type. + * + *

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

+ * <complexType name="riskCheckDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="result" type="{http://gateway.ixopay.com/Schema/V2/Result}riskCheckResultType"/>
+ *         <element name="riskScore" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ *         <element name="threeDSecureRequired" type="{http://gateway.ixopay.com/Schema/V2/Result}threeDSecureRequiredType" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "riskCheckDataType", propOrder = { + "result", + "riskScore", + "threeDSecureRequired" +}) +public class RiskCheckDataType { + + @XmlElement(required = true) + protected RiskCheckResultType result; + protected BigInteger riskScore; + protected ThreeDSecureRequiredType threeDSecureRequired; + + /** + * Default no-arg constructor + * + */ + public RiskCheckDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public RiskCheckDataType(final RiskCheckResultType result, final BigInteger riskScore, final ThreeDSecureRequiredType threeDSecureRequired) { + this.result = result; + this.riskScore = riskScore; + this.threeDSecureRequired = threeDSecureRequired; + } + + /** + * Gets the value of the result property. + * + * @return + * possible object is + * {@link RiskCheckResultType } + * + */ + public RiskCheckResultType getResult() { + return result; + } + + /** + * Sets the value of the result property. + * + * @param value + * allowed object is + * {@link RiskCheckResultType } + * + */ + public void setResult(RiskCheckResultType value) { + this.result = value; + } + + /** + * Gets the value of the riskScore property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getRiskScore() { + return riskScore; + } + + /** + * Sets the value of the riskScore property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setRiskScore(BigInteger value) { + this.riskScore = value; + } + + /** + * Gets the value of the threeDSecureRequired property. + * + * @return + * possible object is + * {@link ThreeDSecureRequiredType } + * + */ + public ThreeDSecureRequiredType getThreeDSecureRequired() { + return threeDSecureRequired; + } + + /** + * Sets the value of the threeDSecureRequired property. + * + * @param value + * allowed object is + * {@link ThreeDSecureRequiredType } + * + */ + public void setThreeDSecureRequired(ThreeDSecureRequiredType value) { + this.threeDSecureRequired = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/result/RiskCheckResultType.java b/src/main/java/com/ixopay/client/model/result/RiskCheckResultType.java new file mode 100644 index 0000000..b4aedde --- /dev/null +++ b/src/main/java/com/ixopay/client/model/result/RiskCheckResultType.java @@ -0,0 +1,47 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.result; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for riskCheckResultType. + * + *

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

+ *

+ * <simpleType name="riskCheckResultType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="APPROVED"/>
+ *     <enumeration value="DECLINED"/>
+ *     <enumeration value="REVIEW"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "riskCheckResultType") +@XmlEnum +public enum RiskCheckResultType { + + APPROVED, + DECLINED, + REVIEW; + + public String value() { + return name(); + } + + public static RiskCheckResultType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/result/ScheduleStatusType.java b/src/main/java/com/ixopay/client/model/result/ScheduleStatusType.java new file mode 100644 index 0000000..4a10784 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/result/ScheduleStatusType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.result; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for scheduleStatusType. + * + *

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

+ *

+ * <simpleType name="scheduleStatusType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="ACTIVE"/>
+ *     <enumeration value="PAUSED"/>
+ *     <enumeration value="CANCELLED"/>
+ *     <enumeration value="ERROR"/>
+ *     <enumeration value="CREATE-PENDING"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "scheduleStatusType") +@XmlEnum +public enum ScheduleStatusType { + + ACTIVE("ACTIVE"), + PAUSED("PAUSED"), + CANCELLED("CANCELLED"), + ERROR("ERROR"), + @XmlEnumValue("CREATE-PENDING") + CREATE_PENDING("CREATE-PENDING"); + private final String value; + + ScheduleStatusType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static ScheduleStatusType fromValue(String v) { + for (ScheduleStatusType c: ScheduleStatusType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/result/ThreeDSecureRequiredType.java b/src/main/java/com/ixopay/client/model/result/ThreeDSecureRequiredType.java new file mode 100644 index 0000000..912173e --- /dev/null +++ b/src/main/java/com/ixopay/client/model/result/ThreeDSecureRequiredType.java @@ -0,0 +1,47 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.result; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for threeDSecureRequiredType. + * + *

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

+ *

+ * <simpleType name="threeDSecureRequiredType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="NONE"/>
+ *     <enumeration value="OPTIONAL"/>
+ *     <enumeration value="MANDATORY"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "threeDSecureRequiredType") +@XmlEnum +public enum ThreeDSecureRequiredType { + + NONE, + OPTIONAL, + MANDATORY; + + public String value() { + return name(); + } + + public static ThreeDSecureRequiredType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/result/package-info.java b/src/main/java/com/ixopay/client/model/result/package-info.java index 70201f1..9b2efd0 100644 --- a/src/main/java/com/ixopay/client/model/result/package-info.java +++ b/src/main/java/com/ixopay/client/model/result/package-info.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @javax.xml.bind.annotation.XmlSchema(namespace = "http://gateway.ixopay.com/Schema/V2/Result", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) diff --git a/src/main/java/com/ixopay/client/model/schedule/CancelScheduleType.java b/src/main/java/com/ixopay/client/model/schedule/CancelScheduleType.java new file mode 100644 index 0000000..434f521 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/CancelScheduleType.java @@ -0,0 +1,85 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.schedule; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for cancelScheduleType complex type. + * + *

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

+ * <complexType name="cancelScheduleType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="scheduleId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "cancelScheduleType", propOrder = { + "scheduleId" +}) +public class CancelScheduleType { + + @XmlElement(required = true) + protected String scheduleId; + + /** + * Default no-arg constructor + * + */ + public CancelScheduleType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public CancelScheduleType(final String scheduleId) { + this.scheduleId = scheduleId; + } + + /** + * Gets the value of the scheduleId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getScheduleId() { + return scheduleId; + } + + /** + * Sets the value of the scheduleId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setScheduleId(String value) { + this.scheduleId = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/schedule/ContinueScheduleType.java b/src/main/java/com/ixopay/client/model/schedule/ContinueScheduleType.java new file mode 100644 index 0000000..102b324 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/ContinueScheduleType.java @@ -0,0 +1,114 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.schedule; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for continueScheduleType complex type. + * + *

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

+ * <complexType name="continueScheduleType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="scheduleId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="continueDateTime" type="{http://gateway.ixopay.com/Schema/V2/Schedule}scheduleDateTime"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "continueScheduleType", propOrder = { + "scheduleId", + "continueDateTime" +}) +public class ContinueScheduleType { + + @XmlElement(required = true) + protected String scheduleId; + @XmlElement(required = true) + protected String continueDateTime; + + /** + * Default no-arg constructor + * + */ + public ContinueScheduleType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ContinueScheduleType(final String scheduleId, final String continueDateTime) { + this.scheduleId = scheduleId; + this.continueDateTime = continueDateTime; + } + + /** + * Gets the value of the scheduleId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getScheduleId() { + return scheduleId; + } + + /** + * Sets the value of the scheduleId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setScheduleId(String value) { + this.scheduleId = value; + } + + /** + * Gets the value of the continueDateTime property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getContinueDateTime() { + return continueDateTime; + } + + /** + * Sets the value of the continueDateTime property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setContinueDateTime(String value) { + this.continueDateTime = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/schedule/ErrorType.java b/src/main/java/com/ixopay/client/model/schedule/ErrorType.java new file mode 100644 index 0000000..daddee7 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/ErrorType.java @@ -0,0 +1,117 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.schedule; + +import java.math.BigInteger; +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.XmlType; + + +/** + *

Java class for errorType complex type. + * + *

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

+ * <complexType name="errorType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "errorType", namespace = "http://gateway.ixopay.com/Schema/V2/ScheduleResult", propOrder = { + "message", + "code" +}) +public class ErrorType { + + @XmlElement(required = true) + protected String message; + @XmlElement(required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger code; + + /** + * Default no-arg constructor + * + */ + public ErrorType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ErrorType(final String message, final BigInteger code) { + this.message = message; + this.code = code; + } + + /** + * Gets the value of the message property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMessage() { + return message; + } + + /** + * Sets the value of the message property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMessage(String value) { + this.message = value; + } + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/schedule/ErrorsType.java b/src/main/java/com/ixopay/client/model/schedule/ErrorsType.java new file mode 100644 index 0000000..f7a13fc --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/ErrorsType.java @@ -0,0 +1,90 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.schedule; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for errorsType complex type. + * + *

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

+ * <complexType name="errorsType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="error" type="{http://gateway.ixopay.com/Schema/V2/ScheduleResult}errorType" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "errorsType", namespace = "http://gateway.ixopay.com/Schema/V2/ScheduleResult", propOrder = { + "error" +}) +public class ErrorsType { + + protected List error; + + /** + * Default no-arg constructor + * + */ + public ErrorsType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ErrorsType(final List error) { + this.error = error; + } + + /** + * Gets the value of the error 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 error property. + * + *

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

+     *    getError().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ErrorType } + * + * + */ + public List getError() { + if (error == null) { + error = new ArrayList(); + } + return this.error; + } + +} diff --git a/src/main/java/com/ixopay/client/model/schedule/ObjectFactory.java b/src/main/java/com/ixopay/client/model/schedule/ObjectFactory.java new file mode 100644 index 0000000..7a8be24 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/ObjectFactory.java @@ -0,0 +1,134 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.schedule; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the com.ixopay.client.model.schedule package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _ScheduleResult_QNAME = new QName("http://gateway.ixopay.com/Schema/V2/ScheduleResult", "scheduleResult"); + private final static QName _Schedule_QNAME = new QName("http://gateway.ixopay.com/Schema/V2/Schedule", "schedule"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.ixopay.client.model.schedule + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ScheduleRequestType } + * + */ + public ScheduleRequestType createScheduleRequestType() { + return new ScheduleRequestType(); + } + + /** + * Create an instance of {@link ContinueScheduleType } + * + */ + public ContinueScheduleType createContinueScheduleType() { + return new ContinueScheduleType(); + } + + /** + * Create an instance of {@link ShowScheduleType } + * + */ + public ShowScheduleType createShowScheduleType() { + return new ShowScheduleType(); + } + + /** + * Create an instance of {@link PauseScheduleType } + * + */ + public PauseScheduleType createPauseScheduleType() { + return new PauseScheduleType(); + } + + /** + * Create an instance of {@link CancelScheduleType } + * + */ + public CancelScheduleType createCancelScheduleType() { + return new CancelScheduleType(); + } + + /** + * Create an instance of {@link StartScheduleType } + * + */ + public StartScheduleType createStartScheduleType() { + return new StartScheduleType(); + } + + /** + * Create an instance of {@link ScheduleResultType } + * + */ + public ScheduleResultType createScheduleResultType() { + return new ScheduleResultType(); + } + + /** + * Create an instance of {@link ErrorsType } + * + */ + public ErrorsType createErrorsType() { + return new ErrorsType(); + } + + /** + * Create an instance of {@link ErrorType } + * + */ + public ErrorType createErrorType() { + return new ErrorType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ScheduleResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://gateway.ixopay.com/Schema/V2/ScheduleResult", name = "scheduleResult") + public JAXBElement createScheduleResult(ScheduleResultType value) { + return new JAXBElement(_ScheduleResult_QNAME, ScheduleResultType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ScheduleRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://gateway.ixopay.com/Schema/V2/Schedule", name = "schedule") + public JAXBElement createSchedule(ScheduleRequestType value) { + return new JAXBElement(_Schedule_QNAME, ScheduleRequestType.class, null, value); + } + +} diff --git a/src/main/java/com/ixopay/client/model/schedule/PauseScheduleType.java b/src/main/java/com/ixopay/client/model/schedule/PauseScheduleType.java new file mode 100644 index 0000000..ba9dd35 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/PauseScheduleType.java @@ -0,0 +1,85 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.schedule; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for pauseScheduleType complex type. + * + *

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

+ * <complexType name="pauseScheduleType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="scheduleId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pauseScheduleType", propOrder = { + "scheduleId" +}) +public class PauseScheduleType { + + @XmlElement(required = true) + protected String scheduleId; + + /** + * Default no-arg constructor + * + */ + public PauseScheduleType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public PauseScheduleType(final String scheduleId) { + this.scheduleId = scheduleId; + } + + /** + * Gets the value of the scheduleId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getScheduleId() { + return scheduleId; + } + + /** + * Sets the value of the scheduleId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setScheduleId(String value) { + this.scheduleId = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/schedule/PeriodUnitType.java b/src/main/java/com/ixopay/client/model/schedule/PeriodUnitType.java new file mode 100644 index 0000000..245b8ac --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/PeriodUnitType.java @@ -0,0 +1,49 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.schedule; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for periodUnitType. + * + *

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

+ *

+ * <simpleType name="periodUnitType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="DAY"/>
+ *     <enumeration value="WEEK"/>
+ *     <enumeration value="MONTH"/>
+ *     <enumeration value="YEAR"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "periodUnitType") +@XmlEnum +public enum PeriodUnitType { + + DAY, + WEEK, + MONTH, + YEAR; + + public String value() { + return name(); + } + + public static PeriodUnitType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/schedule/ScheduleRequestType.java b/src/main/java/com/ixopay/client/model/schedule/ScheduleRequestType.java new file mode 100644 index 0000000..3bc988e --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/ScheduleRequestType.java @@ -0,0 +1,258 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.schedule; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for scheduleRequestType complex type. + * + *

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

+ * <complexType name="scheduleRequestType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="username" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="password" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <choice>
+ *           <element name="startSchedule" type="{http://gateway.ixopay.com/Schema/V2/Schedule}startScheduleType"/>
+ *           <element name="showSchedule" type="{http://gateway.ixopay.com/Schema/V2/Schedule}showScheduleType"/>
+ *           <element name="pauseSchedule" type="{http://gateway.ixopay.com/Schema/V2/Schedule}pauseScheduleType"/>
+ *           <element name="continueSchedule" type="{http://gateway.ixopay.com/Schema/V2/Schedule}continueScheduleType"/>
+ *           <element name="cancelSchedule" type="{http://gateway.ixopay.com/Schema/V2/Schedule}cancelScheduleType"/>
+ *         </choice>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "scheduleRequestType", propOrder = { + "username", + "password", + "startSchedule", + "showSchedule", + "pauseSchedule", + "continueSchedule", + "cancelSchedule" +}) +@XmlRootElement(name = "schedule") +public class ScheduleRequestType { + + @XmlElement(required = true) + protected String username; + @XmlElement(required = true) + protected String password; + protected StartScheduleType startSchedule; + protected ShowScheduleType showSchedule; + protected PauseScheduleType pauseSchedule; + protected ContinueScheduleType continueSchedule; + protected CancelScheduleType cancelSchedule; + + /** + * Default no-arg constructor + * + */ + public ScheduleRequestType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ScheduleRequestType(final String username, final String password, final StartScheduleType startSchedule, final ShowScheduleType showSchedule, final PauseScheduleType pauseSchedule, final ContinueScheduleType continueSchedule, final CancelScheduleType cancelSchedule) { + this.username = username; + this.password = password; + this.startSchedule = startSchedule; + this.showSchedule = showSchedule; + this.pauseSchedule = pauseSchedule; + this.continueSchedule = continueSchedule; + this.cancelSchedule = cancelSchedule; + } + + /** + * Gets the value of the username property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUsername() { + return username; + } + + /** + * Sets the value of the username property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUsername(String value) { + this.username = value; + } + + /** + * Gets the value of the password property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPassword() { + return password; + } + + /** + * Sets the value of the password property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPassword(String value) { + this.password = value; + } + + /** + * Gets the value of the startSchedule property. + * + * @return + * possible object is + * {@link StartScheduleType } + * + */ + public StartScheduleType getStartSchedule() { + return startSchedule; + } + + /** + * Sets the value of the startSchedule property. + * + * @param value + * allowed object is + * {@link StartScheduleType } + * + */ + public void setStartSchedule(StartScheduleType value) { + this.startSchedule = value; + } + + /** + * Gets the value of the showSchedule property. + * + * @return + * possible object is + * {@link ShowScheduleType } + * + */ + public ShowScheduleType getShowSchedule() { + return showSchedule; + } + + /** + * Sets the value of the showSchedule property. + * + * @param value + * allowed object is + * {@link ShowScheduleType } + * + */ + public void setShowSchedule(ShowScheduleType value) { + this.showSchedule = value; + } + + /** + * Gets the value of the pauseSchedule property. + * + * @return + * possible object is + * {@link PauseScheduleType } + * + */ + public PauseScheduleType getPauseSchedule() { + return pauseSchedule; + } + + /** + * Sets the value of the pauseSchedule property. + * + * @param value + * allowed object is + * {@link PauseScheduleType } + * + */ + public void setPauseSchedule(PauseScheduleType value) { + this.pauseSchedule = value; + } + + /** + * Gets the value of the continueSchedule property. + * + * @return + * possible object is + * {@link ContinueScheduleType } + * + */ + public ContinueScheduleType getContinueSchedule() { + return continueSchedule; + } + + /** + * Sets the value of the continueSchedule property. + * + * @param value + * allowed object is + * {@link ContinueScheduleType } + * + */ + public void setContinueSchedule(ContinueScheduleType value) { + this.continueSchedule = value; + } + + /** + * Gets the value of the cancelSchedule property. + * + * @return + * possible object is + * {@link CancelScheduleType } + * + */ + public CancelScheduleType getCancelSchedule() { + return cancelSchedule; + } + + /** + * Sets the value of the cancelSchedule property. + * + * @param value + * allowed object is + * {@link CancelScheduleType } + * + */ + public void setCancelSchedule(CancelScheduleType value) { + this.cancelSchedule = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/schedule/ScheduleResultType.java b/src/main/java/com/ixopay/client/model/schedule/ScheduleResultType.java new file mode 100644 index 0000000..063ed21 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/ScheduleResultType.java @@ -0,0 +1,245 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.schedule; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for scheduleResultType complex type. + * + *

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

+ * <complexType name="scheduleResultType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="operationSuccess" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ *         <element name="scheduleId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="registrationId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="oldStatus" type="{http://gateway.ixopay.com/Schema/V2/ScheduleResult}scheduleStatusType" minOccurs="0"/>
+ *         <element name="newStatus" type="{http://gateway.ixopay.com/Schema/V2/ScheduleResult}scheduleStatusType" minOccurs="0"/>
+ *         <element name="scheduledAt" type="{http://gateway.ixopay.com/Schema/V2/ScheduleResult}scheduleDateTime" minOccurs="0"/>
+ *         <element name="errors" type="{http://gateway.ixopay.com/Schema/V2/ScheduleResult}errorsType" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "scheduleResultType", namespace = "http://gateway.ixopay.com/Schema/V2/ScheduleResult", propOrder = { + "operationSuccess", + "scheduleId", + "registrationId", + "oldStatus", + "newStatus", + "scheduledAt", + "errors" +}) +@XmlRootElement(name = "schedule") +public class ScheduleResultType { + + protected boolean operationSuccess; + protected String scheduleId; + protected String registrationId; + protected ScheduleStatusType oldStatus; + protected ScheduleStatusType newStatus; + protected String scheduledAt; + protected ErrorsType errors; + + /** + * Default no-arg constructor + * + */ + public ScheduleResultType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ScheduleResultType(final boolean operationSuccess, final String scheduleId, final String registrationId, final ScheduleStatusType oldStatus, final ScheduleStatusType newStatus, final String scheduledAt, final ErrorsType errors) { + this.operationSuccess = operationSuccess; + this.scheduleId = scheduleId; + this.registrationId = registrationId; + this.oldStatus = oldStatus; + this.newStatus = newStatus; + this.scheduledAt = scheduledAt; + this.errors = errors; + } + + /** + * Gets the value of the operationSuccess property. + * + */ + public boolean isOperationSuccess() { + return operationSuccess; + } + + /** + * Sets the value of the operationSuccess property. + * + */ + public void setOperationSuccess(boolean value) { + this.operationSuccess = value; + } + + /** + * Gets the value of the scheduleId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getScheduleId() { + return scheduleId; + } + + /** + * Sets the value of the scheduleId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setScheduleId(String value) { + this.scheduleId = value; + } + + /** + * Gets the value of the registrationId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRegistrationId() { + return registrationId; + } + + /** + * Sets the value of the registrationId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRegistrationId(String value) { + this.registrationId = value; + } + + /** + * Gets the value of the oldStatus property. + * + * @return + * possible object is + * {@link ScheduleStatusType } + * + */ + public ScheduleStatusType getOldStatus() { + return oldStatus; + } + + /** + * Sets the value of the oldStatus property. + * + * @param value + * allowed object is + * {@link ScheduleStatusType } + * + */ + public void setOldStatus(ScheduleStatusType value) { + this.oldStatus = value; + } + + /** + * Gets the value of the newStatus property. + * + * @return + * possible object is + * {@link ScheduleStatusType } + * + */ + public ScheduleStatusType getNewStatus() { + return newStatus; + } + + /** + * Sets the value of the newStatus property. + * + * @param value + * allowed object is + * {@link ScheduleStatusType } + * + */ + public void setNewStatus(ScheduleStatusType value) { + this.newStatus = value; + } + + /** + * Gets the value of the scheduledAt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getScheduledAt() { + return scheduledAt; + } + + /** + * Sets the value of the scheduledAt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setScheduledAt(String value) { + this.scheduledAt = value; + } + + /** + * Gets the value of the errors property. + * + * @return + * possible object is + * {@link ErrorsType } + * + */ + public ErrorsType getErrors() { + return errors; + } + + /** + * Sets the value of the errors property. + * + * @param value + * allowed object is + * {@link ErrorsType } + * + */ + public void setErrors(ErrorsType value) { + this.errors = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/schedule/ScheduleStatusType.java b/src/main/java/com/ixopay/client/model/schedule/ScheduleStatusType.java new file mode 100644 index 0000000..4283873 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/ScheduleStatusType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.schedule; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for scheduleStatusType. + * + *

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

+ *

+ * <simpleType name="scheduleStatusType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="ACTIVE"/>
+ *     <enumeration value="PAUSED"/>
+ *     <enumeration value="CANCELLED"/>
+ *     <enumeration value="ERROR"/>
+ *     <enumeration value="CREATE-PENDING"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "scheduleStatusType", namespace = "http://gateway.ixopay.com/Schema/V2/ScheduleResult") +@XmlEnum +public enum ScheduleStatusType { + + ACTIVE("ACTIVE"), + PAUSED("PAUSED"), + CANCELLED("CANCELLED"), + ERROR("ERROR"), + @XmlEnumValue("CREATE-PENDING") + CREATE_PENDING("CREATE-PENDING"); + private final String value; + + ScheduleStatusType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static ScheduleStatusType fromValue(String v) { + for (ScheduleStatusType c: ScheduleStatusType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/schedule/ShowScheduleType.java b/src/main/java/com/ixopay/client/model/schedule/ShowScheduleType.java new file mode 100644 index 0000000..3f6a30c --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/ShowScheduleType.java @@ -0,0 +1,85 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.schedule; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for showScheduleType complex type. + * + *

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

+ * <complexType name="showScheduleType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="scheduleId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "showScheduleType", propOrder = { + "scheduleId" +}) +public class ShowScheduleType { + + @XmlElement(required = true) + protected String scheduleId; + + /** + * Default no-arg constructor + * + */ + public ShowScheduleType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ShowScheduleType(final String scheduleId) { + this.scheduleId = scheduleId; + } + + /** + * Gets the value of the scheduleId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getScheduleId() { + return scheduleId; + } + + /** + * Sets the value of the scheduleId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setScheduleId(String value) { + this.scheduleId = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/schedule/StartScheduleType.java b/src/main/java/com/ixopay/client/model/schedule/StartScheduleType.java new file mode 100644 index 0000000..17b9303 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/StartScheduleType.java @@ -0,0 +1,224 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.schedule; + +import java.math.BigDecimal; +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.XmlType; + + +/** + *

Java class for startScheduleType complex type. + * + *

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

+ * <complexType name="startScheduleType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="registrationId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="amount" type="{http://gateway.ixopay.com/Schema/V2/Schedule}amountType"/>
+ *         <element name="currency" type="{http://gateway.ixopay.com/Schema/V2/Schedule}currencyType"/>
+ *         <element name="periodLength" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
+ *         <element name="periodUnit" type="{http://gateway.ixopay.com/Schema/V2/Schedule}periodUnitType"/>
+ *         <element name="startDateTime" type="{http://gateway.ixopay.com/Schema/V2/Schedule}scheduleDateTime"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "startScheduleType", propOrder = { + "registrationId", + "amount", + "currency", + "periodLength", + "periodUnit", + "startDateTime" +}) +public class StartScheduleType { + + @XmlElement(required = true) + protected String registrationId; + @XmlElement(required = true) + protected BigDecimal amount; + @XmlElement(required = true) + protected String currency; + @XmlSchemaType(name = "unsignedInt") + protected long periodLength; + @XmlElement(required = true) + protected PeriodUnitType periodUnit; + @XmlElement(required = true) + protected String startDateTime; + + /** + * Default no-arg constructor + * + */ + public StartScheduleType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public StartScheduleType(final String registrationId, final BigDecimal amount, final String currency, final long periodLength, final PeriodUnitType periodUnit, final String startDateTime) { + this.registrationId = registrationId; + this.amount = amount; + this.currency = currency; + this.periodLength = periodLength; + this.periodUnit = periodUnit; + this.startDateTime = startDateTime; + } + + /** + * Gets the value of the registrationId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRegistrationId() { + return registrationId; + } + + /** + * Sets the value of the registrationId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRegistrationId(String value) { + this.registrationId = value; + } + + /** + * 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 currency property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCurrency() { + return currency; + } + + /** + * Sets the value of the currency property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCurrency(String value) { + this.currency = value; + } + + /** + * Gets the value of the periodLength property. + * + */ + public long getPeriodLength() { + return periodLength; + } + + /** + * Sets the value of the periodLength property. + * + */ + public void setPeriodLength(long value) { + this.periodLength = value; + } + + /** + * Gets the value of the periodUnit property. + * + * @return + * possible object is + * {@link PeriodUnitType } + * + */ + public PeriodUnitType getPeriodUnit() { + return periodUnit; + } + + /** + * Sets the value of the periodUnit property. + * + * @param value + * allowed object is + * {@link PeriodUnitType } + * + */ + public void setPeriodUnit(PeriodUnitType value) { + this.periodUnit = value; + } + + /** + * Gets the value of the startDateTime property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStartDateTime() { + return startDateTime; + } + + /** + * Sets the value of the startDateTime property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStartDateTime(String value) { + this.startDateTime = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/schedule/package-info.java b/src/main/java/com/ixopay/client/model/schedule/package-info.java new file mode 100644 index 0000000..b02c8bc --- /dev/null +++ b/src/main/java/com/ixopay/client/model/schedule/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://gateway.ixopay.com/Schema/V2/Schedule", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package com.ixopay.client.model.schedule; diff --git a/src/main/java/com/ixopay/client/model/status/ChargebackDataType.java b/src/main/java/com/ixopay/client/model/status/ChargebackDataType.java new file mode 100644 index 0000000..900b552 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/ChargebackDataType.java @@ -0,0 +1,227 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import java.math.BigDecimal; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + *

Java class for chargebackDataType complex type. + * + *

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

+ * <complexType name="chargebackDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="originalReferenceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="originalTransactionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="amount" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}amountType" minOccurs="0"/>
+ *         <element name="currency" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}currencyType" minOccurs="0"/>
+ *         <element name="reason" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="chargebackDateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "chargebackDataType", propOrder = { + "originalReferenceId", + "originalTransactionId", + "amount", + "currency", + "reason", + "chargebackDateTime" +}) +public class ChargebackDataType { + + protected String originalReferenceId; + protected String originalTransactionId; + protected BigDecimal amount; + protected String currency; + protected String reason; + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar chargebackDateTime; + + /** + * Default no-arg constructor + * + */ + public ChargebackDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ChargebackDataType(final String originalReferenceId, final String originalTransactionId, final BigDecimal amount, final String currency, final String reason, final XMLGregorianCalendar chargebackDateTime) { + this.originalReferenceId = originalReferenceId; + this.originalTransactionId = originalTransactionId; + this.amount = amount; + this.currency = currency; + this.reason = reason; + this.chargebackDateTime = chargebackDateTime; + } + + /** + * Gets the value of the originalReferenceId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOriginalReferenceId() { + return originalReferenceId; + } + + /** + * Sets the value of the originalReferenceId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOriginalReferenceId(String value) { + this.originalReferenceId = value; + } + + /** + * Gets the value of the originalTransactionId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOriginalTransactionId() { + return originalTransactionId; + } + + /** + * Sets the value of the originalTransactionId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOriginalTransactionId(String value) { + this.originalTransactionId = value; + } + + /** + * 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 currency property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCurrency() { + return currency; + } + + /** + * Sets the value of the currency property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCurrency(String value) { + this.currency = value; + } + + /** + * Gets the value of the reason property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReason() { + return reason; + } + + /** + * Sets the value of the reason property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReason(String value) { + this.reason = value; + } + + /** + * Gets the value of the chargebackDateTime property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getChargebackDateTime() { + return chargebackDateTime; + } + + /** + * Sets the value of the chargebackDateTime property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setChargebackDateTime(XMLGregorianCalendar value) { + this.chargebackDateTime = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/ChargebackReversalDataType.java b/src/main/java/com/ixopay/client/model/status/ChargebackReversalDataType.java new file mode 100644 index 0000000..9196562 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/ChargebackReversalDataType.java @@ -0,0 +1,255 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import java.math.BigDecimal; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + *

Java class for chargebackReversalDataType complex type. + * + *

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

+ * <complexType name="chargebackReversalDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="originalReferenceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="originalTransactionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="chargebackReferenceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="amount" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}amountType" minOccurs="0"/>
+ *         <element name="currency" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}currencyType" minOccurs="0"/>
+ *         <element name="reason" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="reversalDateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "chargebackReversalDataType", propOrder = { + "originalReferenceId", + "originalTransactionId", + "chargebackReferenceId", + "amount", + "currency", + "reason", + "reversalDateTime" +}) +public class ChargebackReversalDataType { + + protected String originalReferenceId; + protected String originalTransactionId; + protected String chargebackReferenceId; + protected BigDecimal amount; + protected String currency; + protected String reason; + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar reversalDateTime; + + /** + * Default no-arg constructor + * + */ + public ChargebackReversalDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ChargebackReversalDataType(final String originalReferenceId, final String originalTransactionId, final String chargebackReferenceId, final BigDecimal amount, final String currency, final String reason, final XMLGregorianCalendar reversalDateTime) { + this.originalReferenceId = originalReferenceId; + this.originalTransactionId = originalTransactionId; + this.chargebackReferenceId = chargebackReferenceId; + this.amount = amount; + this.currency = currency; + this.reason = reason; + this.reversalDateTime = reversalDateTime; + } + + /** + * Gets the value of the originalReferenceId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOriginalReferenceId() { + return originalReferenceId; + } + + /** + * Sets the value of the originalReferenceId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOriginalReferenceId(String value) { + this.originalReferenceId = value; + } + + /** + * Gets the value of the originalTransactionId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOriginalTransactionId() { + return originalTransactionId; + } + + /** + * Sets the value of the originalTransactionId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOriginalTransactionId(String value) { + this.originalTransactionId = value; + } + + /** + * Gets the value of the chargebackReferenceId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChargebackReferenceId() { + return chargebackReferenceId; + } + + /** + * Sets the value of the chargebackReferenceId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChargebackReferenceId(String value) { + this.chargebackReferenceId = value; + } + + /** + * 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 currency property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCurrency() { + return currency; + } + + /** + * Sets the value of the currency property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCurrency(String value) { + this.currency = value; + } + + /** + * Gets the value of the reason property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReason() { + return reason; + } + + /** + * Sets the value of the reason property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReason(String value) { + this.reason = value; + } + + /** + * Gets the value of the reversalDateTime property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getReversalDateTime() { + return reversalDateTime; + } + + /** + * Sets the value of the reversalDateTime property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setReversalDateTime(XMLGregorianCalendar value) { + this.reversalDateTime = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/CreditcardDataType.java b/src/main/java/com/ixopay/client/model/status/CreditcardDataType.java new file mode 100644 index 0000000..f31f473 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/CreditcardDataType.java @@ -0,0 +1,502 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for creditcardDataType complex type. + * + *

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

+ * <complexType name="creditcardDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="country" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}countryType" minOccurs="0"/>
+ *         <element name="cardHolder" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="expiryMonth" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
+ *               <minInclusive value="1"/>
+ *               <maxInclusive value="12"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="expiryYear" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
+ *               <totalDigits value="4"/>
+ *               <fractionDigits value="0"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="firstSixDigits" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <length value="6"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="lastFourDigits" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <length value="4"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="fingerprint" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="binBrand" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="binBank" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="binType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="binLevel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="binCountry" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="threeDSecure" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}threeDSecureType" minOccurs="0"/>
+ *         <element name="eci" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "creditcardDataType", propOrder = { + "type", + "country", + "cardHolder", + "expiryMonth", + "expiryYear", + "firstSixDigits", + "lastFourDigits", + "fingerprint", + "binBrand", + "binBank", + "binType", + "binLevel", + "binCountry", + "threeDSecure", + "eci" +}) +public class CreditcardDataType { + + protected String type; + protected String country; + protected String cardHolder; + protected Integer expiryMonth; + protected BigInteger expiryYear; + protected String firstSixDigits; + protected String lastFourDigits; + protected String fingerprint; + protected String binBrand; + protected String binBank; + protected String binType; + protected String binLevel; + protected String binCountry; + protected ThreeDSecureType threeDSecure; + protected String eci; + + /** + * Default no-arg constructor + * + */ + public CreditcardDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public CreditcardDataType(final String type, final String country, final String cardHolder, final Integer expiryMonth, final BigInteger expiryYear, final String firstSixDigits, final String lastFourDigits, final String fingerprint, final String binBrand, final String binBank, final String binType, final String binLevel, final String binCountry, final ThreeDSecureType threeDSecure, final String eci) { + this.type = type; + this.country = country; + this.cardHolder = cardHolder; + this.expiryMonth = expiryMonth; + this.expiryYear = expiryYear; + this.firstSixDigits = firstSixDigits; + this.lastFourDigits = lastFourDigits; + this.fingerprint = fingerprint; + this.binBrand = binBrand; + this.binBank = binBank; + this.binType = binType; + this.binLevel = binLevel; + this.binCountry = binCountry; + this.threeDSecure = threeDSecure; + this.eci = eci; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the country property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountry() { + return country; + } + + /** + * Sets the value of the country property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountry(String value) { + this.country = value; + } + + /** + * Gets the value of the cardHolder property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCardHolder() { + return cardHolder; + } + + /** + * Sets the value of the cardHolder property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCardHolder(String value) { + this.cardHolder = value; + } + + /** + * Gets the value of the expiryMonth property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getExpiryMonth() { + return expiryMonth; + } + + /** + * Sets the value of the expiryMonth property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setExpiryMonth(Integer value) { + this.expiryMonth = value; + } + + /** + * Gets the value of the expiryYear property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getExpiryYear() { + return expiryYear; + } + + /** + * Sets the value of the expiryYear property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setExpiryYear(BigInteger value) { + this.expiryYear = value; + } + + /** + * Gets the value of the firstSixDigits property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFirstSixDigits() { + return firstSixDigits; + } + + /** + * Sets the value of the firstSixDigits property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFirstSixDigits(String value) { + this.firstSixDigits = value; + } + + /** + * Gets the value of the lastFourDigits property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLastFourDigits() { + return lastFourDigits; + } + + /** + * Sets the value of the lastFourDigits property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLastFourDigits(String value) { + this.lastFourDigits = value; + } + + /** + * Gets the value of the fingerprint property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFingerprint() { + return fingerprint; + } + + /** + * Sets the value of the fingerprint property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFingerprint(String value) { + this.fingerprint = value; + } + + /** + * Gets the value of the binBrand property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBinBrand() { + return binBrand; + } + + /** + * Sets the value of the binBrand property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBinBrand(String value) { + this.binBrand = value; + } + + /** + * Gets the value of the binBank property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBinBank() { + return binBank; + } + + /** + * Sets the value of the binBank property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBinBank(String value) { + this.binBank = value; + } + + /** + * Gets the value of the binType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBinType() { + return binType; + } + + /** + * Sets the value of the binType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBinType(String value) { + this.binType = value; + } + + /** + * Gets the value of the binLevel property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBinLevel() { + return binLevel; + } + + /** + * Sets the value of the binLevel property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBinLevel(String value) { + this.binLevel = value; + } + + /** + * Gets the value of the binCountry property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBinCountry() { + return binCountry; + } + + /** + * Sets the value of the binCountry property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBinCountry(String value) { + this.binCountry = value; + } + + /** + * Gets the value of the threeDSecure property. + * + * @return + * possible object is + * {@link ThreeDSecureType } + * + */ + public ThreeDSecureType getThreeDSecure() { + return threeDSecure; + } + + /** + * Sets the value of the threeDSecure property. + * + * @param value + * allowed object is + * {@link ThreeDSecureType } + * + */ + public void setThreeDSecure(ThreeDSecureType value) { + this.threeDSecure = value; + } + + /** + * Gets the value of the eci property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEci() { + return eci; + } + + /** + * Sets the value of the eci property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEci(String value) { + this.eci = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/CustomerDataType.java b/src/main/java/com/ixopay/client/model/status/CustomerDataType.java new file mode 100644 index 0000000..7f9168f --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/CustomerDataType.java @@ -0,0 +1,814 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + *

Java class for customerDataType complex type. + * + *

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

+ * <complexType name="customerDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="identification" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="firstName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="lastName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="birthDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
+ *         <element name="gender" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}genderType" minOccurs="0"/>
+ *         <element name="billingAddress1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="billingAddress2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="billingCity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="billingPostcode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="billingState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="billingCountry" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}countryType" minOccurs="0"/>
+ *         <element name="billingPhone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingFirstName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingLastName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingCompany" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingAddress1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingAddress2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingCity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingPostcode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="shippingCountry" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}countryType" minOccurs="0"/>
+ *         <element name="shippingPhone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="company" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="emailVerified" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="ipAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="nationalId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "customerDataType", propOrder = { + "identification", + "firstName", + "lastName", + "birthDate", + "gender", + "billingAddress1", + "billingAddress2", + "billingCity", + "billingPostcode", + "billingState", + "billingCountry", + "billingPhone", + "shippingFirstName", + "shippingLastName", + "shippingCompany", + "shippingAddress1", + "shippingAddress2", + "shippingCity", + "shippingPostcode", + "shippingState", + "shippingCountry", + "shippingPhone", + "company", + "email", + "emailVerified", + "ipAddress", + "nationalId" +}) +public class CustomerDataType { + + protected String identification; + protected String firstName; + protected String lastName; + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar birthDate; + protected GenderType gender; + protected String billingAddress1; + protected String billingAddress2; + protected String billingCity; + protected String billingPostcode; + protected String billingState; + protected String billingCountry; + protected String billingPhone; + protected String shippingFirstName; + protected String shippingLastName; + protected String shippingCompany; + protected String shippingAddress1; + protected String shippingAddress2; + protected String shippingCity; + protected String shippingPostcode; + protected String shippingState; + protected String shippingCountry; + protected String shippingPhone; + protected String company; + protected String email; + protected Boolean emailVerified; + protected String ipAddress; + protected String nationalId; + + /** + * Default no-arg constructor + * + */ + public CustomerDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public CustomerDataType(final String identification, final String firstName, final String lastName, final XMLGregorianCalendar birthDate, final GenderType gender, final String billingAddress1, final String billingAddress2, final String billingCity, final String billingPostcode, final String billingState, final String billingCountry, final String billingPhone, final String shippingFirstName, final String shippingLastName, final String shippingCompany, final String shippingAddress1, final String shippingAddress2, final String shippingCity, final String shippingPostcode, final String shippingState, final String shippingCountry, final String shippingPhone, final String company, final String email, final Boolean emailVerified, final String ipAddress, final String nationalId) { + this.identification = identification; + this.firstName = firstName; + this.lastName = lastName; + this.birthDate = birthDate; + this.gender = gender; + this.billingAddress1 = billingAddress1; + this.billingAddress2 = billingAddress2; + this.billingCity = billingCity; + this.billingPostcode = billingPostcode; + this.billingState = billingState; + this.billingCountry = billingCountry; + this.billingPhone = billingPhone; + this.shippingFirstName = shippingFirstName; + this.shippingLastName = shippingLastName; + this.shippingCompany = shippingCompany; + this.shippingAddress1 = shippingAddress1; + this.shippingAddress2 = shippingAddress2; + this.shippingCity = shippingCity; + this.shippingPostcode = shippingPostcode; + this.shippingState = shippingState; + this.shippingCountry = shippingCountry; + this.shippingPhone = shippingPhone; + this.company = company; + this.email = email; + this.emailVerified = emailVerified; + this.ipAddress = ipAddress; + this.nationalId = nationalId; + } + + /** + * Gets the value of the identification property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdentification() { + return identification; + } + + /** + * Sets the value of the identification property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdentification(String value) { + this.identification = value; + } + + /** + * Gets the value of the firstName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFirstName() { + return firstName; + } + + /** + * Sets the value of the firstName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFirstName(String value) { + this.firstName = value; + } + + /** + * Gets the value of the lastName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLastName() { + return lastName; + } + + /** + * Sets the value of the lastName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLastName(String value) { + this.lastName = value; + } + + /** + * Gets the value of the birthDate property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getBirthDate() { + return birthDate; + } + + /** + * Sets the value of the birthDate property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setBirthDate(XMLGregorianCalendar value) { + this.birthDate = value; + } + + /** + * Gets the value of the gender property. + * + * @return + * possible object is + * {@link GenderType } + * + */ + public GenderType getGender() { + return gender; + } + + /** + * Sets the value of the gender property. + * + * @param value + * allowed object is + * {@link GenderType } + * + */ + public void setGender(GenderType value) { + this.gender = value; + } + + /** + * Gets the value of the billingAddress1 property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingAddress1() { + return billingAddress1; + } + + /** + * Sets the value of the billingAddress1 property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingAddress1(String value) { + this.billingAddress1 = value; + } + + /** + * Gets the value of the billingAddress2 property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingAddress2() { + return billingAddress2; + } + + /** + * Sets the value of the billingAddress2 property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingAddress2(String value) { + this.billingAddress2 = value; + } + + /** + * Gets the value of the billingCity property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingCity() { + return billingCity; + } + + /** + * Sets the value of the billingCity property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingCity(String value) { + this.billingCity = value; + } + + /** + * Gets the value of the billingPostcode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingPostcode() { + return billingPostcode; + } + + /** + * Sets the value of the billingPostcode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingPostcode(String value) { + this.billingPostcode = value; + } + + /** + * Gets the value of the billingState property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingState() { + return billingState; + } + + /** + * Sets the value of the billingState property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingState(String value) { + this.billingState = value; + } + + /** + * Gets the value of the billingCountry property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingCountry() { + return billingCountry; + } + + /** + * Sets the value of the billingCountry property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingCountry(String value) { + this.billingCountry = value; + } + + /** + * Gets the value of the billingPhone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBillingPhone() { + return billingPhone; + } + + /** + * Sets the value of the billingPhone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBillingPhone(String value) { + this.billingPhone = value; + } + + /** + * Gets the value of the shippingFirstName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingFirstName() { + return shippingFirstName; + } + + /** + * Sets the value of the shippingFirstName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingFirstName(String value) { + this.shippingFirstName = value; + } + + /** + * Gets the value of the shippingLastName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingLastName() { + return shippingLastName; + } + + /** + * Sets the value of the shippingLastName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingLastName(String value) { + this.shippingLastName = value; + } + + /** + * Gets the value of the shippingCompany property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingCompany() { + return shippingCompany; + } + + /** + * Sets the value of the shippingCompany property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingCompany(String value) { + this.shippingCompany = value; + } + + /** + * Gets the value of the shippingAddress1 property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingAddress1() { + return shippingAddress1; + } + + /** + * Sets the value of the shippingAddress1 property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingAddress1(String value) { + this.shippingAddress1 = value; + } + + /** + * Gets the value of the shippingAddress2 property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingAddress2() { + return shippingAddress2; + } + + /** + * Sets the value of the shippingAddress2 property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingAddress2(String value) { + this.shippingAddress2 = value; + } + + /** + * Gets the value of the shippingCity property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingCity() { + return shippingCity; + } + + /** + * Sets the value of the shippingCity property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingCity(String value) { + this.shippingCity = value; + } + + /** + * Gets the value of the shippingPostcode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingPostcode() { + return shippingPostcode; + } + + /** + * Sets the value of the shippingPostcode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingPostcode(String value) { + this.shippingPostcode = value; + } + + /** + * Gets the value of the shippingState property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingState() { + return shippingState; + } + + /** + * Sets the value of the shippingState property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingState(String value) { + this.shippingState = value; + } + + /** + * Gets the value of the shippingCountry property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingCountry() { + return shippingCountry; + } + + /** + * Sets the value of the shippingCountry property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingCountry(String value) { + this.shippingCountry = value; + } + + /** + * Gets the value of the shippingPhone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShippingPhone() { + return shippingPhone; + } + + /** + * Sets the value of the shippingPhone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShippingPhone(String value) { + this.shippingPhone = value; + } + + /** + * Gets the value of the company property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCompany() { + return company; + } + + /** + * Sets the value of the company property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCompany(String value) { + this.company = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + /** + * Gets the value of the emailVerified property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isEmailVerified() { + return emailVerified; + } + + /** + * Sets the value of the emailVerified property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setEmailVerified(Boolean value) { + this.emailVerified = value; + } + + /** + * Gets the value of the ipAddress property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIpAddress() { + return ipAddress; + } + + /** + * Sets the value of the ipAddress property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIpAddress(String value) { + this.ipAddress = value; + } + + /** + * Gets the value of the nationalId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNationalId() { + return nationalId; + } + + /** + * Sets the value of the nationalId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNationalId(String value) { + this.nationalId = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/ErrorType.java b/src/main/java/com/ixopay/client/model/status/ErrorType.java new file mode 100644 index 0000000..0a9adbb --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/ErrorType.java @@ -0,0 +1,170 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for errorType complex type. + * + *

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

+ * <complexType name="errorType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
+ *         <element name="adapterMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="adapterCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "errorType", propOrder = { + "message", + "code", + "adapterMessage", + "adapterCode" +}) +public class ErrorType { + + protected String message; + @XmlSchemaType(name = "positiveInteger") + protected BigInteger code; + protected String adapterMessage; + protected String adapterCode; + + /** + * Default no-arg constructor + * + */ + public ErrorType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ErrorType(final String message, final BigInteger code, final String adapterMessage, final String adapterCode) { + this.message = message; + this.code = code; + this.adapterMessage = adapterMessage; + this.adapterCode = adapterCode; + } + + /** + * Gets the value of the message property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMessage() { + return message; + } + + /** + * Sets the value of the message property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMessage(String value) { + this.message = value; + } + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the adapterMessage property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdapterMessage() { + return adapterMessage; + } + + /** + * Sets the value of the adapterMessage property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdapterMessage(String value) { + this.adapterMessage = value; + } + + /** + * Gets the value of the adapterCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdapterCode() { + return adapterCode; + } + + /** + * Sets the value of the adapterCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdapterCode(String value) { + this.adapterCode = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/ErrorsType.java b/src/main/java/com/ixopay/client/model/status/ErrorsType.java new file mode 100644 index 0000000..5600624 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/ErrorsType.java @@ -0,0 +1,90 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for errorsType complex type. + * + *

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

+ * <complexType name="errorsType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="error" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}errorType" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "errorsType", propOrder = { + "error" +}) +public class ErrorsType { + + protected List error; + + /** + * Default no-arg constructor + * + */ + public ErrorsType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ErrorsType(final List error) { + this.error = error; + } + + /** + * Gets the value of the error 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 error property. + * + *

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

+     *    getError().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ErrorType } + * + * + */ + public List getError() { + if (error == null) { + error = new ArrayList(); + } + return this.error; + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/ExtraDataType.java b/src/main/java/com/ixopay/client/model/status/ExtraDataType.java new file mode 100644 index 0000000..4bb2679 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/ExtraDataType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + *

Java class for extraDataType complex type. + * + *

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

+ * <complexType name="extraDataType">
+ *   <simpleContent>
+ *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *       <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </extension>
+ *   </simpleContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "extraDataType", propOrder = { + "value" +}) +public class ExtraDataType { + + @XmlValue + protected String value; + @XmlAttribute(name = "key", required = true) + protected String key; + + /** + * Default no-arg constructor + * + */ + public ExtraDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ExtraDataType(final String value, final String key) { + this.value = value; + this.key = key; + } + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the key property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKey() { + return key; + } + + /** + * Sets the value of the key property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKey(String value) { + this.key = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/GenderType.java b/src/main/java/com/ixopay/client/model/status/GenderType.java new file mode 100644 index 0000000..27f6eed --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/GenderType.java @@ -0,0 +1,45 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for genderType. + * + *

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

+ *

+ * <simpleType name="genderType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="M"/>
+ *     <enumeration value="F"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "genderType") +@XmlEnum +public enum GenderType { + + M, + F; + + public String value() { + return name(); + } + + public static GenderType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/IbanDataType.java b/src/main/java/com/ixopay/client/model/status/IbanDataType.java new file mode 100644 index 0000000..ba7c56b --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/IbanDataType.java @@ -0,0 +1,195 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for ibanDataType complex type. + * + *

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

+ * <complexType name="ibanDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="accountOwner" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="iban" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="bic" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="bankName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="country" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}countryType" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ibanDataType", propOrder = { + "accountOwner", + "iban", + "bic", + "bankName", + "country" +}) +public class IbanDataType { + + protected String accountOwner; + protected String iban; + protected String bic; + protected String bankName; + protected String country; + + /** + * Default no-arg constructor + * + */ + public IbanDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public IbanDataType(final String accountOwner, final String iban, final String bic, final String bankName, final String country) { + this.accountOwner = accountOwner; + this.iban = iban; + this.bic = bic; + this.bankName = bankName; + this.country = country; + } + + /** + * Gets the value of the accountOwner property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAccountOwner() { + return accountOwner; + } + + /** + * Sets the value of the accountOwner property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAccountOwner(String value) { + this.accountOwner = value; + } + + /** + * Gets the value of the iban property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIban() { + return iban; + } + + /** + * Sets the value of the iban property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIban(String value) { + this.iban = value; + } + + /** + * Gets the value of the bic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBic() { + return bic; + } + + /** + * Sets the value of the bic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBic(String value) { + this.bic = value; + } + + /** + * Gets the value of the bankName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBankName() { + return bankName; + } + + /** + * Sets the value of the bankName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBankName(String value) { + this.bankName = value; + } + + /** + * Gets the value of the country property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountry() { + return country; + } + + /** + * Sets the value of the country property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountry(String value) { + this.country = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/ObjectFactory.java b/src/main/java/com/ixopay/client/model/status/ObjectFactory.java new file mode 100644 index 0000000..930ce7c --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/ObjectFactory.java @@ -0,0 +1,158 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the com.ixopay.client.model.status package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Status_QNAME = new QName("http://gateway.ixopay.com/Schema/V2/Status", "status"); + private final static QName _StatusResult_QNAME = new QName("http://gateway.ixopay.com/Schema/V2/StatusResult", "statusResult"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.ixopay.client.model.status + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link StatusType } + * + */ + public StatusType createStatusType() { + return new StatusType(); + } + + /** + * Create an instance of {@link StatusResultType } + * + */ + public StatusResultType createStatusResultType() { + return new StatusResultType(); + } + + /** + * Create an instance of {@link PhoneDataType } + * + */ + public PhoneDataType createPhoneDataType() { + return new PhoneDataType(); + } + + /** + * Create an instance of {@link CreditcardDataType } + * + */ + public CreditcardDataType createCreditcardDataType() { + return new CreditcardDataType(); + } + + /** + * Create an instance of {@link ExtraDataType } + * + */ + public ExtraDataType createExtraDataType() { + return new ExtraDataType(); + } + + /** + * Create an instance of {@link ChargebackDataType } + * + */ + public ChargebackDataType createChargebackDataType() { + return new ChargebackDataType(); + } + + /** + * Create an instance of {@link ErrorType } + * + */ + public ErrorType createErrorType() { + return new ErrorType(); + } + + /** + * Create an instance of {@link ChargebackReversalDataType } + * + */ + public ChargebackReversalDataType createChargebackReversalDataType() { + return new ChargebackReversalDataType(); + } + + /** + * Create an instance of {@link ReturnDataType } + * + */ + public ReturnDataType createReturnDataType() { + return new ReturnDataType(); + } + + /** + * Create an instance of {@link IbanDataType } + * + */ + public IbanDataType createIbanDataType() { + return new IbanDataType(); + } + + /** + * Create an instance of {@link CustomerDataType } + * + */ + public CustomerDataType createCustomerDataType() { + return new CustomerDataType(); + } + + /** + * Create an instance of {@link ErrorsType } + * + */ + public ErrorsType createErrorsType() { + return new ErrorsType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link StatusType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://gateway.ixopay.com/Schema/V2/Status", name = "status") + public JAXBElement createStatus(StatusType value) { + return new JAXBElement(_Status_QNAME, StatusType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link StatusResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://gateway.ixopay.com/Schema/V2/StatusResult", name = "statusResult") + public JAXBElement createStatusResult(StatusResultType value) { + return new JAXBElement(_StatusResult_QNAME, StatusResultType.class, null, value); + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/PhoneDataType.java b/src/main/java/com/ixopay/client/model/status/PhoneDataType.java new file mode 100644 index 0000000..f8b4edd --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/PhoneDataType.java @@ -0,0 +1,139 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for phoneDataType complex type. + * + *

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

+ * <complexType name="phoneDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="phoneNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="country" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}countryType" minOccurs="0"/>
+ *         <element name="operator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "phoneDataType", propOrder = { + "phoneNumber", + "country", + "operator" +}) +public class PhoneDataType { + + protected String phoneNumber; + protected String country; + protected String operator; + + /** + * Default no-arg constructor + * + */ + public PhoneDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public PhoneDataType(final String phoneNumber, final String country, final String operator) { + this.phoneNumber = phoneNumber; + this.country = country; + this.operator = operator; + } + + /** + * Gets the value of the phoneNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPhoneNumber() { + return phoneNumber; + } + + /** + * Sets the value of the phoneNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPhoneNumber(String value) { + this.phoneNumber = value; + } + + /** + * Gets the value of the country property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountry() { + return country; + } + + /** + * Sets the value of the country property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountry(String value) { + this.country = value; + } + + /** + * Gets the value of the operator property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOperator() { + return operator; + } + + /** + * Sets the value of the operator property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOperator(String value) { + this.operator = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/ReturnDataType.java b/src/main/java/com/ixopay/client/model/status/ReturnDataType.java new file mode 100644 index 0000000..db93dd5 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/ReturnDataType.java @@ -0,0 +1,168 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for returnDataType complex type. + * + *

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

+ * <complexType name="returnDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice>
+ *         <element name="creditcardData" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}creditcardDataType"/>
+ *         <element name="phoneData" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}phoneDataType"/>
+ *         <element name="ibanData" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}ibanDataType"/>
+ *       </choice>
+ *       <attribute name="type" use="required" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}returnDataTypeEnum" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "returnDataType", propOrder = { + "creditcardData", + "phoneData", + "ibanData" +}) +public class ReturnDataType { + + protected CreditcardDataType creditcardData; + protected PhoneDataType phoneData; + protected IbanDataType ibanData; + @XmlAttribute(name = "type", required = true) + protected ReturnDataTypeEnum type; + + /** + * Default no-arg constructor + * + */ + public ReturnDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ReturnDataType(final CreditcardDataType creditcardData, final PhoneDataType phoneData, final IbanDataType ibanData, final ReturnDataTypeEnum type) { + this.creditcardData = creditcardData; + this.phoneData = phoneData; + this.ibanData = ibanData; + this.type = type; + } + + /** + * Gets the value of the creditcardData property. + * + * @return + * possible object is + * {@link CreditcardDataType } + * + */ + public CreditcardDataType getCreditcardData() { + return creditcardData; + } + + /** + * Sets the value of the creditcardData property. + * + * @param value + * allowed object is + * {@link CreditcardDataType } + * + */ + public void setCreditcardData(CreditcardDataType value) { + this.creditcardData = value; + } + + /** + * Gets the value of the phoneData property. + * + * @return + * possible object is + * {@link PhoneDataType } + * + */ + public PhoneDataType getPhoneData() { + return phoneData; + } + + /** + * Sets the value of the phoneData property. + * + * @param value + * allowed object is + * {@link PhoneDataType } + * + */ + public void setPhoneData(PhoneDataType value) { + this.phoneData = value; + } + + /** + * Gets the value of the ibanData property. + * + * @return + * possible object is + * {@link IbanDataType } + * + */ + public IbanDataType getIbanData() { + return ibanData; + } + + /** + * Sets the value of the ibanData property. + * + * @param value + * allowed object is + * {@link IbanDataType } + * + */ + public void setIbanData(IbanDataType value) { + this.ibanData = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link ReturnDataTypeEnum } + * + */ + public ReturnDataTypeEnum getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link ReturnDataTypeEnum } + * + */ + public void setType(ReturnDataTypeEnum value) { + this.type = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/ReturnDataTypeEnum.java b/src/main/java/com/ixopay/client/model/status/ReturnDataTypeEnum.java new file mode 100644 index 0000000..055f252 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/ReturnDataTypeEnum.java @@ -0,0 +1,58 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for returnDataTypeEnum. + * + *

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

+ *

+ * <simpleType name="returnDataTypeEnum">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="creditcardData"/>
+ *     <enumeration value="phoneData"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "returnDataTypeEnum") +@XmlEnum +public enum ReturnDataTypeEnum { + + @XmlEnumValue("creditcardData") + CREDITCARD_DATA("creditcardData"), + @XmlEnumValue("phoneData") + PHONE_DATA("phoneData"); + private final String value; + + ReturnDataTypeEnum(String v) { + value = v; + } + + public String value() { + return value; + } + + public static ReturnDataTypeEnum fromValue(String v) { + for (ReturnDataTypeEnum c: ReturnDataTypeEnum.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/ScheduleStatusType.java b/src/main/java/com/ixopay/client/model/status/ScheduleStatusType.java new file mode 100644 index 0000000..573e131 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/ScheduleStatusType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for scheduleStatusType. + * + *

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

+ *

+ * <simpleType name="scheduleStatusType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="ACTIVE"/>
+ *     <enumeration value="PAUSED"/>
+ *     <enumeration value="CANCELLED"/>
+ *     <enumeration value="ERROR"/>
+ *     <enumeration value="CREATE-PENDING"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "scheduleStatusType") +@XmlEnum +public enum ScheduleStatusType { + + ACTIVE("ACTIVE"), + PAUSED("PAUSED"), + CANCELLED("CANCELLED"), + ERROR("ERROR"), + @XmlEnumValue("CREATE-PENDING") + CREATE_PENDING("CREATE-PENDING"); + private final String value; + + ScheduleStatusType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static ScheduleStatusType fromValue(String v) { + for (ScheduleStatusType c: ScheduleStatusType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/StatusResultType.java b/src/main/java/com/ixopay/client/model/status/StatusResultType.java new file mode 100644 index 0000000..20bc13f --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/StatusResultType.java @@ -0,0 +1,561 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for statusResultType complex type. + * + *

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

+ * <complexType name="statusResultType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="operationSuccess" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ *         <element name="transactionStatus" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}transactionStatusType" minOccurs="0"/>
+ *         <element name="transactionUuid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="merchantTransactionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="purchaseId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="transactionType" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}transactionMethodType" minOccurs="0"/>
+ *         <element name="paymentMethod" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="amount" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}amountType" minOccurs="0"/>
+ *         <element name="currency" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}currencyType" minOccurs="0"/>
+ *         <element name="scheduleId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="scheduleStatus" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}scheduleStatusType" minOccurs="0"/>
+ *         <element name="errors" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}errorsType" minOccurs="0"/>
+ *         <element name="chargebackData" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}chargebackDataType" minOccurs="0"/>
+ *         <element name="chargebackReversalData" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}chargebackReversalDataType" minOccurs="0"/>
+ *         <element name="extraData" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}extraDataType" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="merchantMetaData" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}merchantMetaDataType" minOccurs="0"/>
+ *         <element name="returnData" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}returnDataType" minOccurs="0"/>
+ *         <element name="customerData" type="{http://gateway.ixopay.com/Schema/V2/StatusResult}customerDataType" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "statusResultType", propOrder = { + "operationSuccess", + "transactionStatus", + "transactionUuid", + "merchantTransactionId", + "purchaseId", + "transactionType", + "paymentMethod", + "amount", + "currency", + "scheduleId", + "scheduleStatus", + "errors", + "chargebackData", + "chargebackReversalData", + "extraData", + "merchantMetaData", + "returnData", + "customerData" +}) +@XmlRootElement(name = "status") +public class StatusResultType { + + protected boolean operationSuccess; + protected TransactionStatusType transactionStatus; + protected String transactionUuid; + protected String merchantTransactionId; + protected String purchaseId; + protected TransactionMethodType transactionType; + protected String paymentMethod; + protected BigDecimal amount; + protected String currency; + protected String scheduleId; + protected ScheduleStatusType scheduleStatus; + protected ErrorsType errors; + protected ChargebackDataType chargebackData; + protected ChargebackReversalDataType chargebackReversalData; + protected List extraData; + protected String merchantMetaData; + protected ReturnDataType returnData; + protected CustomerDataType customerData; + + /** + * Default no-arg constructor + * + */ + public StatusResultType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public StatusResultType(final boolean operationSuccess, final TransactionStatusType transactionStatus, final String transactionUuid, final String merchantTransactionId, final String purchaseId, final TransactionMethodType transactionType, final String paymentMethod, final BigDecimal amount, final String currency, final String scheduleId, final ScheduleStatusType scheduleStatus, final ErrorsType errors, final ChargebackDataType chargebackData, final ChargebackReversalDataType chargebackReversalData, final List extraData, final String merchantMetaData, final ReturnDataType returnData, final CustomerDataType customerData) { + this.operationSuccess = operationSuccess; + this.transactionStatus = transactionStatus; + this.transactionUuid = transactionUuid; + this.merchantTransactionId = merchantTransactionId; + this.purchaseId = purchaseId; + this.transactionType = transactionType; + this.paymentMethod = paymentMethod; + this.amount = amount; + this.currency = currency; + this.scheduleId = scheduleId; + this.scheduleStatus = scheduleStatus; + this.errors = errors; + this.chargebackData = chargebackData; + this.chargebackReversalData = chargebackReversalData; + this.extraData = extraData; + this.merchantMetaData = merchantMetaData; + this.returnData = returnData; + this.customerData = customerData; + } + + /** + * Gets the value of the operationSuccess property. + * + */ + public boolean isOperationSuccess() { + return operationSuccess; + } + + /** + * Sets the value of the operationSuccess property. + * + */ + public void setOperationSuccess(boolean value) { + this.operationSuccess = value; + } + + /** + * Gets the value of the transactionStatus property. + * + * @return + * possible object is + * {@link TransactionStatusType } + * + */ + public TransactionStatusType getTransactionStatus() { + return transactionStatus; + } + + /** + * Sets the value of the transactionStatus property. + * + * @param value + * allowed object is + * {@link TransactionStatusType } + * + */ + public void setTransactionStatus(TransactionStatusType value) { + this.transactionStatus = value; + } + + /** + * Gets the value of the transactionUuid property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTransactionUuid() { + return transactionUuid; + } + + /** + * Sets the value of the transactionUuid property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTransactionUuid(String value) { + this.transactionUuid = value; + } + + /** + * Gets the value of the merchantTransactionId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMerchantTransactionId() { + return merchantTransactionId; + } + + /** + * Sets the value of the merchantTransactionId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMerchantTransactionId(String value) { + this.merchantTransactionId = value; + } + + /** + * Gets the value of the purchaseId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPurchaseId() { + return purchaseId; + } + + /** + * Sets the value of the purchaseId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPurchaseId(String value) { + this.purchaseId = value; + } + + /** + * Gets the value of the transactionType property. + * + * @return + * possible object is + * {@link TransactionMethodType } + * + */ + public TransactionMethodType getTransactionType() { + return transactionType; + } + + /** + * Sets the value of the transactionType property. + * + * @param value + * allowed object is + * {@link TransactionMethodType } + * + */ + public void setTransactionType(TransactionMethodType value) { + this.transactionType = value; + } + + /** + * Gets the value of the paymentMethod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPaymentMethod() { + return paymentMethod; + } + + /** + * Sets the value of the paymentMethod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPaymentMethod(String value) { + this.paymentMethod = value; + } + + /** + * 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 currency property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCurrency() { + return currency; + } + + /** + * Sets the value of the currency property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCurrency(String value) { + this.currency = value; + } + + /** + * Gets the value of the scheduleId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getScheduleId() { + return scheduleId; + } + + /** + * Sets the value of the scheduleId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setScheduleId(String value) { + this.scheduleId = value; + } + + /** + * Gets the value of the scheduleStatus property. + * + * @return + * possible object is + * {@link ScheduleStatusType } + * + */ + public ScheduleStatusType getScheduleStatus() { + return scheduleStatus; + } + + /** + * Sets the value of the scheduleStatus property. + * + * @param value + * allowed object is + * {@link ScheduleStatusType } + * + */ + public void setScheduleStatus(ScheduleStatusType value) { + this.scheduleStatus = value; + } + + /** + * Gets the value of the errors property. + * + * @return + * possible object is + * {@link ErrorsType } + * + */ + public ErrorsType getErrors() { + return errors; + } + + /** + * Sets the value of the errors property. + * + * @param value + * allowed object is + * {@link ErrorsType } + * + */ + public void setErrors(ErrorsType value) { + this.errors = value; + } + + /** + * Gets the value of the chargebackData property. + * + * @return + * possible object is + * {@link ChargebackDataType } + * + */ + public ChargebackDataType getChargebackData() { + return chargebackData; + } + + /** + * Sets the value of the chargebackData property. + * + * @param value + * allowed object is + * {@link ChargebackDataType } + * + */ + public void setChargebackData(ChargebackDataType value) { + this.chargebackData = value; + } + + /** + * Gets the value of the chargebackReversalData property. + * + * @return + * possible object is + * {@link ChargebackReversalDataType } + * + */ + public ChargebackReversalDataType getChargebackReversalData() { + return chargebackReversalData; + } + + /** + * Sets the value of the chargebackReversalData property. + * + * @param value + * allowed object is + * {@link ChargebackReversalDataType } + * + */ + public void setChargebackReversalData(ChargebackReversalDataType value) { + this.chargebackReversalData = value; + } + + /** + * Gets the value of the extraData 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 extraData property. + * + *

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

+     *    getExtraData().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ExtraDataType } + * + * + */ + public List getExtraData() { + if (extraData == null) { + extraData = new ArrayList(); + } + return this.extraData; + } + + /** + * Gets the value of the merchantMetaData property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMerchantMetaData() { + return merchantMetaData; + } + + /** + * Sets the value of the merchantMetaData property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMerchantMetaData(String value) { + this.merchantMetaData = value; + } + + /** + * Gets the value of the returnData property. + * + * @return + * possible object is + * {@link ReturnDataType } + * + */ + public ReturnDataType getReturnData() { + return returnData; + } + + /** + * Sets the value of the returnData property. + * + * @param value + * allowed object is + * {@link ReturnDataType } + * + */ + public void setReturnData(ReturnDataType value) { + this.returnData = value; + } + + /** + * Gets the value of the customerData property. + * + * @return + * possible object is + * {@link CustomerDataType } + * + */ + public CustomerDataType getCustomerData() { + return customerData; + } + + /** + * Sets the value of the customerData property. + * + * @param value + * allowed object is + * {@link CustomerDataType } + * + */ + public void setCustomerData(CustomerDataType value) { + this.customerData = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/StatusType.java b/src/main/java/com/ixopay/client/model/status/StatusType.java new file mode 100644 index 0000000..6d374e8 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/StatusType.java @@ -0,0 +1,174 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for statusType complex type. + * + *

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

+ * <complexType name="statusType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="username" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="password" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <choice>
+ *           <element name="transactionUuid" type="{http://gateway.ixopay.com/Schema/V2/Status}mandatatoryIdType"/>
+ *           <element name="merchantTransactionId" type="{http://gateway.ixopay.com/Schema/V2/Status}mandatatoryIdType"/>
+ *         </choice>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "statusType", namespace = "http://gateway.ixopay.com/Schema/V2/Status", propOrder = { + "username", + "password", + "transactionUuid", + "merchantTransactionId" +}) +@XmlRootElement(name = "status") +public class StatusType { + + @XmlElement(required = true) + protected String username; + @XmlElement(required = true) + protected String password; + protected String transactionUuid; + protected String merchantTransactionId; + + /** + * Default no-arg constructor + * + */ + public StatusType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public StatusType(final String username, final String password, final String transactionUuid, final String merchantTransactionId) { + this.username = username; + this.password = password; + this.transactionUuid = transactionUuid; + this.merchantTransactionId = merchantTransactionId; + } + + /** + * Gets the value of the username property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUsername() { + return username; + } + + /** + * Sets the value of the username property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUsername(String value) { + this.username = value; + } + + /** + * Gets the value of the password property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPassword() { + return password; + } + + /** + * Sets the value of the password property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPassword(String value) { + this.password = value; + } + + /** + * Gets the value of the transactionUuid property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTransactionUuid() { + return transactionUuid; + } + + /** + * Sets the value of the transactionUuid property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTransactionUuid(String value) { + this.transactionUuid = value; + } + + /** + * Gets the value of the merchantTransactionId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMerchantTransactionId() { + return merchantTransactionId; + } + + /** + * Sets the value of the merchantTransactionId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMerchantTransactionId(String value) { + this.merchantTransactionId = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/ThreeDSecureType.java b/src/main/java/com/ixopay/client/model/status/ThreeDSecureType.java new file mode 100644 index 0000000..8a21560 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/ThreeDSecureType.java @@ -0,0 +1,47 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for threeDSecureType. + * + *

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

+ *

+ * <simpleType name="threeDSecureType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="OFF"/>
+ *     <enumeration value="OPTIONAL"/>
+ *     <enumeration value="MANDATORY"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "threeDSecureType") +@XmlEnum +public enum ThreeDSecureType { + + OFF, + OPTIONAL, + MANDATORY; + + public String value() { + return name(); + } + + public static ThreeDSecureType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/TransactionMethodType.java b/src/main/java/com/ixopay/client/model/status/TransactionMethodType.java new file mode 100644 index 0000000..02a012e --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/TransactionMethodType.java @@ -0,0 +1,73 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for transactionMethodType. + * + *

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

+ *

+ * <simpleType name="transactionMethodType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="DEBIT"/>
+ *     <enumeration value="CAPTURE"/>
+ *     <enumeration value="DEREGISTER"/>
+ *     <enumeration value="PREAUTHORIZE"/>
+ *     <enumeration value="REFUND"/>
+ *     <enumeration value="REGISTER"/>
+ *     <enumeration value="VOID"/>
+ *     <enumeration value="CHARGEBACK"/>
+ *     <enumeration value="CHARGEBACK-REVERSAL"/>
+ *     <enumeration value="PAYOUT"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "transactionMethodType") +@XmlEnum +public enum TransactionMethodType { + + DEBIT("DEBIT"), + CAPTURE("CAPTURE"), + DEREGISTER("DEREGISTER"), + PREAUTHORIZE("PREAUTHORIZE"), + REFUND("REFUND"), + REGISTER("REGISTER"), + VOID("VOID"), + CHARGEBACK("CHARGEBACK"), + @XmlEnumValue("CHARGEBACK-REVERSAL") + CHARGEBACK_REVERSAL("CHARGEBACK-REVERSAL"), + PAYOUT("PAYOUT"); + private final String value; + + TransactionMethodType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static TransactionMethodType fromValue(String v) { + for (TransactionMethodType c: TransactionMethodType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/TransactionStatusType.java b/src/main/java/com/ixopay/client/model/status/TransactionStatusType.java new file mode 100644 index 0000000..5a2caef --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/TransactionStatusType.java @@ -0,0 +1,51 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.status; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for transactionStatusType. + * + *

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

+ *

+ * <simpleType name="transactionStatusType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="SUCCESS"/>
+ *     <enumeration value="PENDING"/>
+ *     <enumeration value="REDIRECT"/>
+ *     <enumeration value="CANCELLED"/>
+ *     <enumeration value="ERROR"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "transactionStatusType") +@XmlEnum +public enum TransactionStatusType { + + SUCCESS, + PENDING, + REDIRECT, + CANCELLED, + ERROR; + + public String value() { + return name(); + } + + public static TransactionStatusType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/status/package-info.java b/src/main/java/com/ixopay/client/model/status/package-info.java new file mode 100644 index 0000000..20c6be8 --- /dev/null +++ b/src/main/java/com/ixopay/client/model/status/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://gateway.ixopay.com/Schema/V2/StatusResult", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package com.ixopay.client.model.status; diff --git a/src/main/java/com/ixopay/client/model/transaction/AddToCustomerProfileType.java b/src/main/java/com/ixopay/client/model/transaction/AddToCustomerProfileType.java new file mode 100644 index 0000000..fe3849c --- /dev/null +++ b/src/main/java/com/ixopay/client/model/transaction/AddToCustomerProfileType.java @@ -0,0 +1,141 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.transaction; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for addToCustomerProfileType complex type. + * + *

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

+ * <complexType name="addToCustomerProfileType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <choice>
+ *           <element name="profileGuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *           <element name="customerIdentification" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         </choice>
+ *         <element name="markAsPreferred" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "addToCustomerProfileType", propOrder = { + "profileGuid", + "customerIdentification", + "markAsPreferred" +}) +public class AddToCustomerProfileType { + + protected String profileGuid; + protected String customerIdentification; + protected Boolean markAsPreferred; + + /** + * Default no-arg constructor + * + */ + public AddToCustomerProfileType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public AddToCustomerProfileType(final String profileGuid, final String customerIdentification, final Boolean markAsPreferred) { + this.profileGuid = profileGuid; + this.customerIdentification = customerIdentification; + this.markAsPreferred = markAsPreferred; + } + + /** + * Gets the value of the profileGuid property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProfileGuid() { + return profileGuid; + } + + /** + * Sets the value of the profileGuid property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProfileGuid(String value) { + this.profileGuid = value; + } + + /** + * Gets the value of the customerIdentification property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCustomerIdentification() { + return customerIdentification; + } + + /** + * Sets the value of the customerIdentification property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCustomerIdentification(String value) { + this.customerIdentification = value; + } + + /** + * Gets the value of the markAsPreferred property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isMarkAsPreferred() { + return markAsPreferred; + } + + /** + * Sets the value of the markAsPreferred property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setMarkAsPreferred(Boolean value) { + this.markAsPreferred = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/transaction/BaseTransactionType.java b/src/main/java/com/ixopay/client/model/transaction/BaseTransactionType.java index 6dd69ad..897c086 100644 --- a/src/main/java/com/ixopay/client/model/transaction/BaseTransactionType.java +++ b/src/main/java/com/ixopay/client/model/transaction/BaseTransactionType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -37,6 +37,7 @@ * <element name="ibanCustomer" type="{http://gateway.ixopay.com/Schema/V2/Transaction}ibanCustomerType" minOccurs="0"/> * </choice> * <element name="extraData" type="{http://gateway.ixopay.com/Schema/V2/Transaction}extraDataType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="merchantMetaData" type="{http://gateway.ixopay.com/Schema/V2/Transaction}merchantMetaDataType" minOccurs="0"/> * <element name="request" type="{http://gateway.ixopay.com/Schema/V2/Transaction}requestType" minOccurs="0"/> * </sequence> * </restriction> @@ -56,10 +57,10 @@ "creditCardCustomer", "ibanCustomer", "extraData", + "merchantMetaData", "request" }) @XmlSeeAlso({ - PayoutType.class, RegisterType.class, BaseTransactionWithReferenceType.class }) @@ -74,6 +75,7 @@ public class BaseTransactionType { protected CreditCardCustomerType creditCardCustomer; protected IbanCustomerType ibanCustomer; protected List extraData; + protected String merchantMetaData; protected RequestType request; /** @@ -88,7 +90,7 @@ public BaseTransactionType() { * Fully-initialising value constructor * */ - public BaseTransactionType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final RequestType request) { + public BaseTransactionType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final String merchantMetaData, final RequestType request) { this.transactionToken = transactionToken; this.transactionId = transactionId; this.additionalId1 = additionalId1; @@ -97,6 +99,7 @@ public BaseTransactionType(final String transactionToken, final String transacti this.creditCardCustomer = creditCardCustomer; this.ibanCustomer = ibanCustomer; this.extraData = extraData; + this.merchantMetaData = merchantMetaData; this.request = request; } @@ -297,6 +300,30 @@ public List getExtraData() { return this.extraData; } + /** + * Gets the value of the merchantMetaData property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMerchantMetaData() { + return merchantMetaData; + } + + /** + * Sets the value of the merchantMetaData property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMerchantMetaData(String value) { + this.merchantMetaData = value; + } + /** * Gets the value of the request property. * diff --git a/src/main/java/com/ixopay/client/model/transaction/BaseTransactionWithReferenceType.java b/src/main/java/com/ixopay/client/model/transaction/BaseTransactionWithReferenceType.java index d96c99e..58e5e19 100644 --- a/src/main/java/com/ixopay/client/model/transaction/BaseTransactionWithReferenceType.java +++ b/src/main/java/com/ixopay/client/model/transaction/BaseTransactionWithReferenceType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -47,12 +47,13 @@ "referenceId4" }) @XmlSeeAlso({ - DebitType.class, + PayoutType.class, RefundType.class, - DeregisterType.class, CaptureType.class, PreauthorizeType.class, - VoidType.class + VoidType.class, + DebitType.class, + DeregisterType.class }) public class BaseTransactionWithReferenceType extends BaseTransactionType @@ -76,8 +77,8 @@ public BaseTransactionWithReferenceType() { * Fully-initialising value constructor * */ - public BaseTransactionWithReferenceType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4) { - super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, request); + public BaseTransactionWithReferenceType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final String merchantMetaData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4) { + super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, merchantMetaData, request); this.referenceTransactionId = referenceTransactionId; this.referenceCustomerId = referenceCustomerId; this.referenceId2 = referenceId2; diff --git a/src/main/java/com/ixopay/client/model/transaction/CaptureType.java b/src/main/java/com/ixopay/client/model/transaction/CaptureType.java index e858948..2579772 100644 --- a/src/main/java/com/ixopay/client/model/transaction/CaptureType.java +++ b/src/main/java/com/ixopay/client/model/transaction/CaptureType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -61,8 +61,8 @@ public CaptureType() { * Fully-initialising value constructor * */ - public CaptureType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4, final BigDecimal amount, final String currency, final ItemsType items) { - super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4); + public CaptureType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final String merchantMetaData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4, final BigDecimal amount, final String currency, final ItemsType items) { + super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, merchantMetaData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4); this.amount = amount; this.currency = currency; this.items = items; diff --git a/src/main/java/com/ixopay/client/model/transaction/CardAdditionalDataType.java b/src/main/java/com/ixopay/client/model/transaction/CardAdditionalDataType.java new file mode 100644 index 0000000..0d28d1f --- /dev/null +++ b/src/main/java/com/ixopay/client/model/transaction/CardAdditionalDataType.java @@ -0,0 +1,90 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.transaction; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for cardAdditionalDataType complex type. + * + *

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

+ * <complexType name="cardAdditionalDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="dataRow" type="{http://gateway.ixopay.com/Schema/V2/Transaction}extraDataType" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "cardAdditionalDataType", propOrder = { + "dataRow" +}) +public class CardAdditionalDataType { + + protected List dataRow; + + /** + * Default no-arg constructor + * + */ + public CardAdditionalDataType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public CardAdditionalDataType(final List dataRow) { + this.dataRow = dataRow; + } + + /** + * Gets the value of the dataRow 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 dataRow property. + * + *

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

+     *    getDataRow().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ExtraDataType } + * + * + */ + public List getDataRow() { + if (dataRow == null) { + dataRow = new ArrayList(); + } + return this.dataRow; + } + +} diff --git a/src/main/java/com/ixopay/client/model/transaction/CreditCardCustomerType.java b/src/main/java/com/ixopay/client/model/transaction/CreditCardCustomerType.java index f6eff2e..dde6776 100644 --- a/src/main/java/com/ixopay/client/model/transaction/CreditCardCustomerType.java +++ b/src/main/java/com/ixopay/client/model/transaction/CreditCardCustomerType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/transaction/CustomerType.java b/src/main/java/com/ixopay/client/model/transaction/CustomerType.java index 9031565..71c5daf 100644 --- a/src/main/java/com/ixopay/client/model/transaction/CustomerType.java +++ b/src/main/java/com/ixopay/client/model/transaction/CustomerType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/transaction/DebitType.java b/src/main/java/com/ixopay/client/model/transaction/DebitType.java index e615252..d09fc82 100644 --- a/src/main/java/com/ixopay/client/model/transaction/DebitType.java +++ b/src/main/java/com/ixopay/client/model/transaction/DebitType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -30,6 +30,9 @@ * <group ref="{http://gateway.ixopay.com/Schema/V2/Transaction}offsiteGroup"/> * <group ref="{http://gateway.ixopay.com/Schema/V2/Transaction}itemsGroup"/> * <element name="withRegister" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="transactionIndicator" type="{http://gateway.ixopay.com/Schema/V2/Transaction}transactionIndicatorType" minOccurs="0"/> + * <element name="startSchedule" type="{http://gateway.ixopay.com/Schema/V2/Transaction}scheduleType" minOccurs="0"/> + * <element name="addToCustomerProfile" type="{http://gateway.ixopay.com/Schema/V2/Transaction}addToCustomerProfileType" minOccurs="0"/> * </sequence> * </extension> * </complexContent> @@ -48,7 +51,10 @@ "errorUrl", "callbackUrl", "items", - "withRegister" + "withRegister", + "transactionIndicator", + "startSchedule", + "addToCustomerProfile" }) public class DebitType extends BaseTransactionWithReferenceType @@ -67,6 +73,9 @@ public class DebitType protected String callbackUrl; protected ItemsType items; protected Boolean withRegister; + protected TransactionIndicatorType transactionIndicator; + protected ScheduleType startSchedule; + protected AddToCustomerProfileType addToCustomerProfile; /** * Default no-arg constructor @@ -80,8 +89,8 @@ public DebitType() { * Fully-initialising value constructor * */ - public DebitType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4, final BigDecimal amount, final String currency, final String description, final String successUrl, final String cancelUrl, final String errorUrl, final String callbackUrl, final ItemsType items, final Boolean withRegister) { - super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4); + public DebitType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final String merchantMetaData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4, final BigDecimal amount, final String currency, final String description, final String successUrl, final String cancelUrl, final String errorUrl, final String callbackUrl, final ItemsType items, final Boolean withRegister, final TransactionIndicatorType transactionIndicator, final ScheduleType startSchedule, final AddToCustomerProfileType addToCustomerProfile) { + super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, merchantMetaData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4); this.amount = amount; this.currency = currency; this.description = description; @@ -91,6 +100,9 @@ public DebitType(final String transactionToken, final String transactionId, fina this.callbackUrl = callbackUrl; this.items = items; this.withRegister = withRegister; + this.transactionIndicator = transactionIndicator; + this.startSchedule = startSchedule; + this.addToCustomerProfile = addToCustomerProfile; } /** @@ -309,4 +321,76 @@ public void setWithRegister(Boolean value) { this.withRegister = value; } + /** + * Gets the value of the transactionIndicator property. + * + * @return + * possible object is + * {@link TransactionIndicatorType } + * + */ + public TransactionIndicatorType getTransactionIndicator() { + return transactionIndicator; + } + + /** + * Sets the value of the transactionIndicator property. + * + * @param value + * allowed object is + * {@link TransactionIndicatorType } + * + */ + public void setTransactionIndicator(TransactionIndicatorType value) { + this.transactionIndicator = value; + } + + /** + * Gets the value of the startSchedule property. + * + * @return + * possible object is + * {@link ScheduleType } + * + */ + public ScheduleType getStartSchedule() { + return startSchedule; + } + + /** + * Sets the value of the startSchedule property. + * + * @param value + * allowed object is + * {@link ScheduleType } + * + */ + public void setStartSchedule(ScheduleType value) { + this.startSchedule = value; + } + + /** + * Gets the value of the addToCustomerProfile property. + * + * @return + * possible object is + * {@link AddToCustomerProfileType } + * + */ + public AddToCustomerProfileType getAddToCustomerProfile() { + return addToCustomerProfile; + } + + /** + * Sets the value of the addToCustomerProfile property. + * + * @param value + * allowed object is + * {@link AddToCustomerProfileType } + * + */ + public void setAddToCustomerProfile(AddToCustomerProfileType value) { + this.addToCustomerProfile = value; + } + } diff --git a/src/main/java/com/ixopay/client/model/transaction/DeregisterType.java b/src/main/java/com/ixopay/client/model/transaction/DeregisterType.java index 082a83d..4953ddf 100644 --- a/src/main/java/com/ixopay/client/model/transaction/DeregisterType.java +++ b/src/main/java/com/ixopay/client/model/transaction/DeregisterType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -49,8 +49,8 @@ public DeregisterType() { * Fully-initialising value constructor * */ - public DeregisterType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4) { - super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4); + public DeregisterType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final String merchantMetaData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4) { + super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, merchantMetaData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4); } } diff --git a/src/main/java/com/ixopay/client/model/transaction/ExtraDataType.java b/src/main/java/com/ixopay/client/model/transaction/ExtraDataType.java index d1d2609..1dd4df8 100644 --- a/src/main/java/com/ixopay/client/model/transaction/ExtraDataType.java +++ b/src/main/java/com/ixopay/client/model/transaction/ExtraDataType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/transaction/GenderType.java b/src/main/java/com/ixopay/client/model/transaction/GenderType.java index 7cd6a64..216f1f6 100644 --- a/src/main/java/com/ixopay/client/model/transaction/GenderType.java +++ b/src/main/java/com/ixopay/client/model/transaction/GenderType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/transaction/IbanCustomerType.java b/src/main/java/com/ixopay/client/model/transaction/IbanCustomerType.java index ba3e565..8fa93b1 100644 --- a/src/main/java/com/ixopay/client/model/transaction/IbanCustomerType.java +++ b/src/main/java/com/ixopay/client/model/transaction/IbanCustomerType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/transaction/ItemType.java b/src/main/java/com/ixopay/client/model/transaction/ItemType.java index e29c718..cc89496 100644 --- a/src/main/java/com/ixopay/client/model/transaction/ItemType.java +++ b/src/main/java/com/ixopay/client/model/transaction/ItemType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/transaction/ItemsType.java b/src/main/java/com/ixopay/client/model/transaction/ItemsType.java index bf0ef5c..f3a5b24 100644 --- a/src/main/java/com/ixopay/client/model/transaction/ItemsType.java +++ b/src/main/java/com/ixopay/client/model/transaction/ItemsType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/transaction/ObjectFactory.java b/src/main/java/com/ixopay/client/model/transaction/ObjectFactory.java index 5f5b99c..89a2499 100644 --- a/src/main/java/com/ixopay/client/model/transaction/ObjectFactory.java +++ b/src/main/java/com/ixopay/client/model/transaction/ObjectFactory.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -88,22 +88,6 @@ public PayoutType createPayoutType() { return new PayoutType(); } - /** - * Create an instance of {@link RequestType } - * - */ - public RequestType createRequestType() { - return new RequestType(); - } - - /** - * Create an instance of {@link DebitType } - * - */ - public DebitType createDebitType() { - return new DebitType(); - } - /** * Create an instance of {@link RegisterType } * @@ -145,27 +129,19 @@ public BaseTransactionWithReferenceType createBaseTransactionWithReferenceType() } /** - * Create an instance of {@link DeregisterType } - * - */ - public DeregisterType createDeregisterType() { - return new DeregisterType(); - } - - /** - * Create an instance of {@link ItemsType } + * Create an instance of {@link CaptureType } * */ - public ItemsType createItemsType() { - return new ItemsType(); + public CaptureType createCaptureType() { + return new CaptureType(); } /** - * Create an instance of {@link CaptureType } + * Create an instance of {@link CardAdditionalDataType } * */ - public CaptureType createCaptureType() { - return new CaptureType(); + public CardAdditionalDataType createCardAdditionalDataType() { + return new CardAdditionalDataType(); } /** @@ -184,6 +160,54 @@ public VoidType createVoidType() { return new VoidType(); } + /** + * Create an instance of {@link RequestType } + * + */ + public RequestType createRequestType() { + return new RequestType(); + } + + /** + * Create an instance of {@link DebitType } + * + */ + public DebitType createDebitType() { + return new DebitType(); + } + + /** + * Create an instance of {@link AddToCustomerProfileType } + * + */ + public AddToCustomerProfileType createAddToCustomerProfileType() { + return new AddToCustomerProfileType(); + } + + /** + * Create an instance of {@link ScheduleType } + * + */ + public ScheduleType createScheduleType() { + return new ScheduleType(); + } + + /** + * Create an instance of {@link DeregisterType } + * + */ + public DeregisterType createDeregisterType() { + return new DeregisterType(); + } + + /** + * Create an instance of {@link ItemsType } + * + */ + public ItemsType createItemsType() { + return new ItemsType(); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link TransactionType }{@code >}} * diff --git a/src/main/java/com/ixopay/client/model/transaction/PayoutType.java b/src/main/java/com/ixopay/client/model/transaction/PayoutType.java index 3d0dbab..f162822 100644 --- a/src/main/java/com/ixopay/client/model/transaction/PayoutType.java +++ b/src/main/java/com/ixopay/client/model/transaction/PayoutType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -12,6 +12,7 @@ import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; @@ -23,10 +24,11 @@ *

  * <complexType name="payoutType">
  *   <complexContent>
- *     <extension base="{http://gateway.ixopay.com/Schema/V2/Transaction}baseTransactionType">
+ *     <extension base="{http://gateway.ixopay.com/Schema/V2/Transaction}baseTransactionWithReferenceType">
  *       <sequence>
  *         <group ref="{http://gateway.ixopay.com/Schema/V2/Transaction}amountableGroup"/>
  *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="callbackUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
  *         <group ref="{http://gateway.ixopay.com/Schema/V2/Transaction}itemsGroup"/>
  *       </sequence>
  *     </extension>
@@ -41,15 +43,18 @@
     "amount",
     "currency",
     "description",
+    "callbackUrl",
     "items"
 })
 public class PayoutType
-    extends BaseTransactionType
+    extends BaseTransactionWithReferenceType
 {
 
     protected BigDecimal amount;
     protected String currency;
     protected String description;
+    @XmlSchemaType(name = "anyURI")
+    protected String callbackUrl;
     protected ItemsType items;
 
     /**
@@ -64,11 +69,12 @@ public PayoutType() {
      * Fully-initialising value constructor
      * 
      */
-    public PayoutType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final RequestType request, final BigDecimal amount, final String currency, final String description, final ItemsType items) {
-        super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, request);
+    public PayoutType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final String merchantMetaData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4, final BigDecimal amount, final String currency, final String description, final String callbackUrl, final ItemsType items) {
+        super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, merchantMetaData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4);
         this.amount = amount;
         this.currency = currency;
         this.description = description;
+        this.callbackUrl = callbackUrl;
         this.items = items;
     }
 
@@ -144,6 +150,30 @@ public void setDescription(String value) {
         this.description = value;
     }
 
+    /**
+     * Gets the value of the callbackUrl property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getCallbackUrl() {
+        return callbackUrl;
+    }
+
+    /**
+     * Sets the value of the callbackUrl property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setCallbackUrl(String value) {
+        this.callbackUrl = value;
+    }
+
     /**
      * Gets the value of the items property.
      * 
diff --git a/src/main/java/com/ixopay/client/model/transaction/PeriodUnitType.java b/src/main/java/com/ixopay/client/model/transaction/PeriodUnitType.java
new file mode 100644
index 0000000..fb5056d
--- /dev/null
+++ b/src/main/java/com/ixopay/client/model/transaction/PeriodUnitType.java
@@ -0,0 +1,49 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
+// See http://java.sun.com/xml/jaxb 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2019.05.21 at 03:44:38 PM CEST 
+//
+
+
+package com.ixopay.client.model.transaction;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * 

Java class for periodUnitType. + * + *

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

+ *

+ * <simpleType name="periodUnitType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="DAY"/>
+ *     <enumeration value="WEEK"/>
+ *     <enumeration value="MONTH"/>
+ *     <enumeration value="YEAR"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "periodUnitType") +@XmlEnum +public enum PeriodUnitType { + + DAY, + WEEK, + MONTH, + YEAR; + + public String value() { + return name(); + } + + public static PeriodUnitType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/transaction/PreauthorizeType.java b/src/main/java/com/ixopay/client/model/transaction/PreauthorizeType.java index ae1df78..5ad684e 100644 --- a/src/main/java/com/ixopay/client/model/transaction/PreauthorizeType.java +++ b/src/main/java/com/ixopay/client/model/transaction/PreauthorizeType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -30,6 +30,9 @@ * <group ref="{http://gateway.ixopay.com/Schema/V2/Transaction}offsiteGroup"/> * <group ref="{http://gateway.ixopay.com/Schema/V2/Transaction}itemsGroup"/> * <element name="withRegister" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="transactionIndicator" type="{http://gateway.ixopay.com/Schema/V2/Transaction}transactionIndicatorType" minOccurs="0"/> + * <element name="startSchedule" type="{http://gateway.ixopay.com/Schema/V2/Transaction}scheduleType" minOccurs="0"/> + * <element name="addToCustomerProfile" type="{http://gateway.ixopay.com/Schema/V2/Transaction}addToCustomerProfileType" minOccurs="0"/> * </sequence> * </extension> * </complexContent> @@ -48,7 +51,10 @@ "errorUrl", "callbackUrl", "items", - "withRegister" + "withRegister", + "transactionIndicator", + "startSchedule", + "addToCustomerProfile" }) public class PreauthorizeType extends BaseTransactionWithReferenceType @@ -67,6 +73,9 @@ public class PreauthorizeType protected String callbackUrl; protected ItemsType items; protected Boolean withRegister; + protected TransactionIndicatorType transactionIndicator; + protected ScheduleType startSchedule; + protected AddToCustomerProfileType addToCustomerProfile; /** * Default no-arg constructor @@ -80,8 +89,8 @@ public PreauthorizeType() { * Fully-initialising value constructor * */ - public PreauthorizeType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4, final BigDecimal amount, final String currency, final String description, final String successUrl, final String cancelUrl, final String errorUrl, final String callbackUrl, final ItemsType items, final Boolean withRegister) { - super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4); + public PreauthorizeType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final String merchantMetaData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4, final BigDecimal amount, final String currency, final String description, final String successUrl, final String cancelUrl, final String errorUrl, final String callbackUrl, final ItemsType items, final Boolean withRegister, final TransactionIndicatorType transactionIndicator, final ScheduleType startSchedule, final AddToCustomerProfileType addToCustomerProfile) { + super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, merchantMetaData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4); this.amount = amount; this.currency = currency; this.description = description; @@ -91,6 +100,9 @@ public PreauthorizeType(final String transactionToken, final String transactionI this.callbackUrl = callbackUrl; this.items = items; this.withRegister = withRegister; + this.transactionIndicator = transactionIndicator; + this.startSchedule = startSchedule; + this.addToCustomerProfile = addToCustomerProfile; } /** @@ -309,4 +321,76 @@ public void setWithRegister(Boolean value) { this.withRegister = value; } + /** + * Gets the value of the transactionIndicator property. + * + * @return + * possible object is + * {@link TransactionIndicatorType } + * + */ + public TransactionIndicatorType getTransactionIndicator() { + return transactionIndicator; + } + + /** + * Sets the value of the transactionIndicator property. + * + * @param value + * allowed object is + * {@link TransactionIndicatorType } + * + */ + public void setTransactionIndicator(TransactionIndicatorType value) { + this.transactionIndicator = value; + } + + /** + * Gets the value of the startSchedule property. + * + * @return + * possible object is + * {@link ScheduleType } + * + */ + public ScheduleType getStartSchedule() { + return startSchedule; + } + + /** + * Sets the value of the startSchedule property. + * + * @param value + * allowed object is + * {@link ScheduleType } + * + */ + public void setStartSchedule(ScheduleType value) { + this.startSchedule = value; + } + + /** + * Gets the value of the addToCustomerProfile property. + * + * @return + * possible object is + * {@link AddToCustomerProfileType } + * + */ + public AddToCustomerProfileType getAddToCustomerProfile() { + return addToCustomerProfile; + } + + /** + * Sets the value of the addToCustomerProfile property. + * + * @param value + * allowed object is + * {@link AddToCustomerProfileType } + * + */ + public void setAddToCustomerProfile(AddToCustomerProfileType value) { + this.addToCustomerProfile = value; + } + } diff --git a/src/main/java/com/ixopay/client/model/transaction/RefundType.java b/src/main/java/com/ixopay/client/model/transaction/RefundType.java index 2637e97..b9612c8 100644 --- a/src/main/java/com/ixopay/client/model/transaction/RefundType.java +++ b/src/main/java/com/ixopay/client/model/transaction/RefundType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -12,6 +12,7 @@ import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; @@ -26,6 +27,8 @@ * <extension base="{http://gateway.ixopay.com/Schema/V2/Transaction}baseTransactionWithReferenceType"> * <sequence> * <group ref="{http://gateway.ixopay.com/Schema/V2/Transaction}amountableGroup"/> + * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="callbackUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> * <group ref="{http://gateway.ixopay.com/Schema/V2/Transaction}itemsGroup"/> * </sequence> * </extension> @@ -39,6 +42,8 @@ @XmlType(name = "refundType", propOrder = { "amount", "currency", + "description", + "callbackUrl", "items" }) public class RefundType @@ -47,6 +52,9 @@ public class RefundType protected BigDecimal amount; protected String currency; + protected String description; + @XmlSchemaType(name = "anyURI") + protected String callbackUrl; protected ItemsType items; /** @@ -61,10 +69,12 @@ public RefundType() { * Fully-initialising value constructor * */ - public RefundType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4, final BigDecimal amount, final String currency, final ItemsType items) { - super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4); + public RefundType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final String merchantMetaData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4, final BigDecimal amount, final String currency, final String description, final String callbackUrl, final ItemsType items) { + super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, merchantMetaData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4); this.amount = amount; this.currency = currency; + this.description = description; + this.callbackUrl = callbackUrl; this.items = items; } @@ -116,6 +126,54 @@ public void setCurrency(String value) { this.currency = value; } + /** + * Gets the value of the description property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescription() { + return description; + } + + /** + * Sets the value of the description property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescription(String value) { + this.description = value; + } + + /** + * Gets the value of the callbackUrl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCallbackUrl() { + return callbackUrl; + } + + /** + * Sets the value of the callbackUrl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCallbackUrl(String value) { + this.callbackUrl = value; + } + /** * Gets the value of the items property. * diff --git a/src/main/java/com/ixopay/client/model/transaction/RegisterType.java b/src/main/java/com/ixopay/client/model/transaction/RegisterType.java index 3a9f017..079dc0c 100644 --- a/src/main/java/com/ixopay/client/model/transaction/RegisterType.java +++ b/src/main/java/com/ixopay/client/model/transaction/RegisterType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -26,6 +26,8 @@ * <extension base="{http://gateway.ixopay.com/Schema/V2/Transaction}baseTransactionType"> * <sequence> * <group ref="{http://gateway.ixopay.com/Schema/V2/Transaction}offsiteGroup"/> + * <element name="startSchedule" type="{http://gateway.ixopay.com/Schema/V2/Transaction}scheduleType" minOccurs="0"/> + * <element name="addToCustomerProfile" type="{http://gateway.ixopay.com/Schema/V2/Transaction}addToCustomerProfileType" minOccurs="0"/> * </sequence> * </extension> * </complexContent> @@ -40,7 +42,9 @@ "successUrl", "cancelUrl", "errorUrl", - "callbackUrl" + "callbackUrl", + "startSchedule", + "addToCustomerProfile" }) public class RegisterType extends BaseTransactionType @@ -55,6 +59,8 @@ public class RegisterType protected String errorUrl; @XmlSchemaType(name = "anyURI") protected String callbackUrl; + protected ScheduleType startSchedule; + protected AddToCustomerProfileType addToCustomerProfile; /** * Default no-arg constructor @@ -68,13 +74,15 @@ public RegisterType() { * Fully-initialising value constructor * */ - public RegisterType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final RequestType request, final String description, final String successUrl, final String cancelUrl, final String errorUrl, final String callbackUrl) { - super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, request); + public RegisterType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final String merchantMetaData, final RequestType request, final String description, final String successUrl, final String cancelUrl, final String errorUrl, final String callbackUrl, final ScheduleType startSchedule, final AddToCustomerProfileType addToCustomerProfile) { + super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, merchantMetaData, request); this.description = description; this.successUrl = successUrl; this.cancelUrl = cancelUrl; this.errorUrl = errorUrl; this.callbackUrl = callbackUrl; + this.startSchedule = startSchedule; + this.addToCustomerProfile = addToCustomerProfile; } /** @@ -197,4 +205,52 @@ public void setCallbackUrl(String value) { this.callbackUrl = value; } + /** + * Gets the value of the startSchedule property. + * + * @return + * possible object is + * {@link ScheduleType } + * + */ + public ScheduleType getStartSchedule() { + return startSchedule; + } + + /** + * Sets the value of the startSchedule property. + * + * @param value + * allowed object is + * {@link ScheduleType } + * + */ + public void setStartSchedule(ScheduleType value) { + this.startSchedule = value; + } + + /** + * Gets the value of the addToCustomerProfile property. + * + * @return + * possible object is + * {@link AddToCustomerProfileType } + * + */ + public AddToCustomerProfileType getAddToCustomerProfile() { + return addToCustomerProfile; + } + + /** + * Sets the value of the addToCustomerProfile property. + * + * @param value + * allowed object is + * {@link AddToCustomerProfileType } + * + */ + public void setAddToCustomerProfile(AddToCustomerProfileType value) { + this.addToCustomerProfile = value; + } + } diff --git a/src/main/java/com/ixopay/client/model/transaction/RequestType.java b/src/main/java/com/ixopay/client/model/transaction/RequestType.java index c340345..9df7a78 100644 --- a/src/main/java/com/ixopay/client/model/transaction/RequestType.java +++ b/src/main/java/com/ixopay/client/model/transaction/RequestType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // diff --git a/src/main/java/com/ixopay/client/model/transaction/ScheduleType.java b/src/main/java/com/ixopay/client/model/transaction/ScheduleType.java new file mode 100644 index 0000000..c392ebe --- /dev/null +++ b/src/main/java/com/ixopay/client/model/transaction/ScheduleType.java @@ -0,0 +1,194 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.transaction; + +import java.math.BigDecimal; +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.XmlType; + + +/** + *

Java class for scheduleType complex type. + * + *

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

+ * <complexType name="scheduleType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="amount" type="{http://gateway.ixopay.com/Schema/V2/Transaction}amountType"/>
+ *         <element name="currency" type="{http://gateway.ixopay.com/Schema/V2/Transaction}currencyType"/>
+ *         <element name="periodLength" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
+ *         <element name="periodUnit" type="{http://gateway.ixopay.com/Schema/V2/Transaction}periodUnitType"/>
+ *         <element name="startDateTime" type="{http://gateway.ixopay.com/Schema/V2/Transaction}scheduleDateTime" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "scheduleType", propOrder = { + "amount", + "currency", + "periodLength", + "periodUnit", + "startDateTime" +}) +public class ScheduleType { + + @XmlElement(required = true) + protected BigDecimal amount; + @XmlElement(required = true) + protected String currency; + @XmlSchemaType(name = "unsignedInt") + protected long periodLength; + @XmlElement(required = true) + protected PeriodUnitType periodUnit; + protected String startDateTime; + + /** + * Default no-arg constructor + * + */ + public ScheduleType() { + super(); + } + + /** + * Fully-initialising value constructor + * + */ + public ScheduleType(final BigDecimal amount, final String currency, final long periodLength, final PeriodUnitType periodUnit, final String startDateTime) { + this.amount = amount; + this.currency = currency; + this.periodLength = periodLength; + this.periodUnit = periodUnit; + this.startDateTime = startDateTime; + } + + /** + * 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 currency property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCurrency() { + return currency; + } + + /** + * Sets the value of the currency property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCurrency(String value) { + this.currency = value; + } + + /** + * Gets the value of the periodLength property. + * + */ + public long getPeriodLength() { + return periodLength; + } + + /** + * Sets the value of the periodLength property. + * + */ + public void setPeriodLength(long value) { + this.periodLength = value; + } + + /** + * Gets the value of the periodUnit property. + * + * @return + * possible object is + * {@link PeriodUnitType } + * + */ + public PeriodUnitType getPeriodUnit() { + return periodUnit; + } + + /** + * Sets the value of the periodUnit property. + * + * @param value + * allowed object is + * {@link PeriodUnitType } + * + */ + public void setPeriodUnit(PeriodUnitType value) { + this.periodUnit = value; + } + + /** + * Gets the value of the startDateTime property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStartDateTime() { + return startDateTime; + } + + /** + * Sets the value of the startDateTime property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStartDateTime(String value) { + this.startDateTime = value; + } + +} diff --git a/src/main/java/com/ixopay/client/model/transaction/TransactionIndicatorType.java b/src/main/java/com/ixopay/client/model/transaction/TransactionIndicatorType.java new file mode 100644 index 0000000..969a86b --- /dev/null +++ b/src/main/java/com/ixopay/client/model/transaction/TransactionIndicatorType.java @@ -0,0 +1,63 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2019.05.21 at 03:44:38 PM CEST +// + + +package com.ixopay.client.model.transaction; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for transactionIndicatorType. + * + *

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

+ *

+ * <simpleType name="transactionIndicatorType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="SINGLE"/>
+ *     <enumeration value="INITIAL"/>
+ *     <enumeration value="RECURRING"/>
+ *     <enumeration value="CARDONFILE"/>
+ *     <enumeration value="CARDONFILE-MERCHANT-INITIATED"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "transactionIndicatorType") +@XmlEnum +public enum TransactionIndicatorType { + + SINGLE("SINGLE"), + INITIAL("INITIAL"), + RECURRING("RECURRING"), + CARDONFILE("CARDONFILE"), + @XmlEnumValue("CARDONFILE-MERCHANT-INITIATED") + CARDONFILE_MERCHANT_INITIATED("CARDONFILE-MERCHANT-INITIATED"); + private final String value; + + TransactionIndicatorType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static TransactionIndicatorType fromValue(String v) { + for (TransactionIndicatorType c: TransactionIndicatorType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/com/ixopay/client/model/transaction/TransactionType.java b/src/main/java/com/ixopay/client/model/transaction/TransactionType.java index 513aa70..54754ab 100644 --- a/src/main/java/com/ixopay/client/model/transaction/TransactionType.java +++ b/src/main/java/com/ixopay/client/model/transaction/TransactionType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -42,6 +42,7 @@ * <element name="void" type="{http://gateway.ixopay.com/Schema/V2/Transaction}voidType"/> * <element name="payout" type="{http://gateway.ixopay.com/Schema/V2/Transaction}payoutType"/> * </choice> + * <element name="cardAdditionalData" type="{http://gateway.ixopay.com/Schema/V2/Transaction}cardAdditionalDataType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -66,7 +67,8 @@ "register", "completeRegister", "_void", - "payout" + "payout", + "cardAdditionalData" }) @XmlRootElement(name = "transaction") public class TransactionType { @@ -89,6 +91,7 @@ public class TransactionType { @XmlElement(name = "void") protected VoidType _void; protected PayoutType payout; + protected CardAdditionalDataType cardAdditionalData; /** * Default no-arg constructor @@ -102,7 +105,7 @@ public TransactionType() { * Fully-initialising value constructor * */ - public TransactionType(final String username, final String password, final String language, final Boolean testMode, final DebitType debit, final DebitType completeDebit, final CaptureType capture, final DeregisterType deregister, final PreauthorizeType preauthorize, final PreauthorizeType completePreauthorize, final RefundType refund, final RegisterType register, final RegisterType completeRegister, final VoidType _void, final PayoutType payout) { + public TransactionType(final String username, final String password, final String language, final Boolean testMode, final DebitType debit, final DebitType completeDebit, final CaptureType capture, final DeregisterType deregister, final PreauthorizeType preauthorize, final PreauthorizeType completePreauthorize, final RefundType refund, final RegisterType register, final RegisterType completeRegister, final VoidType _void, final PayoutType payout, final CardAdditionalDataType cardAdditionalData) { this.username = username; this.password = password; this.language = language; @@ -118,6 +121,7 @@ public TransactionType(final String username, final String password, final Strin this.completeRegister = completeRegister; this._void = _void; this.payout = payout; + this.cardAdditionalData = cardAdditionalData; } /** @@ -480,4 +484,28 @@ public void setPayout(PayoutType value) { this.payout = value; } + /** + * Gets the value of the cardAdditionalData property. + * + * @return + * possible object is + * {@link CardAdditionalDataType } + * + */ + public CardAdditionalDataType getCardAdditionalData() { + return cardAdditionalData; + } + + /** + * Sets the value of the cardAdditionalData property. + * + * @param value + * allowed object is + * {@link CardAdditionalDataType } + * + */ + public void setCardAdditionalData(CardAdditionalDataType value) { + this.cardAdditionalData = value; + } + } diff --git a/src/main/java/com/ixopay/client/model/transaction/VoidType.java b/src/main/java/com/ixopay/client/model/transaction/VoidType.java index 1ccdf92..c457166 100644 --- a/src/main/java/com/ixopay/client/model/transaction/VoidType.java +++ b/src/main/java/com/ixopay/client/model/transaction/VoidType.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @@ -49,8 +49,8 @@ public VoidType() { * Fully-initialising value constructor * */ - public VoidType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4) { - super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4); + public VoidType(final String transactionToken, final String transactionId, final String additionalId1, final String additionalId2, final CustomerType customer, final CreditCardCustomerType creditCardCustomer, final IbanCustomerType ibanCustomer, final List extraData, final String merchantMetaData, final RequestType request, final String referenceTransactionId, final String referenceCustomerId, final String referenceId2, final String referenceId3, final String referenceId4) { + super(transactionToken, transactionId, additionalId1, additionalId2, customer, creditCardCustomer, ibanCustomer, extraData, merchantMetaData, request, referenceTransactionId, referenceCustomerId, referenceId2, referenceId3, referenceId4); } } diff --git a/src/main/java/com/ixopay/client/model/transaction/package-info.java b/src/main/java/com/ixopay/client/model/transaction/package-info.java index c3810d4..d409f82 100644 --- a/src/main/java/com/ixopay/client/model/transaction/package-info.java +++ b/src/main/java/com/ixopay/client/model/transaction/package-info.java @@ -2,7 +2,7 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2017.04.28 at 02:15:42 PM CEST +// Generated on: 2019.05.21 at 03:44:38 PM CEST // @javax.xml.bind.annotation.XmlSchema(namespace = "http://gateway.ixopay.com/Schema/V2/Transaction", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) diff --git a/src/main/resources/bindings/ixopay.xjb b/src/main/resources/bindings/ixopay.xjb index dab8c59..b019f38 100644 --- a/src/main/resources/bindings/ixopay.xjb +++ b/src/main/resources/bindings/ixopay.xjb @@ -47,4 +47,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/episodes/gateway.ixopay.com-Schema-V2-Schedule.episode b/src/main/resources/episodes/gateway.ixopay.com-Schema-V2-Schedule.episode new file mode 100644 index 0000000..5339387 --- /dev/null +++ b/src/main/resources/episodes/gateway.ixopay.com-Schema-V2-Schedule.episode @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/episodes/gateway.ixopay.com-Schema-V2-ScheduleResult.episode b/src/main/resources/episodes/gateway.ixopay.com-Schema-V2-ScheduleResult.episode new file mode 100644 index 0000000..76cfb42 --- /dev/null +++ b/src/main/resources/episodes/gateway.ixopay.com-Schema-V2-ScheduleResult.episode @@ -0,0 +1,334 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/episodes/gateway.ixopay.com-Schema-V2-Transaction.episode b/src/main/resources/episodes/gateway.ixopay.com-Schema-V2-Transaction.episode index 4abb4ab..a83cdad 100644 --- a/src/main/resources/episodes/gateway.ixopay.com-Schema-V2-Transaction.episode +++ b/src/main/resources/episodes/gateway.ixopay.com-Schema-V2-Transaction.episode @@ -5,51 +5,39 @@ This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 See http://java.sun.com/xml/jaxb Any modifications to this file will be lost upon recompilation of the source schema. -Generated on: 2017.04.28 at 02:15:42 PM CEST +Generated on: 2019.05.14 at 12:45:52 PM CEST --> - + - + - - - - - + + - + - - - - + - - + + - + - + - - + + - - + + - - - - - - - + @@ -74,12 +62,6 @@ Generated on: 2017.04.28 at 02:15:42 PM CEST - - - - - - @@ -95,12 +77,6 @@ Generated on: 2017.04.28 at 02:15:42 PM CEST - - - - - - @@ -110,57 +86,93 @@ Generated on: 2017.04.28 at 02:15:42 PM CEST - - + + - - - - - - - + + - - + + - - + + - - + + + + + + + + + + + + + + - + - + - - + + + + + - + - + - - + + + + + - + - + - - + + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/schemas/callback.xsd b/src/main/resources/schemas/callback.xsd index 29a8aa8..212876a 100644 --- a/src/main/resources/schemas/callback.xsd +++ b/src/main/resources/schemas/callback.xsd @@ -14,12 +14,19 @@ + + + + + + + @@ -31,7 +38,21 @@ + + + + + + + + + + + + + + @@ -42,6 +63,7 @@ + @@ -67,6 +89,13 @@ + + + + + + + @@ -90,18 +119,40 @@ + + + + + + + + + + + + + + + + + + + + + + @@ -140,8 +191,17 @@ + + + + + + + + + @@ -149,5 +209,57 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/schemas/result.xsd b/src/main/resources/schemas/result.xsd index 26cf369..061df0f 100644 --- a/src/main/resources/schemas/result.xsd +++ b/src/main/resources/schemas/result.xsd @@ -17,7 +17,13 @@ + + + + + + @@ -80,9 +86,32 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -125,5 +154,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/schemas/schedule.xsd b/src/main/resources/schemas/schedule.xsd new file mode 100644 index 0000000..66ad876 --- /dev/null +++ b/src/main/resources/schemas/schedule.xsd @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/schemas/scheduleResult.xsd b/src/main/resources/schemas/scheduleResult.xsd new file mode 100644 index 0000000..a480450 --- /dev/null +++ b/src/main/resources/schemas/scheduleResult.xsd @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/schemas/status.xsd b/src/main/resources/schemas/status.xsd new file mode 100644 index 0000000..86dda98 --- /dev/null +++ b/src/main/resources/schemas/status.xsd @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/schemas/statusResult.xsd b/src/main/resources/schemas/statusResult.xsd new file mode 100644 index 0000000..33ce7c3 --- /dev/null +++ b/src/main/resources/schemas/statusResult.xsd @@ -0,0 +1,249 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/schemas/transaction.xsd b/src/main/resources/schemas/transaction.xsd index 476a29f..8322a80 100644 --- a/src/main/resources/schemas/transaction.xsd +++ b/src/main/resources/schemas/transaction.xsd @@ -27,6 +27,9 @@ + + + @@ -70,8 +73,51 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -146,6 +192,7 @@ + @@ -217,6 +264,9 @@ + + + @@ -230,6 +280,9 @@ + + + @@ -240,6 +293,8 @@ + + @@ -266,6 +321,8 @@ + + @@ -279,10 +336,11 @@ - + + @@ -299,5 +357,12 @@ + + + + + + + \ No newline at end of file