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.PartyTransfer; 021import com.echothree.util.common.transfer.BaseTransfer; 022 023public class BillingAccountRoleTransfer 024 extends BaseTransfer { 025 026 private BillingAccountTransfer billingAccount; 027 private PartyTransfer party; 028 private PartyContactMechanismTransfer partyContactMechanism; 029 private BillingAccountRoleTypeTransfer billingAccountRoleType; 030 031 /** Creates a new instance of BillingAccountRoleTransfer */ 032 public BillingAccountRoleTransfer(BillingAccountTransfer billingAccount, PartyTransfer party, 033 PartyContactMechanismTransfer partyContactMechanism, BillingAccountRoleTypeTransfer billingAccountRoleType) { 034 this.billingAccount = billingAccount; 035 this.party = party; 036 this.partyContactMechanism = partyContactMechanism; 037 this.billingAccountRoleType = billingAccountRoleType; 038 } 039 040 public BillingAccountTransfer getBillingAccount() { 041 return billingAccount; 042 } 043 044 public void setBillingAccount(BillingAccountTransfer billingAccount) { 045 this.billingAccount = billingAccount; 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 BillingAccountRoleTypeTransfer getBillingAccountRoleType() { 065 return billingAccountRoleType; 066 } 067 068 public void setBillingAccountRoleType(BillingAccountRoleTypeTransfer billingAccountRoleType) { 069 this.billingAccountRoleType = billingAccountRoleType; 070 } 071}