Sorry for the lack of documentation. Using Visual Studio? If yes - then run your site locally and attach the debugger to the process and see the properties of the order. Else use the TC.getCurrentOrder using Javascript and see the properties there. Most properties are the same - BUT with CamelCasing :)
Properties of an Order object ?
Hi Guys
Are there any documentation that tells me the properties of an Order object ?
Hi Sebastian
Sorry for the lack of documentation. Using Visual Studio? If yes - then run your site locally and attach the debugger to the process and see the properties of the order. Else use the TC.getCurrentOrder using Javascript and see the properties there. Most properties are the same - BUT with CamelCasing :)
Kind regards
Anders
We really should create documentation for this. Remember we talked about it Anders ;)
Not everyone uses Visual Studio.
Here's a list of the order objects properties and their return values:
Guid Id
long StoreId
long CurrencyId
long OrderStatusId
long VatGroupId
long? LanguageId
string CartNumber
string OrderNumber
string CustomerId
DateTime DateCreated
DateTime DateModified
DateTime? DateFinalized
bool IsFinalized
OrderLineCollection OrderLines
CustomPropertyCollection Properties
PaymentInformation PaymentInformation
ShipmentInformation ShipmentInformation
TransactionInformation TransactionInformation
VatRate VatRate
PriceCollection SubtotalPrices
Price SubtotalPrice
PriceCollection TotalPrices
Price TotalPrice
/Rune
Nice, thanx guys ...
Yeah, JS will help you most of the way.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.