/CargoOnlinePaypalClient/src/main/java/com/maxcom/mpm/paypal/client/paypal/DoExpressCheckoutPaymentResponseDetailsType.java

https://github.com/castelarhub/CirculoCredito · Java · 298 lines · 93 code · 22 blank · 183 comment · 4 complexity · 512c87046f3fa33eb80ce6c471e8082c MD5 · raw file

  1. package com.maxcom.mpm.paypal.client.paypal;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. import javax.xml.bind.annotation.XmlAccessType;
  5. import javax.xml.bind.annotation.XmlAccessorType;
  6. import javax.xml.bind.annotation.XmlElement;
  7. import javax.xml.bind.annotation.XmlType;
  8. /**
  9. * <p>Java class for DoExpressCheckoutPaymentResponseDetailsType complex type.
  10. *
  11. * <p>The following schema fragment specifies the expected content contained within this class.
  12. *
  13. * <pre>
  14. * &lt;complexType name="DoExpressCheckoutPaymentResponseDetailsType">
  15. * &lt;complexContent>
  16. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  17. * &lt;sequence>
  18. * &lt;element name="Token" type="{urn:ebay:apis:eBLBaseComponents}ExpressCheckoutTokenType"/>
  19. * &lt;element name="PaymentInfo" type="{urn:ebay:apis:eBLBaseComponents}PaymentInfoType" maxOccurs="10" minOccurs="0"/>
  20. * &lt;element name="BillingAgreementID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  21. * &lt;element name="RedirectRequired" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  22. * &lt;element name="Note" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  23. * &lt;element name="MsgSubID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  24. * &lt;element name="SuccessPageRedirectRequested" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  25. * &lt;element name="UserSelectedOptions" type="{urn:ebay:apis:eBLBaseComponents}UserSelectedOptionType" minOccurs="0"/>
  26. * &lt;element name="CoupledPaymentInfo" type="{urn:ebay:apis:eBLBaseComponents}CoupledPaymentInfoType" maxOccurs="5" minOccurs="0"/>
  27. * &lt;/sequence>
  28. * &lt;/restriction>
  29. * &lt;/complexContent>
  30. * &lt;/complexType>
  31. * </pre>
  32. *
  33. *
  34. */
  35. @XmlAccessorType(XmlAccessType.FIELD)
  36. @XmlType(name = "DoExpressCheckoutPaymentResponseDetailsType", propOrder = {
  37. "token",
  38. "paymentInfo",
  39. "billingAgreementID",
  40. "redirectRequired",
  41. "note",
  42. "msgSubID",
  43. "successPageRedirectRequested",
  44. "userSelectedOptions",
  45. "coupledPaymentInfo"
  46. })
  47. public class DoExpressCheckoutPaymentResponseDetailsType {
  48. @XmlElement(name = "Token", required = true)
  49. protected String token;
  50. @XmlElement(name = "PaymentInfo")
  51. protected List<PaymentInfoType> paymentInfo;
  52. @XmlElement(name = "BillingAgreementID")
  53. protected String billingAgreementID;
  54. @XmlElement(name = "RedirectRequired")
  55. protected String redirectRequired;
  56. @XmlElement(name = "Note")
  57. protected String note;
  58. @XmlElement(name = "MsgSubID")
  59. protected String msgSubID;
  60. @XmlElement(name = "SuccessPageRedirectRequested")
  61. protected String successPageRedirectRequested;
  62. @XmlElement(name = "UserSelectedOptions")
  63. protected UserSelectedOptionType userSelectedOptions;
  64. @XmlElement(name = "CoupledPaymentInfo")
  65. protected List<CoupledPaymentInfoType> coupledPaymentInfo;
  66. /**
  67. * Gets the value of the token property.
  68. *
  69. * @return
  70. * possible object is
  71. * {@link String }
  72. *
  73. */
  74. public String getToken() {
  75. return token;
  76. }
  77. /**
  78. * Sets the value of the token property.
  79. *
  80. * @param value
  81. * allowed object is
  82. * {@link String }
  83. *
  84. */
  85. public void setToken(String value) {
  86. this.token = value;
  87. }
  88. /**
  89. * Gets the value of the paymentInfo property.
  90. *
  91. * <p>
  92. * This accessor method returns a reference to the live list,
  93. * not a snapshot. Therefore any modification you make to the
  94. * returned list will be present inside the JAXB object.
  95. * This is why there is not a <CODE>set</CODE> method for the paymentInfo property.
  96. *
  97. * <p>
  98. * For example, to add a new item, do as follows:
  99. * <pre>
  100. * getPaymentInfo().add(newItem);
  101. * </pre>
  102. *
  103. *
  104. * <p>
  105. * Objects of the following type(s) are allowed in the list
  106. * {@link PaymentInfoType }
  107. *
  108. *
  109. */
  110. public List<PaymentInfoType> getPaymentInfo() {
  111. if (paymentInfo == null) {
  112. paymentInfo = new ArrayList<PaymentInfoType>();
  113. }
  114. return this.paymentInfo;
  115. }
  116. /**
  117. * Gets the value of the billingAgreementID property.
  118. *
  119. * @return
  120. * possible object is
  121. * {@link String }
  122. *
  123. */
  124. public String getBillingAgreementID() {
  125. return billingAgreementID;
  126. }
  127. /**
  128. * Sets the value of the billingAgreementID property.
  129. *
  130. * @param value
  131. * allowed object is
  132. * {@link String }
  133. *
  134. */
  135. public void setBillingAgreementID(String value) {
  136. this.billingAgreementID = value;
  137. }
  138. /**
  139. * Gets the value of the redirectRequired property.
  140. *
  141. * @return
  142. * possible object is
  143. * {@link String }
  144. *
  145. */
  146. public String getRedirectRequired() {
  147. return redirectRequired;
  148. }
  149. /**
  150. * Sets the value of the redirectRequired property.
  151. *
  152. * @param value
  153. * allowed object is
  154. * {@link String }
  155. *
  156. */
  157. public void setRedirectRequired(String value) {
  158. this.redirectRequired = value;
  159. }
  160. /**
  161. * Gets the value of the note property.
  162. *
  163. * @return
  164. * possible object is
  165. * {@link String }
  166. *
  167. */
  168. public String getNote() {
  169. return note;
  170. }
  171. /**
  172. * Sets the value of the note property.
  173. *
  174. * @param value
  175. * allowed object is
  176. * {@link String }
  177. *
  178. */
  179. public void setNote(String value) {
  180. this.note = value;
  181. }
  182. /**
  183. * Gets the value of the msgSubID property.
  184. *
  185. * @return
  186. * possible object is
  187. * {@link String }
  188. *
  189. */
  190. public String getMsgSubID() {
  191. return msgSubID;
  192. }
  193. /**
  194. * Sets the value of the msgSubID property.
  195. *
  196. * @param value
  197. * allowed object is
  198. * {@link String }
  199. *
  200. */
  201. public void setMsgSubID(String value) {
  202. this.msgSubID = value;
  203. }
  204. /**
  205. * Gets the value of the successPageRedirectRequested property.
  206. *
  207. * @return
  208. * possible object is
  209. * {@link String }
  210. *
  211. */
  212. public String getSuccessPageRedirectRequested() {
  213. return successPageRedirectRequested;
  214. }
  215. /**
  216. * Sets the value of the successPageRedirectRequested property.
  217. *
  218. * @param value
  219. * allowed object is
  220. * {@link String }
  221. *
  222. */
  223. public void setSuccessPageRedirectRequested(String value) {
  224. this.successPageRedirectRequested = value;
  225. }
  226. /**
  227. * Gets the value of the userSelectedOptions property.
  228. *
  229. * @return
  230. * possible object is
  231. * {@link UserSelectedOptionType }
  232. *
  233. */
  234. public UserSelectedOptionType getUserSelectedOptions() {
  235. return userSelectedOptions;
  236. }
  237. /**
  238. * Sets the value of the userSelectedOptions property.
  239. *
  240. * @param value
  241. * allowed object is
  242. * {@link UserSelectedOptionType }
  243. *
  244. */
  245. public void setUserSelectedOptions(UserSelectedOptionType value) {
  246. this.userSelectedOptions = value;
  247. }
  248. /**
  249. * Gets the value of the coupledPaymentInfo property.
  250. *
  251. * <p>
  252. * This accessor method returns a reference to the live list,
  253. * not a snapshot. Therefore any modification you make to the
  254. * returned list will be present inside the JAXB object.
  255. * This is why there is not a <CODE>set</CODE> method for the coupledPaymentInfo property.
  256. *
  257. * <p>
  258. * For example, to add a new item, do as follows:
  259. * <pre>
  260. * getCoupledPaymentInfo().add(newItem);
  261. * </pre>
  262. *
  263. *
  264. * <p>
  265. * Objects of the following type(s) are allowed in the list
  266. * {@link CoupledPaymentInfoType }
  267. *
  268. *
  269. */
  270. public List<CoupledPaymentInfoType> getCoupledPaymentInfo() {
  271. if (coupledPaymentInfo == null) {
  272. coupledPaymentInfo = new ArrayList<CoupledPaymentInfoType>();
  273. }
  274. return this.coupledPaymentInfo;
  275. }
  276. }