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.invoice.common.transfer;
018
019import com.echothree.model.control.contact.common.transfer.PartyContactMechanismTransfer;
020import com.echothree.model.control.party.common.transfer.PartyTransfer;
021import com.echothree.util.common.transfer.BaseTransfer;
022
023public class InvoiceRoleTransfer
024        extends BaseTransfer {
025
026    private InvoiceTransfer invoice;
027    private PartyTransfer party;
028    private PartyContactMechanismTransfer partyContactMechanism;
029    private InvoiceRoleTypeTransfer invoiceRoleType;
030
031    /** Creates a new instance of InvoiceRoleTransfer */
032    public InvoiceRoleTransfer(InvoiceTransfer invoice, PartyTransfer party, PartyContactMechanismTransfer partyContactMechanism,
033            InvoiceRoleTypeTransfer invoiceRoleType) {
034        this.invoice = invoice;
035        this.party = party;
036        this.partyContactMechanism = partyContactMechanism;
037        this.invoiceRoleType = invoiceRoleType;
038    }
039
040    public InvoiceTransfer getInvoice() {
041        return invoice;
042    }
043
044    public void setInvoice(InvoiceTransfer invoice) {
045        this.invoice = invoice;
046    }
047
048    public PartyTransfer getParty() {
049        return party;
050    }
051
052    public void setParty(PartyTransfer party) {
053        this.party = party;
054    }
055
056    public PartyContactMechanismTransfer getPartyContactMechanism() {
057        return partyContactMechanism;
058    }
059
060    public void setPartyContactMechanism(PartyContactMechanismTransfer partyContactMechanism) {
061        this.partyContactMechanism = partyContactMechanism;
062    }
063
064    public InvoiceRoleTypeTransfer getInvoiceRoleType() {
065        return invoiceRoleType;
066    }
067
068    public void setInvoiceRoleType(InvoiceRoleTypeTransfer invoiceRoleType) {
069        this.invoiceRoleType = invoiceRoleType;
070    }
071}