Compiere 3.1

org.compiere.wstore
Class WebOrder

java.lang.Object
  extended by org.compiere.wstore.WebOrder

public class WebOrder
extends Object

Web Order

Version:
$Id: WebOrder.java,v 1.2 2006/07/30 00:53:21 jjanke Exp $
Author:
Jorg Janke

Field Summary
static String NAME
          Attribute Name
 
Constructor Summary
WebOrder(MOrder order)
          Constructor
WebOrder(WebUser wu, WebBasket wb, Ctx ctx)
          Constructor
 
Method Summary
 int getAD_Org_ID()
          Get Order Org ID
 int getC_Currency_ID()
          Get Currency id
 int getC_Order_ID()
          Get Order ID
 String getCurrencyISO()
          Get ISO Code of Currency
 String getDocumentNo()
          Get Document No
 BigDecimal getFreightAmt()
           
 BigDecimal getGrandTotal()
           
 int getInvoice_ID()
          Get Invoice ID
 String getInvoiceInfo()
          Get Invoice Info
protected  MOrder getOrder()
           
 int getSalesRep_ID()
           
 BigDecimal getTaxAmt()
           
 BigDecimal getTotalLines()
           
 boolean isCompleted()
          Is order completed
 boolean isInProgress()
          Is order in progress
 boolean process(MPayment payment)
          Process/Complete Order
 String toString()
          String Representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
Attribute Name

See Also:
Constant Field Values
Constructor Detail

WebOrder

public WebOrder(WebUser wu,
                WebBasket wb,
                Ctx ctx)
Constructor

Parameters:
wu - web User
wb - web basket
ctx - context

WebOrder

public WebOrder(MOrder order)
Constructor

Parameters:
order - existing order
Method Detail

toString

public String toString()
String Representation

Overrides:
toString in class Object
Returns:
info

process

public boolean process(MPayment payment)
Process/Complete Order

Parameters:
payment - payment
Returns:
true if processed

getC_Order_ID

public int getC_Order_ID()
Get Order ID

Returns:
id

getAD_Org_ID

public int getAD_Org_ID()
Get Order Org ID

Returns:
id

isCompleted

public boolean isCompleted()
Is order completed

Returns:
true if completed or closed

isInProgress

public boolean isInProgress()
Is order in progress

Returns:
true if in progress

getDocumentNo

public String getDocumentNo()
Get Document No

Returns:
Document No

getTotalLines

public BigDecimal getTotalLines()

getFreightAmt

public BigDecimal getFreightAmt()

getTaxAmt

public BigDecimal getTaxAmt()

getGrandTotal

public BigDecimal getGrandTotal()

getSalesRep_ID

public int getSalesRep_ID()

getOrder

protected MOrder getOrder()

getInvoiceInfo

public String getInvoiceInfo()
Get Invoice Info

Returns:
invoice document no

getInvoice_ID

public int getInvoice_ID()
Get Invoice ID

Returns:
C_ Invoice_ID

getC_Currency_ID

public int getC_Currency_ID()
Get Currency id

Returns:
Currency id

getCurrencyISO

public String getCurrencyISO()
Get ISO Code of Currency

Returns:
Currency ISO

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.