Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaginationLinkDTO" /> class.
 /// </summary>
 /// <param name="first">first.</param>
 /// <param name="last">last.</param>
 /// <param name="prev">prev.</param>
 /// <param name="next">next.</param>
 /// <param name="href">href.</param>
 /// <param name="type">type.</param>
 public PaginationLinkDTO(LinkDTO first = default(LinkDTO), LinkDTO last = default(LinkDTO), LinkDTO prev = default(LinkDTO), LinkDTO next = default(LinkDTO), string href = default(string), string type = default(string))
 {
     this.First = first;
     this.Last  = last;
     this.Prev  = prev;
     this.Next  = next;
     this.Href  = href;
     this.Type  = type;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaginationLinkDTO" /> class.
 /// </summary>
 /// <param name="First">First.</param>
 /// <param name="Last">Last.</param>
 /// <param name="Prev">Prev.</param>
 /// <param name="Next">Next.</param>
 /// <param name="Href">Href.</param>
 /// <param name="Type">Type.</param>
 public PaginationLinkDTO(LinkDTO First = default(LinkDTO), LinkDTO Last = default(LinkDTO), LinkDTO Prev = default(LinkDTO), LinkDTO Next = default(LinkDTO), string Href = default(string), string Type = default(string))
 {
     this.First = First;
     this.Last  = Last;
     this.Prev  = Prev;
     this.Next  = Next;
     this.Href  = Href;
     this.Type  = Type;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Batch" /> class.
 /// </summary>
 /// <param name="LabelLayout">LabelLayout.</param>
 /// <param name="LabelFormat">LabelFormat.</param>
 /// <param name="BatchId">BatchId.</param>
 /// <param name="ExternalBatchId">ExternalBatchId.</param>
 /// <param name="BatchNotes">BatchNotes.</param>
 /// <param name="CreatedAt">CreatedAt.</param>
 /// <param name="ProcessedAt">ProcessedAt.</param>
 /// <param name="Errors">Errors.</param>
 /// <param name="Warnings">Warnings.</param>
 /// <param name="Completed">Completed.</param>
 /// <param name="Forms">Forms.</param>
 /// <param name="Count">Count.</param>
 /// <param name="BatchShipmentsUrl">BatchShipmentsUrl.</param>
 /// <param name="BatchLabelsUrl">BatchLabelsUrl.</param>
 /// <param name="BatchErrorsUrl">BatchErrorsUrl.</param>
 /// <param name="LabelDownload">LabelDownload.</param>
 /// <param name="FormDownload">FormDownload.</param>
 /// <param name="Status">Status.</param>
 public Batch(string LabelLayout = default(string), LabelFormatEnum?LabelFormat = default(LabelFormatEnum?), string BatchId = default(string), string ExternalBatchId = default(string), string BatchNotes = default(string), DateTime?CreatedAt = default(DateTime?), DateTime?ProcessedAt = default(DateTime?), int?Errors = default(int?), int?Warnings = default(int?), int?Completed = default(int?), int?Forms = default(int?), int?Count = default(int?), LinkDTO BatchShipmentsUrl = default(LinkDTO), LinkDTO BatchLabelsUrl = default(LinkDTO), LinkDTO BatchErrorsUrl = default(LinkDTO), LinkDTO LabelDownload = default(LinkDTO), LinkDTO FormDownload = default(LinkDTO), StatusEnum?Status = default(StatusEnum?))
 {
     this.LabelLayout       = LabelLayout;
     this.LabelFormat       = LabelFormat;
     this.BatchId           = BatchId;
     this.ExternalBatchId   = ExternalBatchId;
     this.BatchNotes        = BatchNotes;
     this.CreatedAt         = CreatedAt;
     this.ProcessedAt       = ProcessedAt;
     this.Errors            = Errors;
     this.Warnings          = Warnings;
     this.Completed         = Completed;
     this.Forms             = Forms;
     this.Count             = Count;
     this.BatchShipmentsUrl = BatchShipmentsUrl;
     this.BatchLabelsUrl    = BatchLabelsUrl;
     this.BatchErrorsUrl    = BatchErrorsUrl;
     this.LabelDownload     = LabelDownload;
     this.FormDownload      = FormDownload;
     this.Status            = Status;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Batch" /> class.
 /// </summary>
 /// <param name="labelLayout">labelLayout.</param>
 /// <param name="labelFormat">labelFormat.</param>
 /// <param name="batchId">batchId.</param>
 /// <param name="externalBatchId">externalBatchId.</param>
 /// <param name="batchNotes">batchNotes.</param>
 /// <param name="createdAt">createdAt.</param>
 /// <param name="processedAt">processedAt.</param>
 /// <param name="errors">errors.</param>
 /// <param name="warnings">warnings.</param>
 /// <param name="completed">completed.</param>
 /// <param name="forms">forms.</param>
 /// <param name="count">count.</param>
 /// <param name="batchShipmentsUrl">batchShipmentsUrl.</param>
 /// <param name="batchLabelsUrl">batchLabelsUrl.</param>
 /// <param name="batchErrorsUrl">batchErrorsUrl.</param>
 /// <param name="labelDownload">labelDownload.</param>
 /// <param name="formDownload">formDownload.</param>
 /// <param name="status">status.</param>
 public Batch(string labelLayout = default(string), LabelFormatEnum?labelFormat = default(LabelFormatEnum?), string batchId = default(string), string externalBatchId = default(string), string batchNotes = default(string), DateTime?createdAt = default(DateTime?), DateTime?processedAt = default(DateTime?), int?errors = default(int?), int?warnings = default(int?), int?completed = default(int?), int?forms = default(int?), int?count = default(int?), LinkDTO batchShipmentsUrl = default(LinkDTO), LinkDTO batchLabelsUrl = default(LinkDTO), LinkDTO batchErrorsUrl = default(LinkDTO), LinkDTO labelDownload = default(LinkDTO), LinkDTO formDownload = default(LinkDTO), StatusEnum?status = default(StatusEnum?))
 {
     this.LabelLayout       = labelLayout;
     this.LabelFormat       = labelFormat;
     this.BatchId           = batchId;
     this.ExternalBatchId   = externalBatchId;
     this.BatchNotes        = batchNotes;
     this.CreatedAt         = createdAt;
     this.ProcessedAt       = processedAt;
     this.Errors            = errors;
     this.Warnings          = warnings;
     this.Completed         = completed;
     this.Forms             = forms;
     this.Count             = count;
     this.BatchShipmentsUrl = batchShipmentsUrl;
     this.BatchLabelsUrl    = batchLabelsUrl;
     this.BatchErrorsUrl    = batchErrorsUrl;
     this.LabelDownload     = labelDownload;
     this.FormDownload      = formDownload;
     this.Status            = status;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Label" /> class.
 /// </summary>
 /// <param name="labelId">labelId.</param>
 /// <param name="status">status.</param>
 /// <param name="shipmentId">shipmentId.</param>
 /// <param name="shipDate">shipDate.</param>
 /// <param name="createdAt">createdAt.</param>
 /// <param name="shipmentCost">shipmentCost.</param>
 /// <param name="insuranceCost">insuranceCost.</param>
 /// <param name="trackingNumber">trackingNumber.</param>
 /// <param name="isReturnLabel">isReturnLabel.</param>
 /// <param name="rmaNumber">rmaNumber.</param>
 /// <param name="isInternational">isInternational.</param>
 /// <param name="batchId">batchId.</param>
 /// <param name="carrierId">carrierId.</param>
 /// <param name="serviceCode">serviceCode.</param>
 /// <param name="packageCode">packageCode.</param>
 /// <param name="voided">voided.</param>
 /// <param name="voidedAt">voidedAt.</param>
 /// <param name="labelFormat">labelFormat.</param>
 /// <param name="labelLayout">labelLayout.</param>
 /// <param name="trackable">trackable.</param>
 /// <param name="carrierCode">carrierCode.</param>
 /// <param name="trackingStatus">trackingStatus.</param>
 /// <param name="labelDownload">labelDownload.</param>
 /// <param name="formDownload">formDownload.</param>
 /// <param name="insuranceClaim">insuranceClaim.</param>
 /// <param name="packages">packages.</param>
 public Label(string labelId = default(string), StatusEnum?status = default(StatusEnum?), string shipmentId = default(string), DateTime?shipDate = default(DateTime?), DateTime?createdAt = default(DateTime?), MoneyDTO shipmentCost = default(MoneyDTO), MoneyDTO insuranceCost = default(MoneyDTO), string trackingNumber = default(string), bool?isReturnLabel = default(bool?), string rmaNumber = default(string), bool?isInternational = default(bool?), string batchId = default(string), string carrierId = default(string), string serviceCode = default(string), string packageCode = default(string), bool?voided = default(bool?), DateTime?voidedAt = default(DateTime?), LabelFormatEnum?labelFormat = default(LabelFormatEnum?), string labelLayout = default(string), bool?trackable = default(bool?), string carrierCode = default(string), TrackingStatusEnum?trackingStatus = default(TrackingStatusEnum?), LinkDTO labelDownload = default(LinkDTO), LinkDTO formDownload = default(LinkDTO), LinkDTO insuranceClaim = default(LinkDTO), List <LabelPackage> packages = default(List <LabelPackage>))
 {
     this.LabelId         = labelId;
     this.Status          = status;
     this.ShipmentId      = shipmentId;
     this.ShipDate        = shipDate;
     this.CreatedAt       = createdAt;
     this.ShipmentCost    = shipmentCost;
     this.InsuranceCost   = insuranceCost;
     this.TrackingNumber  = trackingNumber;
     this.IsReturnLabel   = isReturnLabel;
     this.RmaNumber       = rmaNumber;
     this.IsInternational = isInternational;
     this.BatchId         = batchId;
     this.CarrierId       = carrierId;
     this.ServiceCode     = serviceCode;
     this.PackageCode     = packageCode;
     this.Voided          = voided;
     this.VoidedAt        = voidedAt;
     this.LabelFormat     = labelFormat;
     this.LabelLayout     = labelLayout;
     this.Trackable       = trackable;
     this.CarrierCode     = carrierCode;
     this.TrackingStatus  = trackingStatus;
     this.LabelDownload   = labelDownload;
     this.FormDownload    = formDownload;
     this.InsuranceClaim  = insuranceClaim;
     this.Packages        = packages;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Label" /> class.
 /// </summary>
 /// <param name="LabelId">LabelId.</param>
 /// <param name="Status">Status.</param>
 /// <param name="ShipmentId">ShipmentId.</param>
 /// <param name="ShipDate">ShipDate.</param>
 /// <param name="CreatedAt">CreatedAt.</param>
 /// <param name="ShipmentCost">ShipmentCost.</param>
 /// <param name="InsuranceCost">InsuranceCost.</param>
 /// <param name="TrackingNumber">TrackingNumber.</param>
 /// <param name="IsReturnLabel">IsReturnLabel.</param>
 /// <param name="IsInternational">IsInternational.</param>
 /// <param name="BatchId">BatchId.</param>
 /// <param name="CarrierId">CarrierId.</param>
 /// <param name="ServiceCode">ServiceCode.</param>
 /// <param name="PackageCode">PackageCode.</param>
 /// <param name="Voided">Voided.</param>
 /// <param name="VoidedAt">VoidedAt.</param>
 /// <param name="LabelFormat">LabelFormat.</param>
 /// <param name="LabelLayout">LabelLayout.</param>
 /// <param name="Trackable">Trackable.</param>
 /// <param name="CarrierCode">CarrierCode.</param>
 /// <param name="TrackingStatus">TrackingStatus.</param>
 /// <param name="LabelDownload">LabelDownload.</param>
 /// <param name="FormDownload">FormDownload.</param>
 /// <param name="InsuranceClaim">InsuranceClaim.</param>
 /// <param name="Packages">Packages.</param>
 public Label(string LabelId = default(string), StatusEnum?Status = default(StatusEnum?), string ShipmentId = default(string), DateTime?ShipDate = default(DateTime?), DateTime?CreatedAt = default(DateTime?), MoneyDTO ShipmentCost = default(MoneyDTO), MoneyDTO InsuranceCost = default(MoneyDTO), string TrackingNumber = default(string), bool?IsReturnLabel = default(bool?), bool?IsInternational = default(bool?), string BatchId = default(string), string CarrierId = default(string), string ServiceCode = default(string), string PackageCode = default(string), bool?Voided = default(bool?), DateTime?VoidedAt = default(DateTime?), LabelFormatEnum?LabelFormat = default(LabelFormatEnum?), string LabelLayout = default(string), bool?Trackable = default(bool?), string CarrierCode = default(string), TrackingStatusEnum?TrackingStatus = default(TrackingStatusEnum?), LinkDTO LabelDownload = default(LinkDTO), LinkDTO FormDownload = default(LinkDTO), LinkDTO InsuranceClaim = default(LinkDTO), List <LabelPackage> Packages = default(List <LabelPackage>))
 {
     this.LabelId         = LabelId;
     this.Status          = Status;
     this.ShipmentId      = ShipmentId;
     this.ShipDate        = ShipDate;
     this.CreatedAt       = CreatedAt;
     this.ShipmentCost    = ShipmentCost;
     this.InsuranceCost   = InsuranceCost;
     this.TrackingNumber  = TrackingNumber;
     this.IsReturnLabel   = IsReturnLabel;
     this.IsInternational = IsInternational;
     this.BatchId         = BatchId;
     this.CarrierId       = CarrierId;
     this.ServiceCode     = ServiceCode;
     this.PackageCode     = PackageCode;
     this.Voided          = Voided;
     this.VoidedAt        = VoidedAt;
     this.LabelFormat     = LabelFormat;
     this.LabelLayout     = LabelLayout;
     this.Trackable       = Trackable;
     this.CarrierCode     = CarrierCode;
     this.TrackingStatus  = TrackingStatus;
     this.LabelDownload   = LabelDownload;
     this.FormDownload    = FormDownload;
     this.InsuranceClaim  = InsuranceClaim;
     this.Packages        = Packages;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Manifest" /> class.
 /// </summary>
 /// <param name="ManifestId">ManifestId.</param>
 /// <param name="FormId">FormId.</param>
 /// <param name="CreatedAt">CreatedAt.</param>
 /// <param name="ShipDate">ShipDate.</param>
 /// <param name="Shipments">Shipments.</param>
 /// <param name="WarehouseId">WarehouseId.</param>
 /// <param name="SubmissionId">SubmissionId.</param>
 /// <param name="ManifestDownload">ManifestDownload.</param>
 public Manifest(string ManifestId = default(string), string FormId = default(string), DateTime?CreatedAt = default(DateTime?), DateTime?ShipDate = default(DateTime?), int?Shipments = default(int?), string WarehouseId = default(string), string SubmissionId = default(string), LinkDTO ManifestDownload = default(LinkDTO))
 {
     this.ManifestId       = ManifestId;
     this.FormId           = FormId;
     this.CreatedAt        = CreatedAt;
     this.ShipDate         = ShipDate;
     this.Shipments        = Shipments;
     this.WarehouseId      = WarehouseId;
     this.SubmissionId     = SubmissionId;
     this.ManifestDownload = ManifestDownload;
 }
Exemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ManifestResponse" /> class.
 /// </summary>
 /// <param name="manifestId">manifestId.</param>
 /// <param name="formId">formId.</param>
 /// <param name="createdAt">createdAt.</param>
 /// <param name="shipDate">shipDate.</param>
 /// <param name="shipments">shipments.</param>
 /// <param name="warehouseId">warehouseId.</param>
 /// <param name="submissionId">submissionId.</param>
 /// <param name="carrierId">carrierId.</param>
 /// <param name="manifestDownload">manifestDownload.</param>
 public ManifestResponse(string manifestId = default(string), string formId = default(string), DateTime?createdAt = default(DateTime?), DateTime?shipDate = default(DateTime?), int?shipments = default(int?), string warehouseId = default(string), string submissionId = default(string), string carrierId = default(string), LinkDTO manifestDownload = default(LinkDTO))
 {
     this.ManifestId       = manifestId;
     this.FormId           = formId;
     this.CreatedAt        = createdAt;
     this.ShipDate         = shipDate;
     this.Shipments        = shipments;
     this.WarehouseId      = warehouseId;
     this.SubmissionId     = submissionId;
     this.CarrierId        = carrierId;
     this.ManifestDownload = manifestDownload;
 }