2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.mso.apihandlerinfra.serviceinstancebeans;
23 import org.codehaus.jackson.map.annotate.JsonSerialize;
24 import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion;
26 @JsonSerialize(include=JsonSerialize.Inclusion.NON_DEFAULT)
27 public class RequestInfo {
29 protected String billingAccountNumber;
30 protected String callbackUrl;
31 protected String correlator;
32 protected String orderNumber;
33 protected String productFamilyId;
34 protected Integer orderVersion;
35 protected String source;
36 protected String instanceName;
37 @JsonSerialize(include=Inclusion.ALWAYS)
38 protected boolean suppressRollback;
39 protected String requestorId;
42 * Gets the value of the callbackUrl property.
49 public String getCallbackUrl() {
54 * Sets the value of the callbackUrl property.
61 public void setCallbackUrl(String value) {
62 this.callbackUrl = value;
66 * Gets the value of the correlator property.
73 public String getCorrelator() {
78 * Sets the value of the correlator property.
85 public void setCorrelator(String value) {
86 this.correlator = value;
90 * Gets the value of the orderNumber property.
97 public String getOrderNumber() {
102 * Sets the value of the orderNumber property.
109 public void setOrderNumber(String value) {
110 this.orderNumber = value;
114 * Gets the value of the orderVersion property.
121 public Integer getOrderVersion() {
126 * Sets the value of the orderVersion property.
133 public void setOrderVersion(Integer value) {
134 this.orderVersion = value;
138 * Gets the value of the source property.
145 public String getSource() {
150 * Sets the value of the source property.
157 public void setSource(String value) {
161 public String getInstanceName() {
165 public void setInstanceName(String instanceName) {
166 this.instanceName = instanceName;
169 public String getBillingAccountNumber() {
170 return billingAccountNumber;
173 public void setBillingAccountNumber(String billingAccountNumber) {
174 this.billingAccountNumber = billingAccountNumber;
177 public String getProductFamilyId() {
178 return productFamilyId;
181 public void setProductFamilyId(String productFamilyId) {
182 this.productFamilyId = productFamilyId;
186 * Required for Marshalers to send the fields.
189 public boolean getSuppressRollback() {
190 return suppressRollback;
193 public void setSuppressRollback(boolean suppressRollback) {
194 this.suppressRollback = suppressRollback;
197 public String getRequestorId() {
201 public void setRequestorId(String requestorId) {
202 this.requestorId = requestorId;
206 public String toString() {
207 return "RequestInfo [billingAccountNumber=" + billingAccountNumber
208 + ", callbackUrl=" + callbackUrl + ", correlator=" + correlator
209 + ", orderNumber=" + orderNumber + ", productFamilyId="
210 + productFamilyId + ", orderVersion=" + orderVersion
211 + ", source=" + source + ", instanceName=" + instanceName
212 + ", suppressRollback=" + suppressRollback + ", requestorId="