2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
6 * Modifications Copyright (C) 2019 Nordix Foundation.
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
22 package org.onap.policy.so;
24 import com.google.gson.annotations.SerializedName;
26 import java.io.Serializable;
28 public class SoRequestInfo implements Serializable {
30 private static final long serialVersionUID = -3283942659786236032L;
32 @SerializedName("instanceName")
33 private String instanceName;
35 @SerializedName("source")
36 private String source;
38 @SerializedName("productFamilyId")
39 private String productFamilyId;
41 @SerializedName("suppressRollback")
42 private boolean suppressRollback;
44 @SerializedName("billingAccountNumber")
45 private String billingAccountNumber;
47 @SerializedName("callbackUrl")
48 private String callbackUrl;
50 @SerializedName("correlator")
51 private String correlator;
53 @SerializedName("orderNumber")
54 private String orderNumber;
56 @SerializedName("orderVersion")
57 private Integer orderVersion;
59 @SerializedName("requestorId")
60 private String requestorId;
62 public SoRequestInfo() {
66 public String getBillingAccountNumber() {
67 return billingAccountNumber;
70 public String getCallbackUrl() {
74 public String getCorrelator() {
78 public String getInstanceName() {
82 public String getOrderNumber() {
86 public Integer getOrderVersion() {
90 public String getProductFamilyId() {
91 return productFamilyId;
94 public String getRequestorId() {
98 public String getSource() {
102 public boolean isSuppressRollback() {
103 return suppressRollback;
106 public void setBillingAccountNumber(String billingAccountNumber) {
107 this.billingAccountNumber = billingAccountNumber;
110 public void setCallbackUrl(String callbackUrl) {
111 this.callbackUrl = callbackUrl;
114 public void setCorrelator(String correlator) {
115 this.correlator = correlator;
118 public void setInstanceName(String instanceName) {
119 this.instanceName = instanceName;
122 public void setOrderNumber(String orderNumber) {
123 this.orderNumber = orderNumber;
126 public void setOrderVersion(Integer orderVersion) {
127 this.orderVersion = orderVersion;
130 public void setProductFamilyId(String productFamilyId) {
131 this.productFamilyId = productFamilyId;
134 public void setRequestorId(String requestorId) {
135 this.requestorId = requestorId;
138 public void setSource(String source) {
139 this.source = source;
142 public void setSuppressRollback(boolean suppressRollback) {
143 this.suppressRollback = suppressRollback;