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.carrier.common.transfer; 018 019import com.echothree.model.control.party.common.transfer.PartyTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class PartyCarrierAccountTransfer 023 extends BaseTransfer { 024 025 private PartyTransfer party; 026 private CarrierTransfer carrier; 027 private String account; 028 private Boolean alwaysUseThirdPartyBilling; 029 030 /** Creates a new instance of PartyCarrierAccountTransfer */ 031 public PartyCarrierAccountTransfer(PartyTransfer party, CarrierTransfer carrier, String account, Boolean alwaysUseThirdPartyBilling) { 032 this.party = party; 033 this.carrier = carrier; 034 this.account = account; 035 this.alwaysUseThirdPartyBilling = alwaysUseThirdPartyBilling; 036 } 037 038 /** 039 * Returns the party. 040 * @return the party 041 */ 042 public PartyTransfer getParty() { 043 return party; 044 } 045 046 /** 047 * Sets the party. 048 * @param party the party to set 049 */ 050 public void setParty(PartyTransfer party) { 051 this.party = party; 052 } 053 054 /** 055 * Returns the carrier. 056 * @return the carrier 057 */ 058 public CarrierTransfer getCarrier() { 059 return carrier; 060 } 061 062 /** 063 * Sets the carrier. 064 * @param carrier the carrier to set 065 */ 066 public void setCarrier(CarrierTransfer carrier) { 067 this.carrier = carrier; 068 } 069 070 /** 071 * Returns the account. 072 * @return the account 073 */ 074 public String getAccount() { 075 return account; 076 } 077 078 /** 079 * Sets the account. 080 * @param account the account to set 081 */ 082 public void setAccount(String account) { 083 this.account = account; 084 } 085 086 /** 087 * Returns the alwaysUseThirdPartyBilling. 088 * @return the alwaysUseThirdPartyBilling 089 */ 090 public Boolean getAlwaysUseThirdPartyBilling() { 091 return alwaysUseThirdPartyBilling; 092 } 093 094 /** 095 * Sets the alwaysUseThirdPartyBilling. 096 * @param alwaysUseThirdPartyBilling the alwaysUseThirdPartyBilling to set 097 */ 098 public void setAlwaysUseThirdPartyBilling(Boolean alwaysUseThirdPartyBilling) { 099 this.alwaysUseThirdPartyBilling = alwaysUseThirdPartyBilling; 100 } 101 102}