2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2019 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.onap.policy.so;
23 import com.google.gson.annotations.SerializedName;
25 import java.io.Serializable;
27 public class SoRequestInfo implements Serializable {
29 private static final long serialVersionUID = -3283942659786236032L;
31 @SerializedName("instanceName")
32 private String instanceName;
34 @SerializedName("source")
35 private String source;
37 @SerializedName("productFamilyId")
38 private String productFamilyId;
40 @SerializedName("suppressRollback")
41 private boolean suppressRollback;
43 @SerializedName("billingAccountNumber")
44 private String billingAccountNumber;
46 @SerializedName("callbackUrl")
47 private String callbackUrl;
49 @SerializedName("correlator")
50 private String correlator;
52 @SerializedName("orderNumber")
53 private String orderNumber;
55 @SerializedName("orderVersion")
56 private Integer orderVersion;
58 @SerializedName("requestorId")
59 private String requestorId;
61 public SoRequestInfo() {
65 public String getBillingAccountNumber() {
66 return billingAccountNumber;
69 public String getCallbackUrl() {
73 public String getCorrelator() {
77 public String getInstanceName() {
81 public String getOrderNumber() {
85 public Integer getOrderVersion() {
89 public String getProductFamilyId() {
90 return productFamilyId;
93 public String getRequestorId() {
97 public String getSource() {
101 public boolean isSuppressRollback() {
102 return suppressRollback;
105 public void setBillingAccountNumber(String billingAccountNumber) {
106 this.billingAccountNumber = billingAccountNumber;
109 public void setCallbackUrl(String callbackUrl) {
110 this.callbackUrl = callbackUrl;
113 public void setCorrelator(String correlator) {
114 this.correlator = correlator;
117 public void setInstanceName(String instanceName) {
118 this.instanceName = instanceName;
121 public void setOrderNumber(String orderNumber) {
122 this.orderNumber = orderNumber;
125 public void setOrderVersion(Integer orderVersion) {
126 this.orderVersion = orderVersion;
129 public void setProductFamilyId(String productFamilyId) {
130 this.productFamilyId = productFamilyId;
133 public void setRequestorId(String requestorId) {
134 this.requestorId = requestorId;
137 public void setSource(String source) {
138 this.source = source;
141 public void setSuppressRollback(boolean suppressRollback) {
142 this.suppressRollback = suppressRollback;