Ejemplo n.º 1
0
 public OrderSendRequest(string clientID, Client client,
                         Address billingAddress, DeliveryAddress deliveryAddress, List <ShoppingProductRequest> products, PaymentInformation paymentInformation, ShippingInformation shippingInformation)
 {
     this.ClientID            = clientID;
     this.Client              = client;
     this.BillingAddress      = billingAddress;
     this.DeliveryAddress     = deliveryAddress;
     this.Products            = products;
     this.PaymentInformation  = paymentInformation;
     this.ShippingInformation = shippingInformation;
 }
 public OrderResponse(string orderID, string clientID, Address billingAddress, DeliveryAddress deliveryAddress, List <OrderProduct> products,
                      PaymentInformation paymentInformation, string bankSlipUrl, ShippingInformation shippingInformation,
                      string orderStatus, string orderStatusMessage, List <OrderShipping> orderShippings, List <OrderStatusHistory> orderStatusHistory,
                      Client client, InvoiceInformation invoiceInformation)
 {
     this.OrderID             = orderID;
     this.ClientID            = clientID;
     this.BillingAddress      = billingAddress;
     this.DeliveryAddress     = deliveryAddress;
     this.Products            = products;
     this.PaymentInformation  = paymentInformation;
     this.BankSlipUrl         = bankSlipUrl;
     this.ShippingInformation = shippingInformation;
     this.OrderStatus         = orderStatus;
     this.OrderStatusMessage  = orderStatusMessage;
     this.OrderShippings      = orderShippings;
     this.OrderStatusHistory  = orderStatusHistory;
     this.Client             = client;
     this.InvoiceInformation = invoiceInformation;
 }