Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderData" /> class.
 /// </summary>
 /// <param name="Fulfillment">Information needed to fulfill the order delivery.</param>
 /// <param name="Fees">Fees charged to this order, such as delivery or setup fees.</param>
 /// <param name="OrderLines">The order line items.</param>
 /// <param name="Payments">Payments information assigned to the order.</param>
 /// <param name="Taxes">The taxes calculated for the order.</param>
 /// <param name="Promotions">Promotions information assigned to the order.</param>
 /// <param name="AdditionalReferenceIds">Map of additional Reference ID strings for the order.</param>
 /// <param name="TaxExempt">Indicates that this order should be tax exempt. The point of sale should verify the customer is qualified for the order to be exempted..</param>
 /// <param name="TaxExemptId">Tax Exemption Identifier to verify tax exempt status of an order.</param>
 /// <param name="TotalModifiers">Modifiers on the orders&#39; lines total.</param>
 /// <param name="PartySize">Party size for the order.</param>
 /// <param name="PickupContact">Pickup contact for the order.</param>
 /// <param name="CheckInDetails">CheckIn details for the order.</param>
 /// <param name="Comments">General comments for whole order.</param>
 /// <param name="Channel">Channel through which the Order was placed.</param>
 /// <param name="Currency">The currency of all money values in the order. This is the currency code as defined in ISO 4217.</param>
 /// <param name="Customer">The customer of this order.</param>
 /// <param name="GroupMembers">List of group members for group ordering on line items.</param>
 /// <param name="ErrorDescription">Description for an error.</param>
 /// <param name="Owner">Responsible party for this order, where party can be application, site, person.</param>
 /// <param name="ReferenceId">External reference identifier.</param>
 /// <param name="Source">Retail origin of the order, such as an order aggregator or third party ordering system..</param>
 /// <param name="Status">Status this order is in.</param>
 /// <param name="Totals">List of customer order totals.</param>
 public OrderData(FulfillmentData Fulfillment = default(FulfillmentData), List <FeeData> Fees = default(List <FeeData>), List <OrderLineData> OrderLines = default(List <OrderLineData>), List <PaymentData> Payments = default(List <PaymentData>), List <TaxData> Taxes = default(List <TaxData>), List <PromotionData> Promotions = default(List <PromotionData>), Dictionary <string, string> AdditionalReferenceIds = default(Dictionary <string, string>), bool?TaxExempt = default(bool?), string TaxExemptId = default(string), List <TicketTotalModifierData> TotalModifiers = default(List <TicketTotalModifierData>), int?PartySize = default(int?), PickupContactData PickupContact = default(PickupContactData), CheckInDetailsData CheckInDetails = default(CheckInDetailsData), string Comments = default(string), ChannelEnum?Channel = default(ChannelEnum?), string Currency = default(string), CustomerData Customer = default(CustomerData), List <GroupMemberData> GroupMembers = default(List <GroupMemberData>), string ErrorDescription = default(string), string Owner = default(string), string ReferenceId = default(string), string Source = default(string), StatusEnum?Status = default(StatusEnum?), List <TotalData> Totals = default(List <TotalData>))
 {
     this.Fulfillment            = Fulfillment;
     this.Fees                   = Fees;
     this.OrderLines             = OrderLines;
     this.Payments               = Payments;
     this.Taxes                  = Taxes;
     this.Promotions             = Promotions;
     this.AdditionalReferenceIds = AdditionalReferenceIds;
     this.TaxExempt              = TaxExempt;
     this.TaxExemptId            = TaxExemptId;
     this.TotalModifiers         = TotalModifiers;
     this.PartySize              = PartySize;
     this.PickupContact          = PickupContact;
     this.CheckInDetails         = CheckInDetails;
     this.Comments               = Comments;
     this.Channel                = Channel;
     this.Currency               = Currency;
     this.Customer               = Customer;
     this.GroupMembers           = GroupMembers;
     this.ErrorDescription       = ErrorDescription;
     this.Owner                  = Owner;
     this.ReferenceId            = ReferenceId;
     this.Source                 = Source;
     this.Status                 = Status;
     this.Totals                 = Totals;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderViewData" /> class.
 /// </summary>
 /// <param name="DateCreated">The date the order was created. A read only value that is handled internally, and will be disregarded if sent in a message.</param>
 /// <param name="DateUpdated">The last date the order was changed. A read only value that is handled internally, and will be disregarded if sent in a message.</param>
 /// <param name="Id">Unique identifier. A read only value that is handled internally, and will be disregarded if sent in a message.</param>
 /// <param name="_Lock">Orders&#39; owner locking information.</param>
 /// <param name="ExpireAt">The expiration date of the order. A read only value that is handled internally, and will be disregarded if sent in a message.</param>
 /// <param name="SourceOrganization">Order&#39;s source organization name. A read only value that is handled internally.</param>
 /// <param name="DateAcknowledged">The date and time that an order was acknowledged as received by an NEP Enterprise Unit. If null, order has not been acknowledged by the target NEP Enterprise Unit..</param>
 /// <param name="EnterpriseUnitId">Site for which order is placed..</param>
 /// <param name="Comments">General comments for whole order.</param>
 /// <param name="Channel">Channel through which the Order was placed.</param>
 /// <param name="Currency">The currency of all money values in the order. This is the currency code as defined in ISO 4217.</param>
 /// <param name="Customer">The customer of this order.</param>
 /// <param name="GroupMembers">List of group members for group ordering on line items.</param>
 /// <param name="ErrorDescription">Description for an error.</param>
 /// <param name="Owner">Responsible party for this order, where party can be application, site, person.</param>
 /// <param name="ReferenceId">External reference identifier.</param>
 /// <param name="Source">Retail origin of the order, such as an order aggregator or third party ordering system..</param>
 /// <param name="Status">Status this order is in.</param>
 /// <param name="Totals">List of customer order totals.</param>
 /// <param name="Fulfillment">Information needed to fulfill the order delivery.</param>
 /// <param name="Fees">Fees charged to this order, such as delivery or setup fees.</param>
 /// <param name="OrderLines">The order line items.</param>
 /// <param name="Payments">Payments information assigned to the order.</param>
 /// <param name="Taxes">The taxes calculated for the order.</param>
 /// <param name="Promotions">Promotions information assigned to the order.</param>
 /// <param name="AdditionalReferenceIds">Map of additional Reference ID strings for the order.</param>
 /// <param name="TaxExempt">Indicates that this order should be tax exempt. The point of sale should verify the customer is qualified for the order to be exempted..</param>
 /// <param name="TaxExemptId">Tax Exemption Identifier to verify tax exempt status of an order.</param>
 /// <param name="TotalModifiers">Modifiers on the orders&#39; lines total.</param>
 /// <param name="PartySize">Party size for the order.</param>
 /// <param name="PickupContact">Pickup contact for the order.</param>
 /// <param name="CheckInDetails">CheckIn details for the order.</param>
 /// <param name="Etag">Etag.</param>
 public OrderViewData(DateTime?DateCreated = default(DateTime?), DateTime?DateUpdated = default(DateTime?), string Id = default(string), LockData _Lock = default(LockData), DateTime?ExpireAt = default(DateTime?), string SourceOrganization = default(string), DateTime?DateAcknowledged = default(DateTime?), string EnterpriseUnitId = default(string), string Comments = default(string), ChannelEnum?Channel = default(ChannelEnum?), string Currency = default(string), CustomerData Customer = default(CustomerData), List <GroupMemberData> GroupMembers = default(List <GroupMemberData>), string ErrorDescription = default(string), string Owner = default(string), string ReferenceId = default(string), string Source = default(string), StatusEnum?Status = default(StatusEnum?), List <TotalData> Totals = default(List <TotalData>), FulfillmentData Fulfillment = default(FulfillmentData), List <FeeData> Fees = default(List <FeeData>), List <OrderLineData> OrderLines = default(List <OrderLineData>), List <PaymentData> Payments = default(List <PaymentData>), List <TaxData> Taxes = default(List <TaxData>), List <PromotionData> Promotions = default(List <PromotionData>), Dictionary <string, string> AdditionalReferenceIds = default(Dictionary <string, string>), bool?TaxExempt = default(bool?), string TaxExemptId = default(string), List <TicketTotalModifierData> TotalModifiers = default(List <TicketTotalModifierData>), int?PartySize = default(int?), PickupContactData PickupContact = default(PickupContactData), CheckInDetailsData CheckInDetails = default(CheckInDetailsData), string Etag = default(string))
 {
     this.DateCreated            = DateCreated;
     this.DateUpdated            = DateUpdated;
     this.Id                     = Id;
     this._Lock                  = _Lock;
     this.ExpireAt               = ExpireAt;
     this.SourceOrganization     = SourceOrganization;
     this.DateAcknowledged       = DateAcknowledged;
     this.EnterpriseUnitId       = EnterpriseUnitId;
     this.Comments               = Comments;
     this.Channel                = Channel;
     this.Currency               = Currency;
     this.Customer               = Customer;
     this.GroupMembers           = GroupMembers;
     this.ErrorDescription       = ErrorDescription;
     this.Owner                  = Owner;
     this.ReferenceId            = ReferenceId;
     this.Source                 = Source;
     this.Status                 = Status;
     this.Totals                 = Totals;
     this.Fulfillment            = Fulfillment;
     this.Fees                   = Fees;
     this.OrderLines             = OrderLines;
     this.Payments               = Payments;
     this.Taxes                  = Taxes;
     this.Promotions             = Promotions;
     this.AdditionalReferenceIds = AdditionalReferenceIds;
     this.TaxExempt              = TaxExempt;
     this.TaxExemptId            = TaxExemptId;
     this.TotalModifiers         = TotalModifiers;
     this.PartySize              = PartySize;
     this.PickupContact          = PickupContact;
     this.CheckInDetails         = CheckInDetails;
     this.Etag                   = Etag;
 }