Initial OpenECOMP MSO commit
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / serviceinstancebeans / RequestInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * OPENECOMP - MSO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.mso.apihandlerinfra.serviceinstancebeans;
22
23 import org.codehaus.jackson.map.annotate.JsonSerialize;
24
25 @JsonSerialize(include=JsonSerialize.Inclusion.NON_DEFAULT)
26 public class RequestInfo {
27
28         protected String billingAccountNumber;
29         protected String callbackUrl;
30     protected String correlator;
31     protected String orderNumber;
32     protected String productFamilyId;
33     protected Integer orderVersion;
34     protected String source;
35     protected String instanceName;
36     protected boolean suppressRollback;
37
38     /**
39      * Gets the value of the callbackUrl property.
40      * 
41      * @return
42      *     possible object is
43      *     {@link String }
44      *     
45      */
46     public String getCallbackUrl() {
47         return callbackUrl;
48     }
49
50     /**
51      * Sets the value of the callbackUrl property.
52      * 
53      * @param value
54      *     allowed object is
55      *     {@link String }
56      *     
57      */
58     public void setCallbackUrl(String value) {
59         this.callbackUrl = value;
60     }
61
62     /**
63      * Gets the value of the correlator property.
64      * 
65      * @return
66      *     possible object is
67      *     {@link String }
68      *     
69      */
70     public String getCorrelator() {
71         return correlator;
72     }
73
74     /**
75      * Sets the value of the correlator property.
76      * 
77      * @param value
78      *     allowed object is
79      *     {@link String }
80      *     
81      */
82     public void setCorrelator(String value) {
83         this.correlator = value;
84     }
85
86     /**
87      * Gets the value of the orderNumber property.
88      * 
89      * @return
90      *     possible object is
91      *     {@link String }
92      *     
93      */
94     public String getOrderNumber() {
95         return orderNumber;
96     }
97
98     /**
99      * Sets the value of the orderNumber property.
100      * 
101      * @param value
102      *     allowed object is
103      *     {@link String }
104      *     
105      */
106     public void setOrderNumber(String value) {
107         this.orderNumber = value;
108     }
109
110     /**
111      * Gets the value of the orderVersion property.
112      * 
113      * @return
114      *     possible object is
115      *     {@link Integer }
116      *     
117      */
118     public Integer getOrderVersion() {
119         return orderVersion;
120     }
121
122     /**
123      * Sets the value of the orderVersion property.
124      * 
125      * @param value
126      *     allowed object is
127      *     {@link Integer }
128      *     
129      */
130     public void setOrderVersion(Integer value) {
131         this.orderVersion = value;
132     }
133
134     /**
135      * Gets the value of the source property.
136      * 
137      * @return
138      *     possible object is
139      *     {@link String }
140      *     
141      */
142     public String getSource() {
143         return source;
144     }
145
146     /**
147      * Sets the value of the source property.
148      * 
149      * @param value
150      *     allowed object is
151      *     {@link String }
152      *     
153      */
154     public void setSource(String value) {
155         this.source = value;
156     }
157
158         public String getInstanceName() {
159                 return instanceName;
160         }
161
162         public void setInstanceName(String instanceName) {
163                 this.instanceName = instanceName;
164         }
165
166         public String getBillingAccountNumber() {
167                 return billingAccountNumber;
168         }
169
170         public void setBillingAccountNumber(String billingAccountNumber) {
171                 this.billingAccountNumber = billingAccountNumber;
172         }
173
174         public String getProductFamilyId() {
175                 return productFamilyId;
176         }
177
178         public void setProductFamilyId(String productFamilyId) {
179                 this.productFamilyId = productFamilyId;
180         }
181
182         public boolean isSuppressRollback() {
183                 return suppressRollback;
184         }
185
186         public void setSuppressRollback(boolean suppressRollback) {
187                 this.suppressRollback = suppressRollback;
188         }
189         
190
191 }