Class OnlinePayee
java.lang.Object
com.infinitekind.moneydance.model.OnlinePayee
- All Implemented Interfaces:
OnlineBankAcctToInterface,OnlineExtdPayeeInterface,OnlinePayeeInterface
public class OnlinePayee extends java.lang.Object implements OnlinePayeeInterface, OnlineBankAcctToInterface, OnlineExtdPayeeInterface
Simple payee object that describes payees that are stored in
the users payee list on the online banking server.
-
Method Summary
Modifier and Type Method Description java.lang.Objectclone()java.lang.StringgetAccountNumbersAsString()Gets the default account number that represents the user's account with the payee.java.lang.String[]getAccountNums()Return the list of account numbers for use with this Payee.java.lang.StringgetAcctToAcctID()get info identifying the account to transfer the money to/from if this was a transfer to/from a bank accountjava.lang.StringgetAcctToBankBranch()Get the branch of this payee's bank account.java.lang.StringgetAcctToBankCity()Get the city of this payee's bank.java.lang.StringgetAcctToBankID()get info identifying the bank to transfer the money to/from if this was a transfer to/from a bank accountjava.lang.StringgetAcctToBankName()Get the name of this payee's bank account.java.lang.StringgetAcctToBankPostal()Get the postal code of this payee's bank.java.lang.StringgetAcctToBranchID()Get the branch ID of the account for this payee.java.lang.StringgetAcctToKey()Get the key for this payee's account.java.lang.StringgetAcctToPTTAcctID()Get the PTT ID of this payee's bank.java.lang.StringgetAcctToType()Get the type of account for this payee.java.lang.StringgetAddr1()java.lang.StringgetAddr2()java.lang.StringgetAddr3()java.lang.StringgetCity()java.lang.StringgetCountry()intgetDaysToPay()Gets how many days before a payment is due that the money is deducted from the payer's account.AccountgetDefaultCategory()Return the category for payments to this payee, if any.intgetDefaultCategoryID()Return the default category ID for payments to this payee, if any.java.lang.StringgetDefaultCategoryUUID()Return the default category ID for payments to this payee, if any.booleangetHasBankAcctTo()Get whether or not there is destination bank account info.booleangetHasExtendedAcctToInfo()Get whether or not this payee has extended to-account information available.booleangetHasExtendedPayeeInfo()Gets whether or not an object has extended payee info associated with it.java.lang.StringgetPayeeID()Gets the ID used to identify this payee either globally or within the user's list of payees with this FI.java.lang.StringgetPayeeIDScope()Gets the scope of the payee ID...java.lang.StringgetPayeeListID()java.lang.StringgetPayeeName()Get the name of the payeejava.lang.StringgetPhone()java.lang.StringgetPostalCode()java.lang.StringgetState()booleanisPayeeUsable()Gets whether or not any operations (edit/delete/pay) can be performed on this payee.booleanisSameAs(OnlinePayee payee)voidsetAccountNums(java.lang.String[] acctNums)Sets the default account number that represents the user's account with the payee.voidsetAcctToAcctID(java.lang.String toBankAccountID)set info identifying the account to transfer the money to/from if this was a transfer to/from a bank accountvoidsetAcctToBankBranch(java.lang.String bankBranch)Set the branch of this payee's bank account.voidsetAcctToBankCity(java.lang.String bankCity)Set the city of this payee's bank.voidsetAcctToBankID(java.lang.String toBankBankID)set info identifying the bank to transfer the money to/from if this was a transfer to/from a bank accountvoidsetAcctToBankName(java.lang.String bankName)Set the name of this payee's bank account.voidsetAcctToBankPostal(java.lang.String bankPostalCode)Set the postal code of this payee's bank.voidsetAcctToBranchID(java.lang.String branchID)Set the branch ID of the account for this payee.voidsetAcctToKey(java.lang.String acctKey)Set the key for this payee's account.voidsetAcctToPTTAcctID(java.lang.String pttAcctID)Set the PTT ID of this payee's bank.voidsetAcctToType(java.lang.String acctType)Set the type of account for this payee.voidsetAddr1(java.lang.String addr1)voidsetAddr2(java.lang.String addr2)voidsetAddr3(java.lang.String addr3)voidsetCity(java.lang.String city)voidsetCountry(java.lang.String country)voidsetDaysToPay(int daysToPay)Sets how many days before a payment is due that the money is deducted from the payer's account.voidsetDefaultCategory(Account acct)Set the category for payments to this payee, if any.voidsetDefaultCategoryID(int newCategoryID)Sets the default category for payments to this payee.voidsetDefaultCategoryUUID(java.lang.String newCategoryUUID)Sets the default category UUID for payments to this payee.voidsetHasBankAcctTo(boolean hasBankAcctTo)Set whether or not there is destination bank account info.voidsetHasExtendedAcctToInfo(boolean hasExtdInfo)Set whether or not this payee has extended to-account information available.voidsetHasExtendedPayeeInfo(boolean hasExtendedInfo)Sets whether or not an object has extended payee info associated with it.voidsetInfo(java.lang.String name, java.lang.String addr1, java.lang.String addr2, java.lang.String addr3, java.lang.String city, java.lang.String state, java.lang.String postal, java.lang.String country, java.lang.String phone)voidsetIsPayeeUsable(boolean isUsable)Sets whether or not any new operations can be performed on this payee.voidsetPayeeID(java.lang.String id)Sets the ID used to identify this payee either globally or within the user's list of payees with this FI.voidsetPayeeIDScope(java.lang.String idScope)Sets the scope of the payee ID...voidsetPayeeListID(java.lang.String listID)voidsetPayeeName(java.lang.String name)Set the name of the payeevoidsetPhone(java.lang.String phone)voidsetPostalCode(java.lang.String postalcode)voidsetState(java.lang.String state)java.lang.StringtoString()
-
Method Details
-
clone
public java.lang.Object clone()- Overrides:
clonein classjava.lang.Object
-
setPayeeListID
public void setPayeeListID(java.lang.String listID) -
getPayeeListID
public java.lang.String getPayeeListID() -
setPayeeName
public void setPayeeName(java.lang.String name)Description copied from interface:OnlineExtdPayeeInterfaceSet the name of the payee- Specified by:
setPayeeNamein interfaceOnlineExtdPayeeInterface- Specified by:
setPayeeNamein interfaceOnlinePayeeInterface
-
getPayeeName
public java.lang.String getPayeeName()Description copied from interface:OnlineExtdPayeeInterfaceGet the name of the payee- Specified by:
getPayeeNamein interfaceOnlineExtdPayeeInterface- Specified by:
getPayeeNamein interfaceOnlinePayeeInterface
-
setIsPayeeUsable
public void setIsPayeeUsable(boolean isUsable)Sets whether or not any new operations can be performed on this payee. -
isPayeeUsable
public boolean isPayeeUsable()Gets whether or not any operations (edit/delete/pay) can be performed on this payee. -
setAddr1
public void setAddr1(java.lang.String addr1)- Specified by:
setAddr1in interfaceOnlinePayeeInterface
-
getAddr1
public java.lang.String getAddr1()- Specified by:
getAddr1in interfaceOnlinePayeeInterface
-
setAddr2
public void setAddr2(java.lang.String addr2)- Specified by:
setAddr2in interfaceOnlinePayeeInterface
-
getAddr2
public java.lang.String getAddr2()- Specified by:
getAddr2in interfaceOnlinePayeeInterface
-
setAddr3
public void setAddr3(java.lang.String addr3)- Specified by:
setAddr3in interfaceOnlinePayeeInterface
-
getAddr3
public java.lang.String getAddr3()- Specified by:
getAddr3in interfaceOnlinePayeeInterface
-
setCity
public void setCity(java.lang.String city)- Specified by:
setCityin interfaceOnlinePayeeInterface
-
getCity
public java.lang.String getCity()- Specified by:
getCityin interfaceOnlinePayeeInterface
-
getDefaultCategoryID
public int getDefaultCategoryID()Return the default category ID for payments to this payee, if any. -
setDefaultCategoryID
public void setDefaultCategoryID(int newCategoryID)Sets the default category for payments to this payee. -
getDefaultCategoryUUID
public java.lang.String getDefaultCategoryUUID()Return the default category ID for payments to this payee, if any. -
setDefaultCategoryUUID
public void setDefaultCategoryUUID(java.lang.String newCategoryUUID)Sets the default category UUID for payments to this payee. -
getDefaultCategory
Return the category for payments to this payee, if any. -
setDefaultCategory
Set the category for payments to this payee, if any. -
setAccountNums
public void setAccountNums(java.lang.String[] acctNums)Sets the default account number that represents the user's account with the payee. For example, if the payee is the phone company, this will probably be the phone number identified as the account on the user's phone bills. -
getAccountNums
public java.lang.String[] getAccountNums()Return the list of account numbers for use with this Payee. -
getAccountNumbersAsString
public java.lang.String getAccountNumbersAsString()Gets the default account number that represents the user's account with the payee. For example, if the payee is the phone company, this will probably be the phone number identified as the account on the user's phone bills. -
setState
public void setState(java.lang.String state)- Specified by:
setStatein interfaceOnlinePayeeInterface
-
getState
public java.lang.String getState()- Specified by:
getStatein interfaceOnlinePayeeInterface
-
setPostalCode
public void setPostalCode(java.lang.String postalcode)- Specified by:
setPostalCodein interfaceOnlinePayeeInterface
-
getPostalCode
public java.lang.String getPostalCode()- Specified by:
getPostalCodein interfaceOnlinePayeeInterface
-
setCountry
public void setCountry(java.lang.String country)- Specified by:
setCountryin interfaceOnlinePayeeInterface
-
getCountry
public java.lang.String getCountry()- Specified by:
getCountryin interfaceOnlinePayeeInterface
-
setPhone
public void setPhone(java.lang.String phone)- Specified by:
setPhonein interfaceOnlinePayeeInterface
-
getPhone
public java.lang.String getPhone()- Specified by:
getPhonein interfaceOnlinePayeeInterface
-
setInfo
public void setInfo(java.lang.String name, java.lang.String addr1, java.lang.String addr2, java.lang.String addr3, java.lang.String city, java.lang.String state, java.lang.String postal, java.lang.String country, java.lang.String phone) -
setHasBankAcctTo
public void setHasBankAcctTo(boolean hasBankAcctTo)Set whether or not there is destination bank account info.- Specified by:
setHasBankAcctToin interfaceOnlineBankAcctToInterface
-
getHasBankAcctTo
public boolean getHasBankAcctTo()Get whether or not there is destination bank account info.- Specified by:
getHasBankAcctToin interfaceOnlineBankAcctToInterface
-
setAcctToAcctID
public void setAcctToAcctID(java.lang.String toBankAccountID)set info identifying the account to transfer the money to/from if this was a transfer to/from a bank account- Specified by:
setAcctToAcctIDin interfaceOnlineBankAcctToInterface
-
getAcctToAcctID
public java.lang.String getAcctToAcctID()get info identifying the account to transfer the money to/from if this was a transfer to/from a bank account- Specified by:
getAcctToAcctIDin interfaceOnlineBankAcctToInterface
-
setAcctToBankID
public void setAcctToBankID(java.lang.String toBankBankID)set info identifying the bank to transfer the money to/from if this was a transfer to/from a bank account- Specified by:
setAcctToBankIDin interfaceOnlineBankAcctToInterface
-
getAcctToBankID
public java.lang.String getAcctToBankID()get info identifying the bank to transfer the money to/from if this was a transfer to/from a bank account- Specified by:
getAcctToBankIDin interfaceOnlineBankAcctToInterface
-
setAcctToBranchID
public void setAcctToBranchID(java.lang.String branchID)Set the branch ID of the account for this payee.- Specified by:
setAcctToBranchIDin interfaceOnlineBankAcctToInterface
-
getAcctToBranchID
public java.lang.String getAcctToBranchID()Get the branch ID of the account for this payee.- Specified by:
getAcctToBranchIDin interfaceOnlineBankAcctToInterface
-
setAcctToType
public void setAcctToType(java.lang.String acctType)Set the type of account for this payee.- Specified by:
setAcctToTypein interfaceOnlineBankAcctToInterface
-
getAcctToType
public java.lang.String getAcctToType()Get the type of account for this payee.- Specified by:
getAcctToTypein interfaceOnlineBankAcctToInterface
-
setAcctToKey
public void setAcctToKey(java.lang.String acctKey)Set the key for this payee's account.- Specified by:
setAcctToKeyin interfaceOnlineBankAcctToInterface
-
getAcctToKey
public java.lang.String getAcctToKey()Get the key for this payee's account.- Specified by:
getAcctToKeyin interfaceOnlineBankAcctToInterface
-
setHasExtendedAcctToInfo
public void setHasExtendedAcctToInfo(boolean hasExtdInfo)Set whether or not this payee has extended to-account information available.- Specified by:
setHasExtendedAcctToInfoin interfaceOnlineBankAcctToInterface
-
getHasExtendedAcctToInfo
public boolean getHasExtendedAcctToInfo()Get whether or not this payee has extended to-account information available.- Specified by:
getHasExtendedAcctToInfoin interfaceOnlineBankAcctToInterface
-
setAcctToBankName
public void setAcctToBankName(java.lang.String bankName)Set the name of this payee's bank account.- Specified by:
setAcctToBankNamein interfaceOnlineBankAcctToInterface
-
getAcctToBankName
public java.lang.String getAcctToBankName()Get the name of this payee's bank account.- Specified by:
getAcctToBankNamein interfaceOnlineBankAcctToInterface
-
setAcctToBankBranch
public void setAcctToBankBranch(java.lang.String bankBranch)Set the branch of this payee's bank account.- Specified by:
setAcctToBankBranchin interfaceOnlineBankAcctToInterface
-
getAcctToBankBranch
public java.lang.String getAcctToBankBranch()Get the branch of this payee's bank account.- Specified by:
getAcctToBankBranchin interfaceOnlineBankAcctToInterface
-
setAcctToBankCity
public void setAcctToBankCity(java.lang.String bankCity)Set the city of this payee's bank.- Specified by:
setAcctToBankCityin interfaceOnlineBankAcctToInterface
-
getAcctToBankCity
public java.lang.String getAcctToBankCity()Get the city of this payee's bank.- Specified by:
getAcctToBankCityin interfaceOnlineBankAcctToInterface
-
setAcctToBankPostal
public void setAcctToBankPostal(java.lang.String bankPostalCode)Set the postal code of this payee's bank.- Specified by:
setAcctToBankPostalin interfaceOnlineBankAcctToInterface
-
getAcctToBankPostal
public java.lang.String getAcctToBankPostal()Get the postal code of this payee's bank.- Specified by:
getAcctToBankPostalin interfaceOnlineBankAcctToInterface
-
setAcctToPTTAcctID
public void setAcctToPTTAcctID(java.lang.String pttAcctID)Set the PTT ID of this payee's bank.- Specified by:
setAcctToPTTAcctIDin interfaceOnlineBankAcctToInterface
-
getAcctToPTTAcctID
public java.lang.String getAcctToPTTAcctID()Get the PTT ID of this payee's bank.- Specified by:
getAcctToPTTAcctIDin interfaceOnlineBankAcctToInterface
-
setHasExtendedPayeeInfo
public void setHasExtendedPayeeInfo(boolean hasExtendedInfo)Sets whether or not an object has extended payee info associated with it.- Specified by:
setHasExtendedPayeeInfoin interfaceOnlineExtdPayeeInterface- Specified by:
setHasExtendedPayeeInfoin interfaceOnlinePayeeInterface
-
getHasExtendedPayeeInfo
public boolean getHasExtendedPayeeInfo()Gets whether or not an object has extended payee info associated with it.- Specified by:
getHasExtendedPayeeInfoin interfaceOnlineExtdPayeeInterface- Specified by:
getHasExtendedPayeeInfoin interfaceOnlinePayeeInterface
-
setPayeeID
public void setPayeeID(java.lang.String id)Sets the ID used to identify this payee either globally or within the user's list of payees with this FI.- Specified by:
setPayeeIDin interfaceOnlineExtdPayeeInterface
-
getPayeeID
public java.lang.String getPayeeID()Gets the ID used to identify this payee either globally or within the user's list of payees with this FI.- Specified by:
getPayeeIDin interfaceOnlineExtdPayeeInterface
-
setDaysToPay
public void setDaysToPay(int daysToPay)Sets how many days before a payment is due that the money is deducted from the payer's account. If the days-to-pay is -1 then the due date for a payment actually refers to when the payer's financial instution process the payment.- Specified by:
setDaysToPayin interfaceOnlineExtdPayeeInterface- Specified by:
setDaysToPayin interfaceOnlinePayeeInterface
-
getDaysToPay
public int getDaysToPay()Gets how many days before a payment is due that the money is deducted from the payer's account. If the days-to-pay is -1 then the due date for a payment actually refers to when the payer's financial instution process the payment.- Specified by:
getDaysToPayin interfaceOnlineExtdPayeeInterface- Specified by:
getDaysToPayin interfaceOnlinePayeeInterface
-
setPayeeIDScope
public void setPayeeIDScope(java.lang.String idScope)Sets the scope of the payee ID... either GLOBAL or USER.- Specified by:
setPayeeIDScopein interfaceOnlineExtdPayeeInterface- Specified by:
setPayeeIDScopein interfaceOnlinePayeeInterface
-
getPayeeIDScope
public java.lang.String getPayeeIDScope()Gets the scope of the payee ID... either GLOBAL or USER.- Specified by:
getPayeeIDScopein interfaceOnlineExtdPayeeInterface- Specified by:
getPayeeIDScopein interfaceOnlinePayeeInterface
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
isSameAs
-