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.term.common.transfer;
018
019import com.echothree.model.control.accounting.common.transfer.CurrencyTransfer;
020import com.echothree.model.control.party.common.transfer.PartyTransfer;
021import com.echothree.util.common.transfer.BaseTransfer;
022
023public class PartyCreditLimitTransfer
024        extends BaseTransfer {
025    
026    private PartyTransfer party;
027    private CurrencyTransfer currency;
028    private String creditLimit;
029    private String potentialCreditLimit;
030    
031    /** Creates a new instance of PartyCreditLimitTransfer */
032    public PartyCreditLimitTransfer(PartyTransfer party, CurrencyTransfer currency, String creditLimit,
033            String potentialCreditLimit) {
034        this.party = party;
035        this.currency = currency;
036        this.creditLimit = creditLimit;
037        this.potentialCreditLimit = potentialCreditLimit;
038    }
039    
040    public PartyTransfer getParty() {
041        return party;
042    }
043    
044    public void setParty(PartyTransfer party) {
045        this.party = party;
046    }
047    
048    public CurrencyTransfer getCurrency() {
049        return currency;
050    }
051    
052    public void setCurrency(CurrencyTransfer currency) {
053        this.currency = currency;
054    }
055    
056    public String getCreditLimit() {
057        return creditLimit;
058    }
059    
060    public void setCreditLimit(String creditLimit) {
061        this.creditLimit = creditLimit;
062    }
063    
064    public String getPotentialCreditLimit() {
065        return potentialCreditLimit;
066    }
067    
068    public void setPotentialCreditLimit(String potentialCreditLimit) {
069        this.potentialCreditLimit = potentialCreditLimit;
070    }
071    
072}