Skip to content

Commit

Permalink
Update schemas to V2
Browse files Browse the repository at this point in the history
  • Loading branch information
psk-ixolit committed May 21, 2019
1 parent 24f3b9f commit a0ede08
Show file tree
Hide file tree
Showing 117 changed files with 11,069 additions and 218 deletions.
13 changes: 10 additions & 3 deletions src/main/java/com/ixopay/client/model/callback/CallbackType.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// 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
//


Expand Down Expand Up @@ -34,12 +34,19 @@
* &lt;element name="transactionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="purchaseId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="transactionType" type="{http://gateway.ixopay.com/Schema/V2/Callback}transactionMethodType" minOccurs="0"/>
* &lt;element name="paymentMethod" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="amount" type="{http://gateway.ixopay.com/Schema/V2/Callback}amountType" minOccurs="0"/>
* &lt;element name="currency" type="{http://gateway.ixopay.com/Schema/V2/Callback}currencyType" minOccurs="0"/>
* &lt;element name="scheduleId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="scheduleStatus" type="{http://gateway.ixopay.com/Schema/V2/Callback}scheduleStatusType" minOccurs="0"/>
* &lt;element name="customerProfile" type="{http://gateway.ixopay.com/Schema/V2/Callback}customerProfileDataType" minOccurs="0"/>
* &lt;element name="errors" type="{http://gateway.ixopay.com/Schema/V2/Callback}errorsType" minOccurs="0"/>
* &lt;element name="chargebackData" type="{http://gateway.ixopay.com/Schema/V2/Callback}chargebackDataType" minOccurs="0"/>
* &lt;element name="chargebackReversalData" type="{http://gateway.ixopay.com/Schema/V2/Callback}chargebackReversalDataType" minOccurs="0"/>
* &lt;element name="extraData" type="{http://gateway.ixopay.com/Schema/V2/Callback}extraDataType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="merchantMetaData" type="{http://gateway.ixopay.com/Schema/V2/Callback}merchantMetaDataType" minOccurs="0"/>
* &lt;element name="returnData" type="{http://gateway.ixopay.com/Schema/V2/Callback}returnDataType" minOccurs="0"/>
* &lt;element name="customerData" type="{http://gateway.ixopay.com/Schema/V2/Callback}customerDataType" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
Expand Down Expand Up @@ -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<ExtraDataType> 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<ExtraDataType> 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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// 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
//


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,255 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// 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;


/**
* <p>Java class for chargebackReversalDataType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="chargebackReversalDataType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="originalReferenceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="originalTransactionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="chargebackReferenceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="amount" type="{http://gateway.ixopay.com/Schema/V2/Callback}amountType" minOccurs="0"/>
* &lt;element name="currency" type="{http://gateway.ixopay.com/Schema/V2/Callback}currencyType" minOccurs="0"/>
* &lt;element name="reason" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="reversalDateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@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;
}

}
Loading

0 comments on commit a0ede08

Please sign in to comment.