com.moneydance.apps.md.model
Class OnlinePayee

java.lang.Object
  extended by com.moneydance.apps.md.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
 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 account
 java.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 account
 java.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.
 int getDefaultCategoryID()
          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 payee
 java.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 account
 void 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 account
 void 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 setDefaultCategoryID(int newCategoryID)
          Sets the default category 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 payee
 void setPhone(java.lang.String phone)
           
 void setPostalCode(java.lang.String postalcode)
           
 void setState(java.lang.String state)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.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 interface OnlineExtdPayeeInterface
Specified by:
setPayeeName in interface OnlinePayeeInterface

getPayeeName

public java.lang.String getPayeeName()
Description copied from interface: OnlineExtdPayeeInterface
Get the name of the payee

Specified by:
getPayeeName in interface OnlineExtdPayeeInterface
Specified by:
getPayeeName in interface OnlinePayeeInterface

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 interface OnlinePayeeInterface

getAddr1

public java.lang.String getAddr1()
Specified by:
getAddr1 in interface OnlinePayeeInterface

setAddr2

public void setAddr2(java.lang.String addr2)
Specified by:
setAddr2 in interface OnlinePayeeInterface

getAddr2

public java.lang.String getAddr2()
Specified by:
getAddr2 in interface OnlinePayeeInterface

setAddr3

public void setAddr3(java.lang.String addr3)
Specified by:
setAddr3 in interface OnlinePayeeInterface

getAddr3

public java.lang.String getAddr3()
Specified by:
getAddr3 in interface OnlinePayeeInterface

setCity

public void setCity(java.lang.String city)
Specified by:
setCity in interface OnlinePayeeInterface

getCity

public java.lang.String getCity()
Specified by:
getCity in interface OnlinePayeeInterface

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.


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 interface OnlinePayeeInterface

getState

public java.lang.String getState()
Specified by:
getState in interface OnlinePayeeInterface

setPostalCode

public void setPostalCode(java.lang.String postalcode)
Specified by:
setPostalCode in interface OnlinePayeeInterface

getPostalCode

public java.lang.String getPostalCode()
Specified by:
getPostalCode in interface OnlinePayeeInterface

setCountry

public void setCountry(java.lang.String country)
Specified by:
setCountry in interface OnlinePayeeInterface

getCountry

public java.lang.String getCountry()
Specified by:
getCountry in interface OnlinePayeeInterface

setPhone

public void setPhone(java.lang.String phone)
Specified by:
setPhone in interface OnlinePayeeInterface

getPhone

public java.lang.String getPhone()
Specified by:
getPhone in interface OnlinePayeeInterface

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 interface OnlineBankAcctToInterface

getHasBankAcctTo

public boolean getHasBankAcctTo()
Get whether or not there is destination bank account info.

Specified by:
getHasBankAcctTo in interface OnlineBankAcctToInterface

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 interface OnlineBankAcctToInterface

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 interface OnlineBankAcctToInterface

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 interface OnlineBankAcctToInterface

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 interface OnlineBankAcctToInterface

setAcctToBranchID

public void setAcctToBranchID(java.lang.String branchID)
Set the branch ID of the account for this payee.

Specified by:
setAcctToBranchID in interface OnlineBankAcctToInterface

getAcctToBranchID

public java.lang.String getAcctToBranchID()
Get the branch ID of the account for this payee.

Specified by:
getAcctToBranchID in interface OnlineBankAcctToInterface

setAcctToType

public void setAcctToType(java.lang.String acctType)
Set the type of account for this payee.

Specified by:
setAcctToType in interface OnlineBankAcctToInterface

getAcctToType

public java.lang.String getAcctToType()
Get the type of account for this payee.

Specified by:
getAcctToType in interface OnlineBankAcctToInterface

setAcctToKey

public void setAcctToKey(java.lang.String acctKey)
Set the key for this payee's account.

Specified by:
setAcctToKey in interface OnlineBankAcctToInterface

getAcctToKey

public java.lang.String getAcctToKey()
Get the key for this payee's account.

Specified by:
getAcctToKey in interface OnlineBankAcctToInterface

setHasExtendedAcctToInfo

