com.transbank.webpay.wswebpay.service.WsCompleteInitTransactionInput Maven / Gradle / Ivy
Show all versions of transbank-sdk-java Show documentation
package com.transbank.webpay.wswebpay.service;
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.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for wsCompleteInitTransactionInput complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="wsCompleteInitTransactionInput">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="transactionType" type="{http://service.wswebpay.webpay.transbank.com/}wsCompleteTransactionType"/>
* <element name="commerceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="buyOrder" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="sessionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="cardDetail" type="{http://service.wswebpay.webpay.transbank.com/}completeCardDetail"/>
* <element name="transactionDetails" type="{http://service.wswebpay.webpay.transbank.com/}wsCompleteTransactionDetail" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "wsCompleteInitTransactionInput", propOrder = {
"transactionType",
"commerceId",
"buyOrder",
"sessionId",
"cardDetail",
"transactionDetails"
})
public class WsCompleteInitTransactionInput {
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected WsCompleteTransactionType transactionType;
protected String commerceId;
protected String buyOrder;
protected String sessionId;
@XmlElement(required = true)
protected CompleteCardDetail cardDetail;
@XmlElement(required = true)
protected List transactionDetails;
/**
* Gets the value of the transactionType property.
*
* @return
* possible object is
* {@link WsCompleteTransactionType }
*
*/
public WsCompleteTransactionType getTransactionType() {
return transactionType;
}
/**
* Sets the value of the transactionType property.
*
* @param value
* allowed object is
* {@link WsCompleteTransactionType }
*
*/
public void setTransactionType(WsCompleteTransactionType value) {
this.transactionType = value;
}
/**
* Gets the value of the commerceId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCommerceId() {
return commerceId;
}
/**
* Sets the value of the commerceId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCommerceId(String value) {
this.commerceId = value;
}
/**
* Gets the value of the buyOrder property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBuyOrder() {
return buyOrder;
}
/**
* Sets the value of the buyOrder property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBuyOrder(String value) {
this.buyOrder = value;
}
/**
* Gets the value of the sessionId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSessionId() {
return sessionId;
}
/**
* Sets the value of the sessionId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSessionId(String value) {
this.sessionId = value;
}
/**
* Gets the value of the cardDetail property.
*
* @return
* possible object is
* {@link CompleteCardDetail }
*
*/
public CompleteCardDetail getCardDetail() {
return cardDetail;
}
/**
* Sets the value of the cardDetail property.
*
* @param value
* allowed object is
* {@link CompleteCardDetail }
*
*/
public void setCardDetail(CompleteCardDetail value) {
this.cardDetail = value;
}
/**
* Gets the value of the transactionDetails 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 transactionDetails property.
*
*
* For example, to add a new item, do as follows:
*
* getTransactionDetails().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link WsCompleteTransactionDetail }
*
*
*/
public List getTransactionDetails() {
if (transactionDetails == null) {
transactionDetails = new ArrayList();
}
return this.transactionDetails;
}
}