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.model.control.party.common.transfer.PartyTransfer;
020import com.echothree.util.common.transfer.BaseTransfer;
021
022public class SubscriptionTransfer
023        extends BaseTransfer {
024    
025    private String subscriptionName;
026    private SubscriptionTypeTransfer subscriptionType;
027    private PartyTransfer party;
028    private Long unformattedStartTime;
029    private String startTime;
030    private Long unformattedEndTime;
031    private String endTime;
032    
033    /** Creates a new instance of SubscriptionTransfer */
034    public SubscriptionTransfer(String subscriptionName, SubscriptionTypeTransfer subscriptionType, PartyTransfer party, Long unformattedStartTime,
035            String startTime, Long unformattedEndTime, String endTime) {
036        this.subscriptionName = subscriptionName;
037        this.subscriptionType = subscriptionType;
038        this.party = party;
039        this.unformattedStartTime = unformattedStartTime;
040        this.startTime = startTime;
041        this.unformattedEndTime = unformattedEndTime;
042        this.endTime = endTime;
043    }
044
045    /**
046     * Returns the subscriptionName.
047     * @return the subscriptionName
048     */
049    public String getSubscriptionName() {
050        return subscriptionName;
051    }
052
053    /**
054     * Sets the subscriptionName.
055     * @param subscriptionName the subscriptionName to set
056     */
057    public void setSubscriptionName(String subscriptionName) {
058        this.subscriptionName = subscriptionName;
059    }
060
061    /**
062     * Returns the subscriptionType.
063     * @return the subscriptionType
064     */
065    public SubscriptionTypeTransfer getSubscriptionType() {
066        return subscriptionType;
067    }
068
069    /**
070     * Sets the subscriptionType.
071     * @param subscriptionType the subscriptionType to set
072     */
073    public void setSubscriptionType(SubscriptionTypeTransfer subscriptionType) {
074        this.subscriptionType = subscriptionType;
075    }
076
077    /**
078     * Returns the party.
079     * @return the party
080     */
081    public PartyTransfer getParty() {
082        return party;
083    }
084
085    /**
086     * Sets the party.
087     * @param party the party to set
088     */
089    public void setParty(PartyTransfer party) {
090        this.party = party;
091    }
092
093    /**
094     * Returns the unformattedStartTime.
095     * @return the unformattedStartTime
096     */
097    public Long getUnformattedStartTime() {
098        return unformattedStartTime;
099    }
100
101    /**
102     * Sets the unformattedStartTime.
103     * @param unformattedStartTime the unformattedStartTime to set
104     */
105    public void setUnformattedStartTime(Long unformattedStartTime) {
106        this.unformattedStartTime = unformattedStartTime;
107    }
108
109    /**
110     * Returns the startTime.
111     * @return the startTime
112     */
113    public String getStartTime() {
114        return startTime;
115    }
116
117    /**
118     * Sets the startTime.
119     * @param startTime the startTime to set
120     */
121    public void setStartTime(String startTime) {
122        this.startTime = startTime;
123    }
124
125    /**
126     * Returns the unformattedEndTime.
127     * @return the unformattedEndTime
128     */
129    public Long getUnformattedEndTime() {
130        return unformattedEndTime;
131    }
132
133    /**
134     * Sets the unformattedEndTime.
135     * @param unformattedEndTime the unformattedEndTime to set
136     */
137    public void setUnformattedEndTime(Long unformattedEndTime) {
138        this.unformattedEndTime = unformattedEndTime;
139    }
140
141    /**
142     * Returns the endTime.
143     * @return the endTime
144     */
145    public String getEndTime() {
146        return endTime;
147    }
148
149    /**
150     * Sets the endTime.
151     * @param endTime the endTime to set
152     */
153    public void setEndTime(String endTime) {
154        this.endTime = endTime;
155    }
156    
157}