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.accounting.common.transfer.CurrencyTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021import com.echothree.util.common.transfer.MapWrapper; 022 023public class BillingAccountTransfer 024 extends BaseTransfer { 025 026 private String billingAccountName; 027 private CurrencyTransfer currency; 028 private String reference; 029 private String description; 030 private String creditLimit; 031 private String potentialCreditLimit; 032 033 private MapWrapper<BillingAccountRoleTransfer> billingAccountRoles; 034 035 /** Creates a new instance of BillingAccountTransfer */ 036 public BillingAccountTransfer(String billingAccountName, CurrencyTransfer currency, String reference, String description, String creditLimit, String potentialCreditLimit) { 037 this.billingAccountName = billingAccountName; 038 this.currency = currency; 039 this.reference = reference; 040 this.description = description; 041 this.creditLimit = creditLimit; 042 this.potentialCreditLimit = potentialCreditLimit; 043 } 044 045 public String getBillingAccountName() { 046 return billingAccountName; 047 } 048 049 public void setBillingAccountName(String billingAccountName) { 050 this.billingAccountName = billingAccountName; 051 } 052 053 public CurrencyTransfer getCurrency() { 054 return currency; 055 } 056 057 public void setCurrency(CurrencyTransfer currency) { 058 this.currency = currency; 059 } 060 061 public String getReference() { 062 return reference; 063 } 064 065 public void setReference(String reference) { 066 this.reference = reference; 067 } 068 069 public String getDescription() { 070 return description; 071 } 072 073 public void setDescription(String description) { 074 this.description = description; 075 } 076 077 public String getCreditLimit() { 078 return creditLimit; 079 } 080 081 public void setCreditLimit(String creditLimit) { 082 this.creditLimit = creditLimit; 083 } 084 085 public String getPotentialCreditLimit() { 086 return potentialCreditLimit; 087 } 088 089 public void setPotentialCreditLimit(String potentialCreditLimit) { 090 this.potentialCreditLimit = potentialCreditLimit; 091 } 092 093 public MapWrapper<BillingAccountRoleTransfer> getBillingAccountRoles() { 094 return billingAccountRoles; 095 } 096 097 public void setBillingAccountRoles(MapWrapper<BillingAccountRoleTransfer> billingAccountRoles) { 098 this.billingAccountRoles = billingAccountRoles; 099 } 100 101}