Result

SUBMITTED

Array
(
    [Id] => 6046
    [SaleDate] => 2021-11-22T12:05:18+08:00
    [Member] => Array
        (
            [Id] => 1
            [Type] => 0
            [FirstNameFirstName] => Robert
            [Surname] => Starkweather
            [ShippingAddress] => Array
                (
                    [AddressLine1] => Ocean Village Shopping Ctr, Cnr of Hale & Brompton Rd
                    [AddressLine2] => 
                    [Suburb] => City Beach
                    [State] => WA
                    [Postcode] => 6531
                    [Country] => Array
                        (
                            [Id] => 3081
                            [Name] => Australia
                            [IsoCountryCode] => AU
                        )

                )

            [MailingAddress] => Array
                (
                    [AddressLine1] => Ocean Village Shopping Ctr, Cnr of Hale & Brompton Rd
                    [AddressLine2] => 
                    [Suburb] => City Beach
                    [State] => WA
                    [Postcode] => 6531
                    [Country] => Array
                        (
                            [Id] => 3081
                            [Name] => Australia
                            [IsoCountryCode] => AU
                        )

                )

            [HomePhone] => 0892455444
            [MobilePhone] => 
            [EmailAddress] => robert@k4media.com
            [MailingAddressActive] => 1
            [Accounts] => Array
                (
                    [0] => Array
                        (
                            [Id] => 0
                            [Type] => 0
                            [Name] => Charge Account
                            [Balance] => 18319.67
                            [CreditLimit] => 20000
                            [CanCharge] => 
                            [CanPay] => 1
                        )

                )

            [Classifications] => Array
                (
                    [0] => Array
                        (
                            [Id] => 1
                            [Name] => Class 1
                            [Type] => 1
                            [RenewalDate] => 2050-12-30T00:00:00
                        )

                )

        )

    [Media] => Array
        (
            [0] => Array
                (
                    [Id] => 11
                    [Amount] => 41.94
                )

        )

    [Items] => Array
        (
            [0] => Array
                (
                    [Id] => 828
                    [Type] => Item Type
                    [Description] => 
                    [Quantity] => 6
                    [Tax1] => 3.812727
                    [Price] => 6.99
                    [LineTotal] => 41.94
                    [InventoryCode] => 2307
                )

            [1] => Array
                (
                    [Id] => 2222
                    [Type] => Shipping
                    [Description] => Local pickup
                    [Quantity] => 1
                    [Tax1] => 0
                    [Price] => 0
                    [LineTotal] => 0
                    [InventoryCode] => 2222
                )

        )

)

RESULT

