com.konakartadmin.app
Class AdminOrder

java.lang.Object
  extended by com.konakartadmin.app.AdminOrder
All Implemented Interfaces:
AdminObjectIf

public class AdminOrder
extends java.lang.Object
implements AdminObjectIf

Order object for the Admin App


Field Summary
private  java.lang.String affiliateId
          Id of affiliate partner
private  int billingAddrFormatId
          billingAddrFormatId
private  java.lang.String billingAddrFormatTemplate
          billingAddrFormatTemplate
private  int billingAddrId
          billingAddrId
private  java.lang.String billingCity
          billingCity
private  java.lang.String billingCompany
          billingCompany
private  java.lang.String billingCountry
          billingCountry
private  java.lang.String billingEmail
          billingEmail
private  java.lang.String billingFormattedAddress
          billingFormattedAddress
private  java.lang.String billingName
          billingName
private  java.lang.String billingPostcode
          billingPostcode
private  java.lang.String billingState
          billingState
private  java.lang.String billingStreetAddress
          billingStreetAddress
private  java.lang.String billingStreetAddress1
          billingStreetAddress1
private  java.lang.String billingSuburb
          billingSuburb
private  java.lang.String billingTelephone
          billingTelephone
private  java.lang.String billingTelephone1
          billingTelephone1
private  java.lang.String ccCVV
          credit card ccCVV
private  java.lang.String ccExpires
          ccExpires
private  java.lang.String ccNumber
          ccNumber
private  java.lang.String ccOwner
          ccOwner
private  java.lang.String ccType
          ccType
private  java.lang.String couponIds
           
private  java.lang.String creator
          Identifier of the administrator who created the order
private  AdminCurrency currency
          currency
private  java.lang.String currencyCode
          currencyCode
private  java.math.BigDecimal currencyValue
          currencyValue
private  java.lang.String custom1
          custom field
private  java.lang.String custom2
          custom field
private  java.lang.String custom3
          custom field
private  java.lang.String custom4
          custom field
private  java.lang.String custom5
          custom field
private  int customerAddrFormatId
          customerAddrFormatId
private  java.lang.String customerAddrFormatTemplate
          customerAddrFormatTemplate
private  int customerAddrId
          customerAddrId
private  java.lang.String customerCity
          customerCity
private  java.lang.String customerCompany
          customerCompany
private  java.lang.String customerCountry
          customerCountry
private  java.lang.String customerEmail
          customerEmail
private  java.lang.String customerFormattedAddress
          customerFormattedAddress
private  int customerId
          customerId
private  java.lang.String customerName
          customerName
private  java.lang.String customerPostcode
          customerPostcode
private  java.lang.String customerState
          customerState
private  java.lang.String customerStreetAddress
          customerStreetAddress
private  java.lang.String customerStreetAddress1
          customerStreetAddress1
private  java.lang.String customerSuburb
          customerSuburb
private  java.lang.String customerTelephone
          customerTelephone
private  java.lang.String customerTelephone1
          customerTelephone1
private  java.util.Date dateFinished
          dateFinished
private  java.util.Date datePurchased
          datePurchased
private  int deliveryAddrFormatId
          deliveryAddrFormatId
private  java.lang.String deliveryAddrFormatTemplate
          deliveryAddrFormatTemplate
private  int deliveryAddrId
          deliveryAddrId
private  java.lang.String deliveryCity
          deliveryCity
private  java.lang.String deliveryCompany
          deliveryCompany
private  java.lang.String deliveryCountry
          deliveryCountry
private  AdminCountry deliveryCountryObject
          delivery country object
private  java.lang.String deliveryEmail
          deliveryEmail
private  java.lang.String deliveryFormattedAddress
          deliveryFormattedAddress
private  java.lang.String deliveryName
          deliveryName
private  java.lang.String deliveryPostcode
          deliveryPostcode
private  java.lang.String deliveryState
          deliveryState
private  java.lang.String deliveryStreetAddress
          deliveryStreetAddress
private  java.lang.String deliveryStreetAddress1
          deliveryStreetAddress1
private  java.lang.String deliverySuburb
          deliverySuburb
private  java.lang.String deliveryTelephone
          deliveryTelephone
private  java.lang.String deliveryTelephone1
          deliveryTelephone1
private  AdminZone deliveryZoneObject
          delivery zone object
private  java.lang.String encKey
          encKey - for internal use only
private  java.lang.String formattedTotalIncTax
          total value of order including tax - formatted
private  int id
          id
private  java.lang.String invoiceFilename
          filename of the invoice
private  java.util.Date lastModified
          lastModified
private  java.lang.String lifecycleId
          lifecycleId - instantiated when the order is created.
private  java.lang.String locale
          Locale of the customer
private  int numProducts
          total number of products
private  java.lang.String orderNumber
          orderNumber
private  AdminOrderProduct[] orderProducts
          orderProducts
private  AdminOrderReturn[] orderReturns
          orderReturns
private  AdminOrderTotal[] orderTotals
          objects with text for order total
private  java.lang.String paymentMethod
          paymentMethod
