Пример #1
0
 /// <summary>
 /// Initializes a new instance of the InboundShipmentPlan class.
 /// </summary>
 /// <param name="shipmentId">A shipment identifier originally returned
 /// by the createInboundShipmentPlan operation.</param>
 /// <param name="destinationFulfillmentCenterId">An Amazon fulfillment
 /// center identifier created by Amazon.</param>
 /// <param name="shipToAddress">The address of the Amazon fulfillment
 /// center to which to ship the items.</param>
 /// <param name="labelPrepType">Possible values include: 'NO_LABEL',
 /// 'SELLER_LABEL', 'AMAZON_LABEL'</param>
 /// <param name="items">SKU and quantity information for the items in
 /// the shipment.</param>
 public InboundShipmentPlan(string shipmentId, string destinationFulfillmentCenterId, Address shipToAddress, string labelPrepType, IList <InboundShipmentPlanItem> items, BoxContentsFeeDetails estimatedBoxContentsFee = default(BoxContentsFeeDetails))
 {
     ShipmentId = shipmentId;
     DestinationFulfillmentCenterId = destinationFulfillmentCenterId;
     ShipToAddress           = shipToAddress;
     LabelPrepType           = labelPrepType;
     Items                   = items;
     EstimatedBoxContentsFee = estimatedBoxContentsFee;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the InboundShipmentInfo class.
 /// </summary>
 /// <param name="shipFromAddress">The return address.</param>
 /// <param name="areCasesRequired">Indicates whether or not an inbound
 /// shipment contains case-packed boxes. When AreCasesRequired = true
 /// for an inbound shipment, all items in the inbound shipment must be
 /// case packed.</param>
 /// <param name="shipmentId">The shipment identifier submitted in the
 /// request.</param>
 /// <param name="shipmentName">The name for the inbound
 /// shipment.</param>
 /// <param name="destinationFulfillmentCenterId">An Amazon fulfillment
 /// center identifier created by Amazon.</param>
 /// <param name="shipmentStatus">Possible values include: 'WORKING',
 /// 'SHIPPED', 'RECEIVING', 'CANCELLED', 'DELETED', 'CLOSED', 'ERROR',
 /// 'IN_TRANSIT', 'DELIVERED', 'CHECKED_IN'</param>
 /// <param name="labelPrepType">Possible values include: 'NO_LABEL',
 /// 'SELLER_LABEL', 'AMAZON_LABEL'</param>
 /// <param name="confirmedNeedByDate">Date by which the shipment must
 /// arrive at the Amazon fulfillment center to avoid delivery promise
 /// breaks for pre-ordered items.</param>
 /// <param name="boxContentsSource">Possible values include: 'NONE',
 /// 'FEED', '2D_BARCODE', 'INTERACTIVE'</param>
 /// <param name="estimatedBoxContentsFee">An estimate of the manual
 /// processing fee charged by Amazon for boxes without box content
 /// information. This is only returned when BoxContentsSource is
 /// NONE.</param>
 public InboundShipmentInfo(Address shipFromAddress, bool areCasesRequired, string shipmentId = default(string), string shipmentName = default(string), string destinationFulfillmentCenterId = default(string), string shipmentStatus = default(string), string labelPrepType = default(string), System.DateTime?confirmedNeedByDate = default(System.DateTime?), string boxContentsSource = default(string), BoxContentsFeeDetails estimatedBoxContentsFee = default(BoxContentsFeeDetails))
 {
     ShipmentId      = shipmentId;
     ShipmentName    = shipmentName;
     ShipFromAddress = shipFromAddress;
     DestinationFulfillmentCenterId = destinationFulfillmentCenterId;
     ShipmentStatus          = shipmentStatus;
     LabelPrepType           = labelPrepType;
     AreCasesRequired        = areCasesRequired;
     ConfirmedNeedByDate     = confirmedNeedByDate;
     BoxContentsSource       = boxContentsSource;
     EstimatedBoxContentsFee = estimatedBoxContentsFee;
     CustomInit();
 }