stdClass Object
(
    [Id] => 35
    [SaleDate] => 2021-11-22T12:05:18+08:00
    [Member] => stdClass Object
        (
            [Id] => 1
            [AlternateId] => 
            [Type] => 0
            [FirstName] => PETER
            [Surname] => Starkweather
            [DateOfBrith] => 1970-01-01T00:00:00
            [DateOfBirth] => 1970-01-01T00:00:00
            [ShippingAddress] => stdClass Object
                (
                    [AddressLine1] => Ocean Village Shopping Ctr, Cnr of Hale & Brompton Rd
                    [AddressLine2] => 
                    [Suburb] => City Beach
                    [State] => WA
                    [Postcode] => 6531
                    [Country] => stdClass Object
                        (
                            [Id] => 3081
                            [Name] => Other
                            [IsoCountryCode] => 00
                        )

                )

            [MailingAddress] => stdClass Object
                (
                    [AddressLine1] => Ocean Village Shopping Ctr, Cnr of Hale & Brompton Rd
                    [AddressLine2] => 
                    [Suburb] => City Beach
                    [State] => WA
                    [Postcode] => 6531
                    [Country] => stdClass Object
                        (
                            [Id] => 3081
                            [Name] => Other
                            [IsoCountryCode] => 00
                        )

                )

            [HomePhone] => 0892455444
            [MobilePhone] => 
            [EmailAddress] => robert@k4media.com
            [MailingAddressActive] => 1
            [Accounts] => Array
                (
                    [0] => stdClass Object
                        (
                            [Id] => 0
                            [Type] => 0
                            [Name] => Charge Account
                            [Balance] => 17011.1
                            [CreditLimit] => 20000
                            [CanCharge] => 1
                            [CanPay] => 1
                        )

                    [1] => stdClass Object
                        (
                            [Id] => 0
                            [Type] => 1
                            [Name] => Points Account
                            [Balance] => 0
                            [CreditLimit] => 0
                            [CanCharge] => 1
                            [CanPay] => 1
                        )

                    [2] => stdClass Object
                        (
                            [Id] => 1
                            [Type] => 0
                            [Name] => ePurse1
                            [Balance] => 0
                            [CreditLimit] => 0
                            [CanCharge] => 1
                            [CanPay] => 1
                        )

                    [3] => stdClass Object
                        (
                            [Id] => 2
                            [Type] => 0
                            [Name] => ePurse2
                            [Balance] => 0
                            [CreditLimit] => 0
                            [CanCharge] => 1
                            [CanPay] => 1
                        )

                    [4] => stdClass Object
                        (
                            [Id] => 3
                            [Type] => 0
                            [Name] => ePurse3
                            [Balance] => 0
                            [CreditLimit] => 0
                            [CanCharge] => 1
                            [CanPay] => 1
                        )

                    [5] => stdClass Object
                        (
                            [Id] => 4
                            [Type] => 0
                            [Name] => ePurse4
                            [Balance] => 0
                            [CreditLimit] => 0
                            [CanCharge] => 1
                            [CanPay] => 1
                        )

                    [6] => stdClass Object
                        (
                            [Id] => 5
                            [Type] => 0
                            [Name] => ePurse5
                            [Balance] => 0
                            [CreditLimit] => 0
                            [CanCharge] => 1
                            [CanPay] => 1
                        )

                )

            [Classifications] => Array
                (
                    [0] => stdClass Object
                        (
                            [Id] => 1
                            [Name] => Class 1
                            [Type] => 1
                            [RenewalDate] => 2050-12-30T00:00:00
                        )

                )

            [MemberPhoto] => 
            [Gender] => 0
            [ReceiveEmail] => 1
            [ReceiveSms] => 1
            [Password] => 
        )

    [Items] => Array
        (
            [0] => stdClass Object
                (
                    [Id] => 2307
                    [Type] => 0
                    [Description] => 
                    [Quantity] => 6
                    [Price] => 6.99
                    [LineTotal] => 41.94
                    [RuleId] => 0
                    [VoucherId] => 0
                    [DiscountId] => 0
                    [DiscountTotal] => 0
                    [AccrualPoints] => 0
                    [Tax1] => 3.812727
                    [Tax2] => 0
                    [Tax3] => 0
                    [Tax4] => 0
                    [TaxFree] => 0
                    [CategoryId] => 1
                    [InventoryCode] => 2307
                )

            [1] => stdClass Object
                (
                    [Id] => 2222
                    [Type] => 0
                    [Description] => Local pickup
                    [Quantity] => 1
                    [Price] => 0
                    [LineTotal] => 0
                    [RuleId] => 0
                    [VoucherId] => 0
                    [DiscountId] => 0
                    [DiscountTotal] => 0
                    [AccrualPoints] => 0
                    [Tax1] => 0
                    [Tax2] => 0
                    [Tax3] => 0
                    [Tax4] => 0
                    [TaxFree] => 0
                    [CategoryId] => 25
                    [InventoryCode] => 2222
                )

        )

    [Media] => Array
        (
            [0] => stdClass Object
                (
                    [Id] => 11
                    [Amount] => 41.94
                    [ePurseId] => 0
                    [VoucherBarcode] => 
                )

        )

    [SuppliedVouchers] => Array
        (
        )

    [IssuedVouchers] => Array
        (
            [0] => stdClass Object
                (
                    [Id] => 0
                    [Barcode] => 
                    [FamilyId] => 0
                )

        )

    [AccrualPoints] => 0
)