public void setHasExtendedAcctToInfo(boolean hasExtdInfo)
Set whether or not this payee has extended to-account information available.

Specified by:
setHasExtendedAcctToInfo in interface OnlineBankAcctToInterface

getHasExtendedAcctToInfo

public boolean getHasExtendedAcctToInfo()
Get whether or not this payee has extended to-account information available.

Specified by:
getHasExtendedAcctToInfo in interface OnlineBankAcctToInterface

setAcctToBankName

public void setAcctToBankName(java.lang.String bankName)
Set the name of this payee's bank account.

Specified by:
setAcctToBankName in interface OnlineBankAcctToInterface

getAcctToBankName

public java.lang.String getAcctToBankName()
Get the name of this payee's bank account.

Specified by:
getAcctToBankName in interface OnlineBankAcctToInterface

setAcctToBankBranch

public void setAcctToBankBranch(java.lang.String bankBranch)
Set the branch of this payee's bank account.

Specified by:
setAcctToBankBranch in interface OnlineBankAcctToInterface

getAcctToBankBranch

public java.lang.String getAcctToBankBranch()
Get the branch of this payee's bank account.

Specified by:
getAcctToBankBranch in interface OnlineBankAcctToInterface

setAcctToBankCity

public void setAcctToBankCity(java.lang.String bankCity)
Set the city of this payee's bank.

Specified by:
setAcctToBankCity in interface OnlineBankAcctToInterface

getAcctToBankCity

public java.lang.String getAcctToBankCity()
Get the city of this payee's bank.

Specified by:
getAcctToBankCity in interface OnlineBankAcctToInterface

setAcctToBankPostal

public void setAcctToBankPostal(java.lang.String bankPostalCode)
Set the postal code of this payee's bank.

Specified by:
setAcctToBankPostal in interface OnlineBankAcctToInterface

getAcctToBankPostal

public java.lang.String getAcctToBankPostal()
Get the postal code of this payee's bank.

Specified by:
getAcctToBankPostal in interface OnlineBankAcctToInterface

setAcctToPTTAcctID

public void setAcctToPTTAcctID(java.lang.String pttAcctID)
Set the PTT ID of this payee's bank.

Specified by:
setAcctToPTTAcctID in interface OnlineBankAcctToInterface

getAcctToPTTAcctID

public java.lang.String getAcctToPTTAcctID()
Get the PTT ID of this payee's bank.

Specified by:
getAcctToPTTAcctID in interface OnlineBankAcctToInterface

setHasExtendedPayeeInfo

public void setHasExtendedPayeeInfo(boolean hasExtendedInfo)
Sets whether or not an object has extended payee info associated with it.

Specified by:
setHasExtendedPayeeInfo in interface OnlineExtdPayeeInterface
Specified by:
setHasExtendedPayeeInfo in interface OnlinePayeeInterface

getHasExtendedPayeeInfo

public boolean getHasExtendedPayeeInfo()
Gets whether or not an object has extended payee info associated with it.

Specified by:
getHasExtendedPayeeInfo in interface OnlineExtdPayeeInterface
Specified by:
getHasExtendedPayeeInfo in interface OnlinePayeeInterface

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 interface OnlineExtdPayeeInterface

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 interface OnlineExtdPayeeInterface

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 interface OnlineExtdPayeeInterface
Specified by:
setDaysToPay in interface OnlinePayeeInterface

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 interface OnlineExtdPayeeInterface
Specified by:
getDaysToPay in interface OnlinePayeeInterface

setPayeeIDScope

public void setPayeeIDScope(java.lang.String idScope)
Sets the scope of the payee ID... either GLOBAL or USER.

Specified by:
setPayeeIDScope in interface OnlineExtdPayeeInterface
Specified by:
setPayeeIDScope in interface OnlinePayeeInterface

getPayeeIDScope

public java.lang.String getPayeeIDScope()
Gets the scope of the payee ID... either GLOBAL or USER.

Specified by:
getPayeeIDScope in interface OnlineExtdPayeeInterface
Specified by:
getPayeeIDScope in interface OnlinePayeeInterface

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isSameAs

public boolean isSameAs(OnlinePayee payee)