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.club.common.transfer; 018 019import com.echothree.model.control.accounting.common.transfer.CurrencyTransfer; 020import com.echothree.model.control.filter.common.transfer.FilterTransfer; 021import com.echothree.model.control.subscription.common.transfer.SubscriptionTypeTransfer; 022import com.echothree.util.common.transfer.BaseTransfer; 023 024public class ClubTransfer 025 extends BaseTransfer { 026 027 private String clubName; 028 private SubscriptionTypeTransfer subscriptionType; 029 private FilterTransfer clubPriceFilter; 030 private CurrencyTransfer currency; 031 private Boolean isDefault; 032 private Integer sortOrder; 033 private String description; 034 035 /** Creates a new instance of ClubTransfer */ 036 public ClubTransfer(String clubName, SubscriptionTypeTransfer subscriptionType, FilterTransfer clubPriceFilter, 037 CurrencyTransfer currency, Boolean isDefault, Integer sortOrder, 038 String description) { 039 this.clubName = clubName; 040 this.subscriptionType = subscriptionType; 041 this.clubPriceFilter = clubPriceFilter; 042 this.currency = currency; 043 this.isDefault = isDefault; 044 this.sortOrder = sortOrder; 045 this.description = description; 046 } 047 048 public String getClubName() { 049 return clubName; 050 } 051 052 public void setClubName(String clubName) { 053 this.clubName = clubName; 054 } 055 056 public SubscriptionTypeTransfer getSubscriptionType() { 057 return subscriptionType; 058 } 059 060 public void setSubscriptionType(SubscriptionTypeTransfer subscriptionType) { 061 this.subscriptionType = subscriptionType; 062 } 063 064 public FilterTransfer getClubPriceFilter() { 065 return clubPriceFilter; 066 } 067 068 public void setClubPriceFilter(FilterTransfer clubPriceFilter) { 069 this.clubPriceFilter = clubPriceFilter; 070 } 071 072 public CurrencyTransfer getCurrency() { 073 return currency; 074 } 075 076 public void setCurrency(CurrencyTransfer currency) { 077 this.currency = currency; 078 } 079 080 public Boolean getIsDefault() { 081 return isDefault; 082 } 083 084 public void setIsDefault(Boolean isDefault) { 085 this.isDefault = isDefault; 086 } 087 088 public Integer getSortOrder() { 089 return sortOrder; 090 } 091 092 public void setSortOrder(Integer sortOrder) { 093 this.sortOrder = sortOrder; 094 } 095 096 public String getDescription() { 097 return description; 098 } 099 100 public void setDescription(String description) { 101 this.description = description; 102 } 103 104}