atg.payment.invoicerequest
Class GenericInvoiceRequestInfo

java.lang.Object
  extended by atg.payment.invoicerequest.GenericInvoiceRequestInfo
All Implemented Interfaces:
InvoiceRequestInfo, java.io.Serializable

public class GenericInvoiceRequestInfo
extends java.lang.Object
implements InvoiceRequestInfo

This class provides a default implementation of InvoiceRequestInfo.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
GenericInvoiceRequestInfo()
           
 
Method Summary
 java.lang.Double getBalanceDue()
          Get the balance due on this invoice request.
 Address getBillingAddress()
          Get the billing address to which this invoice should be sent
 Order getOrder()
          Get the order being paid for with this invoice
 java.lang.Integer getPaymentDiscountDays()
          Get the "discount days" component of this invoice's payment terms.
 java.lang.Double getPaymentDiscountPercent()
          Get the "discount percentage" component of this invoice's payment terms.
 java.util.Date getPaymentDueDate()
          Get the date on which payment is nominally due.
 PaymentGroup getPaymentGroup()
          Get the payment group from which this InvoiceRequestInfo was created
 java.lang.Integer getPaymentNetDays()
          Get the "net days" component of this invoice's payment terms.
 java.lang.String getPONumber()
          Get the purchase order number associated with this invoice
 java.lang.String getPreferredDeliveryMode()
          Get the preferred delivery mode (email, postal mail, fax, etc) for this invoice.
 java.lang.String getPreferredFormat()
          Get the preferred delivery format (text, HTML, XML DTD specification, etc.
 void setBalanceDue(java.lang.Double pBalanceDue)
          Set the balance due on this invoice request.
 void setBillingAddress(Address pBillingAddr)
          Set the billing address to which this invoice should be sent
 void setOrder(Order pOrder)
          Set the order being paid for with this invoice
 void setPaymentDiscountDays(java.lang.Integer pPaymentDiscountDays)
          Set the "discount days" component of this invoice's payment terms.
 void setPaymentDiscountPercent(java.lang.Double pPaymentDiscountPercent)
          Set the "discount percentage" component of this invoice's payment terms.
 void setPaymentDueDate(java.util.Date pPaymentDueDate)
          Set the date on which payment is nominally due.
 void setPaymentGroup(PaymentGroup pPaymentGroup)
          Remember the payment group from which this InvoiceRequestInfo was created
 void setPaymentNetDays(java.lang.Integer pPaymentNetDays)
          Set the "net days" component of this invoice's payment terms.
 void setPONumber(java.lang.String pPONumber)
          Set the purchase order number associated with this invoice
 void setPreferredDeliveryMode(java.lang.String pPreferredDeliveryMode)
          Set the preferred delivery mode (email, postal mail, fax, etc) for this invoice.
 void setPreferredFormat(java.lang.String pPreferredFormat)
          Set the preferred delivery format (text, HTML, XML DTD specification, etc.) for this invoice.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

GenericInvoiceRequestInfo

public GenericInvoiceRequestInfo()
Method Detail

setPONumber

public void setPONumber(java.lang.String pPONumber)
Set the purchase order number associated with this invoice


getPONumber

public java.lang.String getPONumber()
Get the purchase order number associated with this invoice

Specified by:
getPONumber in interface InvoiceRequestInfo

setBillingAddress

public void setBillingAddress(Address pBillingAddr)
Set the billing address to which this invoice should be sent


getBillingAddress

public Address getBillingAddress()
Get the billing address to which this invoice should be sent

Specified by:
getBillingAddress in interface InvoiceRequestInfo

setOrder

public void setOrder(Order pOrder)
Set the order being paid for with this invoice


getOrder

public Order getOrder()
Get the order being paid for with this invoice

Specified by:
getOrder in interface InvoiceRequestInfo

setPaymentGroup

public void setPaymentGroup(PaymentGroup pPaymentGroup)
Remember the payment group from which this InvoiceRequestInfo was created


getPaymentGroup

public PaymentGroup getPaymentGroup()
Get the payment group from which this InvoiceRequestInfo was created

Specified by:
getPaymentGroup in interface InvoiceRequestInfo

setPreferredFormat

public void setPreferredFormat(java.lang.String pPreferredFormat)
Set the preferred delivery format (text, HTML, XML DTD specification, etc.) for this invoice.

The value specified here must be one of those recognized as legal for the "preferredFormat" property of the "deliveryInfo" repository item in the "Invoice" repository. Applications should typically use an instance of atg.repository.servlet.PossibleValues to obtain the list of permissible values, then present a user interface that restricts the user to choosing among these values.

See Also:
PossibleValues

getPreferredFormat

public java.lang.String getPreferredFormat()
Get the preferred delivery format (text, HTML, XML DTD specification, etc. for this invoice.

Specified by:
getPreferredFormat in interface InvoiceRequestInfo

setPreferredDeliveryMode

public void setPreferredDeliveryMode(java.lang.String pPreferredDeliveryMode)
Set the preferred delivery mode (email, postal mail, fax, etc) for this invoice.

The value specified here must be one of those recognized as legal for the "preferredDeliveryMode" property of the "deliveryInfo" repository item in the "Invoice" repository. Applications should typically use an instance of atg.repository.servlet.PossibleValues to obtain the list of permissible values, then present a user interface that restricts the user to choosing among these values.

See Also:
PossibleValues

getPreferredDeliveryMode

public java.lang.String getPreferredDeliveryMode()
Get the preferred delivery mode (email, postal mail, fax, etc) for this invoice.

Specified by:
getPreferredDeliveryMode in interface InvoiceRequestInfo

setBalanceDue

public void setBalanceDue(java.lang.Double pBalanceDue)
Set the balance due on this invoice request.


getBalanceDue

public java.lang.Double getBalanceDue()
Get the balance due on this invoice request.

Specified by:
getBalanceDue in interface InvoiceRequestInfo

setPaymentDueDate

public void setPaymentDueDate(java.util.Date pPaymentDueDate)
Set the date on which payment is nominally due.


getPaymentDueDate

public java.util.Date getPaymentDueDate()
Get the date on which payment is nominally due.

Specified by:
getPaymentDueDate in interface InvoiceRequestInfo

setPaymentNetDays

public void setPaymentNetDays(java.lang.Integer pPaymentNetDays)
Set the "net days" component of this invoice's payment terms.


getPaymentNetDays

public java.lang.Integer getPaymentNetDays()
Get the "net days" component of this invoice's payment terms.

Specified by:
getPaymentNetDays in interface InvoiceRequestInfo

setPaymentDiscountDays

public void setPaymentDiscountDays(java.lang.Integer pPaymentDiscountDays)
Set the "discount days" component of this invoice's payment terms.


getPaymentDiscountDays

public java.lang.Integer getPaymentDiscountDays()
Get the "discount days" component of this invoice's payment terms.

Specified by:
getPaymentDiscountDays in interface InvoiceRequestInfo

setPaymentDiscountPercent

public void setPaymentDiscountPercent(java.lang.Double pPaymentDiscountPercent)
Set the "discount percentage" component of this invoice's payment terms.


getPaymentDiscountPercent

public java.lang.Double getPaymentDiscountPercent()
Get the "discount percentage" component of this invoice's payment terms.

Specified by:
getPaymentDiscountPercent in interface InvoiceRequestInfo