Skip to content

Instantly share code, notes, and snippets.

@ygrenzinger
Created April 30, 2014 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ygrenzinger/960a1c763899d01c4eff to your computer and use it in GitHub Desktop.
Save ygrenzinger/960a1c763899d01c4eff to your computer and use it in GitHub Desktop.
Selma Mapping question
package com.sfr.checkout.util;
import org.joda.time.DateTime;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Created by ygrenzinger on 30/04/2014.
*/
public class GregorianToJodaTimeConverter {
public DateTime gregorianToJoda(XMLGregorianCalendar xmlGregorianCalendar){
return new DateTime(xmlGregorianCalendar.getMillisecond());
}
}
//
// Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.6
// Voir <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source.
// Généré le : 2014.04.30 à 09:49:02 AM CEST
//
package fr.sfr.ecom360.orders.cart.v6;
import java.io.Serializable;
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;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.sfr.checkout.util.DateTimeAdapter;
import fr.sfr.ecom360.orders.common.v6.BillingMode;
import fr.sfr.ecom360.orders.common.v6.CardType;
import fr.sfr.ecom360.orders.common.v6.CreditType;
import fr.sfr.ecom360.orders.common.v6.MandatSepaStatusType;
import fr.sfr.ecom360.orders.common.v6.RibInfo;
import fr.sfr.ecom360.orders.common.v6.SignatureStatusType;
import fr.sfr.ecom360.orders.common.v6.TypeClient;
import org.joda.time.DateTime;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* TEMP documentation en attente
*
* <p>Classe Java pour PaymentInfo complex type.
*
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
*
* <pre>
* &lt;complexType name="PaymentInfo">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="updatedPaymentInfo" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="invoicePointId" minOccurs="0">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;length value="2"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="idCompteFacturation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="typeClient" type="{http://www.sfr.fr/ecom360/orders/common/v6.0}TypeClientRestricted" minOccurs="0"/>
* &lt;element name="idCompteClient" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="creditCardInfo" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="holderName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="firstDigits" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="lastDigits" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="hashedCardNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="hashedExpirationDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="cardType" type="{http://www.sfr.fr/ecom360/orders/common/v6.0}CardTypeRestricted" minOccurs="0"/>
* &lt;element name="authorizationCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="transactionDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* &lt;element name="transactionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;element name="ribInfo" type="{http://www.sfr.fr/ecom360/orders/common/v6.0}RibInfo" minOccurs="0"/>
* &lt;element name="punctualBilling" type="{http://www.sfr.fr/ecom360/orders/common/v6.0}BillingMode" minOccurs="0"/>
* &lt;element name="recurrentBilling" type="{http://www.sfr.fr/ecom360/orders/common/v6.0}BillingMode" minOccurs="0"/>
* &lt;element name="loanInfo" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="creditType" type="{http://www.sfr.fr/ecom360/orders/common/v6.0}CreditType"/>
* &lt;element name="nbPayment" type="{http://www.w3.org/2001/XMLSchema}integer"/>
* &lt;element name="monthlyFeeWithDiscount" type="{http://www.w3.org/2001/XMLSchema}integer"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;element name="jj" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="mandatSepaInfo" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="idRum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="status" type="{http://www.sfr.fr/ecom360/orders/common/v6.0}MandatSepaStatusTypeRestricted" minOccurs="0"/>
* &lt;element name="signatureStatus" type="{http://www.sfr.fr/ecom360/orders/common/v6.0}SignatureStatusTypeRestricted" minOccurs="0"/>
* &lt;element name="idCrypt" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentInfo", propOrder = {
"updatedPaymentInfo",
"invoicePointId",
"idCompteFacturation",
"typeClient",
"idCompteClient",
"creditCardInfo",
"ribInfo",
"punctualBilling",
"recurrentBilling",
"loanInfo",
"jj",
"mandatSepaInfo"
})
public class PaymentInfo implements Serializable, Equals, HashCode, ToString
{
protected Boolean updatedPaymentInfo;
protected String invoicePointId;
protected String idCompteFacturation;
protected TypeClient typeClient;
protected String idCompteClient;
protected PaymentInfo.CreditCardInfo creditCardInfo;
protected RibInfo ribInfo;
protected BillingMode punctualBilling;
protected BillingMode recurrentBilling;
protected PaymentInfo.LoanInfo loanInfo;
protected String jj;
protected PaymentInfo.MandatSepaInfo mandatSepaInfo;
/**
* Default no-arg constructor
*
*/
public PaymentInfo() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public PaymentInfo(final Boolean updatedPaymentInfo, final String invoicePointId, final String idCompteFacturation, final TypeClient typeClient, final String idCompteClient, final PaymentInfo.CreditCardInfo creditCardInfo, final RibInfo ribInfo, final BillingMode punctualBilling, final BillingMode recurrentBilling, final PaymentInfo.LoanInfo loanInfo, final String jj, final PaymentInfo.MandatSepaInfo mandatSepaInfo) {
this.updatedPaymentInfo = updatedPaymentInfo;
this.invoicePointId = invoicePointId;
this.idCompteFacturation = idCompteFacturation;
this.typeClient = typeClient;
this.idCompteClient = idCompteClient;
this.creditCardInfo = creditCardInfo;
this.ribInfo = ribInfo;
this.punctualBilling = punctualBilling;
this.recurrentBilling = recurrentBilling;
this.loanInfo = loanInfo;
this.jj = jj;
this.mandatSepaInfo = mandatSepaInfo;
}
/**
* Obtient la valeur de la propriété updatedPaymentInfo.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUpdatedPaymentInfo() {
return updatedPaymentInfo;
}
/**
* Définit la valeur de la propriété updatedPaymentInfo.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUpdatedPaymentInfo(Boolean value) {
this.updatedPaymentInfo = value;
}
/**
* Obtient la valeur de la propriété invoicePointId.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInvoicePointId() {
return invoicePointId;
}
/**
* Définit la valeur de la propriété invoicePointId.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInvoicePointId(String value) {
this.invoicePointId = value;
}
/**
* Obtient la valeur de la propriété idCompteFacturation.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdCompteFacturation() {
return idCompteFacturation;
}
/**
* Définit la valeur de la propriété idCompteFacturation.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdCompteFacturation(String value) {
this.idCompteFacturation = value;
}
/**
* Obtient la valeur de la propriété typeClient.
*
* @return
* possible object is
* {@link TypeClient }
*
*/
public TypeClient getTypeClient() {
return typeClient;
}
/**
* Définit la valeur de la propriété typeClient.
*
* @param value
* allowed object is
* {@link TypeClient }
*
*/
public void setTypeClient(TypeClient value) {
this.typeClient = value;
}
/**
* Obtient la valeur de la propriété idCompteClient.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdCompteClient() {
return idCompteClient;
}
/**
* Définit la valeur de la propriété idCompteClient.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdCompteClient(String value) {
this.idCompteClient = value;
}
/**
* Obtient la valeur de la propriété creditCardInfo.
*
* @return
* possible object is
* {@link PaymentInfo.CreditCardInfo }
*
*/
public PaymentInfo.CreditCardInfo getCreditCardInfo() {
return creditCardInfo;
}
/**
* Définit la valeur de la propriété creditCardInfo.
*
* @param value
* allowed object is
* {@link PaymentInfo.CreditCardInfo }
*
*/
public void setCreditCardInfo(PaymentInfo.CreditCardInfo value) {
this.creditCardInfo = value;
}
/**
* Obtient la valeur de la propriété ribInfo.
*
* @return
* possible object is
* {@link RibInfo }
*
*/
public RibInfo getRibInfo() {
return ribInfo;
}
/**
* Définit la valeur de la propriété ribInfo.
*
* @param value
* allowed object is
* {@link RibInfo }
*
*/
public void setRibInfo(RibInfo value) {
this.ribInfo = value;
}
/**
* Obtient la valeur de la propriété punctualBilling.
*
* @return
* possible object is
* {@link BillingMode }
*
*/
public BillingMode getPunctualBilling() {
return punctualBilling;
}
/**
* Définit la valeur de la propriété punctualBilling.
*
* @param value
* allowed object is
* {@link BillingMode }
*
*/
public void setPunctualBilling(BillingMode value) {
this.punctualBilling = value;
}
/**
* Obtient la valeur de la propriété recurrentBilling.
*
* @return
* possible object is
* {@link BillingMode }
*
*/
public BillingMode getRecurrentBilling() {
return recurrentBilling;
}
/**
* Définit la valeur de la propriété recurrentBilling.
*
* @param value
* allowed object is
* {@link BillingMode }
*
*/
public void setRecurrentBilling(BillingMode value) {
this.recurrentBilling = value;
}
/**
* Obtient la valeur de la propriété loanInfo.
*
* @return
* possible object is
* {@link PaymentInfo.LoanInfo }
*
*/
public PaymentInfo.LoanInfo getLoanInfo() {
return loanInfo;
}
/**
* Définit la valeur de la propriété loanInfo.
*
* @param value
* allowed object is
* {@link PaymentInfo.LoanInfo }
*
*/
public void setLoanInfo(PaymentInfo.LoanInfo value) {
this.loanInfo = value;
}
/**
* Obtient la valeur de la propriété jj.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJj() {
return jj;
}
/**
* Définit la valeur de la propriété jj.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJj(String value) {
this.jj = value;
}
/**
* Obtient la valeur de la propriété mandatSepaInfo.
*
* @return
* possible object is
* {@link PaymentInfo.MandatSepaInfo }
*
*/
public PaymentInfo.MandatSepaInfo getMandatSepaInfo() {
return mandatSepaInfo;
}
/**
* Définit la valeur de la propriété mandatSepaInfo.
*
* @param value
* allowed object is
* {@link PaymentInfo.MandatSepaInfo }
*
*/
public void setMandatSepaInfo(PaymentInfo.MandatSepaInfo value) {
this.mandatSepaInfo = value;
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
Boolean theUpdatedPaymentInfo;
theUpdatedPaymentInfo = this.isUpdatedPaymentInfo();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "updatedPaymentInfo", theUpdatedPaymentInfo), currentHashCode, theUpdatedPaymentInfo);
}
{
String theInvoicePointId;
theInvoicePointId = this.getInvoicePointId();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "invoicePointId", theInvoicePointId), currentHashCode, theInvoicePointId);
}
{
String theIdCompteFacturation;
theIdCompteFacturation = this.getIdCompteFacturation();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "idCompteFacturation", theIdCompteFacturation), currentHashCode, theIdCompteFacturation);
}
{
TypeClient theTypeClient;
theTypeClient = this.getTypeClient();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "typeClient", theTypeClient), currentHashCode, theTypeClient);
}
{
String theIdCompteClient;
theIdCompteClient = this.getIdCompteClient();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "idCompteClient", theIdCompteClient), currentHashCode, theIdCompteClient);
}
{
PaymentInfo.CreditCardInfo theCreditCardInfo;
theCreditCardInfo = this.getCreditCardInfo();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "creditCardInfo", theCreditCardInfo), currentHashCode, theCreditCardInfo);
}
{
RibInfo theRibInfo;
theRibInfo = this.getRibInfo();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ribInfo", theRibInfo), currentHashCode, theRibInfo);
}
{
BillingMode thePunctualBilling;
thePunctualBilling = this.getPunctualBilling();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "punctualBilling", thePunctualBilling), currentHashCode, thePunctualBilling);
}
{
BillingMode theRecurrentBilling;
theRecurrentBilling = this.getRecurrentBilling();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "recurrentBilling", theRecurrentBilling), currentHashCode, theRecurrentBilling);
}
{
PaymentInfo.LoanInfo theLoanInfo;
theLoanInfo = this.getLoanInfo();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "loanInfo", theLoanInfo), currentHashCode, theLoanInfo);
}
{
String theJj;
theJj = this.getJj();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jj", theJj), currentHashCode, theJj);
}
{
PaymentInfo.MandatSepaInfo theMandatSepaInfo;
theMandatSepaInfo = this.getMandatSepaInfo();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mandatSepaInfo", theMandatSepaInfo), currentHashCode, theMandatSepaInfo);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof PaymentInfo)) {
return false;
}
if (this == object) {
return true;
}
final PaymentInfo that = ((PaymentInfo) object);
{
Boolean lhsUpdatedPaymentInfo;
lhsUpdatedPaymentInfo = this.isUpdatedPaymentInfo();
Boolean rhsUpdatedPaymentInfo;
rhsUpdatedPaymentInfo = that.isUpdatedPaymentInfo();
if (!strategy.equals(LocatorUtils.property(thisLocator, "updatedPaymentInfo", lhsUpdatedPaymentInfo), LocatorUtils.property(thatLocator, "updatedPaymentInfo", rhsUpdatedPaymentInfo), lhsUpdatedPaymentInfo, rhsUpdatedPaymentInfo)) {
return false;
}
}
{
String lhsInvoicePointId;
lhsInvoicePointId = this.getInvoicePointId();
String rhsInvoicePointId;
rhsInvoicePointId = that.getInvoicePointId();
if (!strategy.equals(LocatorUtils.property(thisLocator, "invoicePointId", lhsInvoicePointId), LocatorUtils.property(thatLocator, "invoicePointId", rhsInvoicePointId), lhsInvoicePointId, rhsInvoicePointId)) {
return false;
}
}
{
String lhsIdCompteFacturation;
lhsIdCompteFacturation = this.getIdCompteFacturation();
String rhsIdCompteFacturation;
rhsIdCompteFacturation = that.getIdCompteFacturation();
if (!strategy.equals(LocatorUtils.property(thisLocator, "idCompteFacturation", lhsIdCompteFacturation), LocatorUtils.property(thatLocator, "idCompteFacturation", rhsIdCompteFacturation), lhsIdCompteFacturation, rhsIdCompteFacturation)) {
return false;
}
}
{
TypeClient lhsTypeClient;
lhsTypeClient = this.getTypeClient();
TypeClient rhsTypeClient;
rhsTypeClient = that.getTypeClient();
if (!strategy.equals(LocatorUtils.property(thisLocator, "typeClient", lhsTypeClient), LocatorUtils.property(thatLocator, "typeClient", rhsTypeClient), lhsTypeClient, rhsTypeClient)) {
return false;
}
}
{
String lhsIdCompteClient;
lhsIdCompteClient = this.getIdCompteClient();
String rhsIdCompteClient;
rhsIdCompteClient = that.getIdCompteClient();
if (!strategy.equals(LocatorUtils.property(thisLocator, "idCompteClient", lhsIdCompteClient), LocatorUtils.property(thatLocator, "idCompteClient", rhsIdCompteClient), lhsIdCompteClient, rhsIdCompteClient)) {
return false;
}
}
{
PaymentInfo.CreditCardInfo lhsCreditCardInfo;
lhsCreditCardInfo = this.getCreditCardInfo();
PaymentInfo.CreditCardInfo rhsCreditCardInfo;
rhsCreditCardInfo = that.getCreditCardInfo();
if (!strategy.equals(LocatorUtils.property(thisLocator, "creditCardInfo", lhsCreditCardInfo), LocatorUtils.property(thatLocator, "creditCardInfo", rhsCreditCardInfo), lhsCreditCardInfo, rhsCreditCardInfo)) {
return false;
}
}
{
RibInfo lhsRibInfo;
lhsRibInfo = this.getRibInfo();
RibInfo rhsRibInfo;
rhsRibInfo = that.getRibInfo();
if (!strategy.equals(LocatorUtils.property(thisLocator, "ribInfo", lhsRibInfo), LocatorUtils.property(thatLocator, "ribInfo", rhsRibInfo), lhsRibInfo, rhsRibInfo)) {
return false;
}
}
{
BillingMode lhsPunctualBilling;
lhsPunctualBilling = this.getPunctualBilling();
BillingMode rhsPunctualBilling;
rhsPunctualBilling = that.getPunctualBilling();
if (!strategy.equals(LocatorUtils.property(thisLocator, "punctualBilling", lhsPunctualBilling), LocatorUtils.property(thatLocator, "punctualBilling", rhsPunctualBilling), lhsPunctualBilling, rhsPunctualBilling)) {
return false;
}
}
{
BillingMode lhsRecurrentBilling;
lhsRecurrentBilling = this.getRecurrentBilling();
BillingMode rhsRecurrentBilling;
rhsRecurrentBilling = that.getRecurrentBilling();
if (!strategy.equals(LocatorUtils.property(thisLocator, "recurrentBilling", lhsRecurrentBilling), LocatorUtils.property(thatLocator, "recurrentBilling", rhsRecurrentBilling), lhsRecurrentBilling, rhsRecurrentBilling)) {
return false;
}
}
{
PaymentInfo.LoanInfo lhsLoanInfo;
lhsLoanInfo = this.getLoanInfo();
PaymentInfo.LoanInfo rhsLoanInfo;
rhsLoanInfo = that.getLoanInfo();
if (!strategy.equals(LocatorUtils.property(thisLocator, "loanInfo", lhsLoanInfo), LocatorUtils.property(thatLocator, "loanInfo", rhsLoanInfo), lhsLoanInfo, rhsLoanInfo)) {
return false;
}
}
{
String lhsJj;
lhsJj = this.getJj();
String rhsJj;
rhsJj = that.getJj();
if (!strategy.equals(LocatorUtils.property(thisLocator, "jj", lhsJj), LocatorUtils.property(thatLocator, "jj", rhsJj), lhsJj, rhsJj)) {
return false;
}
}
{
PaymentInfo.MandatSepaInfo lhsMandatSepaInfo;
lhsMandatSepaInfo = this.getMandatSepaInfo();
PaymentInfo.MandatSepaInfo rhsMandatSepaInfo;
rhsMandatSepaInfo = that.getMandatSepaInfo();
if (!strategy.equals(LocatorUtils.property(thisLocator, "mandatSepaInfo", lhsMandatSepaInfo), LocatorUtils.property(thatLocator, "mandatSepaInfo", rhsMandatSepaInfo), lhsMandatSepaInfo, rhsMandatSepaInfo)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
Boolean theUpdatedPaymentInfo;
theUpdatedPaymentInfo = this.isUpdatedPaymentInfo();
strategy.appendField(locator, this, "updatedPaymentInfo", buffer, theUpdatedPaymentInfo);
}
{
String theInvoicePointId;
theInvoicePointId = this.getInvoicePointId();
strategy.appendField(locator, this, "invoicePointId", buffer, theInvoicePointId);
}
{
String theIdCompteFacturation;
theIdCompteFacturation = this.getIdCompteFacturation();
strategy.appendField(locator, this, "idCompteFacturation", buffer, theIdCompteFacturation);
}
{
TypeClient theTypeClient;
theTypeClient = this.getTypeClient();
strategy.appendField(locator, this, "typeClient", buffer, theTypeClient);
}
{
String theIdCompteClient;
theIdCompteClient = this.getIdCompteClient();
strategy.appendField(locator, this, "idCompteClient", buffer, theIdCompteClient);
}
{
PaymentInfo.CreditCardInfo theCreditCardInfo;
theCreditCardInfo = this.getCreditCardInfo();
strategy.appendField(locator, this, "creditCardInfo", buffer, theCreditCardInfo);
}
{
RibInfo theRibInfo;
theRibInfo = this.getRibInfo();
strategy.appendField(locator, this, "ribInfo", buffer, theRibInfo);
}
{
BillingMode thePunctualBilling;
thePunctualBilling = this.getPunctualBilling();
strategy.appendField(locator, this, "punctualBilling", buffer, thePunctualBilling);
}
{
BillingMode theRecurrentBilling;
theRecurrentBilling = this.getRecurrentBilling();
strategy.appendField(locator, this, "recurrentBilling", buffer, theRecurrentBilling);
}
{
PaymentInfo.LoanInfo theLoanInfo;
theLoanInfo = this.getLoanInfo();
strategy.appendField(locator, this, "loanInfo", buffer, theLoanInfo);
}
{
String theJj;
theJj = this.getJj();
strategy.appendField(locator, this, "jj", buffer, theJj);
}
{
PaymentInfo.MandatSepaInfo theMandatSepaInfo;
theMandatSepaInfo = this.getMandatSepaInfo();
strategy.appendField(locator, this, "mandatSepaInfo", buffer, theMandatSepaInfo);
}
return buffer;
}
/**
* <p>Classe Java pour anonymous complex type.
*
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="holderName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="firstDigits" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="lastDigits" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="hashedCardNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="hashedExpirationDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="cardType" type="{http://www.sfr.fr/ecom360/orders/common/v6.0}CardTypeRestricted" minOccurs="0"/>
* &lt;element name="authorizationCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="transactionDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* &lt;element name="transactionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"holderName",
"firstDigits",
"lastDigits",
"hashedCardNumber",
"hashedExpirationDate",
"cardType",
"authorizationCode",
"transactionDate",
"transactionId"
})
public static class CreditCardInfo implements Serializable, Equals, HashCode, ToString
{
protected String holderName;
protected String firstDigits;
protected String lastDigits;
protected String hashedCardNumber;
protected String hashedExpirationDate;
protected CardType cardType;
protected String authorizationCode;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(DateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected DateTime transactionDate;
protected String transactionId;
/**
* Default no-arg constructor
*
*/
public CreditCardInfo() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public CreditCardInfo(final String holderName, final String firstDigits, final String lastDigits, final String hashedCardNumber, final String hashedExpirationDate, final CardType cardType, final String authorizationCode, final DateTime transactionDate, final String transactionId) {
this.holderName = holderName;
this.firstDigits = firstDigits;
this.lastDigits = lastDigits;
this.hashedCardNumber = hashedCardNumber;
this.hashedExpirationDate = hashedExpirationDate;
this.cardType = cardType;
this.authorizationCode = authorizationCode;
this.transactionDate = transactionDate;
this.transactionId = transactionId;
}
/**
* Obtient la valeur de la propriété holderName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHolderName() {
return holderName;
}
/**
* Définit la valeur de la propriété holderName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHolderName(String value) {
this.holderName = value;
}
/**
* Obtient la valeur de la propriété firstDigits.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFirstDigits() {
return firstDigits;
}
/**
* Définit la valeur de la propriété firstDigits.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFirstDigits(String value) {
this.firstDigits = value;
}
/**
* Obtient la valeur de la propriété lastDigits.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLastDigits() {
return lastDigits;
}
/**
* Définit la valeur de la propriété lastDigits.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLastDigits(String value) {
this.lastDigits = value;
}
/**
* Obtient la valeur de la propriété hashedCardNumber.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHashedCardNumber() {
return hashedCardNumber;
}
/**
* Définit la valeur de la propriété hashedCardNumber.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHashedCardNumber(String value) {
this.hashedCardNumber = value;
}
/**
* Obtient la valeur de la propriété hashedExpirationDate.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHashedExpirationDate() {
return hashedExpirationDate;
}
/**
* Définit la valeur de la propriété hashedExpirationDate.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHashedExpirationDate(String value) {
this.hashedExpirationDate = value;
}
/**
* Obtient la valeur de la propriété cardType.
*
* @return
* possible object is
* {@link CardType }
*
*/
public CardType getCardType() {
return cardType;
}
/**
* Définit la valeur de la propriété cardType.
*
* @param value
* allowed object is
* {@link CardType }
*
*/
public void setCardType(CardType value) {
this.cardType = value;
}
/**
* Obtient la valeur de la propriété authorizationCode.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAuthorizationCode() {
return authorizationCode;
}
/**
* Définit la valeur de la propriété authorizationCode.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAuthorizationCode(String value) {
this.authorizationCode = value;
}
/**
* Obtient la valeur de la propriété transactionDate.
*
* @return
* possible object is
* {@link String }
*
*/
public DateTime getTransactionDate() {
return transactionDate;
}
/**
* Définit la valeur de la propriété transactionDate.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransactionDate(DateTime value) {
this.transactionDate = value;
}
/**
* Obtient la valeur de la propriété transactionId.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTransactionId() {
return transactionId;
}
/**
* Définit la valeur de la propriété transactionId.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransactionId(String value) {
this.transactionId = value;
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
String theHolderName;
theHolderName = this.getHolderName();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "holderName", theHolderName), currentHashCode, theHolderName);
}
{
String theFirstDigits;
theFirstDigits = this.getFirstDigits();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "firstDigits", theFirstDigits), currentHashCode, theFirstDigits);
}
{
String theLastDigits;
theLastDigits = this.getLastDigits();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lastDigits", theLastDigits), currentHashCode, theLastDigits);
}
{
String theHashedCardNumber;
theHashedCardNumber = this.getHashedCardNumber();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hashedCardNumber", theHashedCardNumber), currentHashCode, theHashedCardNumber);
}
{
String theHashedExpirationDate;
theHashedExpirationDate = this.getHashedExpirationDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hashedExpirationDate", theHashedExpirationDate), currentHashCode, theHashedExpirationDate);
}
{
CardType theCardType;
theCardType = this.getCardType();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "cardType", theCardType), currentHashCode, theCardType);
}
{
String theAuthorizationCode;
theAuthorizationCode = this.getAuthorizationCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "authorizationCode", theAuthorizationCode), currentHashCode, theAuthorizationCode);
}
{
DateTime theTransactionDate;
theTransactionDate = this.getTransactionDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "transactionDate", theTransactionDate), currentHashCode, theTransactionDate);
}
{
String theTransactionId;
theTransactionId = this.getTransactionId();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "transactionId", theTransactionId), currentHashCode, theTransactionId);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof PaymentInfo.CreditCardInfo)) {
return false;
}
if (this == object) {
return true;
}
final PaymentInfo.CreditCardInfo that = ((PaymentInfo.CreditCardInfo) object);
{
String lhsHolderName;
lhsHolderName = this.getHolderName();
String rhsHolderName;
rhsHolderName = that.getHolderName();
if (!strategy.equals(LocatorUtils.property(thisLocator, "holderName", lhsHolderName), LocatorUtils.property(thatLocator, "holderName", rhsHolderName), lhsHolderName, rhsHolderName)) {
return false;
}
}
{
String lhsFirstDigits;
lhsFirstDigits = this.getFirstDigits();
String rhsFirstDigits;
rhsFirstDigits = that.getFirstDigits();
if (!strategy.equals(LocatorUtils.property(thisLocator, "firstDigits", lhsFirstDigits), LocatorUtils.property(thatLocator, "firstDigits", rhsFirstDigits), lhsFirstDigits, rhsFirstDigits)) {
return false;
}
}
{
String lhsLastDigits;
lhsLastDigits = this.getLastDigits();
String rhsLastDigits;
rhsLastDigits = that.getLastDigits();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lastDigits", lhsLastDigits), LocatorUtils.property(thatLocator, "lastDigits", rhsLastDigits), lhsLastDigits, rhsLastDigits)) {
return false;
}
}
{
String lhsHashedCardNumber;
lhsHashedCardNumber = this.getHashedCardNumber();
String rhsHashedCardNumber;
rhsHashedCardNumber = that.getHashedCardNumber();
if (!strategy.equals(LocatorUtils.property(thisLocator, "hashedCardNumber", lhsHashedCardNumber), LocatorUtils.property(thatLocator, "hashedCardNumber", rhsHashedCardNumber), lhsHashedCardNumber, rhsHashedCardNumber)) {
return false;
}
}
{
String lhsHashedExpirationDate;
lhsHashedExpirationDate = this.getHashedExpirationDate();
String rhsHashedExpirationDate;
rhsHashedExpirationDate = that.getHashedExpirationDate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "hashedExpirationDate", lhsHashedExpirationDate), LocatorUtils.property(thatLocator, "hashedExpirationDate", rhsHashedExpirationDate), lhsHashedExpirationDate, rhsHashedExpirationDate)) {
return false;
}
}
{
CardType lhsCardType;
lhsCardType = this.getCardType();
CardType rhsCardType;
rhsCardType = that.getCardType();
if (!strategy.equals(LocatorUtils.property(thisLocator, "cardType", lhsCardType), LocatorUtils.property(thatLocator, "cardType", rhsCardType), lhsCardType, rhsCardType)) {
return false;
}
}
{
String lhsAuthorizationCode;
lhsAuthorizationCode = this.getAuthorizationCode();
String rhsAuthorizationCode;
rhsAuthorizationCode = that.getAuthorizationCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "authorizationCode", lhsAuthorizationCode), LocatorUtils.property(thatLocator, "authorizationCode", rhsAuthorizationCode), lhsAuthorizationCode, rhsAuthorizationCode)) {
return false;
}
}
{
DateTime lhsTransactionDate;
lhsTransactionDate = this.getTransactionDate();
DateTime rhsTransactionDate;
rhsTransactionDate = that.getTransactionDate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "transactionDate", lhsTransactionDate), LocatorUtils.property(thatLocator, "transactionDate", rhsTransactionDate), lhsTransactionDate, rhsTransactionDate)) {
return false;
}
}
{
String lhsTransactionId;
lhsTransactionId = this.getTransactionId();
String rhsTransactionId;
rhsTransactionId = that.getTransactionId();
if (!strategy.equals(LocatorUtils.property(thisLocator, "transactionId", lhsTransactionId), LocatorUtils.property(thatLocator, "transactionId", rhsTransactionId), lhsTransactionId, rhsTransactionId)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
String theHolderName;
theHolderName = this.getHolderName();
strategy.appendField(locator, this, "holderName", buffer, theHolderName);
}
{
String theFirstDigits;
theFirstDigits = this.getFirstDigits();
strategy.appendField(locator, this, "firstDigits", buffer, theFirstDigits);
}
{
String theLastDigits;
theLastDigits = this.getLastDigits();
strategy.appendField(locator, this, "lastDigits", buffer, theLastDigits);
}
{
String theHashedCardNumber;
theHashedCardNumber = this.getHashedCardNumber();
strategy.appendField(locator, this, "hashedCardNumber", buffer, theHashedCardNumber);
}
{
String theHashedExpirationDate;
theHashedExpirationDate = this.getHashedExpirationDate();
strategy.appendField(locator, this, "hashedExpirationDate", buffer, theHashedExpirationDate);
}
{
CardType theCardType;
theCardType = this.getCardType();
strategy.appendField(locator, this, "cardType", buffer, theCardType);
}
{
String theAuthorizationCode;
theAuthorizationCode = this.getAuthorizationCode();
strategy.appendField(locator, this, "authorizationCode", buffer, theAuthorizationCode);
}
{
DateTime theTransactionDate;
theTransactionDate = this.getTransactionDate();
strategy.appendField(locator, this, "transactionDate", buffer, theTransactionDate);
}
{
String theTransactionId;
theTransactionId = this.getTransactionId();
strategy.appendField(locator, this, "transactionId", buffer, theTransactionId);
}
return buffer;
}
}
/**
* <p>Classe Java pour anonymous complex type.
*
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="creditType" type="{http://www.sfr.fr/ecom360/orders/common/v6.0}CreditType"/>
* &lt;element name="nbPayment" type="{http://www.w3.org/2001/XMLSchema}integer"/>
* &lt;element name="monthlyFeeWithDiscount" type="{http://www.w3.org/2001/XMLSchema}integer"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"creditType",
"nbPayment",
"monthlyFeeWithDiscount"
})
public static class LoanInfo implements Serializable, Equals, HashCode, ToString
{
@XmlElement(required = true)
protected CreditType creditType;
@XmlElement(required = true)
protected BigInteger nbPayment;
@XmlElement(required = true)
protected BigInteger monthlyFeeWithDiscount;
/**
* Default no-arg constructor
*
*/
public LoanInfo() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public LoanInfo(final CreditType creditType, final BigInteger nbPayment, final BigInteger monthlyFeeWithDiscount) {
this.creditType = creditType;
this.nbPayment = nbPayment;
this.monthlyFeeWithDiscount = monthlyFeeWithDiscount;
}
/**
* Obtient la valeur de la propriété creditType.
*
* @return
* possible object is
* {@link CreditType }
*
*/
public CreditType getCreditType() {
return creditType;
}
/**
* Définit la valeur de la propriété creditType.
*
* @param value
* allowed object is
* {@link CreditType }
*
*/
public void setCreditType(CreditType value) {
this.creditType = value;
}
/**
* Obtient la valeur de la propriété nbPayment.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getNbPayment() {
return nbPayment;
}
/**
* Définit la valeur de la propriété nbPayment.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setNbPayment(BigInteger value) {
this.nbPayment = value;
}
/**
* Obtient la valeur de la propriété monthlyFeeWithDiscount.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMonthlyFeeWithDiscount() {
return monthlyFeeWithDiscount;
}
/**
* Définit la valeur de la propriété monthlyFeeWithDiscount.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMonthlyFeeWithDiscount(BigInteger value) {
this.monthlyFeeWithDiscount = value;
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
CreditType theCreditType;
theCreditType = this.getCreditType();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "creditType", theCreditType), currentHashCode, theCreditType);
}
{
BigInteger theNbPayment;
theNbPayment = this.getNbPayment();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "nbPayment", theNbPayment), currentHashCode, theNbPayment);
}
{
BigInteger theMonthlyFeeWithDiscount;
theMonthlyFeeWithDiscount = this.getMonthlyFeeWithDiscount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "monthlyFeeWithDiscount", theMonthlyFeeWithDiscount), currentHashCode, theMonthlyFeeWithDiscount);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof PaymentInfo.LoanInfo)) {
return false;
}
if (this == object) {
return true;
}
final PaymentInfo.LoanInfo that = ((PaymentInfo.LoanInfo) object);
{
CreditType lhsCreditType;
lhsCreditType = this.getCreditType();
CreditType rhsCreditType;
rhsCreditType = that.getCreditType();
if (!strategy.equals(LocatorUtils.property(thisLocator, "creditType", lhsCreditType), LocatorUtils.property(thatLocator, "creditType", rhsCreditType), lhsCreditType, rhsCreditType)) {
return false;
}
}
{
BigInteger lhsNbPayment;
lhsNbPayment = this.getNbPayment();
BigInteger rhsNbPayment;
rhsNbPayment = that.getNbPayment();
if (!strategy.equals(LocatorUtils.property(thisLocator, "nbPayment", lhsNbPayment), LocatorUtils.property(thatLocator, "nbPayment", rhsNbPayment), lhsNbPayment, rhsNbPayment)) {
return false;
}
}
{
BigInteger lhsMonthlyFeeWithDiscount;
lhsMonthlyFeeWithDiscount = this.getMonthlyFeeWithDiscount();
BigInteger rhsMonthlyFeeWithDiscount;
rhsMonthlyFeeWithDiscount = that.getMonthlyFeeWithDiscount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "monthlyFeeWithDiscount", lhsMonthlyFeeWithDiscount), LocatorUtils.property(thatLocator, "monthlyFeeWithDiscount", rhsMonthlyFeeWithDiscount), lhsMonthlyFeeWithDiscount, rhsMonthlyFeeWithDiscount)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
CreditType theCreditType;
theCreditType = this.getCreditType();
strategy.appendField(locator, this, "creditType", buffer, theCreditType);
}
{
BigInteger theNbPayment;
theNbPayment = this.getNbPayment();
strategy.appendField(locator, this, "nbPayment", buffer, theNbPayment);
}
{
BigInteger theMonthlyFeeWithDiscount;
theMonthlyFeeWithDiscount = this.getMonthlyFeeWithDiscount();
strategy.appendField(locator, this, "monthlyFeeWithDiscount", buffer, theMonthlyFeeWithDiscount);
}
return buffer;
}
}
/**
* <p>Classe Java pour anonymous complex type.
*
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="idRum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="status" type="{http://www.sfr.fr/ecom360/orders/common/v6.0}MandatSepaStatusTypeRestricted" minOccurs="0"/>
* &lt;element name="signatureStatus" type="{http://www.sfr.fr/ecom360/orders/common/v6.0}SignatureStatusTypeRestricted" minOccurs="0"/>
* &lt;element name="idCrypt" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"idRum",
"status",
"signatureStatus",
"idCrypt"
})
public static class MandatSepaInfo implements Serializable, Equals, HashCode, ToString
{
protected String idRum;
protected MandatSepaStatusType status;
protected SignatureStatusType signatureStatus;
protected String idCrypt;
/**
* Default no-arg constructor
*
*/
public MandatSepaInfo() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public MandatSepaInfo(final String idRum, final MandatSepaStatusType status, final SignatureStatusType signatureStatus, final String idCrypt) {
this.idRum = idRum;
this.status = status;
this.signatureStatus = signatureStatus;
this.idCrypt = idCrypt;
}
/**
* Obtient la valeur de la propriété idRum.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdRum() {
return idRum;
}
/**
* Définit la valeur de la propriété idRum.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdRum(String value) {
this.idRum = value;
}
/**
* Obtient la valeur de la propriété status.
*
* @return
* possible object is
* {@link MandatSepaStatusType }
*
*/
public MandatSepaStatusType getStatus() {
return status;
}
/**
* Définit la valeur de la propriété status.
*
* @param value
* allowed object is
* {@link MandatSepaStatusType }
*
*/
public void setStatus(MandatSepaStatusType value) {
this.status = value;
}
/**
* Obtient la valeur de la propriété signatureStatus.
*
* @return
* possible object is
* {@link SignatureStatusType }
*
*/
public SignatureStatusType getSignatureStatus() {
return signatureStatus;
}
/**
* Définit la valeur de la propriété signatureStatus.
*
* @param value
* allowed object is
* {@link SignatureStatusType }
*
*/
public void setSignatureStatus(SignatureStatusType value) {
this.signatureStatus = value;
}
/**
* Obtient la valeur de la propriété idCrypt.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdCrypt() {
return idCrypt;
}
/**
* Définit la valeur de la propriété idCrypt.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdCrypt(String value) {
this.idCrypt = value;
}
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
String theIdRum;
theIdRum = this.getIdRum();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "idRum", theIdRum), currentHashCode, theIdRum);
}
{
MandatSepaStatusType theStatus;
theStatus = this.getStatus();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "status", theStatus), currentHashCode, theStatus);
}
{
SignatureStatusType theSignatureStatus;
theSignatureStatus = this.getSignatureStatus();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "signatureStatus", theSignatureStatus), currentHashCode, theSignatureStatus);
}
{
String theIdCrypt;
theIdCrypt = this.getIdCrypt();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "idCrypt", theIdCrypt), currentHashCode, theIdCrypt);
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof PaymentInfo.MandatSepaInfo)) {
return false;
}
if (this == object) {
return true;
}
final PaymentInfo.MandatSepaInfo that = ((PaymentInfo.MandatSepaInfo) object);
{
String lhsIdRum;
lhsIdRum = this.getIdRum();
String rhsIdRum;
rhsIdRum = that.getIdRum();
if (!strategy.equals(LocatorUtils.property(thisLocator, "idRum", lhsIdRum), LocatorUtils.property(thatLocator, "idRum", rhsIdRum), lhsIdRum, rhsIdRum)) {
return false;
}
}
{
MandatSepaStatusType lhsStatus;
lhsStatus = this.getStatus();
MandatSepaStatusType rhsStatus;
rhsStatus = that.getStatus();
if (!strategy.equals(LocatorUtils.property(thisLocator, "status", lhsStatus), LocatorUtils.property(thatLocator, "status", rhsStatus), lhsStatus, rhsStatus)) {
return false;
}
}
{
SignatureStatusType lhsSignatureStatus;
lhsSignatureStatus = this.getSignatureStatus();
SignatureStatusType rhsSignatureStatus;
rhsSignatureStatus = that.getSignatureStatus();
if (!strategy.equals(LocatorUtils.property(thisLocator, "signatureStatus", lhsSignatureStatus), LocatorUtils.property(thatLocator, "signatureStatus", rhsSignatureStatus), lhsSignatureStatus, rhsSignatureStatus)) {
return false;
}
}
{
String lhsIdCrypt;
lhsIdCrypt = this.getIdCrypt();
String rhsIdCrypt;
rhsIdCrypt = that.getIdCrypt();
if (!strategy.equals(LocatorUtils.property(thisLocator, "idCrypt", lhsIdCrypt), LocatorUtils.property(thatLocator, "idCrypt", rhsIdCrypt), lhsIdCrypt, rhsIdCrypt)) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
String theIdRum;
theIdRum = this.getIdRum();
strategy.appendField(locator, this, "idRum", buffer, theIdRum);
}
{
MandatSepaStatusType theStatus;
theStatus = this.getStatus();
strategy.appendField(locator, this, "status", buffer, theStatus);
}
{
SignatureStatusType theSignatureStatus;
theSignatureStatus = this.getSignatureStatus();
strategy.appendField(locator, this, "signatureStatus", buffer, theSignatureStatus);
}
{
String theIdCrypt;
theIdCrypt = this.getIdCrypt();
strategy.appendField(locator, this, "idCrypt", buffer, theIdCrypt);
}
return buffer;
}
}
}
//
// Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.5-2
// Voir <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source.
// Généré le : 2014.04.22 à 12:20:32 PM CEST
//
package com.sfr.ecom.clientprofile._3_0.response;
import java.io.Serializable;
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;
import javax.xml.datatype.XMLGregorianCalendar;
import com.sfr.ecom.clientprofilecommons._1.BillingMode;
import com.sfr.ecom.clientprofilecommons._1.CardType;
import com.sfr.ecom.clientprofilecommons._1.MandatSepaStatusType;
import com.sfr.ecom.clientprofilecommons._1.RibInfo;
import com.sfr.ecom.clientprofilecommons._1.SignatureStatusType;
import com.sfr.ecom.clientprofilecommons._1.TypeClient;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
/**
* TEMP documentation en attente
*
* <p>Classe Java pour PaymentInfo complex type.
*
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
*
* <pre>
* &lt;complexType name="PaymentInfo">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="updatedPaymentInfo" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="invoicePointId" minOccurs="0">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;length value="2"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="idCompteFacturation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="typeClient" type="{http://ecom.sfr.com/clientProfileCommons/1.0}TypeClientRestricted"/>
* &lt;element name="idCompteClient" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="creditCardInfo" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="holderName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="firstDigits" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="lastDigits" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="hashedCardNumber" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="hashedExpirationDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="cardType" type="{http://ecom.sfr.com/clientProfileCommons/1.0}CardTypeRestricted"/>
* &lt;element name="authorizationCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="transactionDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* &lt;element name="transactionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;element name="ribInfo" type="{http://ecom.sfr.com/clientProfileCommons/1.0}RibInfo" minOccurs="0"/>
* &lt;element name="punctualBilling" type="{http://ecom.sfr.com/clientProfileCommons/1.0}BillingMode" minOccurs="0"/>
* &lt;element name="recurrentBilling" type="{http://ecom.sfr.com/clientProfileCommons/1.0}BillingMode" minOccurs="0"/>
* &lt;element name="jj" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="mandatSepaInfo" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="idRum" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="status" type="{http://ecom.sfr.com/clientProfileCommons/1.0}MandatSepaStatusTypeRestricted"/>
* &lt;element name="signatureStatus" type="{http://ecom.sfr.com/clientProfileCommons/1.0}SignatureStatusTypeRestricted"/>
* &lt;element name="idCrypt" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PaymentInfo", propOrder = {
"updatedPaymentInfo",
"invoicePointId",
"idCompteFacturation",
"typeClient",
"idCompteClient",
"creditCardInfo",
"ribInfo",
"punctualBilling",
"recurrentBilling",
"jj",
"mandatSepaInfo"
})
public class PaymentInfo
implements Serializable
{
private final static long serialVersionUID = 1L;
protected Boolean updatedPaymentInfo;
protected String invoicePointId;
protected String idCompteFacturation;
@XmlElement(required = true)
protected TypeClient typeClient;
protected String idCompteClient;
protected PaymentInfo.CreditCardInfo creditCardInfo;
protected RibInfo ribInfo;
protected BillingMode punctualBilling;
protected BillingMode recurrentBilling;
protected String jj;
protected PaymentInfo.MandatSepaInfo mandatSepaInfo;
/**
* Obtient la valeur de la propriété updatedPaymentInfo.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUpdatedPaymentInfo() {
return updatedPaymentInfo;
}
/**
* Définit la valeur de la propriété updatedPaymentInfo.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUpdatedPaymentInfo(Boolean value) {
this.updatedPaymentInfo = value;
}
/**
* Obtient la valeur de la propriété invoicePointId.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInvoicePointId() {
return invoicePointId;
}
/**
* Définit la valeur de la propriété invoicePointId.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInvoicePointId(String value) {
this.invoicePointId = value;
}
/**
* Obtient la valeur de la propriété idCompteFacturation.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdCompteFacturation() {
return idCompteFacturation;
}
/**
* Définit la valeur de la propriété idCompteFacturation.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdCompteFacturation(String value) {
this.idCompteFacturation = value;
}
/**
* Obtient la valeur de la propriété typeClient.
*
* @return
* possible object is
* {@link TypeClient }
*
*/
public TypeClient getTypeClient() {
return typeClient;
}
/**
* Définit la valeur de la propriété typeClient.
*
* @param value
* allowed object is
* {@link TypeClient }
*
*/
public void setTypeClient(TypeClient value) {
this.typeClient = value;
}
/**
* Obtient la valeur de la propriété idCompteClient.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdCompteClient() {
return idCompteClient;
}
/**
* Définit la valeur de la propriété idCompteClient.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdCompteClient(String value) {
this.idCompteClient = value;
}
/**
* Obtient la valeur de la propriété creditCardInfo.
*
* @return
* possible object is
* {@link PaymentInfo.CreditCardInfo }
*
*/
public PaymentInfo.CreditCardInfo getCreditCardInfo() {
return creditCardInfo;
}
/**
* Définit la valeur de la propriété creditCardInfo.
*
* @param value
* allowed object is
* {@link PaymentInfo.CreditCardInfo }
*
*/
public void setCreditCardInfo(PaymentInfo.CreditCardInfo value) {
this.creditCardInfo = value;
}
/**
* Obtient la valeur de la propriété ribInfo.
*
* @return
* possible object is
* {@link RibInfo }
*
*/
public RibInfo getRibInfo() {
return ribInfo;
}
/**
* Définit la valeur de la propriété ribInfo.
*
* @param value
* allowed object is
* {@link RibInfo }
*
*/
public void setRibInfo(RibInfo value) {
this.ribInfo = value;
}
/**
* Obtient la valeur de la propriété punctualBilling.
*
* @return
* possible object is
* {@link BillingMode }
*
*/
public BillingMode getPunctualBilling() {
return punctualBilling;
}
/**
* Définit la valeur de la propriété punctualBilling.
*
* @param value
* allowed object is
* {@link BillingMode }
*
*/
public void setPunctualBilling(BillingMode value) {
this.punctualBilling = value;
}
/**
* Obtient la valeur de la propriété recurrentBilling.
*
* @return
* possible object is
* {@link BillingMode }
*
*/
public BillingMode getRecurrentBilling() {
return recurrentBilling;
}
/**
* Définit la valeur de la propriété recurrentBilling.
*
* @param value
* allowed object is
* {@link BillingMode }
*
*/
public void setRecurrentBilling(BillingMode value) {
this.recurrentBilling = value;
}
/**
* Obtient la valeur de la propriété jj.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJj() {
return jj;
}
/**
* Définit la valeur de la propriété jj.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJj(String value) {
this.jj = value;
}
/**
* Obtient la valeur de la propriété mandatSepaInfo.
*
* @return
* possible object is
* {@link PaymentInfo.MandatSepaInfo }
*
*/
public PaymentInfo.MandatSepaInfo getMandatSepaInfo() {
return mandatSepaInfo;
}
/**
* Définit la valeur de la propriété mandatSepaInfo.
*
* @param value
* allowed object is
* {@link PaymentInfo.MandatSepaInfo }
*
*/
public void setMandatSepaInfo(PaymentInfo.MandatSepaInfo value) {
this.mandatSepaInfo = value;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
/**
* <p>Classe Java pour anonymous complex type.
*
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="holderName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="firstDigits" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="lastDigits" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="hashedCardNumber" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="hashedExpirationDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="cardType" type="{http://ecom.sfr.com/clientProfileCommons/1.0}CardTypeRestricted"/>
* &lt;element name="authorizationCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="transactionDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* &lt;element name="transactionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"holderName",
"firstDigits",
"lastDigits",
"hashedCardNumber",
"hashedExpirationDate",
"cardType",
"authorizationCode",
"transactionDate",
"transactionId"
})
public static class CreditCardInfo
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected String holderName;
@XmlElement(required = true)
protected String firstDigits;
@XmlElement(required = true)
protected String lastDigits;
@XmlElement(required = true)
protected String hashedCardNumber;
@XmlElement(required = true)
protected String hashedExpirationDate;
@XmlElement(required = true)
protected CardType cardType;
protected String authorizationCode;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar transactionDate;
protected String transactionId;
/**
* Obtient la valeur de la propriété holderName.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHolderName() {
return holderName;
}
/**
* Définit la valeur de la propriété holderName.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHolderName(String value) {
this.holderName = value;
}
/**
* Obtient la valeur de la propriété firstDigits.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFirstDigits() {
return firstDigits;
}
/**
* Définit la valeur de la propriété firstDigits.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFirstDigits(String value) {
this.firstDigits = value;
}
/**
* Obtient la valeur de la propriété lastDigits.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLastDigits() {
return lastDigits;
}
/**
* Définit la valeur de la propriété lastDigits.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLastDigits(String value) {
this.lastDigits = value;
}
/**
* Obtient la valeur de la propriété hashedCardNumber.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHashedCardNumber() {
return hashedCardNumber;
}
/**
* Définit la valeur de la propriété hashedCardNumber.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHashedCardNumber(String value) {
this.hashedCardNumber = value;
}
/**
* Obtient la valeur de la propriété hashedExpirationDate.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHashedExpirationDate() {
return hashedExpirationDate;
}
/**
* Définit la valeur de la propriété hashedExpirationDate.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHashedExpirationDate(String value) {
this.hashedExpirationDate = value;
}
/**
* Obtient la valeur de la propriété cardType.
*
* @return
* possible object is
* {@link CardType }
*
*/
public CardType getCardType() {
return cardType;
}
/**
* Définit la valeur de la propriété cardType.
*
* @param value
* allowed object is
* {@link CardType }
*
*/
public void setCardType(CardType value) {
this.cardType = value;
}
/**
* Obtient la valeur de la propriété authorizationCode.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAuthorizationCode() {
return authorizationCode;
}
/**
* Définit la valeur de la propriété authorizationCode.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAuthorizationCode(String value) {
this.authorizationCode = value;
}
/**
* Obtient la valeur de la propriété transactionDate.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTransactionDate() {
return transactionDate;
}
/**
* Définit la valeur de la propriété transactionDate.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTransactionDate(XMLGregorianCalendar value) {
this.transactionDate = value;
}
/**
* Obtient la valeur de la propriété transactionId.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTransactionId() {
return transactionId;
}
/**
* Définit la valeur de la propriété transactionId.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransactionId(String value) {
this.transactionId = value;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}
/**
* <p>Classe Java pour anonymous complex type.
*
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="idRum" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="status" type="{http://ecom.sfr.com/clientProfileCommons/1.0}MandatSepaStatusTypeRestricted"/>
* &lt;element name="signatureStatus" type="{http://ecom.sfr.com/clientProfileCommons/1.0}SignatureStatusTypeRestricted"/>
* &lt;element name="idCrypt" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"idRum",
"status",
"signatureStatus",
"idCrypt"
})
public static class MandatSepaInfo
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected String idRum;
@XmlElement(required = true)
protected MandatSepaStatusType status;
@XmlElement(required = true)
protected SignatureStatusType signatureStatus;
protected String idCrypt;
/**
* Obtient la valeur de la propriété idRum.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdRum() {
return idRum;
}
/**
* Définit la valeur de la propriété idRum.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdRum(String value) {
this.idRum = value;
}
/**
* Obtient la valeur de la propriété status.
*
* @return
* possible object is
* {@link MandatSepaStatusType }
*
*/
public MandatSepaStatusType getStatus() {
return status;
}
/**
* Définit la valeur de la propriété status.
*
* @param value
* allowed object is
* {@link MandatSepaStatusType }
*
*/
public void setStatus(MandatSepaStatusType value) {
this.status = value;
}
/**
* Obtient la valeur de la propriété signatureStatus.
*
* @return
* possible object is
* {@link SignatureStatusType }
*
*/
public SignatureStatusType getSignatureStatus() {
return signatureStatus;
}
/**
* Définit la valeur de la propriété signatureStatus.
*
* @param value
* allowed object is
* {@link SignatureStatusType }
*
*/
public void setSignatureStatus(SignatureStatusType value) {
this.signatureStatus = value;
}
/**
* Obtient la valeur de la propriété idCrypt.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdCrypt() {
return idCrypt;
}
/**
* Définit la valeur de la propriété idCrypt.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdCrypt(String value) {
this.idCrypt = value;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}
}
package com.sfr.checkout.util;
import com.sfr.ecom.clientprofile._3_0.response.PaymentInfo;
import fr.xebia.extras.selma.Mapper;
/**
* Created by ygrenzinger on 30/04/2014.
*/
@Mapper(withMapper = GregorianToJodaTimeConverter.class)
public interface PaymentInfoMapper {
fr.sfr.ecom360.orders.cart.v6.PaymentInfo convertPaymentInfoFromClientProfile(PaymentInfo paymentInfoFrom);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment