public class AdminOrder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.math.BigDecimal |
adminDiscount
Discount added by an admin user and picked up by a promotion module
|
private java.lang.String |
affiliateId
Id of affiliate partner
|
private AdminOrder[] |
archivedOrders
The archived orders of this order.
|
private java.lang.String |
archiveId
archiveId - used to reference archived orders.
|
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 |
custom10 |
private java.lang.String |
custom11 |
private java.lang.String |
custom12 |
private java.lang.String |
custom13 |
private java.lang.String |
custom14 |
private java.lang.String |
custom15 |
private java.lang.String |
custom16 |
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 java.lang.String |
custom6 |
private java.lang.String |
custom7 |
private java.lang.String |
custom8 |
private java.lang.String |
custom9 |
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 |
filter1
Order Filter 1 - Can be used for any custom purpose to filter orders
|
private java.lang.String |
filter2
Order Filter 2 - Can be used for any custom purpose to filter orders
|
private java.math.BigDecimal |
filterDecimal1
Order Filter Decimal 1 - Can be used for any custom purpose to filter orders
|
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 AdminOrderRefund[] |
orderRefunds
orderRefunds
|
private AdminOrderReturn[] |
orderReturns
orderReturns
|
private AdminOrderShipment[] |
orderShipments
orderShipments
|
private AdminOrderTotal[] |
orderTotals
objects with text for order total
|
private int |
parentId
Id of the parent order used when in multi-vendor mode
|
private java.lang.String |
paymentMethod
paymentMethod
|
private java.lang.String |
paymentModuleCode
The code of the payment module used for the order (i.e.
|
private java.lang.String |
paymentModuleSubCode
The sub code of the payment module used for the order (Used when a payment module supports
multiple payment methods)
|
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 shipping 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.lang.String |
storeId
storeId
|
private java.lang.String |
storeName
storeName
|
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
|
private AdminOrder[] |
vendorOrders
When in multi-vendor mode, the array contains orders for each individual vendor
|
Constructor and Description |
---|
AdminOrder()
Constructor
|
AdminOrder(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Order object from a Record object
|
Modifier and Type | Method and Description |
---|---|
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.math.BigDecimal |
getAdminDiscount()
Discount added by an admin user and picked up by a promotion module
|
java.lang.String |
getAffiliateId()
Id of affiliate partner
|
AdminOrder[] |
getArchivedOrders()
The archived orders of this order.
|
java.lang.String |
getArchiveId()
Used to reference archived orders
|
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 |
getCustom10() |
java.lang.String |
getCustom11() |
java.lang.String |
getCustom12() |
java.lang.String |
getCustom13() |
java.lang.String |
getCustom14() |
java.lang.String |
getCustom15() |
java.lang.String |
getCustom16() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.lang.String |
getCustom6() |
java.lang.String |
getCustom7() |
java.lang.String |
getCustom8() |
java.lang.String |
getCustom9() |
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 |
getFilter1() |
java.lang.String |
getFilter2() |
java.math.BigDecimal |
getFilterDecimal1() |
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() |
AdminOrderRefund[] |
getOrderRefunds() |
AdminOrderReturn[] |
getOrderReturns() |
AdminOrderShipment[] |
getOrderShipments() |
AdminOrderTotal[] |
getOrderTotals() |
int |
getParentId()
Id of the parent order used when in multi-vendor mode
|
java.lang.String |
getPaymentMethod() |
java.lang.String |
getPaymentModuleCode() |
java.lang.String |
getPaymentModuleSubCode() |
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.lang.String |
getStoreId()
Id of the store that the order belongs to.
|
java.lang.String |
getStoreName()
Name of the store that the order belongs to
|
java.math.BigDecimal |
getTax() |
AdminTaxRate[] |
getTaxRateObjectArray() |
java.math.BigDecimal |
getTotalExTax() |
java.math.BigDecimal |
getTotalIncTax() |
java.lang.String |
getTrackingNumber() |
AdminOrder[] |
getVendorOrders()
When in multi-vendor mode, the array contains orders for each individual vendor
|
void |
setAdminDiscount(java.math.BigDecimal adminDiscount)
Discount added by an admin user and picked up by a promotion module
|
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 |
setArchivedOrders(AdminOrder[] archivedOrders)
The archived orders of this order.
|
void |
setArchiveId(java.lang.String archiveId)
Used to reference archived orders
|
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 |
setCustom10(java.lang.String custom10) |
void |
setCustom11(java.lang.String custom11) |
void |
setCustom12(java.lang.String custom12) |
void |
setCustom13(java.lang.String custom13) |
void |
setCustom14(java.lang.String custom14) |
void |
setCustom15(java.lang.String custom15) |
void |
setCustom16(java.lang.String custom16) |
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 |
setCustom6(java.lang.String custom6) |
void |
setCustom7(java.lang.String custom7) |
void |
setCustom8(java.lang.String custom8) |
void |
setCustom9(java.lang.String custom9) |
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 |
setFilter1(java.lang.String filter1) |
void |
setFilter2(java.lang.String filter2) |
void |
setFilterDecimal1(java.math.BigDecimal filterDecimal1) |
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 |
setOrderRefunds(AdminOrderRefund[] orderRefunds) |
void |
setOrderReturns(AdminOrderReturn[] orderReturns) |
void |
setOrderShipments(AdminOrderShipment[] orderShipments) |
void |
setOrderTotals(AdminOrderTotal[] orderTotals) |
void |
setParentId(int parentId)
Id of the parent order used when in multi-vendor mode
|
void |
setPaymentMethod(java.lang.String paymentMethod) |
void |
setPaymentModuleCode(java.lang.String paymentModuleCode) |
void |
setPaymentModuleSubCode(java.lang.String paymentModuleSubCode) |
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 |
setStoreId(java.lang.String storeId)
Id of the store that the order belongs to.
|
void |
setStoreName(java.lang.String storeName)
Name of the store that the order belongs to
|
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) |
void |
setVendorOrders(AdminOrder[] vendorOrders)
When in multi-vendor mode, the array contains orders for each individual vendor
|
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private int id
private java.lang.String storeId
private java.lang.String storeName
private java.lang.String orderNumber
private java.lang.String lifecycleId
private java.lang.String archiveId
private int customerId
private java.lang.String customerName
private java.lang.String customerCompany
private int customerAddrId
private java.lang.String customerStreetAddress
private java.lang.String customerStreetAddress1
private java.lang.String customerSuburb
private java.lang.String customerCity
private java.lang.String customerPostcode
private java.lang.String customerState
private java.lang.String customerCountry
private java.lang.String customerTelephone
private java.lang.String customerTelephone1
private java.lang.String customerEmail
private int customerAddrFormatId
private java.lang.String customerAddrFormatTemplate
private java.lang.String customerFormattedAddress
private java.lang.String shippingMethod
private java.lang.String deliveryName
private java.lang.String deliveryCompany
private int deliveryAddrId
private java.lang.String deliveryStreetAddress
private java.lang.String deliveryStreetAddress1
private java.lang.String deliverySuburb
private java.lang.String deliveryCity
private java.lang.String deliveryPostcode
private java.lang.String deliveryState
private java.lang.String deliveryCountry
private java.lang.String deliveryTelephone
private java.lang.String deliveryTelephone1
private java.lang.String deliveryEmail
private int deliveryAddrFormatId
private java.lang.String deliveryAddrFormatTemplate
private java.lang.String deliveryFormattedAddress
private AdminCountry deliveryCountryObject
private AdminZone deliveryZoneObject
private java.lang.String billingName
private java.lang.String billingCompany
private int billingAddrId
private java.lang.String billingStreetAddress
private java.lang.String billingStreetAddress1
private java.lang.String billingSuburb
private java.lang.String billingCity
private java.lang.String billingPostcode
private java.lang.String billingState
private java.lang.String billingCountry
private java.lang.String billingTelephone
private java.lang.String billingTelephone1
private java.lang.String billingEmail
private int billingAddrFormatId
private java.lang.String billingAddrFormatTemplate
private java.lang.String billingFormattedAddress
private java.lang.String paymentMethod
private java.lang.String ccType
private java.lang.String ccOwner
private java.lang.String ccNumber
private java.lang.String ccExpires
private java.lang.String ccCVV
private java.util.Date lastModified
private java.util.Date datePurchased
private int status
private java.lang.String statusText
private java.util.Date dateFinished
private java.lang.String currencyCode
private AdminCurrency currency
private java.math.BigDecimal currencyValue
private AdminOrderProduct[] orderProducts
private AdminOrderReturn[] orderReturns
private AdminOrderShipment[] orderShipments
private AdminOrderRefund[] orderRefunds
private java.math.BigDecimal totalExTax
private java.math.BigDecimal totalIncTax
private java.lang.String formattedTotalIncTax
private java.math.BigDecimal tax
private AdminTaxRate[] taxRateObjectArray
private int numProducts
private AdminShippingQuote shippingQuote
private AdminOrderTotal[] orderTotals
private AdminOrderStatusHistory[] statusTrail
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
private java.lang.String custom4
private java.lang.String custom5
private java.lang.String custom6
private java.lang.String custom7
private java.lang.String custom8
private java.lang.String custom9
private java.lang.String custom10
private java.lang.String custom11
private java.lang.String custom12
private java.lang.String custom13
private java.lang.String custom14
private java.lang.String custom15
private java.lang.String custom16
private java.lang.String encKey
private java.lang.String promotionIds
private java.lang.String couponIds
private java.lang.String shippingModuleCode
private java.lang.String paymentModuleSubCode
private java.lang.String paymentModuleCode
private java.lang.String shippingServiceCode
private java.lang.String trackingNumber
private int pointsRedeemed
private int pointsAwarded
private int pointsReservationId
private java.lang.String locale
private java.lang.String invoiceFilename
private java.lang.String creator
private java.lang.String affiliateId
private AdminOrder[] vendorOrders
private AdminOrder[] archivedOrders
private int parentId
private java.lang.String filter1
private java.lang.String filter2
private java.math.BigDecimal filterDecimal1
private java.math.BigDecimal adminDiscount
public AdminOrder()
public AdminOrder(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public void setAllAddresses(AdminAddress addr)
addr
- the addrpublic void calculateShippingMethod()
public void createFormattedAddresses()
$firstname $lastname$cr$company$cr$streets$cr$city, $postcode$cr$state, $country$crtel: $telephone $telephone1$cremail: $email
Valid template attributes are:
public void setCustomerAddress(AdminAddress addr)
addr
- the addrpublic void setDeliveryAddress(AdminAddress addr)
addr
- the addrpublic void setBillingAddress(AdminAddress addr)
addr
- the addrpublic void setCustomerDetails(AdminCustomer cust)
cust
- the customerpublic java.lang.String getShippingMethod()
public java.lang.String getBillingCity()
public void setBillingCity(java.lang.String billingCity)
billingCity
- The billingCity to set.public java.lang.String getBillingCompany()
public void setBillingCompany(java.lang.String billingCompany)
billingCompany
- The billingCompany to set.public java.lang.String getBillingCountry()
public void setBillingCountry(java.lang.String billingCountry)
billingCountry
- The billingCountry to set.public java.lang.String getBillingName()
public void setBillingName(java.lang.String billingName)
billingName
- The billingName to set.public java.lang.String getBillingPostcode()
public void setBillingPostcode(java.lang.String billingPostcode)
billingPostcode
- The billingPostcode to set.public java.lang.String getBillingState()
public void setBillingState(java.lang.String billingState)
billingState
- The billingState to set.public java.lang.String getBillingStreetAddress()
public void setBillingStreetAddress(java.lang.String billingStreetAddress)
billingStreetAddress
- The billingStreetAddress to set.public java.lang.String getBillingSuburb()
public void setBillingSuburb(java.lang.String billingSuburb)
billingSuburb
- The billingSuburb to set.public java.lang.String getCcExpires()
public void setCcExpires(java.lang.String ccExpires)
ccExpires
- The ccExpires to set.public java.lang.String getCcNumber()
public void setCcNumber(java.lang.String ccNumber)
ccNumber
- The ccNumber to set.public java.lang.String getCcOwner()
public void setCcOwner(java.lang.String ccOwner)
ccOwner
- The ccOwner to set.public java.lang.String getCcType()
public void setCcType(java.lang.String ccType)
ccType
- The ccType to set.public java.math.BigDecimal getCurrencyValue()
public void setCurrencyValue(java.math.BigDecimal currencyValue)
currencyValue
- The currencyValue to set.public java.lang.String getCustomerCity()
public void setCustomerCity(java.lang.String customerCity)
customerCity
- The customerCity to set.public java.lang.String getCustomerCompany()
public void setCustomerCompany(java.lang.String customerCompany)
customerCompany
- The customerCompany to set.public java.lang.String getCustomerCountry()
public void setCustomerCountry(java.lang.String customerCountry)
customerCountry
- The customerCountry to set.public java.lang.String getCustomerEmail()
public void setCustomerEmail(java.lang.String customerEmail)
customerEmail
- The customerEmail to set.public java.lang.String getCustomerName()
public void setCustomerName(java.lang.String customerName)
customerName
- The customerName to set.public java.lang.String getCustomerPostcode()
public void setCustomerPostcode(java.lang.String customerPostcode)
customerPostcode
- The customerPostcode to set.public java.lang.String getCustomerState()
public void setCustomerState(java.lang.String customerState)
customerState
- The customerState to set.public java.lang.String getCustomerStreetAddress()
public void setCustomerStreetAddress(java.lang.String customerStreetAddress)
customerStreetAddress
- The customerStreetAddress to set.public java.lang.String getCustomerSuburb()
public void setCustomerSuburb(java.lang.String customerSuburb)
customerSuburb
- The customerSuburb to set.public java.lang.String getCustomerTelephone()
public void setCustomerTelephone(java.lang.String customerTelephone)
customerTelephone
- The customerTelephone to set.public java.util.Date getDateFinished()
public void setDateFinished(java.util.Date dateFinished)
dateFinished
- The dateFinished to set.public java.util.Date getDatePurchased()
public void setDatePurchased(java.util.Date datePurchased)
datePurchased
- The datePurchased to set.public java.lang.String getDeliveryCity()
public void setDeliveryCity(java.lang.String deliveryCity)
deliveryCity
- The deliveryCity to set.public java.lang.String getDeliveryCompany()
public void setDeliveryCompany(java.lang.String deliveryCompany)
deliveryCompany
- The deliveryCompany to set.public java.lang.String getDeliveryCountry()
public void setDeliveryCountry(java.lang.String deliveryCountry)
deliveryCountry
- The deliveryCountry to set.public java.lang.String getDeliveryName()
public void setDeliveryName(java.lang.String deliveryName)
deliveryName
- The deliveryName to set.public java.lang.String getDeliveryPostcode()
public void setDeliveryPostcode(java.lang.String deliveryPostcode)
deliveryPostcode
- The deliveryPostcode to set.public java.lang.String getDeliveryState()
public void setDeliveryState(java.lang.String deliveryState)
deliveryState
- The deliveryState to set.public java.lang.String getDeliveryStreetAddress()
public void setDeliveryStreetAddress(java.lang.String deliveryStreetAddress)
deliveryStreetAddress
- The deliveryStreetAddress to set.public java.lang.String getDeliverySuburb()
public void setDeliverySuburb(java.lang.String deliverySuburb)
deliverySuburb
- The deliverySuburb to set.public int getId()
public void setId(int id)
id
- The id to set.public java.util.Date getLastModified()
public void setLastModified(java.util.Date lastModified)
lastModified
- The lastModified to set.public java.lang.String getPaymentMethod()
public void setPaymentMethod(java.lang.String paymentMethod)
paymentMethod
- The paymentMethod to set.public int getStatus()
public void setStatus(int status)
status
- The status to set.public int getCustomerId()
public void setCustomerId(int customerId)
customerId
- The customerId to set.public int getBillingAddrFormatId()
public void setBillingAddrFormatId(int billingAddrFormatId)
billingAddrFormatId
- The billingAddrFormatId to set.public int getCustomerAddrFormatId()
public void setCustomerAddrFormatId(int customerAddrFormatId)
customerAddrFormatId
- The customerAddrFormatId to set.public int getDeliveryAddrFormatId()
public void setDeliveryAddrFormatId(int deliveryAddrFormatId)
deliveryAddrFormatId
- The deliveryAddrFormatId to set.public AdminOrderProduct[] getOrderProducts()
public void setOrderProducts(AdminOrderProduct[] orderProducts)
orderProducts
- The orderProducts to set.public java.lang.String getBillingFormattedAddress()
public void setBillingFormattedAddress(java.lang.String billingFormattedAddress)
billingFormattedAddress
- The billingFormattedAddress to set.public java.lang.String getCustomerFormattedAddress()
public void setCustomerFormattedAddress(java.lang.String customerFormattedAddress)
customerFormattedAddress
- The customerFormattedAddress to set.public java.lang.String getDeliveryFormattedAddress()
public void setDeliveryFormattedAddress(java.lang.String deliveryFormattedAddress)
deliveryFormattedAddress
- The deliveryFormattedAddress to set.public java.lang.String getStatusText()
public void setStatusText(java.lang.String statusText)
statusText
- The statusText to set.public java.math.BigDecimal getTax()
public void setTax(java.math.BigDecimal tax)
tax
- The tax to set.public int getNumProducts()
public void setNumProducts(int numProducts)
numProducts
- The numProducts to set.public java.lang.String getBillingAddrFormatTemplate()
public void setBillingAddrFormatTemplate(java.lang.String billingAddrFormatTemplate)
billingAddrFormatTemplate
- The billingAddrFormatTemplate to set.public java.lang.String getCustomerAddrFormatTemplate()
public void setCustomerAddrFormatTemplate(java.lang.String customerAddrFormatTemplate)
customerAddrFormatTemplate
- The customerAddrFormatTemplate to set.public java.lang.String getDeliveryAddrFormatTemplate()
public void setDeliveryAddrFormatTemplate(java.lang.String deliveryAddrFormatTemplate)
deliveryAddrFormatTemplate
- The deliveryAddrFormatTemplate to set.public AdminOrderTotal[] getOrderTotals()
public void setOrderTotals(AdminOrderTotal[] orderTotals)
orderTotals
- The orderTotals to set.public AdminOrderStatusHistory[] getStatusTrail()
public void setStatusTrail(AdminOrderStatusHistory[] statusTrail)
statusTrail
- The statusTrail to set.public int getBillingAddrId()
public void setBillingAddrId(int billingAddrId)
billingAddrId
- The billingAddrId to set.public int getCustomerAddrId()
public void setCustomerAddrId(int customerAddrId)
customerAddrId
- The customerAddrId to set.public int getDeliveryAddrId()
public void setDeliveryAddrId(int deliveryAddrId)
deliveryAddrId
- The deliveryAddrId to set.public AdminCountry getDeliveryCountryObject()
public void setDeliveryCountryObject(AdminCountry deliveryCountryObject)
deliveryCountryObject
- The deliveryCountryObject to set.public AdminZone getDeliveryZoneObject()
public void setDeliveryZoneObject(AdminZone deliveryZoneObject)
deliveryZoneObject
- The deliveryZoneObject to set.public java.math.BigDecimal getTotalExTax()
public void setTotalExTax(java.math.BigDecimal totalExTax)
totalExTax
- The totalExTax to set.public java.math.BigDecimal getTotalIncTax()
public void setTotalIncTax(java.math.BigDecimal totalIncTax)
totalIncTax
- The totalIncTax to set.public AdminShippingQuote getShippingQuote()
public void setShippingQuote(AdminShippingQuote shippingQuote)
shippingQuote
- The shippingQuote to set.public java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String currencyCode)
currencyCode
- The currencyCode to set.public AdminCurrency getCurrency()
public void setCurrency(AdminCurrency currency)
currency
- The currency to set.public AdminTaxRate[] getTaxRateObjectArray()
public void setTaxRateObjectArray(AdminTaxRate[] taxRateObjectArray)
taxRateObjectArray
- The taxRateObjectArray to set.public java.lang.String getFormattedTotalIncTax()
public void setFormattedTotalIncTax(java.lang.String formattedTotalIncTax)
formattedTotalIncTax
- The formattedTotalIncTax to set.public void setShippingMethod(java.lang.String shippingMethod)
shippingMethod
- The shippingMethod to set.public java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- The custom1 to set.public java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- The custom2 to set.public java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- The custom3 to set.public java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- The custom4 to set.public java.lang.String getCustom5()
public void setCustom5(java.lang.String custom5)
custom5
- The custom5 to set.public java.lang.String getCouponIds()
public void setCouponIds(java.lang.String couponIds)
couponIds
- The couponIds to set.public java.lang.String getPromotionIds()
public void setPromotionIds(java.lang.String promotionIds)
promotionIds
- The promotionIds to set.public AdminOrderReturn[] getOrderReturns()
public void setOrderReturns(AdminOrderReturn[] orderReturns)
orderReturns
- The orderReturns to set.public java.lang.String getPaymentModuleCode()
public void setPaymentModuleCode(java.lang.String paymentModuleCode)
paymentModuleCode
- The paymentModuleCode to set.public java.lang.String getShippingModuleCode()
public void setShippingModuleCode(java.lang.String shippingModuleCode)
shippingModuleCode
- The shippingModuleCode to set.public java.lang.String getEncKey()
public void setEncKey(java.lang.String encKey)
encKey
- the encKey to setpublic java.lang.String getCcCVV()
public void setCcCVV(java.lang.String ccCVV)
ccCVV
- the ccCVV to setpublic java.lang.String getOrderNumber()
public void setOrderNumber(java.lang.String orderNumber)
orderNumber
- The orderNumber to set.public java.lang.String getTrackingNumber()
public void setTrackingNumber(java.lang.String trackingNumber)
trackingNumber
- the trackingNumber to setpublic int getPointsRedeemed()
public void setPointsRedeemed(int pointsRedeemed)
pointsRedeemed
- the pointsRedeemed to setpublic int getPointsAwarded()
public void setPointsAwarded(int pointsAwarded)
pointsAwarded
- the pointsAwarded to setpublic int getPointsReservationId()
public void setPointsReservationId(int pointsReservationId)
pointsReservationId
- the pointsReservationId to setpublic java.lang.String getLocale()
public void setLocale(java.lang.String locale)
locale
- the locale to setpublic java.lang.String getInvoiceFilename()
public void setInvoiceFilename(java.lang.String invoiceFilename)
invoiceFilename
- the filename to setpublic java.lang.String getCustomerTelephone1()
public void setCustomerTelephone1(java.lang.String customerTelephone1)
customerTelephone1
- the customerTelephone1 to setpublic java.lang.String getDeliveryTelephone()
public void setDeliveryTelephone(java.lang.String deliveryTelephone)
deliveryTelephone
- the deliveryTelephone to setpublic java.lang.String getDeliveryTelephone1()
public void setDeliveryTelephone1(java.lang.String deliveryTelephone1)
deliveryTelephone1
- the deliveryTelephone1 to setpublic java.lang.String getDeliveryEmail()
public void setDeliveryEmail(java.lang.String deliveryEmail)
deliveryEmail
- the deliveryEmail to setpublic java.lang.String getBillingTelephone()
public void setBillingTelephone(java.lang.String billingTelephone)
billingTelephone
- the billingTelephone to setpublic java.lang.String getBillingTelephone1()
public void setBillingTelephone1(java.lang.String billingTelephone1)
billingTelephone1
- the billingTelephone1 to setpublic java.lang.String getBillingEmail()
public void setBillingEmail(java.lang.String billingEmail)
billingEmail
- the billingEmail to setpublic java.lang.String getCustomerStreetAddress1()
public void setCustomerStreetAddress1(java.lang.String customerStreetAddress1)
customerStreetAddress1
- the customerStreetAddress1 to setpublic java.lang.String getDeliveryStreetAddress1()
public void setDeliveryStreetAddress1(java.lang.String deliveryStreetAddress1)
deliveryStreetAddress1
- the deliveryStreetAddress1 to setpublic java.lang.String getBillingStreetAddress1()
public void setBillingStreetAddress1(java.lang.String billingStreetAddress1)
billingStreetAddress1
- the billingStreetAddress1 to setpublic java.lang.String getShippingServiceCode()
public void setShippingServiceCode(java.lang.String shippingServiceCode)
shippingServiceCode
- the shippingServiceCode to setpublic java.lang.String getLifecycleId()
public void setLifecycleId(java.lang.String lifecycleId)
lifecycleId
- the lifecycleId to setpublic java.lang.String getCreator()
public void setCreator(java.lang.String creator)
creator
- the creator to setpublic java.lang.String getAffiliateId()
public void setAffiliateId(java.lang.String affiliateId)
affiliateId
- the affiliateId to setpublic java.lang.String getPaymentModuleSubCode()
public void setPaymentModuleSubCode(java.lang.String paymentModuleSubCode)
paymentModuleSubCode
- the paymentModuleSubCode to setpublic java.lang.String getStoreId()
public void setStoreId(java.lang.String storeId)
storeId
- the storeId to setpublic java.lang.String getStoreName()
public void setStoreName(java.lang.String storeName)
storeName
- the storeName to setpublic AdminOrder[] getVendorOrders()
public void setVendorOrders(AdminOrder[] vendorOrders)
vendorOrders
- the vendorOrders to setpublic int getParentId()
public void setParentId(int parentId)
parentId
- the parentId to setpublic AdminOrderRefund[] getOrderRefunds()
public void setOrderRefunds(AdminOrderRefund[] orderRefunds)
orderRefunds
- the orderRefunds to setpublic AdminOrderShipment[] getOrderShipments()
public void setOrderShipments(AdminOrderShipment[] orderShipments)
orderShipments
- the orderShipments to setpublic java.lang.String getCustom6()
public void setCustom6(java.lang.String custom6)
custom6
- the custom6 to setpublic java.lang.String getCustom7()
public void setCustom7(java.lang.String custom7)
custom7
- the custom7 to setpublic java.lang.String getCustom8()
public void setCustom8(java.lang.String custom8)
custom8
- the custom8 to setpublic java.lang.String getCustom9()
public void setCustom9(java.lang.String custom9)
custom9
- the custom9 to setpublic java.lang.String getCustom10()
public void setCustom10(java.lang.String custom10)
custom10
- the custom10 to setpublic java.lang.String getCustom11()
public void setCustom11(java.lang.String custom11)
custom11
- the custom11 to setpublic java.lang.String getCustom12()
public void setCustom12(java.lang.String custom12)
custom12
- the custom12 to setpublic java.lang.String getCustom13()
public void setCustom13(java.lang.String custom13)
custom13
- the custom13 to setpublic java.lang.String getCustom14()
public void setCustom14(java.lang.String custom14)
custom14
- the custom14 to setpublic java.lang.String getCustom15()
public void setCustom15(java.lang.String custom15)
custom15
- the custom15 to setpublic java.lang.String getCustom16()
public void setCustom16(java.lang.String custom16)
custom16
- the custom16 to setpublic java.lang.String getFilter1()
public void setFilter1(java.lang.String filter1)
filter1
- the filter1 to setpublic java.lang.String getFilter2()
public void setFilter2(java.lang.String filter2)
filter2
- the filter2 to setpublic java.math.BigDecimal getFilterDecimal1()
public void setFilterDecimal1(java.math.BigDecimal filterDecimal1)
filterDecimal1
- the filterDecimal1 to setpublic java.lang.String getArchiveId()
public void setArchiveId(java.lang.String archiveId)
archiveId
- the archiveId to setpublic java.math.BigDecimal getAdminDiscount()
public void setAdminDiscount(java.math.BigDecimal adminDiscount)
adminDiscount
- the adminDiscount to setpublic AdminOrder[] getArchivedOrders()
public void setArchivedOrders(AdminOrder[] archivedOrders)
archivedOrders
- the archivedOrders to setCopyright © 2018 DS Data Systems UK Ltd.