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.payment.common.transfer;
018
019import com.echothree.model.control.contact.common.transfer.PartyContactMechanismTransfer;
020import com.echothree.model.control.party.common.transfer.NameSuffixTransfer;
021import com.echothree.model.control.party.common.transfer.PartyTransfer;
022import com.echothree.model.control.party.common.transfer.PersonalTitleTransfer;
023import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer;
024import com.echothree.util.common.transfer.BaseTransfer;
025import com.echothree.util.common.transfer.ListWrapper;
026
027public class PartyPaymentMethodTransfer
028        extends BaseTransfer {
029    
030    private String partyPaymentMethodName;
031    private PartyTransfer party;
032    private String description;
033    private PaymentMethodTransfer paymentMethod;
034    private Boolean deleteWhenUnused;
035    private Boolean isDefault;
036    private Integer sortOrder;
037    
038    private WorkflowEntityStatusTransfer partyPaymentMethodStatus;
039    private ListWrapper<PartyPaymentMethodContactMechanismTransfer> partyPaymentMethodContactMechanisms;
040    
041    // Credit Card
042    private String number;
043    private Integer expirationMonth;
044    private Integer expirationYear;
045    private PersonalTitleTransfer personalTitle;
046    private String firstName;
047    private String middleName;
048    private String lastName;
049    private NameSuffixTransfer nameSuffix;
050    private String name;
051    private PartyContactMechanismTransfer billingPartyContactMechanism;
052    private String issuerName;
053    private PartyContactMechanismTransfer issuerPartyContactMechanism;
054    
055    // Credit Card Security Code
056    private String securityCode;
057    
058    /** Creates a new instance of PartyPaymentMethodTransfer */
059    public PartyPaymentMethodTransfer(String partyPaymentMethodName, PartyTransfer party, String description,
060            PaymentMethodTransfer paymentMethod, Boolean deleteWhenUnused, Boolean isDefault, Integer sortOrder, WorkflowEntityStatusTransfer partyPaymentMethodStatus,
061            String number, Integer expirationMonth, Integer expirationYear, PersonalTitleTransfer personalTitle, String firstName,
062            String middleName, String lastName, NameSuffixTransfer nameSuffix, String name,
063            PartyContactMechanismTransfer billingPartyContactMechanism, String issuerName, PartyContactMechanismTransfer issuerPartyContactMechanism,
064            String securityCode) {
065        this.partyPaymentMethodName = partyPaymentMethodName;
066        this.party = party;
067        this.description = description;
068        this.paymentMethod = paymentMethod;
069        this.deleteWhenUnused = deleteWhenUnused;
070        this.isDefault = isDefault;
071        this.sortOrder = sortOrder;
072        this.partyPaymentMethodStatus = partyPaymentMethodStatus;
073        this.number = number;
074        this.expirationMonth = expirationMonth;
075        this.expirationYear = expirationYear;
076        this.personalTitle = personalTitle;
077        this.firstName = firstName;
078        this.middleName = middleName;
079        this.lastName = lastName;
080        this.nameSuffix = nameSuffix;
081        this.name = name;
082        this.billingPartyContactMechanism = billingPartyContactMechanism;
083        this.issuerName = issuerName;
084        this.issuerPartyContactMechanism = issuerPartyContactMechanism;
085        this.securityCode = securityCode;
086    }
087    
088    public String getPartyPaymentMethodName() {
089        return partyPaymentMethodName;
090    }
091    
092    public void setPartyPaymentMethodName(String partyPaymentMethodName) {
093        this.partyPaymentMethodName = partyPaymentMethodName;
094    }
095    
096    public PartyTransfer getParty() {
097        return party;
098    }
099    
100    public void setParty(PartyTransfer party) {
101        this.party = party;
102    }
103    
104    public String getDescription() {
105        return description;
106    }
107    
108    public void setDescription(String description) {
109        this.description = description;
110    }
111    
112    public PaymentMethodTransfer getPaymentMethod() {
113        return paymentMethod;
114    }
115    
116    public void setPaymentMethod(PaymentMethodTransfer paymentMethod) {
117        this.paymentMethod = paymentMethod;
118    }
119    
120    public Boolean getDeleteWhenUnused() {
121        return deleteWhenUnused;
122    }
123    
124    public void setDeleteWhenUnused(Boolean deleteWhenUnused) {
125        this.deleteWhenUnused = deleteWhenUnused;
126    }
127    
128    public Boolean getIsDefault() {
129        return isDefault;
130    }
131    
132    public void setIsDefault(Boolean isDefault) {
133        this.isDefault = isDefault;
134    }
135    
136    public Integer getSortOrder() {
137        return sortOrder;
138    }
139    
140    public void setSortOrder(Integer sortOrder) {
141        this.sortOrder = sortOrder;
142    }
143    
144    public WorkflowEntityStatusTransfer getPartyPaymentMethodStatus() {
145        return partyPaymentMethodStatus;
146    }
147    
148    public void setPartyPaymentMethodStatus(WorkflowEntityStatusTransfer partyPaymentMethodStatus) {
149        this.partyPaymentMethodStatus = partyPaymentMethodStatus;
150    }
151    
152    public ListWrapper<PartyPaymentMethodContactMechanismTransfer> getPartyPaymentMethodContactMechanisms() {
153        return partyPaymentMethodContactMechanisms;
154    }
155    
156    public void setPartyPaymentMethodContactMechanisms(ListWrapper<PartyPaymentMethodContactMechanismTransfer> partyPaymentMethodContactMechanisms) {
157        this.partyPaymentMethodContactMechanisms = partyPaymentMethodContactMechanisms;
158    }
159    
160    public String getNumber() {
161        return number;
162    }
163    
164    public void setNumber(String number) {
165        this.number = number;
166    }
167    
168    public Integer getExpirationMonth() {
169        return expirationMonth;
170    }
171    
172    public void setExpirationMonth(Integer expirationMonth) {
173        this.expirationMonth = expirationMonth;
174    }
175    
176    public Integer getExpirationYear() {
177        return expirationYear;
178    }
179    
180    public void setExpirationYear(Integer expirationYear) {
181        this.expirationYear = expirationYear;
182    }
183    
184    public PersonalTitleTransfer getPersonalTitle() {
185        return personalTitle;
186    }
187    
188    public void setPersonalTitle(PersonalTitleTransfer personalTitle) {
189        this.personalTitle = personalTitle;
190    }
191    
192    public String getFirstName() {
193        return firstName;
194    }
195    
196    public void setFirstName(String firstName) {
197        this.firstName = firstName;
198    }
199    
200    public String getMiddleName() {
201        return middleName;
202    }
203    
204    public void setMiddleName(String middleName) {
205        this.middleName = middleName;
206    }
207    
208    public String getLastName() {
209        return lastName;
210    }
211    
212    public void setLastName(String lastName) {
213        this.lastName = lastName;
214    }
215    
216    public NameSuffixTransfer getNameSuffix() {
217        return nameSuffix;
218    }
219    
220    public void setNameSuffix(NameSuffixTransfer nameSuffix) {
221        this.nameSuffix = nameSuffix;
222    }
223    
224    public String getName() {
225        return name;
226    }
227    
228    public void setName(String name) {
229        this.name = name;
230    }
231    
232    public PartyContactMechanismTransfer getBillingPartyContactMechanism() {
233        return billingPartyContactMechanism;
234    }
235    
236    public void setBillingPartyContactMechanism(PartyContactMechanismTransfer billingPartyContactMechanism) {
237        this.billingPartyContactMechanism = billingPartyContactMechanism;
238    }
239    
240    public String getIssuerName() {
241        return issuerName;
242    }
243    
244    public void setIssuerName(String issuerName) {
245        this.issuerName = issuerName;
246    }
247    
248    public PartyContactMechanismTransfer getIssuerPartyContactMechanism() {
249        return issuerPartyContactMechanism;
250    }
251    
252    public void setIssuerPartyContactMechanism(PartyContactMechanismTransfer issuerPartyContactMechanism) {
253        this.issuerPartyContactMechanism = issuerPartyContactMechanism;
254    }
255    
256    public String getSecurityCode() {
257        return securityCode;
258    }
259    
260    public void setSecurityCode(String securityCode) {
261        this.securityCode = securityCode;
262    }
263    
264}