public class SaleTerm extends org.sistema.persist.Persistent implements ISaleTerm
Constructor and Description |
---|
SaleTerm() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCreditDays() |
java.lang.Integer |
getCreditStart() |
org.sistema.cs.agenda.persist.IAccount |
getCustomerAccount() |
java.lang.Integer |
getId() |
org.sistema.cs.atlas.persist.IIncoterm |
getIncoterm() |
org.sistema.cs.agenda.persist.IAccount |
getPaymentAccount() |
org.sistema.jcs.atlas.ICurrency |
getPaymentCurrency() |
IPaymentForm |
getPaymentForm() |
void |
setCreditDays(java.lang.Integer days)
Sets the credit days of the operation
|
void |
setCreditStart(java.lang.Integer type)
Sets when to start counting the credit days
|
void |
setCustomerAccount(org.sistema.cs.agenda.persist.IAccount a)
Sets the account from which the customer plans to pay the document.
|
void |
setIncoterm(org.sistema.cs.atlas.persist.IIncoterm t) |
void |
setPaymentAccount(org.sistema.cs.agenda.persist.IAccount a)
Sets the account into which the payment should be made.
|
void |
setPaymentCurrency(org.sistema.jcs.atlas.ICurrency c)
Sets the payment form.
|
void |
setPaymentForm(IPaymentForm f)
Sets the payment form.
|
addAttribute, addAttribute, equals, getAttribute, getAttributeMaximumLength, getAttributeMinimumLength, getAttributeValue, getField, getFieldFlagValue, getFieldNames, getFields, getFieldsUnsavedElements, getFieldValue, getPrimaryKey, getValue, hasUnsavedElements, isAttributeEditable, isAttributeRequired, isAttributeVisible, isAttributeVisible, isDeletable, isDeleted, isEditable, isFieldModified, isFieldState, isModified, isModifiedBase, isNew, setAttributeValue, setDeletable, setDeleted, setFieldFlag, setFieldState, setFieldValue, setNew
public java.lang.Integer getCreditDays()
getCreditDays
in interface ISaleTerm
public java.lang.Integer getCreditStart()
getCreditStart
in interface ISaleTerm
public org.sistema.cs.agenda.persist.IAccount getCustomerAccount()
getCustomerAccount
in interface ISaleTerm
public java.lang.Integer getId()
getId
in interface org.sistema.persist.IPersistent
public org.sistema.cs.atlas.persist.IIncoterm getIncoterm()
getIncoterm
in interface ISaleTerm
public org.sistema.cs.agenda.persist.IAccount getPaymentAccount()
getPaymentAccount
in interface ISaleTerm
public org.sistema.jcs.atlas.ICurrency getPaymentCurrency()
getPaymentCurrency
in interface ISaleTerm
public IPaymentForm getPaymentForm()
getPaymentForm
in interface ISaleTerm
public void setCreditDays(java.lang.Integer days)
ISaleTerm
setCreditDays
in interface ISaleTerm
days
- Number of days.public void setCreditStart(java.lang.Integer type)
ISaleTerm
setCreditStart
in interface ISaleTerm
type
- 0 = delivery date, 1 = invoice date.public void setCustomerAccount(org.sistema.cs.agenda.persist.IAccount a)
ISaleTerm
setCustomerAccount
in interface ISaleTerm
a
- Customer accountpublic void setIncoterm(org.sistema.cs.atlas.persist.IIncoterm t)
setIncoterm
in interface ISaleTerm
public void setPaymentAccount(org.sistema.cs.agenda.persist.IAccount a)
ISaleTerm
setPaymentAccount
in interface ISaleTerm
public void setPaymentCurrency(org.sistema.jcs.atlas.ICurrency c)
ISaleTerm
setPaymentCurrency
in interface ISaleTerm
public void setPaymentForm(IPaymentForm f)
ISaleTerm
setPaymentForm
in interface ISaleTerm