Ejemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="outOrderHandle"></param>
        /// <returns></returns>
        private void setWebOrderAccountSection(string outOrderHandle)
        {
            WebmateClientInterface webMate  = WebmateClientInterface.Instance;
            DTO_WebOrderDelivery   delivery = webMate.CreateAccountDelivery(RecipientTextBox.Text,
                                                                            StreetNumberTextBox.Text,
                                                                            StreetNameTextBox.Text,
                                                                            SuburbTextBox.Text,
                                                                            CityTextBox.Text,
                                                                            CountryTextBox.Text,
                                                                            PhoneNumberTextBox.Text);
            DTO_WebOrderPayments payments = webMate.CreateAccountPayments(PaymentRequiredCheckBox.Checked);

            webMate.SaveAccountSection(outOrderHandle,
                                       Convert.ToUInt32(CoversNumeric.Value),
                                       MemberNumberTextBox.Text,
                                       CustomerNameTextBox.Text,
                                       createComments(),
                                       delivery,
                                       payments,
                                       createItems());
        }
Ejemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="outOrderHandle"></param>
        /// <returns></returns>
        private void setWebOrderAccountSection(string outOrderHandle)
        {
            WebmateClientInterface webMate  = WebmateClientInterface.Instance;
            DTO_WebOrderDelivery   delivery = webMate.CreateAccountDelivery(tbRecipient.Text,
                                                                            tbStreetNo.Text,
                                                                            tbStreetName.Text,
                                                                            tbSuburb.Text,
                                                                            tbCity.Text,
                                                                            tbCountry.Text,
                                                                            tbPhoneNo.Text,
                                                                            tbNote.Text);
            DTO_WebOrderPayments payments = webMate.CreateAccountPayments(cbPaymentRequired.Checked);

            webMate.SaveAccountSection(outOrderHandle,
                                       Convert.ToUInt32(numCovers.Value),
                                       tbMemberNumber.Text,
                                       tbCustomerName.Text,
                                       createComments(),
                                       delivery,
                                       payments,
                                       createItems());
        }