Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sebastian Dammark 583 posts 1407 karma points
    Jul 13, 2013 @ 02:46
    Sebastian Dammark
    0

    Properties of an Order object ?

    Hi Guys

    Are there any documentation that tells me the properties of an Order object ?

  • Anders Burla 2560 posts 8256 karma points
    Jul 14, 2013 @ 01:35
    Anders Burla
    0

    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 

  • Rune Grønkjær 1372 posts 3103 karma points
    Jul 15, 2013 @ 09:32
    Rune Grønkjær
    100

    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

  • Sebastian Dammark 583 posts 1407 karma points
    Jul 15, 2013 @ 10:34
    Sebastian Dammark
    0

    Nice, thanx guys ...
    Yeah, JS will help you most of the way.

Please Sign in or register to post replies

Write your reply to:

Draft