001// -------------------------------------------------------------------------------- 002// Copyright 2002-2024 Echo Three, LLC 003// 004// Licensed under the Apache License, Version 2.0 (the "License"); 005// you may not use this file except in compliance with the License. 006// You may obtain a copy of the License at 007// 008// http://www.apache.org/licenses/LICENSE-2.0 009// 010// Unless required by applicable law or agreed to in writing, software 011// distributed under the License is distributed on an "AS IS" BASIS, 012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013// See the License for the specific language governing permissions and 014// limitations under the License. 015// -------------------------------------------------------------------------------- 016 017package com.echothree.model.control.subscription.common.transfer; 018 019import com.echothree.util.common.transfer.BaseTransfer; 020 021public class SubscriptionKindTransfer 022 extends BaseTransfer { 023 024 private String subscriptionKindName; 025 private Boolean isDefault; 026 private Integer sortOrder; 027 private String description; 028 029 /** Creates a new instance of SubscriptionKindTransfer */ 030 public SubscriptionKindTransfer(String subscriptionKindName, Boolean isDefault, Integer sortOrder, String description) { 031 this.subscriptionKindName = subscriptionKindName; 032 this.isDefault = isDefault; 033 this.sortOrder = sortOrder; 034 this.description = description; 035 } 036 037 /** 038 * Returns the subscriptionKindName. 039 * @return the subscriptionKindName 040 */ 041 public String getSubscriptionKindName() { 042 return subscriptionKindName; 043 } 044 045 /** 046 * Sets the subscriptionKindName. 047 * @param subscriptionKindName the subscriptionKindName to set 048 */ 049 public void setSubscriptionKindName(String subscriptionKindName) { 050 this.subscriptionKindName = subscriptionKindName; 051 } 052 053 /** 054 * Returns the isDefault. 055 * @return the isDefault 056 */ 057 public Boolean getIsDefault() { 058 return isDefault; 059 } 060 061 /** 062 * Sets the isDefault. 063 * @param isDefault the isDefault to set 064 */ 065 public void setIsDefault(Boolean isDefault) { 066 this.isDefault = isDefault; 067 } 068 069 /** 070 * Returns the sortOrder. 071 * @return the sortOrder 072 */ 073 public Integer getSortOrder() { 074 return sortOrder; 075 } 076 077 /** 078 * Sets the sortOrder. 079 * @param sortOrder the sortOrder to set 080 */ 081 public void setSortOrder(Integer sortOrder) { 082 this.sortOrder = sortOrder; 083 } 084 085 /** 086 * Returns the description. 087 * @return the description 088 */ 089 public String getDescription() { 090 return description; 091 } 092 093 /** 094 * Sets the description. 095 * @param description the description to set 096 */ 097 public void setDescription(String description) { 098 this.description = description; 099 } 100 101 102}