public class InvoicePayment extends DBObject
DBObject.DenormalizeAction
Modifier and Type | Field and Description |
---|---|
static GlobalId |
DBCLASS_GID
Records a payment against an Invoice.
|
static java.lang.String |
DBCLASS_NAME
Records a payment against an Invoice.
|
static java.lang.String |
DBFIELD_EXPORT_FG
Indicates that the Invoice is to be exported.
|
static java.lang.String |
DBFIELD_EXPORTED_TIME
Time that this invoice was last exported.
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS
Constructor and Description |
---|
InvoicePayment(DBClass def,
DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
static InvoicePayment |
create(MutableDataSource mds)
Make a new instance of this class.
|
protected void |
eventFieldUpdated(DBField field,
java.lang.Object previous,
GlobalKey previousKey,
FldParams params)
update dependent fields.
|
protected void |
extAutoEnterCreate()
Additional functionality when an object is created.
|
protected void |
extCheckCreateAccess()
Additional access checking for create access of this object.
|
protected void |
extCheckDeleteAccess()
Additional access checking for delete access of this object.
|
protected void |
extCheckModifyAccess()
Additional access checking for write access of this object.
|
protected void |
extCheckModifyAccess(DBField field)
Additional access checking for write access of this object.
|
protected void |
extFixUp()
The extended fix up routine for known problems.
|
protected java.lang.Object |
extGetDerivedValue(DBField field,
FldParams params)
OVERRIDE This method for all objects with derived fields that are NOT linked.
|
protected boolean |
extIsMandatory(DBField field)
Conditional mandatory field.
|
protected boolean |
extIsOnChange(DBField field)
override on change.
|
protected void |
extPreValidate()
Update the in-memory universe BEFORE validating
|
protected ValidationError |
extValidateField(DBField field,
ValidationList list)
Additional validation for particular field OVERRIDE THIS METHOD TO ADD VALIDATIONS FOR A FIELD.
|
protected void |
extValidateRecord(ValidationList list)
Performs additional validations on this record.
|
Account |
findAccount(java.lang.String... args)
The asset account into which you want to apply the payment.
|
BankAccount |
findBankAccount(java.lang.String... args)
Account.
|
java.lang.Object |
findBankRejectReason(java.lang.String... args)
The bank reject reason.
|
Bsb |
findBsb(java.lang.String... args)
bsb number.
|
CreditCardType |
findCreditCardType(java.lang.String... args)
Credit Card Type.
|
Contact |
findCustomer(java.lang.String... args)
The Customer who made this payment.
|
DBTriStateOption |
findDirectDebit(java.lang.String... args)
directDebit if set to false, do not process direct debit.
|
Person |
findDirectDebitFailureCheckedBy(java.lang.String... args)
Person that checked the failure.
|
DirectDebitStatus |
findDirectDebitStatus(java.lang.String... args)
The status of the direct debit processing for this payment.
|
Person |
findEnteredBy(java.lang.String... args)
Entered By.
|
DBTriStateOption |
findEwayTrxnStatus(java.lang.String... args)
This value is returned to your website.
|
Invoice |
findInvoiceId(java.lang.String... args)
Allows full amount to be applied to one invoice.
|
static InvoicePayment |
findKey(DataSource ds,
int key)
Find the target for this class by the primary key
|
Company |
findOwnerBusUnit(java.lang.String... args)
Business unit that owns this entry.
|
PaymentMethod |
findPaymentMethod(java.lang.String... args)
The method in which the payment was received.
|
PaymentSource |
findPaymentSource(java.lang.String... args)
Payment Source.
|
java.lang.Object |
findPaymentType(java.lang.String... args)
The purpose of the payment.
|
ProcessStatus |
findProcessStatus(java.lang.String... args)
3 phase update status.
|
protected AccountJournalSet |
generateJournalSet(boolean reversal)
Generates a new journal set to match current totals for invoice
|
Account |
getAccount(java.lang.String... args) |
double |
getAmount(java.lang.String... args) |
java.util.Date |
getAuthGivenDate(java.lang.String... args) |
BankAccount |
getBankAccount(java.lang.String... args) |
java.lang.String |
getBankAccountName(java.lang.String... args) |
java.lang.String |
getBankAccountNum(java.lang.String... args) |
java.lang.String |
getBankBSB(java.lang.String... args) |
java.lang.String |
getBankCardAuthNum(java.lang.String... args) |
java.lang.String |
getBankCardDisplayNumber(java.lang.String... args) |
java.util.Date |
getBankCardExpiry(java.lang.String... args) |
java.lang.String |
getBankCardName(java.lang.String... args) |
java.lang.String |
getBankCardNewNumber(java.lang.String... args) |
java.lang.String |
getBankCardNum(java.lang.String... args) |
java.lang.String |
getBankName(java.lang.String... args) |
java.lang.Object |
getBankRejectReason(java.lang.String... args) |
java.util.Date |
getBankStatDate(java.lang.String... args) |
DBObject[] |
getBreakDown()
Product invoice breakdown structure
|
Bsb |
getBsb(java.lang.String... args) |
java.util.Date |
getChequeDate(java.lang.String... args) |
java.lang.String |
getChequeNumber(java.lang.String... args) |
CreditCardType |
getCreditCardType(java.lang.String... args) |
Contact |
getCustomer(java.lang.String... args) |
DBTriStateOption |
getDirectDebit(java.lang.String... args) |
Person |
getDirectDebitFailureCheckedBy(java.lang.String... args) |
java.lang.String |
getDirectDebitFailureCheckedNote(java.lang.String... args) |
java.lang.String |
getDirectDebitJobQueue(java.lang.String... args) |
java.lang.String |
getDirectDebitRefCode(java.lang.String... args) |
java.lang.String |
getDirectDebitResponseCode(java.lang.String... args) |
java.lang.String |
getDirectDebitResponseText(java.lang.String... args) |
java.util.Date |
getDirectDebitSettlementDate(java.lang.String... args) |
DirectDebitStatus |
getDirectDebitStatus(java.lang.String... args) |
java.lang.String |
getDirectDebitTransRef(java.lang.String... args) |
Person |
getEnteredBy(java.lang.String... args) |
java.util.Date |
getEnterTime(java.lang.String... args) |
java.lang.String |
getEwayAuthCode(java.lang.String... args) |
java.lang.String |
getEwayOriginalRefundTrxn(java.lang.String... args) |
java.lang.String |
getEwayTrxnNumber(java.lang.String... args) |
DBTriStateOption |
getEwayTrxnStatus(java.lang.String... args) |
java.lang.String |
getEwayTxnError(java.lang.String... args) |
double |
getExpectedAmount(java.lang.String... args) |
double |
getFinanceCharge(java.lang.String... args) |
int |
getID(java.lang.String... args) |
Invoice |
getInvoiceId(java.lang.String... args) |
java.lang.String |
getIsLocked(java.lang.String... args) |
DBObject[] |
getJournalEntries()
Return all journal entries related to this invoice
|
double |
getJournalTotalIncome()
calculates the journal account total income
|
java.lang.String |
getMemo(java.lang.String... args) |
java.lang.String |
getNotes(java.lang.String... args) |
Company |
getOwnerBusUnit(java.lang.String... args) |
java.util.Date |
getPaymentDt(java.lang.String... args) |
PaymentMethod |
getPaymentMethod(java.lang.String... args) |
java.lang.String |
getPaymentNumber(java.lang.String... args) |
PaymentSource |
getPaymentSource(java.lang.String... args) |
java.lang.Object |
getPaymentType(java.lang.String... args) |
java.util.Date |
getProcessedDate(java.lang.String... args) |
ProcessStatus |
getProcessStatus(java.lang.String... args) |
double |
getRawAmount(java.lang.String... args) |
java.util.Date |
getRequestedDate(java.lang.String... args) |
java.util.Date |
getReversedDate(java.lang.String... args) |
java.lang.String |
getReversedReason(java.lang.String... args) |
java.lang.String |
getStatus()
Gets the direct debit status string for this payment
|
double |
getTaxAmount(java.lang.String... args) |
double |
getUnallocated(java.lang.String... args) |
boolean |
isDetached(java.lang.String... args) |
boolean |
isDirectDebitFailureChecked(java.lang.String... args) |
boolean |
isEmailReceipt(java.lang.String... args) |
boolean |
isLocked()
checking if locked or not
|
protected boolean |
isModifiableWhenLocked(DBField field)
Checks if modifiable when locked
|
boolean |
isReversed()
checking if reverse or not
|
boolean |
isReversedFg(java.lang.String... args) |
static DBQuery<InvoicePayment> |
makeQuery(DataSource ds)
Make a new QUERY for this class.
|
InvoicePayment |
setAccount(com.aspc.dal.layers.aspc_app.accounts.Account value,
java.lang.String... args) |
InvoicePayment |
setAuthGivenDate(java.util.Date value,
java.lang.String... args) |
InvoicePayment |
setBankAccount(com.aspc.dal.layers.aspc_app.misc.BankAccount value,
java.lang.String... args) |
InvoicePayment |
setBankAccountName(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setBankAccountNum(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setBankBSB(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setBankCardAuthNum(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setBankCardExpiry(java.util.Date value,
java.lang.String... args) |
InvoicePayment |
setBankCardName(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setBankCardNewNumber(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setBankCardNum(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setBankName(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setBankRejectReason(java.lang.Object value,
java.lang.String... args) |
InvoicePayment |
setBankStatDate(java.util.Date value,
java.lang.String... args) |
InvoicePayment |
setBsb(com.aspc.dal.layers.aspc_app.bsb.Bsb value,
java.lang.String... args) |
InvoicePayment |
setChequeDate(java.util.Date value,
java.lang.String... args) |
InvoicePayment |
setChequeNumber(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setCreditCardType(com.aspc.dal.layers.aspc_app.misc.CreditCardType value,
java.lang.String... args) |
InvoicePayment |
setCustomer(com.aspc.dal.dbobj.contact.Contact value,
java.lang.String... args) |
InvoicePayment |
setDetached(boolean value,
java.lang.String... args) |
InvoicePayment |
setDirectDebit(com.aspc.dal.dbobj.misc.DBTriStateOption value,
java.lang.String... args) |
InvoicePayment |
setDirectDebitFailureChecked(boolean value,
java.lang.String... args) |
InvoicePayment |
setDirectDebitFailureCheckedBy(com.aspc.dal.layers.aspc_app.contact.Person value,
java.lang.String... args) |
InvoicePayment |
setDirectDebitFailureCheckedNote(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setDirectDebitJobQueue(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setDirectDebitRefCode(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setDirectDebitResponseCode(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setDirectDebitResponseText(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setDirectDebitSettlementDate(java.util.Date value,
java.lang.String... args) |
InvoicePayment |
setDirectDebitStatus(com.aspc.dal.layers.aspc_app.directdebit.DirectDebitStatus value,
java.lang.String... args) |
InvoicePayment |
setDirectDebitTransRef(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setEmailReceipt(boolean value,
java.lang.String... args) |
InvoicePayment |
setEnteredBy(com.aspc.dal.layers.aspc_app.contact.Person value,
java.lang.String... args) |
InvoicePayment |
setEnterTime(java.util.Date value,
java.lang.String... args) |
InvoicePayment |
setEwayAuthCode(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setEwayOriginalRefundTrxn(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setEwayTrxnNumber(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setEwayTrxnStatus(com.aspc.dal.dbobj.misc.DBTriStateOption value,
java.lang.String... args) |
InvoicePayment |
setEwayTxnError(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setFinanceCharge(double value,
java.lang.String... args) |
InvoicePayment |
setID(int value,
java.lang.String... args) |
InvoicePayment |
setInvoiceId(com.aspc.dal.layers.aspc_app.invoice.Invoice value,
java.lang.String... args) |
InvoicePayment |
setMemo(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setNotes(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setOwnerBusUnit(com.aspc.dal.layers.aspc_app.contact.Business value,
java.lang.String... args) |
InvoicePayment |
setPaymentDt(java.util.Date value,
java.lang.String... args) |
InvoicePayment |
setPaymentMethod(com.aspc.dal.layers.aspc_app.invoice.PaymentMethod value,
java.lang.String... args) |
InvoicePayment |
setPaymentNumber(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setPaymentSource(com.aspc.dal.layers.aspc_app.invoice.PaymentSource value,
java.lang.String... args) |
InvoicePayment |
setPaymentType(java.lang.Object value,
java.lang.String... args) |
InvoicePayment |
setProcessedDate(java.util.Date value,
java.lang.String... args) |
InvoicePayment |
setProcessStatus(com.aspc.dal.layers.aspc_app.misc.ProcessStatus value,
java.lang.String... args) |
InvoicePayment |
setRawAmount(double value,
java.lang.String... args) |
InvoicePayment |
setRequestedDate(java.util.Date value,
java.lang.String... args) |
InvoicePayment |
setReversedDate(java.util.Date value,
java.lang.String... args) |
InvoicePayment |
setReversedFg(boolean value,
java.lang.String... args) |
InvoicePayment |
setReversedReason(java.lang.String value,
java.lang.String... args) |
InvoicePayment |
setTaxAmount(double value,
java.lang.String... args) |
static java.lang.String |
trimCardNumber(java.lang.String cardNumber) |
protected void |
updatePaymentNumber()
function to update payment number
|
protected void |
updateProcessedDate()
updates the processed date
|
addReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, clearCache, copy, copyFields, copyIncludeField, copyInwardLinks, delete, denormalizedResult, displayLogName, displayName, displayValue, doSearch, dump, equals, eventDataLoaded, extCanDeleteDependantObject, extCheckReadAccess, extCopy, extDelete, extDeleteRecord, extGetDerivedGlobalKey, extGetValue, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreSaveRecord, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, extSetValue, extUndelete, extValidateDelete, fetchLinkHolder, findGlobalKey, findGlobalKey, findGlobalKey, findGlobalKey, findLinkedObject, findLinkedObject, findLinkedObject, findRawData, fireEventDataLoaded, fixUp, forceLockedTransaction, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getChangedFieldInfo, getChangedFields, getDate, getDate, getDate, getDate, getDate, getDefaultValue, getDisableOnChangeEvent, getDouble, getDouble, getDouble, getDouble, getDouble, getFieldDouble, getFieldInt, getFieldLong, getFieldString, getFormattedString, getFormattedString, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getInt, getInt, getInt, getInt, getInt, getInt, getInwardLinkage, getKeyString, getKeyValue, getLinkedObject, getLinkedObject, getLinkedObject, getLinkedObjectByKey, getLinkedRowId, getLinkedRowId, getLinkedRowIdByData, getLinkHolder, getLockedTransaction, getLong, getLong, getLong, getLong, getLong, getLong, getMutableArrayValue, getMutableArrayValue, getOriginalKey, getOriginalValue, getOriginalValue, getProcessedValue, getPureValue, getRawData, getRawValue, getRawValue, getRowId, getRowKey, getSecondaryCacheGroupKey, getSrcLayerID, getString, getString, getString, getString, getString, getString, getValue, getValue, getValue, getValue, hasAutoChanged, hasAutoChanged, hasChanged, hasChangedByUser, hasChangedByUserField, hasChangedByUserField, hasFieldChanged, hasFieldChanged, hashCode, hasStoredResult, iCheckDeleteAccess, iCheckModifyAccess, iCheckReadAccess, iGetDenormalizedMap, iGetRawValue, iPlaceDenormalizedResult, iPostSaveOrDeleteRecord, iPreSaveOrDeleteRecord, iPreValidate, iRaiseEvents, iSaveOrDeleteRecord, isBrokenLink, isBrokenLink, isChanged, isDataCacheKnownToBeDirty, isDeleted, isEmpty, iSetValue, isForceReindex, isKeyWordField, isMandatory, isNew, isNull, isNull, isOnChange, isReindex, iValidateRecord, lastTouched, makeArchiveDataLoader, makeClone, makeDataLoader, makeDenormalizedDoc, makeLinkedArray, makeModifyAccessException, makeSearchPlan, makeWriteProvider, manualDenormalizeOnSave, markSavePoint, optLockedTransaction, registerWatchedObject, reindex, releaseDenormalized, removeReloadEventListener, restoreByJournal, rollbackTo, setBoolean, setBoolean, setBoolean, setBoolean, setDisableOnChangeEvent, setDouble, setDouble, setInt, setInt, setLong, setLong, setRawData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, touch, undelete, validateField, validateRecord, validateSubType
public static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public static final java.lang.String DBFIELD_EXPORT_FG
public static final java.lang.String DBFIELD_EXPORTED_TIME
public InvoicePayment(DBClass def, DataSource dataSource) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public int getID(java.lang.String... args)
@Nonnull public InvoicePayment setID(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Account getAccount(java.lang.String... args)
@CheckReturnValue @Nonnull public final Account findAccount(java.lang.String... args) throws NotFoundException
Account
(Integer, Mandatory, Searchable)args
- the optional argumentsNotFoundException
- Account was not found@Nonnull public InvoicePayment setAccount(com.aspc.dal.layers.aspc_app.accounts.Account value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getAmount(java.lang.String... args)
@CheckReturnValue @Nullable public java.util.Date getAuthGivenDate(java.lang.String... args)
@Nonnull public InvoicePayment setAuthGivenDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public BankAccount getBankAccount(java.lang.String... args)
@CheckReturnValue @Nonnull public final BankAccount findBankAccount(java.lang.String... args) throws NotFoundException
BankAccount
(Integer, Searchable)args
- the optional argumentsNotFoundException
- BankAccount was not found@Nonnull public InvoicePayment setBankAccount(com.aspc.dal.layers.aspc_app.misc.BankAccount value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBankAccountName(java.lang.String... args)
@Nonnull public InvoicePayment setBankAccountName(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBankAccountNum(java.lang.String... args)
@Nonnull public InvoicePayment setBankAccountNum(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBankBSB(java.lang.String... args)
@Nonnull public InvoicePayment setBankBSB(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBankCardAuthNum(java.lang.String... args)
@Nonnull public InvoicePayment setBankCardAuthNum(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBankCardDisplayNumber(java.lang.String... args)
@CheckReturnValue @Nullable public java.util.Date getBankCardExpiry(java.lang.String... args)
@Nonnull public InvoicePayment setBankCardExpiry(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBankCardName(java.lang.String... args)
@Nonnull public InvoicePayment setBankCardName(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBankCardNewNumber(java.lang.String... args)
@Nonnull public InvoicePayment setBankCardNewNumber(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBankCardNum(java.lang.String... args)
@Nonnull public InvoicePayment setBankCardNum(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getBankName(java.lang.String... args)
@Nonnull public InvoicePayment setBankName(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.lang.Object getBankRejectReason(java.lang.String... args)
@CheckReturnValue @Nonnull public final java.lang.Object findBankRejectReason(java.lang.String... args) throws NotFoundException
PaymentRejectReason
(String, Searchable)args
- the optional argumentsNotFoundException
- PaymentRejectReason was not found@Nonnull public InvoicePayment setBankRejectReason(java.lang.Object value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getBankStatDate(java.lang.String... args)
@Nonnull public InvoicePayment setBankStatDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Bsb getBsb(java.lang.String... args)
@CheckReturnValue @Nonnull public final Bsb findBsb(java.lang.String... args) throws NotFoundException
Bsb
(String,
Searchable)args
- the optional argumentsNotFoundException
- Bsb was not found@Nonnull public InvoicePayment setBsb(com.aspc.dal.layers.aspc_app.bsb.Bsb value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getChequeDate(java.lang.String... args)
@Nonnull public InvoicePayment setChequeDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getChequeNumber(java.lang.String... args)
@Nonnull public InvoicePayment setChequeNumber(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public CreditCardType getCreditCardType(java.lang.String... args)
@CheckReturnValue @Nonnull public final CreditCardType findCreditCardType(java.lang.String... args) throws NotFoundException
CreditCardType
(String, Searchable)args
- the optional argumentsNotFoundException
- CreditCardType was not found@Nonnull public InvoicePayment setCreditCardType(com.aspc.dal.layers.aspc_app.misc.CreditCardType value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Contact getCustomer(java.lang.String... args)
@CheckReturnValue @Nonnull public final Contact findCustomer(java.lang.String... args) throws NotFoundException
Contact
(Integer,
Mandatory, Searchable)args
- the optional argumentsNotFoundException
- Contact was not found@Nonnull public InvoicePayment setCustomer(com.aspc.dal.dbobj.contact.Contact value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isDetached(java.lang.String... args)
@Nonnull public InvoicePayment setDetached(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public DBTriStateOption getDirectDebit(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBTriStateOption findDirectDebit(java.lang.String... args) throws NotFoundException
DBTriStateOption
(String, Searchable)args
- the optional argumentsNotFoundException
- DBTriStateOption was not found@Nonnull public InvoicePayment setDirectDebit(com.aspc.dal.dbobj.misc.DBTriStateOption value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isDirectDebitFailureChecked(java.lang.String... args)
@Nonnull public InvoicePayment setDirectDebitFailureChecked(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Person getDirectDebitFailureCheckedBy(java.lang.String... args)
@CheckReturnValue @Nonnull public final Person findDirectDebitFailureCheckedBy(java.lang.String... args) throws NotFoundException
Person
(Integer, Searchable)args
- the optional argumentsNotFoundException
- Person was not found@Nonnull public InvoicePayment setDirectDebitFailureCheckedBy(com.aspc.dal.layers.aspc_app.contact.Person value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getDirectDebitFailureCheckedNote(java.lang.String... args)
@Nonnull public InvoicePayment setDirectDebitFailureCheckedNote(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getDirectDebitJobQueue(java.lang.String... args)
@Nonnull public InvoicePayment setDirectDebitJobQueue(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getDirectDebitRefCode(java.lang.String... args)
@Nonnull public InvoicePayment setDirectDebitRefCode(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getDirectDebitResponseCode(java.lang.String... args)
@Nonnull public InvoicePayment setDirectDebitResponseCode(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getDirectDebitResponseText(java.lang.String... args)
@Nonnull public InvoicePayment setDirectDebitResponseText(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getDirectDebitSettlementDate(java.lang.String... args)
@Nonnull public InvoicePayment setDirectDebitSettlementDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public DirectDebitStatus getDirectDebitStatus(java.lang.String... args)
@CheckReturnValue @Nonnull public final DirectDebitStatus findDirectDebitStatus(java.lang.String... args) throws NotFoundException
DirectDebitStatus
(String, Searchable)args
- the optional argumentsNotFoundException
- DirectDebitStatus was not found@Nonnull public InvoicePayment setDirectDebitStatus(com.aspc.dal.layers.aspc_app.directdebit.DirectDebitStatus value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getDirectDebitTransRef(java.lang.String... args)
@Nonnull public InvoicePayment setDirectDebitTransRef(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isEmailReceipt(java.lang.String... args)
@Nonnull public InvoicePayment setEmailReceipt(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getEnterTime(java.lang.String... args)
@Nonnull public InvoicePayment setEnterTime(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Person getEnteredBy(java.lang.String... args)
@CheckReturnValue @Nonnull public final Person findEnteredBy(java.lang.String... args) throws NotFoundException
Person
(Integer, Searchable)args
- the optional argumentsNotFoundException
- Person was not found@Nonnull public InvoicePayment setEnteredBy(com.aspc.dal.layers.aspc_app.contact.Person value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getEwayAuthCode(java.lang.String... args)
@Nonnull public InvoicePayment setEwayAuthCode(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getEwayOriginalRefundTrxn(java.lang.String... args)
@Nonnull public InvoicePayment setEwayOriginalRefundTrxn(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getEwayTrxnNumber(java.lang.String... args)
@Nonnull public InvoicePayment setEwayTrxnNumber(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public DBTriStateOption getEwayTrxnStatus(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBTriStateOption findEwayTrxnStatus(java.lang.String... args) throws NotFoundException
DBTriStateOption
(String, Searchable)args
- the optional argumentsNotFoundException
- DBTriStateOption was not found@Nonnull public InvoicePayment setEwayTrxnStatus(com.aspc.dal.dbobj.misc.DBTriStateOption value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getEwayTxnError(java.lang.String... args)
@Nonnull public InvoicePayment setEwayTxnError(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getExpectedAmount(java.lang.String... args)
@CheckReturnValue public double getFinanceCharge(java.lang.String... args)
@Nonnull public InvoicePayment setFinanceCharge(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Invoice getInvoiceId(java.lang.String... args)
@CheckReturnValue @Nonnull public final Invoice findInvoiceId(java.lang.String... args) throws NotFoundException
Invoice
(Integer, Searchable)args
- the optional argumentsNotFoundException
- Invoice was not found@Nonnull public InvoicePayment setInvoiceId(com.aspc.dal.layers.aspc_app.invoice.Invoice value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getIsLocked(java.lang.String... args)
@CheckReturnValue @Nonnull public java.lang.String getMemo(java.lang.String... args)
@Nonnull public InvoicePayment setMemo(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getNotes(java.lang.String... args)
@Nonnull public InvoicePayment setNotes(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Company getOwnerBusUnit(java.lang.String... args)
@CheckReturnValue @Nonnull public final Company findOwnerBusUnit(java.lang.String... args) throws NotFoundException
Business
(Integer, Searchable)args
- the optional argumentsNotFoundException
- Business was not found@Nonnull public InvoicePayment setOwnerBusUnit(com.aspc.dal.layers.aspc_app.contact.Business value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public java.util.Date getPaymentDt(java.lang.String... args)
@Nonnull public InvoicePayment setPaymentDt(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public PaymentMethod getPaymentMethod(java.lang.String... args)
@CheckReturnValue @Nonnull public final PaymentMethod findPaymentMethod(java.lang.String... args) throws NotFoundException
PaymentMethod
(String, Searchable)args
- the optional argumentsNotFoundException
- PaymentMethod was not found@Nonnull public InvoicePayment setPaymentMethod(com.aspc.dal.layers.aspc_app.invoice.PaymentMethod value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getPaymentNumber(java.lang.String... args)
@Nonnull public InvoicePayment setPaymentNumber(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public PaymentSource getPaymentSource(java.lang.String... args)
@CheckReturnValue @Nonnull public final PaymentSource findPaymentSource(java.lang.String... args) throws NotFoundException
PaymentSource
(String, Searchable)args
- the optional argumentsNotFoundException
- PaymentSource was not found@Nonnull public InvoicePayment setPaymentSource(com.aspc.dal.layers.aspc_app.invoice.PaymentSource value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.lang.Object getPaymentType(java.lang.String... args)
@CheckReturnValue @Nonnull public final java.lang.Object findPaymentType(java.lang.String... args) throws NotFoundException
PaymentType
(String, Searchable)args
- the optional argumentsNotFoundException
- PaymentType was not found@Nonnull public InvoicePayment setPaymentType(java.lang.Object value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public ProcessStatus getProcessStatus(java.lang.String... args)
@CheckReturnValue @Nonnull public final ProcessStatus findProcessStatus(java.lang.String... args) throws NotFoundException
ProcessStatus
(String, Searchable)args
- the optional argumentsNotFoundException
- ProcessStatus was not found@Nonnull public InvoicePayment setProcessStatus(com.aspc.dal.layers.aspc_app.misc.ProcessStatus value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public java.util.Date getProcessedDate(java.lang.String... args)
@Nonnull public InvoicePayment setProcessedDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getRawAmount(java.lang.String... args)
@Nonnull public InvoicePayment setRawAmount(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getRequestedDate(java.lang.String... args)
@Nonnull public InvoicePayment setRequestedDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getReversedDate(java.lang.String... args)
@Nonnull public InvoicePayment setReversedDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isReversedFg(java.lang.String... args)
@Nonnull public InvoicePayment setReversedFg(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getReversedReason(java.lang.String... args)
@Nonnull public InvoicePayment setReversedReason(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getTaxAmount(java.lang.String... args)
@Nonnull public InvoicePayment setTaxAmount(double value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public double getUnallocated(java.lang.String... args)
@Nonnull @CheckReturnValue public static InvoicePayment create(@Nonnull MutableDataSource mds) throws java.lang.Exception
mds
- the datasourcejava.lang.Exception
- an object of this class could not be created@Nonnull @CheckReturnValue public static DBQuery<InvoicePayment> makeQuery(@Nonnull DataSource ds) throws NotFoundException
ds
- the datasourceNotFoundException
- if class could not be found@Nonnull @CheckReturnValue public static InvoicePayment findKey(@Nonnull DataSource ds, int key) throws NotFoundException, java.lang.Exception
ds
- the datasourcekey
- the valueNotFoundException
- if target could not be foundjava.lang.Exception
- a serious problempublic DBObject[] getBreakDown() throws java.lang.Exception
java.lang.Exception
public DBObject[] getJournalEntries() throws java.lang.Exception
java.lang.Exception
public final boolean isLocked()
public boolean isReversed() throws NotFoundException
NotFoundException
@OverridingMethodsMustInvokeSuper protected void extAutoEnterCreate() throws java.lang.Exception
extAutoEnterCreate
in class DBObject
java.lang.Exception
- A serious problemcom.aspc.DBObj.DBObject#autoEnterCreate()
@CheckReturnValue protected boolean extIsOnChange(@Nonnull DBField field)
extIsOnChange
in class DBObject
field
- pass the field@OverridingMethodsMustInvokeSuper protected void eventFieldUpdated(@Nonnull DBField field, @Nullable java.lang.Object previous, @Nullable GlobalKey previousKey, @Nullable FldParams params) throws java.lang.Exception
eventFieldUpdated
in class DBObject
field
- The field updated.previous
- The previous value for this field.previousKey
- The previous keyparams
- The parameters usedjava.lang.Exception
- a serious problemprotected void updatePaymentNumber() throws java.lang.Exception
java.lang.Exception
- a serious problemprotected void updateProcessedDate() throws java.lang.Exception
java.lang.Exception
- an error@CheckReturnValue protected boolean extIsMandatory(@Nonnull DBField field)
extIsMandatory
in class DBObject
field
- The field to getDBObject.extIsMandatory( DBField)
@OverridingMethodsMustInvokeSuper protected void extPreValidate() throws java.lang.Exception
extPreValidate
in class DBObject
java.lang.Exception
- A serious problem@OverridingMethodsMustInvokeSuper protected void extValidateRecord(@Nonnull ValidationList list) throws java.lang.Exception
extValidateRecord
in class DBObject
list
- The validation list.java.lang.Exception
- A serious problem@OverridingMethodsMustInvokeSuper protected void extFixUp() throws java.lang.Exception
@OverridingMethodsMustInvokeSuper protected void extCheckModifyAccess() throws DBAccessException
extCheckModifyAccess
in class DBObject
DBAccessException
- No access to modify@OverridingMethodsMustInvokeSuper protected void extCheckModifyAccess(@Nonnull DBField field) throws DBAccessException
extCheckModifyAccess
in class DBObject
field
- field valueDBAccessException
- No access to modify@OverridingMethodsMustInvokeSuper protected void extCheckDeleteAccess() throws DBAccessException
extCheckDeleteAccess
in class DBObject
DBAccessException
- No access to deleteprotected boolean isModifiableWhenLocked(DBField field)
field
- field is passedprotected AccountJournalSet generateJournalSet(boolean reversal) throws java.lang.Exception
reversal
- reversal boolean valuejava.lang.Exception
- a serious problempublic double getJournalTotalIncome() throws java.lang.Exception
java.lang.Exception
public java.lang.String getStatus()
@CheckReturnValue protected java.lang.Object extGetDerivedValue(@Nonnull DBField field, @Nullable FldParams params) throws java.lang.Exception
extGetDerivedValue
in class DBObject
params
- The parameters for this field eg. language= or default=field
- The field to getjava.lang.Exception
- a serious problem@CheckReturnValue @OverridingMethodsMustInvokeSuper @Nullable protected ValidationError extValidateField(@Nonnull DBField field, @Nonnull ValidationList list) throws java.lang.Exception
extValidateField
in class DBObject
list
- The validation listfield
- The field to be validatedjava.lang.Exception
- a serious errorpublic static java.lang.String trimCardNumber(java.lang.String cardNumber)
@OverridingMethodsMustInvokeSuper protected void extCheckCreateAccess() throws DBAccessException
extCheckCreateAccess
in class DBObject
DBAccessException
- No access to createDBObject.checkCreateAccess()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.