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.Object
clone()
java.lang.String
getAccountNumbersAsString()
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.String
getAcctToAcctID()
get info identifying the account to transfer the money to/from if this was a transfer to/from a bank accountjava.lang.String
getAcctToBankBranch()
Get the branch of this payee's bank account.java.lang.String
getAcctToBankCity()
Get the city of this payee's bank.java.lang.String
getAcctToBankID()
get info identifying the bank to transfer the money to/from if this was a transfer to/from a bank accountjava.lang.String
getAcctToBankName()
Get the name of this payee's bank account.java.lang.String
getAcctToBankPostal()
Get the postal code of this payee's bank.java.lang.String
getAcctToBranchID()
Get the branch ID of the account for this payee.java.lang.String
getAcctToKey()
Get the key for this payee's account.java.lang.String
getAcctToPTTAcctID()
Get the PTT ID of this payee's bank.java.lang.String
getAcctToType()
Get the type of account for this payee.java.lang.String
getAddr1()
java.lang.String
getAddr2()
java.lang.String
getAddr3()
java.lang.String
getCity()
java.lang.String
getCountry()
int
getDaysToPay()
Gets how many days before a payment is due that the money is deducted from the payer's account.Account
getDefaultCategory()
Return the category for payments to this payee, if any.int
getDefaultCategoryID()
Return the default category ID for payments to this payee, if any.java.lang.String
getDefaultCategoryUUID()
Return the default category ID for payments to this payee, if any.boolean
getHasBankAcctTo()
Get whether or not there is destination bank account info.boolean
getHasExtendedAcctToInfo()
Get whether or not this payee has extended to-account information available.boolean
getHasExtendedPayeeInfo()
Gets whether or not an object has extended payee info associated with it.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.java.lang.String
getPayeeIDScope()
Gets the scope of the payee ID...java.lang.String
getPayeeListID()
java.lang.String
getPayeeName()
Get the name of the payeejava.lang.String
getPhone()
java.lang.String
getPostalCode()
java.lang.String
getState()
boolean
isPayeeUsable()
Gets whether or not any operations (edit/delete/pay) can be performed on this payee.boolean
isSameAs(OnlinePayee payee)
void
setAccountNums(java.lang.String[] acctNums)
Sets the default account number that represents the user's account with the payee.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 accountvoid
setAcctToBankBranch(java.lang.String bankBranch)
Set the branch of this payee's bank account.void
setAcctToBankCity(java.lang.String bankCity)
Set the city of this payee's bank.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 accountvoid
setAcctToBankName(java.lang.String bankName)
Set the name of this payee's bank account.void
setAcctToBankPostal(java.lang.String bankPostalCode)
Set the postal code of this payee's bank.void
setAcctToBranchID(java.lang.String branchID)
Set the branch ID of the account for this payee.void
setAcctToKey(java.lang.String acctKey)
Set the key for this payee's account.void
setAcctToPTTAcctID(java.lang.String pttAcctID)
Set the PTT ID of this payee's bank.void
setAcctToType(java.lang.String acctType)
Set the type of account for this payee.void
setAddr1(java.lang.String addr1)
void
setAddr2(java.lang.String addr2)
void
setAddr3(java.lang.String addr3)
void
setCity(java.lang.String city)
void
setCountry(java.lang.String country)
void
setDaysToPay(int daysToPay)
Sets how many days before a payment is due that the money is deducted from the payer's account.void
setDefaultCategory(Account acct)
Set the category for payments to this payee, if any.void
setDefaultCategoryID(int newCategoryID)
Sets the default category for payments to this payee.void
setDefaultCategoryUUID(java.lang.String newCategoryUUID)
Sets the default category UUID for payments to this payee.void
setHasBankAcctTo(boolean hasBankAcctTo)
Set whether or not there is destination bank account info.void
setHasExtendedAcctToInfo(boolean hasExtdInfo)
Set whether or not this payee has extended to-account information available.void
setHasExtendedPayeeInfo(boolean hasExtendedInfo)
Sets whether or not an object has extended payee info associated with it.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)
void
setIsPayeeUsable(boolean isUsable)
Sets whether or not any new operations can be performed on this payee.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.void
setPayeeIDScope(java.lang.String idScope)
Sets the scope of the payee ID...void
setPayeeListID(java.lang.String listID)
void
setPayeeName(java.lang.String name)
Set the name of the payeevoid
setPhone(java.lang.String phone)
void
setPostalCode(java.lang.String postalcode)
void
setState(java.lang.String state)
java.lang.String
toString()
-
Method Details
-
clone
public java.lang.Object clone()- Overrides:
clone
in 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:OnlineExtdPayeeInterface
Set the name of the payee- Specified by:
setPayeeName
in interfaceOnlineExtdPayeeInterface
- Specified by:
setPayeeName
in interfaceOnlinePayeeInterface
-
getPayeeName
public java.lang.String getPayeeName()Description copied from interface:OnlineExtdPayeeInterface
Get the name of the payee- Specified by:
getPayeeName
in interfaceOnlineExtdPayeeInterface
- Specified by:
getPayeeName
in 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:
setAddr1
in interfaceOnlinePayeeInterface
-
getAddr1
public java.lang.String getAddr1()- Specified by:
getAddr1
in interfaceOnlinePayeeInterface
-
setAddr2
public void setAddr2(java.lang.String addr2)- Specified by:
setAddr2
in interfaceOnlinePayeeInterface
-
getAddr2
public java.lang.String getAddr2()- Specified by:
getAddr2
in interfaceOnlinePayeeInterface
-
setAddr3
public void setAddr3(java.lang.String addr3)- Specified by:
setAddr3
in interfaceOnlinePayeeInterface
-
getAddr3
public java.lang.String getAddr3()- Specified by:
getAddr3
in interfaceOnlinePayeeInterface
-
setCity
public void setCity(java.lang.String city)- Specified by:
setCity
in interfaceOnlinePayeeInterface
-
getCity
public java.lang.String getCity()- Specified by:
getCity
in 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:
setState
in interfaceOnlinePayeeInterface
-
getState
public java.lang.String getState()- Specified by:
getState
in interfaceOnlinePayeeInterface
-
setPostalCode
public void setPostalCode(java.lang.String postalcode)- Specified by:
setPostalCode
in interfaceOnlinePayeeInterface
-
getPostalCode
public java.lang.String getPostalCode()- Specified by:
getPostalCode
in interfaceOnlinePayeeInterface
-
setCountry
public void setCountry(java.lang.String country)- Specified by:
setCountry
in interfaceOnlinePayeeInterface
-
getCountry
public java.lang.String getCountry()- Specified by:
getCountry
in interfaceOnlinePayeeInterface
-
setPhone
public void setPhone(java.lang.String phone)- Specified by:
setPhone
in interfaceOnlinePayeeInterface
-
getPhone
public java.lang.String getPhone()- Specified by:
getPhone
in 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:
setHasBankAcctTo
in interfaceOnlineBankAcctToInterface
-
getHasBankAcctTo
public boolean getHasBankAcctTo()Get whether or not there is destination bank account info.- Specified by:
getHasBankAcctTo
in 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:
setAcctToAcctID
in 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:
getAcctToAcctID
in 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:
setAcctToBankID
in 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:
getAcctToBankID
in interfaceOnlineBankAcctToInterface
-
setAcctToBranchID
public void setAcctToBranchID(java.lang.String branchID)Set the branch ID of the account for this payee.- Specified by:
setAcctToBranchID
in interfaceOnlineBankAcctToInterface
-
getAcctToBranchID
public java.lang.String getAcctToBranchID()Get the branch ID of the account for this payee.- Specified by:
getAcctToBranchID
in interfaceOnlineBankAcctToInterface
-
setAcctToType
public void setAcctToType(java.lang.String acctType)Set the type of account for this payee.- Specified by:
setAcctToType
in interfaceOnlineBankAcctToInterface
-
getAcctToType
public java.lang.String getAcctToType()Get the type of account for this payee.- Specified by:
getAcctToType
in interfaceOnlineBankAcctToInterface
-
setAcctToKey
public void setAcctToKey(java.lang.String acctKey)Set the key for this payee's account.- Specified by:
setAcctToKey
in interfaceOnlineBankAcctToInterface
-
getAcctToKey
public java.lang.String getAcctToKey()Get the key for this payee's account.- Specified by:
getAcctToKey
in interfaceOnlineBankAcctToInterface
-
setHasExtendedAcctToInfo
public void setHasExtendedAcctToInfo(boolean hasExtdInfo)Set whether or not this payee has extended to-account information available.- Specified by:
setHasExtendedAcctToInfo
in interfaceOnlineBankAcctToInterface
-
getHasExtendedAcctToInfo
public boolean getHasExtendedAcctToInfo()Get whether or not this payee has extended to-account information available.- Specified by:
getHasExtendedAcctToInfo
in interfaceOnlineBankAcctToInterface
-
setAcctToBankName
public void setAcctToBankName(java.lang.String bankName)Set the name of this payee's bank account.- Specified by:
setAcctToBankName
in interfaceOnlineBankAcctToInterface
-
getAcctToBankName
public java.lang.String getAcctToBankName()Get the name of this payee's bank account.- Specified by:
getAcctToBankName
in interfaceOnlineBankAcctToInterface
-
setAcctToBankBranch
public void setAcctToBankBranch(java.lang.String bankBranch)Set the branch of this payee's bank account.- Specified by:
setAcctToBankBranch
in interfaceOnlineBankAcctToInterface
-
getAcctToBankBranch
public java.lang.String getAcctToBankBranch()Get the branch of this payee's bank account.- Specified by:
getAcctToBankBranch
in interfaceOnlineBankAcctToInterface
-
setAcctToBankCity
public void setAcctToBankCity(java.lang.String bankCity)Set the city of this payee's bank.- Specified by:
setAcctToBankCity
in interfaceOnlineBankAcctToInterface
-
getAcctToBankCity
public java.lang.String getAcctToBankCity()Get the city of this payee's bank.- Specified by:
getAcctToBankCity
in interfaceOnlineBankAcctToInterface
-
setAcctToBankPostal
public void setAcctToBankPostal(java.lang.String bankPostalCode)Set the postal code of this payee's bank.- Specified by:
setAcctToBankPostal
in interfaceOnlineBankAcctToInterface
-
getAcctToBankPostal
public java.lang.String getAcctToBankPostal()Get the postal code of this payee's bank.- Specified by:
getAcctToBankPostal
in interfaceOnlineBankAcctToInterface
-
setAcctToPTTAcctID
public void setAcctToPTTAcctID(java.lang.String pttAcctID)Set the PTT ID of this payee's bank.- Specified by:
setAcctToPTTAcctID
in interfaceOnlineBankAcctToInterface
-
getAcctToPTTAcctID
public java.lang.String getAcctToPTTAcctID()Get the PTT ID of this payee's bank.- Specified by:
getAcctToPTTAcctID
in interfaceOnlineBankAcctToInterface
-
setHasExtendedPayeeInfo
public void setHasExtendedPayeeInfo(boolean hasExtendedInfo)Sets whether or not an object has extended payee info associated with it.- Specified by:
setHasExtendedPayeeInfo
in interfaceOnlineExtdPayeeInterface
- Specified by:
setHasExtendedPayeeInfo
in interfaceOnlinePayeeInterface
-
getHasExtendedPayeeInfo
public boolean getHasExtendedPayeeInfo()Gets whether or not an object has extended payee info associated with it.- Specified by:
getHasExtendedPayeeInfo
in interfaceOnlineExtdPayeeInterface
- Specified by:
getHasExtendedPayeeInfo
in 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:
setPayeeID
in 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:
getPayeeID
in 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:
setDaysToPay
in interfaceOnlineExtdPayeeInterface
- Specified by:
setDaysToPay
in 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:
getDaysToPay
in interfaceOnlineExtdPayeeInterface
- Specified by:
getDaysToPay
in interfaceOnlinePayeeInterface
-
setPayeeIDScope
public void setPayeeIDScope(java.lang.String idScope)Sets the scope of the payee ID... either GLOBAL or USER.- Specified by:
setPayeeIDScope
in interfaceOnlineExtdPayeeInterface
- Specified by:
setPayeeIDScope
in interfaceOnlinePayeeInterface
-
getPayeeIDScope
public java.lang.String getPayeeIDScope()Gets the scope of the payee ID... either GLOBAL or USER.- Specified by:
getPayeeIDScope
in interfaceOnlineExtdPayeeInterface
- Specified by:
getPayeeIDScope
in interfaceOnlinePayeeInterface
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
isSameAs
-