/// <summary>
 /// Initializes a new instance of the <see cref="AddressValidatingShipment" /> class.
 /// </summary>
 /// <param name="validateAddress">validateAddress.</param>
 /// <param name="shipmentId">shipmentId.</param>
 /// <param name="carrierId">carrierId.</param>
 /// <param name="serviceCode">serviceCode.</param>
 /// <param name="externalShipmentId">externalShipmentId.</param>
 /// <param name="shipDate">shipDate.</param>
 /// <param name="createdAt">createdAt.</param>
 /// <param name="modifiedAt">modifiedAt.</param>
 /// <param name="shipmentStatus">shipmentStatus.</param>
 /// <param name="shipTo">shipTo.</param>
 /// <param name="shipFrom">shipFrom.</param>
 /// <param name="warehouseId">warehouseId.</param>
 /// <param name="returnTo">returnTo.</param>
 /// <param name="confirmation">confirmation.</param>
 /// <param name="customs">customs.</param>
 /// <param name="advancedOptions">advancedOptions.</param>
 /// <param name="insuranceProvider">insuranceProvider.</param>
 /// <param name="tags">tags.</param>
 /// <param name="packages">packages.</param>
 public AddressValidatingShipment(ValidateAddressEnum?validateAddress = default(ValidateAddressEnum?), string shipmentId = default(string), string carrierId = default(string), string serviceCode = default(string), string externalShipmentId = default(string), DateTime?shipDate = default(DateTime?), DateTime?createdAt = default(DateTime?), DateTime?modifiedAt = default(DateTime?), ShipmentStatusEnum?shipmentStatus = default(ShipmentStatusEnum?), AddressDTO shipTo = default(AddressDTO), AddressDTO shipFrom = default(AddressDTO), string warehouseId = default(string), AddressDTO returnTo = default(AddressDTO), ConfirmationEnum?confirmation = default(ConfirmationEnum?), InternationalOptions customs = default(InternationalOptions), AdvancedOptions advancedOptions = default(AdvancedOptions), InsuranceProviderEnum?insuranceProvider = default(InsuranceProviderEnum?), List <TagResponse> tags = default(List <TagResponse>), List <ShipmentPackage> packages = default(List <ShipmentPackage>))
 {
     this.ValidateAddress    = validateAddress;
     this.ShipmentId         = shipmentId;
     this.CarrierId          = carrierId;
     this.ServiceCode        = serviceCode;
     this.ExternalShipmentId = externalShipmentId;
     this.ShipDate           = shipDate;
     this.CreatedAt          = createdAt;
     this.ModifiedAt         = modifiedAt;
     this.ShipmentStatus     = shipmentStatus;
     this.ShipTo             = shipTo;
     this.ShipFrom           = shipFrom;
     this.WarehouseId        = warehouseId;
     this.ReturnTo           = returnTo;
     this.Confirmation       = confirmation;
     this.Customs            = customs;
     this.AdvancedOptions    = advancedOptions;
     this.InsuranceProvider  = insuranceProvider;
     this.Tags     = tags;
     this.Packages = packages;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateShipmentResponse" /> class.
 /// </summary>
 /// <param name="Errors">Errors.</param>
 /// <param name="AddressValidation">AddressValidation.</param>
 /// <param name="ShipmentId">ShipmentId.</param>
 /// <param name="CarrierId">CarrierId.</param>
 /// <param name="ServiceCode">ServiceCode.</param>
 /// <param name="ExternalShipmentId">ExternalShipmentId.</param>
 /// <param name="ShipDate">ShipDate.</param>
 /// <param name="CreatedAt">CreatedAt.</param>
 /// <param name="ModifiedAt">ModifiedAt.</param>
 /// <param name="ShipmentStatus">ShipmentStatus.</param>
 /// <param name="ShipTo">ShipTo.</param>
 /// <param name="ShipFrom">ShipFrom.</param>
 /// <param name="WarehouseId">WarehouseId.</param>
 /// <param name="ReturnTo">ReturnTo.</param>
 /// <param name="Confirmation">Confirmation.</param>
 /// <param name="Customs">Customs.</param>
 /// <param name="AdvancedOptions">AdvancedOptions.</param>
 /// <param name="InsuranceProvider">InsuranceProvider.</param>
 /// <param name="Tags">Tags.</param>
 /// <param name="Packages">Packages.</param>
 /// <param name="TotalWeight">TotalWeight.</param>
 public CreateShipmentResponse(List <string> Errors = default(List <string>), AddressValidationResponseDTO AddressValidation = default(AddressValidationResponseDTO), string ShipmentId = default(string), string CarrierId = default(string), string ServiceCode = default(string), string ExternalShipmentId = default(string), DateTime?ShipDate = default(DateTime?), DateTime?CreatedAt = default(DateTime?), DateTime?ModifiedAt = default(DateTime?), ShipmentStatusEnum?ShipmentStatus = default(ShipmentStatusEnum?), AddressDTO ShipTo = default(AddressDTO), AddressDTO ShipFrom = default(AddressDTO), string WarehouseId = default(string), AddressDTO ReturnTo = default(AddressDTO), ConfirmationEnum?Confirmation = default(ConfirmationEnum?), InternationalOptions Customs = default(InternationalOptions), Dictionary <string, Object> AdvancedOptions = default(Dictionary <string, Object>), InsuranceProviderEnum?InsuranceProvider = default(InsuranceProviderEnum?), List <TagResponse> Tags = default(List <TagResponse>), List <ShipmentPackage> Packages = default(List <ShipmentPackage>), Weight TotalWeight = default(Weight))
 {
     this.Errors             = Errors;
     this.AddressValidation  = AddressValidation;
     this.ShipmentId         = ShipmentId;
     this.CarrierId          = CarrierId;
     this.ServiceCode        = ServiceCode;
     this.ExternalShipmentId = ExternalShipmentId;
     this.ShipDate           = ShipDate;
     this.CreatedAt          = CreatedAt;
     this.ModifiedAt         = ModifiedAt;
     this.ShipmentStatus     = ShipmentStatus;
     this.ShipTo             = ShipTo;
     this.ShipFrom           = ShipFrom;
     this.WarehouseId        = WarehouseId;
     this.ReturnTo           = ReturnTo;
     this.Confirmation       = Confirmation;
     this.Customs            = Customs;
     this.AdvancedOptions    = AdvancedOptions;
     this.InsuranceProvider  = InsuranceProvider;
     this.Tags        = Tags;
     this.Packages    = Packages;
     this.TotalWeight = TotalWeight;
 }