private  java.lang.String paymentModuleCode
          The code of the shipping module used for the order (i.e.
private  int pointsAwarded
           
private  int pointsRedeemed
          Reward points
private  int pointsReservationId
           
private  java.lang.String promotionIds
          Promotion related data
private  java.lang.String shippingMethod
          shippingMethod
private  java.lang.String shippingModuleCode
          The code of the payment module used for the order (i.e.
private  AdminShippingQuote shippingQuote
          The chosen shipping method
private  java.lang.String shippingServiceCode
          shippingServiceCode
private  int status
          status
private  java.lang.String statusText
          status text
private  AdminOrderStatusHistory[] statusTrail
          objects with order status history
private  java.math.BigDecimal tax
          total tax for order
private  AdminTaxRate[] taxRateObjectArray
          An array of all of the tax rates used by this order
private  java.math.BigDecimal totalExTax
          total value of order excluding tax
private  java.math.BigDecimal totalIncTax
          total value of order including tax
private  java.lang.String trackingNumber
          The tracking number for the order
 
Constructor Summary
AdminOrder()
          Constructor
AdminOrder(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Order object from a Record object
 
Method Summary
 void calculateShippingMethod()
          The shipping method is retrieved from one of the OrderTotal records and the shippingMethod attribute is set.
 void createFormattedAddresses()
          Based on the address templates, the formatted addresses are created.
 java.lang.String getAffiliateId()
          Id of affiliate partner
 int getBillingAddrFormatId()
           
 java.lang.String getBillingAddrFormatTemplate()
           
 int getBillingAddrId()
           
 java.lang.String getBillingCity()
           
 java.lang.String getBillingCompany()
           
 java.lang.String getBillingCountry()
           
 java.lang.String getBillingEmail()
           
 java.lang.String getBillingFormattedAddress()
           
 java.lang.String getBillingName()
           
 java.lang.String getBillingPostcode()
           
 java.lang.String getBillingState()
           
 java.lang.String getBillingStreetAddress()
           
 java.lang.String getBillingStreetAddress1()
           
 java.lang.String getBillingSuburb()
           
 java.lang.String getBillingTelephone()
           
 java.lang.String getBillingTelephone1()
           
 java.lang.String getCcCVV()
           
 java.lang.String getCcExpires()
           
 java.lang.String getCcNumber()
           
 java.lang.String getCcOwner()
           
 java.lang.String getCcType()
           
 java.lang.String getCouponIds()
           
 java.lang.String getCreator()
          Identifier of the administrator who created the order
 AdminCurrency getCurrency()
           
 java.lang.String getCurrencyCode()
           
 java.math.BigDecimal getCurrencyValue()
           
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.lang.String getCustom4()
           
 java.lang.String getCustom5()
           
 int getCustomerAddrFormatId()
           
 java.lang.String getCustomerAddrFormatTemplate()
           
 int getCustomerAddrId()
           
 java.lang.String getCustomerCity()
           
 java.lang.String getCustomerCompany()
           
 java.lang.String getCustomerCountry()
           
 java.lang.String getCustomerEmail()
           
 java.lang.String getCustomerFormattedAddress()
           
 int getCustomerId()
           
 java.lang.String getCustomerName()
           
 java.lang.String getCustomerPostcode()
           
 java.lang.String getCustomerState()
           
 java.lang.String getCustomerStreetAddress()
           
 java.lang.String getCustomerStreetAddress1()
           
 java.lang.String getCustomerSuburb()
           
 java.lang.String getCustomerTelephone()
           
 java.lang.String getCustomerTelephone1()
           
 java.util.Date getDateFinished()
           
 java.util.Date getDatePurchased()
           
 int getDeliveryAddrFormatId()
           
 java.lang.String getDeliveryAddrFormatTemplate()
           
 int getDeliveryAddrId()
           
 java.lang.String getDeliveryCity()
           
 java.lang.String getDeliveryCompany()
           
 java.lang.String getDeliveryCountry()
           
 AdminCountry getDeliveryCountryObject()
           
 java.lang.String getDeliveryEmail()
           
 java.lang.String getDeliveryFormattedAddress()
           
 java.lang.String getDeliveryName()
           
 java.lang.String getDeliveryPostcode()
           
 java.lang.String getDeliveryState()
           
 java.lang.String getDeliveryStreetAddress()
           
 java.lang.String getDeliveryStreetAddress1()
           
 java.lang.String getDeliverySuburb()
           
 java.lang.String getDeliveryTelephone()
           
 java.lang.String getDeliveryTelephone1()
           
 AdminZone getDeliveryZoneObject()
           
 java.lang.String getEncKey()
           
 java.lang.String getFormattedTotalIncTax()
           
 int getId()
           
 java.lang.String getInvoiceFilename()
          The filename of the invoice (add this to the base URL or base directory path configuration parameters to get the full name)
 java.util.Date getLastModified()
           
 java.lang.String getLifecycleId()
          Instantiated when the order is created.
 java.lang.String getLocale()
          Locale of the customer
 int getNumProducts()
           
 java.lang.String getOrderNumber()
           
 AdminOrderProduct[] getOrderProducts()
           
 AdminOrderReturn[] getOrderReturns()
           
 AdminOrderTotal[] getOrderTotals()
           
 java.lang.String getPaymentMethod()
           
 java.lang.String getPaymentModuleCode()
           
 int getPointsAwarded()
           
 int getPointsRedeemed()
           
 int getPointsReservationId()
           
 java.lang.String getPromotionIds()
           
 java.lang.String getShippingMethod()
          The shipping method is retrieved from one of the OrderTotal records.
 java.lang.String getShippingModuleCode()
           
 AdminShippingQuote getShippingQuote()
           
 java.lang.String getShippingServiceCode()
           
 int getStatus()
           
 java.lang.String getStatusText()
           
 AdminOrderStatusHistory[] getStatusTrail()
           
 java.math.BigDecimal getTax()
           
 AdminTaxRate[] getTaxRateObjectArray()
           
 java.math.BigDecimal getTotalExTax()
           
 java.math.BigDecimal getTotalIncTax()
           
 java.lang.String getTrackingNumber()
           
 void setAffiliateId(java.lang.String affiliateId)
          Id of affiliate partner
 void setAllAddresses(AdminAddress addr)
          Set all of the addresses of the order (customer, delivery and billing) to the address contained in the address object parameter.
 void setBillingAddress(AdminAddress addr)
          Set the billing address to the address contained in the address object parameter.
 void setBillingAddrFormatId(int billingAddrFormatId)
           
 void setBillingAddrFormatTemplate(java.lang.String billingAddrFormatTemplate)
           
 void setBillingAddrId(int billingAddrId)
           
 void setBillingCity(java.lang.String billingCity)
           
 void setBillingCompany(java.lang.String billingCompany)
           
 void setBillingCountry(java.lang.String billingCountry)
           
 void setBillingEmail(java.lang.String billingEmail)
           
 void setBillingFormattedAddress(java.lang.String billingFormattedAddress)
           
 void setBillingName(java.lang.String billingName)
           
 void setBillingPostcode(java.lang.String billingPostcode)
           
 void setBillingState(java.lang.String billingState)
           
 void setBillingStreetAddress(java.lang.String billingStreetAddress)
           
 void setBillingStreetAddress1(java.lang.String billingStreetAddress1)
           
 void setBillingSuburb(java.lang.String billingSuburb)
           
 void setBillingTelephone(java.lang.String billingTelephone)
           
 void setBillingTelephone1(java.lang.String billingTelephone1)
           
 void setCcCVV(java.lang.String ccCVV)
           
 void setCcExpires(java.lang.String ccExpires)
           
 void setCcNumber(java.lang.String ccNumber)
           
 void setCcOwner(java.lang.String ccOwner)
           
 void setCcType(java.lang.String ccType)
           
 void setCouponIds(java.lang.String couponIds)
           
 void setCreator(java.lang.String creator)
          Identifier of the administrator who created the order
 void setCurrency(AdminCurrency currency)
           
 void setCurrencyCode(java.lang.String currencyCode)
           
 void setCurrencyValue(java.math.BigDecimal currencyValue)
           
 void setCustom1(java.lang.String custom1)
           
 void setCustom2(java.lang.String custom2)
           
 void setCustom3(java.lang.String custom3)
           
 void setCustom4(java.lang.String custom4)
           
 void setCustom5(java.lang.String custom5)
           
 void setCustomerAddress(AdminAddress addr)
          Set the customer address to the address contained in the address object parameter.
 void setCustomerAddrFormatId(int customerAddrFormatId)
           
 void setCustomerAddrFormatTemplate(java.lang.String customerAddrFormatTemplate)
           
 void setCustomerAddrId(int customerAddrId)
           
 void setCustomerCity(java.lang.String customerCity)
           
 void setCustomerCompany(java.lang.String customerCompany)
           
 void setCustomerCountry(java.lang.String customerCountry)
           
 void setCustomerDetails(AdminCustomer cust)
          Populate the order with details from the customer.
 void setCustomerEmail(java.lang.String customerEmail)
           
 void setCustomerFormattedAddress(java.lang.String customerFormattedAddress)
           
 void setCustomerId(int customerId)
           
 void setCustomerName(java.lang.String customerName)
           
 void setCustomerPostcode(java.lang.String customerPostcode)
           
 void setCustomerState(java.lang.String customerState)
           
 void setCustomerStreetAddress(java.lang.String customerStreetAddress)
           
 void setCustomerStreetAddress1(java.lang.String customerStreetAddress1)
           
 void setCustomerSuburb(java.lang.String customerSuburb)
           
 void setCustomerTelephone(java.lang.String customerTelephone)
           
 void setCustomerTelephone1(java.lang.String customerTelephone1)
           
 void setDateFinished(java.util.Date dateFinished)
           
 void setDatePurchased(java.util.Date datePurchased)
           
 void setDeliveryAddress(AdminAddress addr)
          Set the delivery address to the address contained in the address object parameter.
 void setDeliveryAddrFormatId(int deliveryAddrFormatId)
           
 void setDeliveryAddrFormatTemplate(java.lang.String deliveryAddrFormatTemplate)
           
 void setDeliveryAddrId(int deliveryAddrId)
           
 void setDeliveryCity(java.lang.String deliveryCity)
           
 void setDeliveryCompany(java.lang.String deliveryCompany)
           
 void setDeliveryCountry(java.lang.String deliveryCountry)
           
 void setDeliveryCountryObject(AdminCountry deliveryCountryObject)
           
 void setDeliveryEmail(java.lang.String deliveryEmail)
           
 void setDeliveryFormattedAddress(java.lang.String deliveryFormattedAddress)
           
 void setDeliveryName(java.lang.String deliveryName)
           
 void setDeliveryPostcode(java.lang.String deliveryPostcode)
           
 void setDeliveryState(java.lang.String deliveryState)
           
 void setDeliveryStreetAddress(java.lang.String deliveryStreetAddress)
           
 void setDeliveryStreetAddress1(java.lang.String deliveryStreetAddress1)
           
 void setDeliverySuburb(java.lang.String deliverySuburb)
           
 void setDeliveryTelephone(java.lang.String deliveryTelephone)
           
 void setDeliveryTelephone1(java.lang.String deliveryTelephone1)
           
 void setDeliveryZoneObject(AdminZone deliveryZoneObject)
           
 void setEncKey(java.lang.String encKey)
           
 void setFormattedTotalIncTax(java.lang.String formattedTotalIncTax)
           
 void setId(int id)
           
 void setInvoiceFilename(java.lang.String invoiceFilename)
          The filename of the invoice
 void setLastModified(java.util.Date lastModified)
           
 void setLifecycleId(java.lang.String lifecycleId)
          Instantiated when the order is created.
 void setLocale(java.lang.String locale)
          Locale of the customer
 void setNumProducts(int numProducts)
           
 void setOrderNumber(java.lang.String orderNumber)
           
 void setOrderProducts(AdminOrderProduct[] orderProducts)
           
 void setOrderReturns(AdminOrderReturn[] orderReturns)
           
 void setOrderTotals(AdminOrderTotal[] orderTotals)
           
 void setPaymentMethod(java.lang.String paymentMethod)
           
 void setPaymentModuleCode(java.lang.String paymentModuleCode)
           
 void setPointsAwarded(int pointsAwarded)
           
 void setPointsRedeemed(int pointsRedeemed)
           
 void setPointsReservationId(int pointsReservationId)
           
 void setPromotionIds(java.lang.String promotionIds)
           
 void setShippingMethod(java.lang.String shippingMethod)
           
 void setShippingModuleCode(java.lang.String shippingModuleCode)
           
 void setShippingQuote(AdminShippingQuote shippingQuote)
           
 void setShippingServiceCode(java.lang.String shippingServiceCode)
           
 void setStatus(int status)
           
 void setStatusText(java.lang.String statusText)
           
 void setStatusTrail(AdminOrderStatusHistory[] statusTrail)
           
 void setTax(java.math.BigDecimal tax)
           
 void setTaxRateObjectArray(AdminTaxRate[] taxRateObjectArray)
           
 void setTotalExTax(java.math.BigDecimal totalExTax)
           
 void setTotalIncTax(java.math.BigDecimal totalIncTax)
           
 void setTrackingNumber(java.lang.String trackingNumber)
           
 java.lang.String toString()
           
 java.lang.String toStringBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private int id
id


orderNumber

private java.lang.String orderNumber
orderNumber


lifecycleId

private java.lang.String lifecycleId
lifecycleId - instantiated when the order is created.


customerId

private int customerId
customerId


customerName

private java.lang.String customerName
customerName


customerCompany

private java.lang.String customerCompany
customerCompany


customerAddrId

private int customerAddrId
customerAddrId


customerStreetAddress

private java.lang.String customerStreetAddress
customerStreetAddress


customerStreetAddress1

private java.lang.String customerStreetAddress1
customerStreetAddress1


customerSuburb

private java.lang.String customerSuburb
customerSuburb


customerCity

private java.lang.String customerCity
customerCity


customerPostcode

private java.lang.String customerPostcode
customerPostcode


customerState

private java.lang.String customerState
customerState


customerCountry

private java.lang.String customerCountry
customerCountry


customerTelephone

private java.lang.String customerTelephone
customerTelephone


customerTelephone1

private java.lang.String customerTelephone1
customerTelephone1


customerEmail

private java.lang.String customerEmail
customerEmail


customerAddrFormatId

private int customerAddrFormatId
customerAddrFormatId


customerAddrFormatTemplate

private java.lang.String customerAddrFormatTemplate
customerAddrFormatTemplate


customerFormattedAddress

private java.lang.String customerFormattedAddress
customerFormattedAddress


shippingMethod

private java.lang.String shippingMethod
shippingMethod


deliveryName

private java.lang.String deliveryName
deliveryName


deliveryCompany

private java.lang.String deliveryCompany
deliveryCompany


deliveryAddrId

private int deliveryAddrId
deliveryAddrId


deliveryStreetAddress

private java.lang.String deliveryStreetAddress
deliveryStreetAddress


deliveryStreetAddress1

private java.lang.String deliveryStreetAddress1
deliveryStreetAddress1


deliverySuburb

private java.lang.String deliverySuburb
deliverySuburb


deliveryCity

private java.lang.String deliveryCity
deliveryCity


deliveryPostcode

private java.lang.String deliveryPostcode
deliveryPostcode


deliveryState

private java.lang.String deliveryState
deliveryState


deliveryCountry

private java.lang.String deliveryCountry
deliveryCountry


deliveryTelephone

private java.lang.String deliveryTelephone
deliveryTelephone


deliveryTelephone1

private java.lang.String deliveryTelephone1
deliveryTelephone1


deliveryEmail

private java.lang.String deliveryEmail
deliveryEmail


deliveryAddrFormatId

private int deliveryAddrFormatId
deliveryAddrFormatId


deliveryAddrFormatTemplate

private java.lang.String deliveryAddrFormatTemplate
deliveryAddrFormatTemplate


deliveryFormattedAddress

private java.lang.String deliveryFormattedAddress
deliveryFormattedAddress


deliveryCountryObject

private AdminCountry deliveryCountryObject
delivery country object


deliveryZoneObject

private AdminZone deliveryZoneObject
delivery zone object


billingName

private java.lang.String billingName
billingName


billingCompany

private java.lang.String billingCompany
billingCompany


billingAddrId

private int billingAddrId
billingAddrId


billingStreetAddress

private java.lang.String billingStreetAddress
billingStreetAddress


billingStreetAddress1

private java.lang.String billingStreetAddress1
billingStreetAddress1


billingSuburb

private java.lang.String billingSuburb
billingSuburb


billingCity

private java.lang.String billingCity
billingCity


billingPostcode

private java.lang.String billingPostcode
billingPostcode


billingState

private java.lang.String billingState
billingState


billingCountry

private java.lang.String billingCountry
billingCountry


billingTelephone

private java.lang.String billingTelephone
billingTelephone


billingTelephone1

private java.lang.String billingTelephone1
billingTelephone1


billingEmail

private java.lang.String billingEmail
billingEmail


billingAddrFormatId

private int billingAddrFormatId
billingAddrFormatId


billingAddrFormatTemplate

private java.lang.String billingAddrFormatTemplate
billingAddrFormatTemplate


billingFormattedAddress

private java.lang.String billingFormattedAddress
billingFormattedAddress


paymentMethod

private java.lang.String paymentMethod
paymentMethod


ccType

private java.lang.String ccType
ccType


ccOwner

private java.lang.String ccOwner
ccOwner


ccNumber

private java.lang.String ccNumber
ccNumber


ccExpires

private java.lang.String ccExpires
ccExpires


ccCVV

private java.lang.String ccCVV
credit card ccCVV


lastModified

private java.util.Date lastModified
lastModified


datePurchased

private java.util.Date datePurchased
datePurchased


status

private int status
status


statusText

private java.lang.String statusText
status text


dateFinished

private java.util.Date dateFinished
dateFinished


currencyCode

private java.lang.String currencyCode
currencyCode


currency

private AdminCurrency currency
currency


currencyValue

private java.math.BigDecimal currencyValue
currencyValue


orderProducts

private AdminOrderProduct[] orderProducts
orderProducts


orderReturns

private AdminOrderReturn[] orderReturns
orderReturns


totalExTax

private java.math.BigDecimal totalExTax
total value of order excluding tax


totalIncTax

private java.math.BigDecimal totalIncTax
total value of order including tax


formattedTotalIncTax

private java.lang.String formattedTotalIncTax
total value of order including tax - formatted


tax

private java.math.BigDecimal tax
total tax for order


taxRateObjectArray

private AdminTaxRate[] taxRateObjectArray
An array of all of the tax rates used by this order


numProducts

private int numProducts
total number of products


shippingQuote

private AdminShippingQuote shippingQuote
The chosen shipping method


orderTotals

private AdminOrderTotal[] orderTotals
objects with text for order total


statusTrail

private AdminOrderStatusHistory[] statusTrail
objects with order status history


custom1

private java.lang.String custom1
custom field


custom2

private java.lang.String custom2
custom field


custom3

private java.lang.String custom3
custom field


custom4

private java.lang.String custom4
custom field


custom5

private java.lang.String custom5
custom field


encKey

private java.lang.String encKey
encKey - for internal use only


promotionIds

private java.lang.String promotionIds
Promotion related data


couponIds

private java.lang.String couponIds

paymentModuleCode

private java.lang.String paymentModuleCode
The code of the shipping module used for the order (i.e. flat, free, ups)


shippingModuleCode

private java.lang.String shippingModuleCode
The code of the payment module used for the order (i.e. cod, worldpay, paypal)


shippingServiceCode

private java.lang.String shippingServiceCode
shippingServiceCode


trackingNumber

private java.lang.String trackingNumber
The tracking number for the order


pointsRedeemed

private int pointsRedeemed
Reward points


pointsAwarded

private int pointsAwarded

pointsReservationId

private int pointsReservationId

locale

private java.lang.String locale
Locale of the customer


invoiceFilename

private java.lang.String invoiceFilename
filename of the invoice


creator

private java.lang.String creator
Identifier of the administrator who created the order


affiliateId

private java.lang.String affiliateId
Id of affiliate partner

Constructor Detail

AdminOrder

public AdminOrder()
Constructor


AdminOrder

public AdminOrder(com.workingdogs.village.Record vr,
                  org.apache.torque.util.Criteria c)
           throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Order object from a Record object

Parameters:
vr - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in interface AdminObjectIf
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the Order object.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing the attributes of the Order object.

setAllAddresses

public void setAllAddresses(AdminAddress addr)
Set all of the addresses of the order (customer, delivery and billing) to the address contained in the address object parameter.

Parameters:
addr -

calculateShippingMethod

public void calculateShippingMethod()
The shipping method is retrieved from one of the OrderTotal records and the shippingMethod attribute is set.


createFormattedAddresses

public void createFormattedAddresses()
Based on the address templates, the formatted addresses are created. An example template is :
$firstname $lastname$cr$company$cr$streets$cr$city, $postcode$cr$state, $country$crtel: $telephone $telephone1$cremail: $email
Valid template attributes are: Note that streets is customerStreetAddress + line break + customerSuburb .


setCustomerAddress

public void setCustomerAddress(AdminAddress addr)
Set the customer address to the address contained in the address object parameter.

Parameters:
addr -

setDeliveryAddress

public void setDeliveryAddress(AdminAddress addr)
Set the delivery address to the address contained in the address object parameter.

Parameters:
addr -

setBillingAddress

public void setBillingAddress(AdminAddress addr)
Set the billing address to the address contained in the address object parameter.

Parameters:
addr -

setCustomerDetails

public void setCustomerDetails(AdminCustomer cust)
Populate the order with details from the customer. The details are:
  • The details are:
    • Telephone number
    • Email address
  • Parameters:
    cust -

    getShippingMethod

    public java.lang.String getShippingMethod()
    The shipping method is retrieved from one of the OrderTotal records.

    Returns:
    Return the ShippingMethod

    getBillingCity

    public java.lang.String getBillingCity()
    Returns:
    Returns the billingCity.

    setBillingCity

    public void setBillingCity(java.lang.String billingCity)
    Parameters:
    billingCity - The billingCity to set.

    getBillingCompany

    public java.lang.String getBillingCompany()
    Returns:
    Returns the billingCompany.

    setBillingCompany

    public void setBillingCompany(java.lang.String billingCompany)
    Parameters:
    billingCompany - The billingCompany to set.

    getBillingCountry

    public java.lang.String getBillingCountry()
    Returns:
    Returns the billingCountry.

    setBillingCountry

    public void setBillingCountry(java.lang.String billingCountry)
    Parameters:
    billingCountry - The billingCountry to set.

    getBillingName

    public java.lang.String getBillingName()
    Returns:
    Returns the billingName.

    setBillingName

    public void setBillingName(java.lang.String billingName)
    Parameters:
    billingName - The billingName to set.

    getBillingPostcode

    public java.lang.String getBillingPostcode()
    Returns:
    Returns the billingPostcode.

    setBillingPostcode

    public void setBillingPostcode(java.lang.String billingPostcode)
    Parameters:
    billingPostcode - The billingPostcode to set.

    getBillingState

    public java.lang.String getBillingState()
    Returns:
    Returns the billingState.

    setBillingState

    public void setBillingState(java.lang.String billingState)
    Parameters:
    billingState - The billingState to set.

    getBillingStreetAddress

    public java.lang.String getBillingStreetAddress()
    Returns:
    Returns the billingStreetAddress.

    setBillingStreetAddress

    public void setBillingStreetAddress(java.lang.String billingStreetAddress)
    Parameters:
    billingStreetAddress - The billingStreetAddress to set.

    getBillingSuburb

    public java.lang.String getBillingSuburb()
    Returns:
    Returns the billingSuburb.

    setBillingSuburb

    public void setBillingSuburb(java.lang.String billingSuburb)
    Parameters:
    billingSuburb - The billingSuburb to set.

    getCcExpires

    public java.lang.String getCcExpires()
    Returns:
    Returns the ccExpires.

    setCcExpires

    public void setCcExpires(java.lang.String ccExpires)
    Parameters:
    ccExpires - The ccExpires to set.

    getCcNumber

    public java.lang.String getCcNumber()
    Returns:
    Returns the ccNumber.

    setCcNumber

    public void setCcNumber(java.lang.String ccNumber)
    Parameters:
    ccNumber - The ccNumber to set.

    getCcOwner

    public java.lang.String getCcOwner()
    Returns:
    Returns the ccOwner.

    setCcOwner

    public void setCcOwner(java.lang.String ccOwner)
    Parameters:
    ccOwner - The ccOwner to set.

    getCcType

    public java.lang.String getCcType()
    Returns:
    Returns the ccType.

    setCcType

    public void setCcType(java.lang.String ccType)
    Parameters:
    ccType - The ccType to set.

    getCurrencyValue

    public java.math.BigDecimal getCurrencyValue()
    Returns:
    Returns the currencyValue.

    setCurrencyValue

    public void setCurrencyValue(java.math.BigDecimal currencyValue)
    Parameters:
    currencyValue - The currencyValue to set.

    getCustomerCity

    public java.lang.String getCustomerCity()
    Returns:
    Returns the customerCity.

    setCustomerCity

    public void setCustomerCity(java.lang.String customerCity)
    Parameters:
    customerCity - The customerCity to set.

    getCustomerCompany

    public java.lang.String getCustomerCompany()
    Returns:
    Returns the customerCompany.

    setCustomerCompany

    public void setCustomerCompany(java.lang.String customerCompany)
    Parameters:
    customerCompany - The customerCompany to set.

    getCustomerCountry

    public java.lang.String getCustomerCountry()
    Returns:
    Returns the customerCountry.

    setCustomerCountry

    public void setCustomerCountry(java.lang.String customerCountry)
    Parameters:
    customerCountry - The customerCountry to set.

    getCustomerEmail

    public java.lang.String getCustomerEmail()
    Returns:
    Returns the customerEmail.

    setCustomerEmail

    public void setCustomerEmail(java.lang.String customerEmail)
    Parameters:
    customerEmail - The customerEmail to set.

    getCustomerName

    public java.lang.String getCustomerName()
    Returns:
    Returns the customerName.

    setCustomerName

    public void setCustomerName(java.lang.String customerName)
    Parameters:
    customerName - The customerName to set.

    getCustomerPostcode

    public java.lang.String getCustomerPostcode()
    Returns:
    Returns the customerPostcode.

    setCustomerPostcode

    public void setCustomerPostcode(java.lang.String customerPostcode)
    Parameters:
    customerPostcode - The customerPostcode to set.

    getCustomerState

    public java.lang.String getCustomerState()
    Returns:
    Returns the customerState.

    setCustomerState

    public void setCustomerState(java.lang.String customerState)
    Parameters:
    customerState - The customerState to set.

    getCustomerStreetAddress

    public java.lang.String getCustomerStreetAddress()
    Returns:
    Returns the customerStreetAddress.

    setCustomerStreetAddress

    public void setCustomerStreetAddress(java.lang.String customerStreetAddress)
    Parameters:
    customerStreetAddress - The customerStreetAddress to set.

    getCustomerSuburb

    public java.lang.String getCustomerSuburb()
    Returns:
    Returns the customerSuburb.

    setCustomerSuburb

    public void setCustomerSuburb(java.lang.String customerSuburb)
    Parameters:
    customerSuburb - The customerSuburb to set.

    getCustomerTelephone

    public java.lang.String getCustomerTelephone()
    Returns:
    Returns the customerTelephone.

    setCustomerTelephone

    public void setCustomerTelephone(java.lang.String customerTelephone)
    Parameters:
    customerTelephone - The customerTelephone to set.

    getDateFinished

    public java.util.Date getDateFinished()
    Returns:
    Returns the dateFinished.

    setDateFinished

    public void setDateFinished(java.util.Date dateFinished)
    Parameters:
    dateFinished - The dateFinished to set.

    getDatePurchased

    public java.util.Date getDatePurchased()
    Returns:
    Returns the datePurchased.

    setDatePurchased

    public void setDatePurchased(java.util.Date datePurchased)
    Parameters:
    datePurchased - The datePurchased to set.

    getDeliveryCity

    public java.lang.String getDeliveryCity()
    Returns:
    Returns the deliveryCity.

    setDeliveryCity

    public void setDeliveryCity(java.lang.String deliveryCity)
    Parameters:
    deliveryCity - The deliveryCity to set.

    getDeliveryCompany

    public java.lang.String getDeliveryCompany()
    Returns:
    Returns the deliveryCompany.

    setDeliveryCompany

    public void setDeliveryCompany(java.lang.String deliveryCompany)
    Parameters:
    deliveryCompany - The deliveryCompany to set.

    getDeliveryCountry

    public java.lang.String getDeliveryCountry()
    Returns:
    Returns the deliveryCountry.

    setDeliveryCountry

    public void setDeliveryCountry(java.lang.String deliveryCountry)
    Parameters:
    deliveryCountry - The deliveryCountry to set.

    getDeliveryName

    public java.lang.String getDeliveryName()
    Returns:
    Returns the deliveryName.

    setDeliveryName

    public void setDeliveryName(java.lang.String deliveryName)
    Parameters:
    deliveryName - The deliveryName to set.

    getDeliveryPostcode

    public java.lang.String getDeliveryPostcode()
    Returns:
    Returns the deliveryPostcode.

    setDeliveryPostcode

    public void setDeliveryPostcode(java.lang.String deliveryPostcode)
    Parameters:
    deliveryPostcode - The deliveryPostcode to set.

    getDeliveryState

    public java.lang.String getDeliveryState()
    Returns:
    Returns the deliveryState.

    setDeliveryState

    public void setDeliveryState(java.lang.String deliveryState)
    Parameters:
    deliveryState - The deliveryState to set.

    getDeliveryStreetAddress

    public java.lang.String getDeliveryStreetAddress()
    Returns:
    Returns the deliveryStreetAddress.

    setDeliveryStreetAddress

    public void setDeliveryStreetAddress(java.lang.String deliveryStreetAddress)
    Parameters:
    deliveryStreetAddress - The deliveryStreetAddress to set.

    getDeliverySuburb

    public java.lang.String getDeliverySuburb()
    Returns:
    Returns the deliverySuburb.

    setDeliverySuburb

    public void setDeliverySuburb(java.lang.String deliverySuburb)
    Parameters:
    deliverySuburb - The deliverySuburb to set.

    getId

    public int getId()
    Specified by:
    getId in interface AdminObjectIf
    Returns:
    Returns the id.

    setId

    public void setId(int id)
    Specified by:
    setId in interface AdminObjectIf
    Parameters:
    id - The id to set.

    getLastModified

    public java.util.Date getLastModified()
    Returns:
    Returns the lastModified.

    setLastModified

    public void setLastModified(java.util.Date lastModified)
    Parameters:
    lastModified - The lastModified to set.

    getPaymentMethod

    public java.lang.String getPaymentMethod()
    Returns:
    Returns the paymentMethod.

    setPaymentMethod

    public void setPaymentMethod(java.lang.String paymentMethod)
    Parameters:
    paymentMethod - The paymentMethod to set.

    getStatus

    public int getStatus()
    Returns:
    Returns the status.

    setStatus

    public void setStatus(int status)
    Parameters:
    status - The status to set.

    getCustomerId

    public int getCustomerId()
    Returns:
    Returns the customerId.

    setCustomerId

    public void setCustomerId(int customerId)
    Parameters:
    customerId - The customerId to set.

    getBillingAddrFormatId

    public int getBillingAddrFormatId()
    Returns:
    Returns the billingAddrFormatId.

    setBillingAddrFormatId

    public void setBillingAddrFormatId(int billingAddrFormatId)
    Parameters:
    billingAddrFormatId - The billingAddrFormatId to set.

    getCustomerAddrFormatId

    public int getCustomerAddrFormatId()
    Returns:
    Returns the customerAddrFormatId.

    setCustomerAddrFormatId

    public void setCustomerAddrFormatId(int customerAddrFormatId)
    Parameters:
    customerAddrFormatId - The customerAddrFormatId to set.

    getDeliveryAddrFormatId

    public int getDeliveryAddrFormatId()
    Returns:
    Returns the deliveryAddrFormatId.

    setDeliveryAddrFormatId

    public void setDeliveryAddrFormatId(int deliveryAddrFormatId)
    Parameters:
    deliveryAddrFormatId - The deliveryAddrFormatId to set.

    getOrderProducts

    public AdminOrderProduct[] getOrderProducts()
    Returns:
    Returns the orderProducts.

    setOrderProducts

    public void setOrderProducts(AdminOrderProduct[] orderProducts)
    Parameters:
    orderProducts - The orderProducts to set.

    getBillingFormattedAddress

    public java.lang.String getBillingFormattedAddress()
    Returns:
    Returns the billingFormattedAddress.

    setBillingFormattedAddress

    public void setBillingFormattedAddress(java.lang.String billingFormattedAddress)
    Parameters:
    billingFormattedAddress - The billingFormattedAddress to set.

    getCustomerFormattedAddress

    public java.lang.String getCustomerFormattedAddress()
    Returns:
    Returns the customerFormattedAddress.

    setCustomerFormattedAddress

    public void setCustomerFormattedAddress(java.lang.String customerFormattedAddress)
    Parameters:
    customerFormattedAddress - The customerFormattedAddress to set.

    getDeliveryFormattedAddress

    public java.lang.String getDeliveryFormattedAddress()
    Returns:
    Returns the deliveryFormattedAddress.

    setDeliveryFormattedAddress

    public void setDeliveryFormattedAddress(java.lang.String deliveryFormattedAddress)
    Parameters:
    deliveryFormattedAddress - The deliveryFormattedAddress to set.

    getStatusText

    public java.lang.String getStatusText()
    Returns:
    Returns the statusText.

    setStatusText

    public void setStatusText(java.lang.String statusText)
    Parameters:
    statusText - The statusText to set.

    getTax

    public java.math.BigDecimal getTax()
    Returns:
    Returns the tax.

    setTax

    public void setTax(java.math.BigDecimal tax)
    Parameters:
    tax - The tax to set.

    getNumProducts

    public int getNumProducts()
    Returns:
    Returns the numProducts.

    setNumProducts

    public void setNumProducts(int numProducts)
    Parameters:
    numProducts - The numProducts to set.

    getBillingAddrFormatTemplate

    public java.lang.String getBillingAddrFormatTemplate()
    Returns:
    Returns the billingAddrFormatTemplate.

    setBillingAddrFormatTemplate

    public void setBillingAddrFormatTemplate(java.lang.String billingAddrFormatTemplate)
    Parameters:
    billingAddrFormatTemplate - The billingAddrFormatTemplate to set.

    getCustomerAddrFormatTemplate

    public java.lang.String getCustomerAddrFormatTemplate()
    Returns:
    Returns the customerAddrFormatTemplate.

    setCustomerAddrFormatTemplate

    public void setCustomerAddrFormatTemplate(java.lang.String customerAddrFormatTemplate)
    Parameters:
    customerAddrFormatTemplate - The customerAddrFormatTemplate to set.

    getDeliveryAddrFormatTemplate

    public java.lang.String getDeliveryAddrFormatTemplate()
    Returns:
    Returns the deliveryAddrFormatTemplate.

    setDeliveryAddrFormatTemplate

    public void setDeliveryAddrFormatTemplate(java.lang.String deliveryAddrFormatTemplate)
    Parameters:
    deliveryAddrFormatTemplate - The deliveryAddrFormatTemplate to set.

    getOrderTotals

    public AdminOrderTotal[] getOrderTotals()
    Returns:
    Returns the orderTotals.

    setOrderTotals

    public void setOrderTotals(AdminOrderTotal[] orderTotals)
    Parameters:
    orderTotals - The orderTotals to set.

    getStatusTrail

    public AdminOrderStatusHistory[] getStatusTrail()
    Returns:
    Returns the statusTrail.

    setStatusTrail

    public void setStatusTrail(AdminOrderStatusHistory[] statusTrail)
    Parameters:
    statusTrail - The statusTrail to set.

    getBillingAddrId

    public int getBillingAddrId()
    Returns:
    Returns the billingAddrId.

    setBillingAddrId

    public void setBillingAddrId(int billingAddrId)
    Parameters:
    billingAddrId - The billingAddrId to set.

    getCustomerAddrId

    public int getCustomerAddrId()
    Returns:
    Returns the customerAddrId.

    setCustomerAddrId

    public void setCustomerAddrId(int customerAddrId)
    Parameters:
    customerAddrId - The customerAddrId to set.

    getDeliveryAddrId

    public int getDeliveryAddrId()
    Returns:
    Returns the deliveryAddrId.

    setDeliveryAddrId

    public void setDeliveryAddrId(int deliveryAddrId)
    Parameters:
    deliveryAddrId - The deliveryAddrId to set.

    getDeliveryCountryObject

    public AdminCountry getDeliveryCountryObject()
    Returns:
    Returns the deliveryCountryObject.

    setDeliveryCountryObject

    public void setDeliveryCountryObject(AdminCountry deliveryCountryObject)
    Parameters:
    deliveryCountryObject - The deliveryCountryObject to set.

    getDeliveryZoneObject

    public AdminZone getDeliveryZoneObject()
    Returns:
    Returns the deliveryZoneObject.

    setDeliveryZoneObject

    public void setDeliveryZoneObject(AdminZone deliveryZoneObject)
    Parameters:
    deliveryZoneObject - The deliveryZoneObject to set.

    getTotalExTax

    public java.math.BigDecimal getTotalExTax()
    Returns:
    Returns the totalExTax.

    setTotalExTax

    public void setTotalExTax(java.math.BigDecimal totalExTax)
    Parameters:
    totalExTax - The totalExTax to set.

    getTotalIncTax

    public java.math.BigDecimal getTotalIncTax()
    Returns:
    Returns the totalIncTax.

    setTotalIncTax

    public void setTotalIncTax(java.math.BigDecimal totalIncTax)
    Parameters:
    totalIncTax - The totalIncTax to set.

    getShippingQuote

    public AdminShippingQuote getShippingQuote()
    Returns:
    Returns the shippingQuote.

    setShippingQuote

    public void setShippingQuote(AdminShippingQuote shippingQuote)
    Parameters:
    shippingQuote - The shippingQuote to set.

    getCurrencyCode

    public java.lang.String getCurrencyCode()
    Returns:
    Returns the currencyCode.

    setCurrencyCode

    public void setCurrencyCode(java.lang.String currencyCode)
    Parameters:
    currencyCode - The currencyCode to set.

    getCurrency

    public AdminCurrency getCurrency()
    Returns:
    Returns the currency.

    setCurrency

    public void setCurrency(AdminCurrency currency)
    Parameters:
    currency - The currency to set.

    getTaxRateObjectArray

    public AdminTaxRate[] getTaxRateObjectArray()
    Returns:
    Returns the taxRateObjectArray.

    setTaxRateObjectArray

    public void setTaxRateObjectArray(AdminTaxRate[] taxRateObjectArray)
    Parameters:
    taxRateObjectArray - The taxRateObjectArray to set.

    getFormattedTotalIncTax

    public java.lang.String getFormattedTotalIncTax()
    Returns:
    Returns the formattedTotalIncTax.

    setFormattedTotalIncTax

    public void setFormattedTotalIncTax(java.lang.String formattedTotalIncTax)
    Parameters:
    formattedTotalIncTax - The formattedTotalIncTax to set.

    setShippingMethod

    public void setShippingMethod(java.lang.String shippingMethod)
    Parameters:
    shippingMethod - The shippingMethod to set.

    getCustom1

    public java.lang.String getCustom1()
    Returns:
    Returns the custom1.

    setCustom1

    public void setCustom1(java.lang.String custom1)
    Parameters:
    custom1 - The custom1 to set.

    getCustom2

    public java.lang.String getCustom2()
    Returns:
    Returns the custom2.

    setCustom2

    public void setCustom2(java.lang.String custom2)
    Parameters:
    custom2 - The custom2 to set.

    getCustom3

    public java.lang.String getCustom3()
    Returns:
    Returns the custom3.

    setCustom3

    public void setCustom3(java.lang.String custom3)
    Parameters:
    custom3 - The custom3 to set.

    getCustom4

    public java.lang.String getCustom4()
    Returns:
    Returns the custom4.

    setCustom4

    public void setCustom4(java.lang.String custom4)
    Parameters:
    custom4 - The custom4 to set.

    getCustom5

    public java.lang.String getCustom5()
    Returns:
    Returns the custom5.

    setCustom5

    public void setCustom5(java.lang.String custom5)
    Parameters:
    custom5 - The custom5 to set.

    getCouponIds

    public java.lang.String getCouponIds()
    Returns:
    Returns the couponIds.

    setCouponIds

    public void setCouponIds(java.lang.String couponIds)
    Parameters:
    couponIds - The couponIds to set.

    getPromotionIds

    public java.lang.String getPromotionIds()
    Returns:
    Returns the promotionIds.

    setPromotionIds

    public void setPromotionIds(java.lang.String promotionIds)
    Parameters:
    promotionIds - The promotionIds to set.

    getOrderReturns

    public AdminOrderReturn[] getOrderReturns()
    Returns:
    Returns the orderReturns.

    setOrderReturns

    public void setOrderReturns(AdminOrderReturn[] orderReturns)
    Parameters:
    orderReturns - The orderReturns to set.

    getPaymentModuleCode

    public java.lang.String getPaymentModuleCode()
    Returns:
    Returns the paymentModuleCode.

    setPaymentModuleCode

    public void setPaymentModuleCode(java.lang.String paymentModuleCode)
    Parameters:
    paymentModuleCode - The paymentModuleCode to set.

    getShippingModuleCode

    public java.lang.String getShippingModuleCode()
    Returns:
    Returns the shippingModuleCode.

    setShippingModuleCode

    public void setShippingModuleCode(java.lang.String shippingModuleCode)
    Parameters:
    shippingModuleCode - The shippingModuleCode to set.

    getEncKey

    public java.lang.String getEncKey()
    Returns:
    the encKey

    setEncKey

    public void setEncKey(java.lang.String encKey)
    Parameters:
    encKey - the encKey to set

    getCcCVV

    public java.lang.String getCcCVV()
    Returns:
    the ccCVV

    setCcCVV

    public void setCcCVV(java.lang.String ccCVV)
    Parameters:
    ccCVV - the ccCVV to set

    getOrderNumber

    public java.lang.String getOrderNumber()
    Returns:
    Returns the orderNumber.

    setOrderNumber

    public void setOrderNumber(java.lang.String orderNumber)
    Parameters:
    orderNumber - The orderNumber to set.

    getTrackingNumber

    public java.lang.String getTrackingNumber()
    Returns:
    the trackingNumber

    setTrackingNumber

    public void setTrackingNumber(java.lang.String trackingNumber)
    Parameters:
    trackingNumber - the trackingNumber to set

    getPointsRedeemed

    public int getPointsRedeemed()
    Returns:
    the pointsRedeemed

    setPointsRedeemed

    public void setPointsRedeemed(int pointsRedeemed)
    Parameters:
    pointsRedeemed - the pointsRedeemed to set

    getPointsAwarded

    public int getPointsAwarded()
    Returns:
    the pointsAwarded

    setPointsAwarded

    public void setPointsAwarded(int pointsAwarded)
    Parameters:
    pointsAwarded - the pointsAwarded to set

    getPointsReservationId

    public int getPointsReservationId()
    Returns:
    the pointsReservationId

    setPointsReservationId

    public void setPointsReservationId(int pointsReservationId)
    Parameters:
    pointsReservationId - the pointsReservationId to set

    getLocale

    public java.lang.String getLocale()
    Locale of the customer

    Returns:
    the locale

    setLocale

    public void setLocale(java.lang.String locale)
    Locale of the customer

    Parameters:
    locale - the locale to set

    getInvoiceFilename

    public java.lang.String getInvoiceFilename()
    The filename of the invoice (add this to the base URL or base directory path configuration parameters to get the full name)

    Returns:
    the invoice filename

    setInvoiceFilename

    public void setInvoiceFilename(java.lang.String invoiceFilename)
    The filename of the invoice

    Parameters:
    invoiceFilename - the filename to set

    getCustomerTelephone1

    public java.lang.String getCustomerTelephone1()
    Returns:
    the customerTelephone1

    setCustomerTelephone1

    public void setCustomerTelephone1(java.lang.String customerTelephone1)
    Parameters:
    customerTelephone1 - the customerTelephone1 to set

    getDeliveryTelephone

    public java.lang.String getDeliveryTelephone()
    Returns:
    the deliveryTelephone

    setDeliveryTelephone

    public void setDeliveryTelephone(java.lang.String deliveryTelephone)
    Parameters:
    deliveryTelephone - the deliveryTelephone to set

    getDeliveryTelephone1

    public java.lang.String getDeliveryTelephone1()
    Returns:
    the deliveryTelephone1

    setDeliveryTelephone1

    public void setDeliveryTelephone1(java.lang.String deliveryTelephone1)
    Parameters:
    deliveryTelephone1 - the deliveryTelephone1 to set

    getDeliveryEmail

    public java.lang.String getDeliveryEmail()
    Returns:
    the deliveryEmail

    setDeliveryEmail

    public void setDeliveryEmail(java.lang.String deliveryEmail)
    Parameters:
    deliveryEmail - the deliveryEmail to set

    getBillingTelephone

    public java.lang.String getBillingTelephone()
    Returns:
    the billingTelephone

    setBillingTelephone

    public void setBillingTelephone(java.lang.String billingTelephone)
    Parameters:
    billingTelephone - the billingTelephone to set

    getBillingTelephone1

    public java.lang.String getBillingTelephone1()
    Returns:
    the billingTelephone1

    setBillingTelephone1

    public void setBillingTelephone1(java.lang.String billingTelephone1)
    Parameters:
    billingTelephone1 - the billingTelephone1 to set

    getBillingEmail

    public java.lang.String getBillingEmail()
    Returns:
    the billingEmail

    setBillingEmail

    public void setBillingEmail(java.lang.String billingEmail)
    Parameters:
    billingEmail - the billingEmail to set

    getCustomerStreetAddress1

    public java.lang.String getCustomerStreetAddress1()
    Returns:
    the customerStreetAddress1

    setCustomerStreetAddress1

    public void setCustomerStreetAddress1(java.lang.String customerStreetAddress1)
    Parameters:
    customerStreetAddress1 - the customerStreetAddress1 to set

    getDeliveryStreetAddress1

    public java.lang.String getDeliveryStreetAddress1()
    Returns:
    the deliveryStreetAddress1

    setDeliveryStreetAddress1

    public void setDeliveryStreetAddress1(java.lang.String deliveryStreetAddress1)
    Parameters:
    deliveryStreetAddress1 - the deliveryStreetAddress1 to set

    getBillingStreetAddress1

    public java.lang.String getBillingStreetAddress1()
    Returns:
    the billingStreetAddress1

    setBillingStreetAddress1

    public void setBillingStreetAddress1(java.lang.String billingStreetAddress1)
    Parameters:
    billingStreetAddress1 - the billingStreetAddress1 to set

    getShippingServiceCode

    public java.lang.String getShippingServiceCode()
    Returns:
    the shippingServiceCode

    setShippingServiceCode

    public void setShippingServiceCode(java.lang.String shippingServiceCode)
    Parameters:
    shippingServiceCode - the shippingServiceCode to set

    getLifecycleId

    public java.lang.String getLifecycleId()
    Instantiated when the order is created. Can be used to identify the order even before it is saved, which is when the id and order number are created.

    Returns:
    the lifecycleId

    setLifecycleId

    public void setLifecycleId(java.lang.String lifecycleId)
    Instantiated when the order is created. Can be used to identify the order even before it is saved, which is when the id and order number are created.

    Parameters:
    lifecycleId - the lifecycleId to set

    getCreator

    public java.lang.String getCreator()
    Identifier of the administrator who created the order

    Returns:
    the creator

    setCreator

    public void setCreator(java.lang.String creator)
    Identifier of the administrator who created the order

    Parameters:
    creator - the creator to set

    getAffiliateId

    public java.lang.String getAffiliateId()
    Id of affiliate partner

    Returns:
    the affiliateId

    setAffiliateId

    public void setAffiliateId(java.lang.String affiliateId)
    Id of affiliate partner

    Parameters:
    affiliateId - the affiliateId to set


    Copyright © 2011 DS Data Systems UK Ltd.