From 3686863c2f2650228506a2835c80ad18826a359c Mon Sep 17 00:00:00 2001 From: Mikus Rozenbergs Date: Thu, 4 Nov 2021 22:57:25 +0200 Subject: [PATCH 1/3] fixed travis: - You are using the deprecated option "--no-suggest". - phpunit/phpunit[9.5.0, ..., 9.5.2] require php >=7.3 -> your php version (7.2.15) does not satisfy that requirement. --- .travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 39757938..99eee7ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,13 @@ language: php php: - - 7.0 - - 7.1 - - 7.2 - 7.3 + - 7.4 install: - - composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable + - composer update --no-interaction --no-ansi --no-progress --optimize-autoloader --prefer-stable script: vendor/bin/phpunit notifications: - email: false \ No newline at end of file + email: false From 05e2784d37c9a34fb19e64937851d7fbd3711d0e Mon Sep 17 00:00:00 2001 From: Mikus Rozenbergs Date: Fri, 5 Nov 2021 02:10:46 +0200 Subject: [PATCH 2/3] Updated: - php version - composer packages - FedEx RateService v28 -> 31 - FedEx Track Service v19 -> v20 - FedEx Ship Service v26 -> v28 - FedEx Upload Document Service v11 -> v19 - FedEx Pickup Service v22 -> v23 - FedEx Open Ship Service v15 -> v20 - FedEx Validation and Commitment Service v14 -> v17 Fixed: - tests - examples --- composer.json | 5 +- composer.lock | 448 +- examples/address-validation.php | 16 +- examples/async-retrieve-job-results.php | 2 + examples/cancel-pending-shipment.php | 27 - examples/close-service.php | 18 +- examples/country-service.php | 29 +- examples/create-open-shipment.php | 2 +- examples/create-pending-shipment.php | 99 - examples/create-pickup.php | 3 +- examples/dangerous-goods-data-service.php | 4 +- ...nding-shipment.php => delete-shipment.php} | 18 +- examples/in-flight-shipment-service.php | 2 +- examples/rate-request.php | 2 +- examples/ship.php | 2 +- examples/track-by-id.php | 14 +- examples/upload-documents.php | 3 +- ...on-availability-and-commitment-service.php | 5 +- .../AssociatedEnterpriseDocumentDetail.php | 49 + .../ComplexType/ContactAndAddress.php | 49 + .../ComplexType/ManifestReferenceDetail.php | 49 + src/FedEx/DGDSService/ComplexType/Party.php | 75 + .../ComplexType/TaxpayerIdentification.php | 88 + ...ngerousGoodsProcessingOptionsRequested.php | 36 + ...ngerousGoodsProcessingOptionsRequested.php | 36 + .../SimpleType/CustomerReferenceType.php | 26 + .../FedExAddressClassificationType.php | 21 + src/FedEx/DGDSService/SimpleType/TinType.php | 20 + ...loadDangerousGoodsProcessingOptionType.php | 16 + ...dateDangerousGoodsProcessingOptionType.php | 17 + .../AddPackagesToOpenShipmentReply.php | 6 +- .../ComplexType/AssociatedShipmentDetail.php | 8 +- .../OpenShipService/ComplexType/Commodity.php | 12 +- .../ComplexType/CompletedPackageDetail.php | 15 +- .../ComplexType/CompletedShipmentDetail.php | 28 +- .../ComplexType/ConfirmOpenShipmentReply.php | 13 + .../ComplexType/ContentRecord.php | 2 +- .../ComplexType/CreateOpenShipmentReply.php | 17 +- .../ComplexType/CustomsClearanceDetail.php | 2 +- .../CustomsDeclarationStatementDetail.php | 13 - .../ComplexType/EPaymentDetail.php | 101 + .../ComplexType/EdtCommodityTax.php | 13 + .../FreightSpecialServicePayment.php | 4 +- .../GetConfirmOpenShipmentResultsReply.php | 13 + .../GetCreateOpenShipmentResultsReply.php | 17 +- .../GetModifyOpenShipmentResultsReply.php | 13 + .../OpenShipService/ComplexType/Message.php | 75 + .../ComplexType/MessageParameter.php | 49 + .../ComplexType/ModifyOpenShipmentReply.php | 13 + .../ComplexType/OfferingIdentifierDetail.php | 62 + .../PackageSpecialServicesRequested.php | 8 +- .../ComplexType/PackagingDescription.php | 88 + .../OpenShipService/ComplexType/Payment.php | 13 + .../ComplexType/ProductName.php | 2 +- .../ComplexType/RegulatoryAdvisoryDetail.php | 36 + .../ComplexType/RegulatoryProhibition.php | 127 + .../ComplexType/RegulatoryWaiver.php | 62 + .../ComplexType/RequestedPackageLineItem.php | 29 +- .../ComplexType/RequestedShipment.php | 12 +- .../ComplexType/ServiceDescription.php | 4 +- .../ComplexType/ShipmentAdvisoryDetail.php | 36 + .../ComplexType/ShipmentReply.php | 13 + .../ShipmentSpecialServicesRequested.php | 8 +- .../ComplexType/ShipperConveyanceDetail.php | 36 + .../ComplexType/ShippingDocumentFormat.php | 2 +- .../ShippingDocumentSpecification.php | 23 +- .../ComplexType/SpecialServiceDescription.php | 49 + .../UsmcaCertificationOfOriginDetail.php | 114 + ...cialInvoiceCertificationOfOriginDetail.php | 101 + .../ComplexType/UsmcaCommodityDetail.php | 36 + .../ComplexType/ValidateOpenShipmentReply.php | 13 + src/FedEx/OpenShipService/Request.php | 21 +- .../SimpleType/CarrierCodeType.php | 1 + .../CustomsDeclarationStatementType.php | 2 +- .../SimpleType/EPaymentModeType.php | 21 + .../SimpleType/EPaymentProcessorType.php | 16 + .../SimpleType/EnterpriseDocumentType.php | 3 +- .../SimpleType/NotificationEventType.php | 4 + .../SimpleType/PaymentType.php | 1 + .../SimpleType/ProhibitionSourceType.php | 17 + .../SimpleType/ProhibitionStatusType.php | 17 + .../SimpleType/ProhibitionType.php | 19 + .../SimpleType/RecommendedDocumentType.php | 10 +- .../SimpleType/RegulatoryControlType.php | 2 +- .../RequestedShippingDocumentType.php | 3 +- .../SimpleType/RequiredDocumentType.php | 2 +- .../ReturnedShippingDocumentType.php | 3 +- .../ShipmentNotificationRoleType.php | 1 - .../ShipmentProcessingOptionType.php | 3 + .../SimpleType/ShipmentRuleType.php | 18 + .../SimpleType/SurchargeType.php | 7 +- .../SimpleType/UploadDocumentType.php | 3 +- .../UsmcaCertifierSpecificationType.php | 18 + .../UsmcaImporterSpecificationType.php | 17 + .../SimpleType/UsmcaOriginCriterionCode.php | 20 + .../UsmcaProducerSpecificationType.php | 18 + .../ComplexType/CancelPickupRequest.php | 52 + .../ComplexType/ClientDetail.php | 130 + .../ComplexType/CreatePickupRequest.php | 91 + .../ComplexType/CustomerReference.php | 49 + .../ComplexType/EPaymentDetail.php | 101 + .../ComplexType/EnterprisePrivilegeDetail.php | 75 + .../ExpressFreightPickupDetail.php | 13 + .../ComplexType/PagingRequestDetail.php | 62 + .../ComplexType/PagingResultsDetail.php | 75 + .../PickupService/ComplexType/Payment.php | 13 + .../ComplexType/PendingShipmentDetail.php | 13 - .../ComplexType/PickupAvailabilityRequest.php | 13 + .../PickupDangerousGoodsDetail.php | 13 - .../ComplexType/PickupHistoryDetailReply.php | 257 + .../PickupHistoryDetailRequest.php | 218 + .../ComplexType/PickupHistoryEvent.php | 75 + .../PickupHistoryServiceSummary.php | 88 + .../ComplexType/PickupHistorySummary.php | 296 + .../ComplexType/PickupHistorySummaryReply.php | 140 + .../PickupHistorySummaryRequest.php | 205 + .../ComplexType/PickupLookupCondition.php | 49 + .../ComplexType/PickupPackageDetail.php | 101 + ...PickupShipmentSpecialServicesRequested.php | 36 + .../ComplexType/PickupTagDetail.php | 127 + .../ComplexType/PolicyGridManifest.php | 49 + .../RequestedPickupShipmentDetail.php | 114 + .../RestrictionsAndPrivilegesPolicyDetail.php | 62 + .../ComplexType/SignatureOptionDetail.php | 49 + .../ComplexType/TransactionDetail.php | 52 + .../ComplexType/UpdatePickupReply.php | 179 + .../ComplexType/UpdatePickupRequest.php | 361 + .../PickupService/ComplexType/UserDetail.php | 62 + .../ComplexType/VariationOptionDetail.php | 49 + src/FedEx/PickupService/Request.php | 59 +- .../SimpleType/AutoConfigurationType.php | 19 + ...reatePickupRequestProcessingOptionType.php | 20 + .../SimpleType/CustomerReferenceType.php | 26 + .../SimpleType/EPaymentModeType.php | 21 + .../SimpleType/EPaymentProcessorType.php | 16 + .../SimpleType/EnterprisePermissionType.php | 18 + .../SimpleType/FedExLocationType.php | 2 + .../PickupService/SimpleType/PaymentType.php | 1 + .../SimpleType/PickupExceptionType.php | 69 + .../SimpleType/PickupLookupConditionType.php | 25 + .../SimpleType/PickupServiceLevelType.php | 21 + .../SimpleType/PickupStatusType.php | 18 + .../PickupService/SimpleType/PickupType.php | 2 + .../SimpleType/RecommendedDocumentType.php | 10 +- .../RequestedShippingDocumentType.php | 3 +- ...ctionsAndPrivilegesPolicyExceptionType.php | 17 + .../SimpleType/SignatureOptionType.php | 20 + .../SimpleType/TrackingIdType.php | 2 + .../SimpleType/TransactionSourceFormat.php | 22 + ...pdatePickupRequestProcessingOptionType.php | 17 + .../SimpleType/UploadDocumentType.php | 3 +- .../SimpleType/WebServiceEnvironment.php | 17 + .../RateService/ComplexType/Commodity.php | 10 +- .../ComplexType/EPaymentDetail.php | 101 + src/FedEx/RateService/ComplexType/Payment.php | 13 + .../ComplexType/ShippingDocumentFormat.php | 2 +- .../ShippingDocumentSpecification.php | 23 +- .../UsmcaCertificationOfOriginDetail.php | 114 + ...cialInvoiceCertificationOfOriginDetail.php | 101 + .../ComplexType/UsmcaCommodityDetail.php | 36 + src/FedEx/RateService/Request.php | 2 +- .../SimpleType/EPaymentModeType.php | 21 + .../SimpleType/EPaymentProcessorType.php | 16 + .../RateService/SimpleType/PaymentType.php | 1 + .../SimpleType/RecommendedDocumentType.php | 10 +- .../SimpleType/RegulatoryControlType.php | 2 +- .../RequestedShippingDocumentType.php | 3 +- .../RateService/SimpleType/SurchargeType.php | 3 +- .../SimpleType/UploadDocumentType.php | 3 +- .../UsmcaCertifierSpecificationType.php | 18 + .../UsmcaImporterSpecificationType.php | 17 + .../SimpleType/UsmcaOriginCriterionCode.php | 20 + .../UsmcaProducerSpecificationType.php | 18 + .../ShipService/ComplexType/Commodity.php | 10 +- .../CreditCardTransactionDetail.php | 13 + .../CustomsDeclarationStatementDetail.php | 13 - .../ComplexType/EPaymentDetail.php | 114 + src/FedEx/ShipService/ComplexType/Payment.php | 13 + .../ComplexType/ShippingDocumentFormat.php | 2 +- .../ShippingDocumentSpecification.php | 23 +- .../UsmcaCertificationOfOriginDetail.php | 114 + ...cialInvoiceCertificationOfOriginDetail.php | 101 + .../ComplexType/UsmcaCommodityDetail.php | 36 + src/FedEx/ShipService/Request.php | 2 +- .../CustomsDeclarationStatementType.php | 2 +- .../SimpleType/EPaymentModeType.php | 21 + .../SimpleType/EPaymentProcessorType.php | 16 + .../SimpleType/EnterpriseDocumentType.php | 3 +- .../ShipService/SimpleType/PaymentType.php | 1 + .../SimpleType/RecommendedDocumentType.php | 10 +- .../SimpleType/RegulatoryControlType.php | 2 +- .../RequestedShippingDocumentType.php | 3 +- .../SimpleType/RequiredDocumentType.php | 2 +- .../ReturnedShippingDocumentType.php | 3 +- .../ShipmentProcessingOptionType.php | 1 - .../ShipService/SimpleType/SurchargeType.php | 3 +- .../SimpleType/UploadDocumentType.php | 3 +- .../UsmcaCertifierSpecificationType.php | 18 + .../UsmcaImporterSpecificationType.php | 17 + .../SimpleType/UsmcaOriginCriterionCode.php | 20 + .../UsmcaProducerSpecificationType.php | 18 + .../TrackService/ComplexType/ClientDetail.php | 39 + .../TrackService/ComplexType/Commodity.php | 10 +- .../ComplexType/EPaymentDetail.php | 101 + .../GetTrackingDocumentsRequest.php | 13 + .../ComplexType/SendNotificationsRequest.php | 13 + .../ComplexType/TrackDelayDetail.php | 62 + .../TrackService/ComplexType/TrackDetail.php | 13 + .../TrackService/ComplexType/TrackEvent.php | 13 + .../TrackService/ComplexType/TrackPayment.php | 13 + .../TrackService/ComplexType/TrackRequest.php | 13 + .../ComplexType/TrackSelectionDetail.php | 13 + .../ComplexType/TrackStatusDetail.php | 13 + .../TrackService/ComplexType/UserDetail.php | 62 + .../ComplexType/UsmcaCommodityDetail.php | 36 + src/FedEx/TrackService/Request.php | 2 +- .../SimpleType/EPaymentModeType.php | 21 + .../SimpleType/EPaymentProcessorType.php | 16 + .../SimpleType/ExpressRegionCode.php | 20 + .../SimpleType/ServiceDelayType.php | 18 + .../SimpleType/TrackDelayType.php | 20 + .../SimpleType/TrackIdentifierType.php | 4 + .../TrackRequestProcessingOptionType.php | 1 + .../SimpleType/TrackSubDelayType.php | 34 + .../SimpleType/UsmcaOriginCriterionCode.php | 20 + .../ComplexType/AdditionalLabelsDetail.php | 49 + .../ComplexType/Address.php | 140 + .../ComplexType/AdrLicenseDetail.php | 36 + .../ComplexType/AlcoholDetail.php | 49 + .../ComplexType/AncillaryFeeAndTax.php | 62 + .../ComplexType/AssociatedAccount.php | 49 + .../AssociatedFreightLineItemDetail.php | 36 + .../ComplexType/AssociatedShipmentDetail.php | 153 + .../ComplexType/AssociatedTrackingId.php | 49 + .../BatteryClassificationDetail.php | 62 + .../ComplexType/BinaryBarcode.php | 49 + .../ComplexType/BrokerDetail.php | 62 + .../ComplexType/CertificateOfOriginDetail.php | 49 + .../CodAddTransportationChargesDetail.php | 75 + .../ComplexType/CodDetail.php | 127 + .../ComplexType/CodReturnPackageDetail.php | 88 + .../ComplexType/CommercialInvoice.php | 205 + .../ComplexType/CommercialInvoiceDetail.php | 62 + .../ComplexType/Commodity.php | 270 + .../ComplexType/CompletedCodDetail.php | 49 + .../ComplexType/CompletedEtdDetail.php | 62 + .../CompletedHazardousPackageDetail.php | 114 + .../CompletedHazardousShipmentDetail.php | 62 + .../CompletedHazardousSummaryDetail.php | 36 + .../CompletedHoldAtLocationDetail.php | 62 + .../ComplexType/CompletedPackageDetail.php | 192 + .../CompletedShipmentConsolidationDetail.php | 75 + .../ComplexType/CompletedShipmentDetail.php | 296 + .../ComplexType/CompletedSmartPostDetail.php | 49 + .../ComplexType/CompletedTagDetail.php | 101 + ...CompletedTransborderDistributionDetail.php | 36 + .../ConfigurableLabelReferenceEntry.php | 75 + .../ConsolidationSpecialServicesRequested.php | 49 + .../ComplexType/Contact.php | 153 + .../ComplexType/ContactAndAddress.php | 49 + .../ComplexType/ContentRecord.php | 75 + .../ComplexType/CreditCard.php | 114 + .../CreditCardTransactionAttributesDetail.php | 36 + .../CreditCardTransactionDetail.php | 114 + .../CreditFraudDetectionDetail.php | 62 + .../ComplexType/CurrencyExchangeRate.php | 62 + .../CustomDeliveryWindowDetail.php | 75 + .../CustomDiscountExclusionDetail.php | 36 + .../ComplexType/CustomDocumentDetail.php | 114 + .../ComplexType/CustomLabelBarcodeEntry.php | 101 + .../ComplexType/CustomLabelBoxEntry.php | 49 + .../ComplexType/CustomLabelDetail.php | 101 + .../ComplexType/CustomLabelGraphicEntry.php | 62 + .../ComplexType/CustomLabelPosition.php | 49 + .../ComplexType/CustomLabelTextBoxEntry.php | 140 + .../ComplexType/CustomLabelTextEntry.php | 114 + .../ComplexType/CustomRatingOptionDetail.php | 49 + .../ComplexType/CustomTransitTimeDetail.php | 36 + .../ComplexType/CustomerImageUsage.php | 75 + .../ComplexType/CustomerProvidedImage.php | 49 + .../ComplexType/CustomerReference.php | 49 + .../CustomerSpecifiedLabelDetail.php | 153 + .../ComplexType/CustomsClearanceDetail.php | 231 + .../CustomsDeclarationStatementDetail.php | 36 + .../ComplexType/CustomsOptionDetail.php | 49 + .../ComplexType/DangerousGoodsContainer.php | 88 + .../ComplexType/DangerousGoodsDetail.php | 244 + ...angerousGoodsShippersDeclarationDetail.php | 49 + .../ComplexType/DangerousGoodsSignatory.php | 62 + .../ComplexType/DateRange.php | 49 + .../ComplexType/DeletionDetail.php | 36 + .../DeliveryOnInvoiceAcceptanceDetail.php | 49 + .../ComplexType/DestinationControlDetail.php | 62 + .../ComplexType/DetentionDetail.php | 36 + .../ComplexType/Dimensions.php | 75 + .../ComplexType/DocTabContent.php | 62 + .../ComplexType/DocTabContentBarcoded.php | 49 + .../ComplexType/DocTabContentZone001.php | 36 + .../ComplexType/DocTabZoneSpecification.php | 88 + .../DocumentFormatOptionsRequested.php | 36 + .../ComplexType/DocumentLineItem.php | 36 + .../ComplexType/EMailDetail.php | 49 + .../ComplexType/EMailLabelDetail.php | 49 + .../ComplexType/EMailRecipient.php | 75 + .../ComplexType/EPaymentDetail.php | 114 + .../ComplexType/EdtCommodityTax.php | 62 + .../ComplexType/EdtExciseCondition.php | 49 + .../ComplexType/EdtTaxDetail.php | 114 + .../ComplexType/EmailOptionsRequested.php | 36 + .../ComplexType/EtdDetail.php | 88 + .../ComplexType/ExportDeclarationDetail.php | 49 + .../ComplexType/ExportDetail.php | 75 + .../ComplexType/ExpressFreightDetail.php | 101 + .../ExpressFreightDetailContact.php | 49 + .../ComplexType/ExtraLaborDetail.php | 36 + .../ComplexType/FaxDetail.php | 36 + .../ComplexType/FlatbedTrailerDetail.php | 36 + .../ComplexType/FreightAddressLabelDetail.php | 101 + .../ComplexType/FreightBaseCharge.php | 127 + .../ComplexType/FreightBillOfLadingDetail.php | 36 + .../ComplexType/FreightGuaranteeDetail.php | 62 + .../ComplexType/FreightRateDetail.php | 88 + .../ComplexType/FreightRateNotation.php | 49 + .../ComplexType/FreightShipmentDetail.php | 270 + .../ComplexType/FreightShipmentLineItem.php | 218 + .../FreightSpecialServicePayment.php | 49 + .../GeneralAgencyAgreementDetail.php | 36 + .../ComplexType/HazardousCommodityContent.php | 101 + .../HazardousCommodityDescription.php | 192 + ...azardousCommodityInnerReceptacleDetail.php | 36 + .../HazardousCommodityOptionDetail.php | 49 + .../HazardousCommodityPackagingDetail.php | 49 + .../HazardousCommodityPackingDetail.php | 49 + .../HazardousCommodityQuantityDetail.php | 62 + .../ComplexType/HoldAtLocationDetail.php | 101 + .../ComplexType/HomeDeliveryPremiumDetail.php | 62 + .../ComplexType/ImageReferenceDetail.php | 62 + .../InternationalControlledExportDetail.php | 88 + ...InternationalDistributionSummaryDetail.php | 179 + ...nationalTrafficInArmsRegulationsDetail.php | 36 + .../ComplexType/KeyValueDetail.php | 49 + .../ComplexType/LabelSpecification.php | 166 + ...pecificationProcessingOptionsRequested.php | 36 + .../ComplexType/LiabilityCoverageDetail.php | 49 + .../ComplexType/LicenseOrPermitDetail.php | 62 + .../ComplexType/LinearMeasure.php | 49 + .../ComplexType/MarkingOrTaggingDetail.php | 36 + .../ComplexType/Measure.php | 49 + .../ComplexType/Money.php | 49 + .../ComplexType/NetExplosiveDetail.php | 62 + .../ComplexType/NonBusinessTimeDetail.php | 49 + .../NotificationContentSpecification.php | 36 + .../ComplexType/NotificationDetail.php | 88 + .../ComplexType/OfferingIdentifierDetail.php | 62 + .../ComplexType/Op900Detail.php | 75 + .../ComplexType/OperationalInstruction.php | 49 + .../ComplexType/PackageBarcodes.php | 49 + .../ComplexType/PackageOperationalDetail.php | 75 + .../ComplexType/PackageRateDetail.php | 270 + .../ComplexType/PackageRating.php | 62 + .../PackageSpecialHandlingDetail.php | 62 + .../PackageSpecialServicesRequested.php | 140 + .../ComplexType/PackageStatusDetail.php | 49 + .../ComplexType/PackagingDescription.php | 101 + .../ComplexType/PalletShrinkwrapDetail.php | 36 + .../ComplexType/PalletsProvidedDetail.php | 36 + .../ComplexType/ParsedContact.php | 153 + .../ComplexType/ParsedContactAndAddress.php | 49 + .../ComplexType/ParsedPersonName.php | 101 + .../ComplexType/Party.php | 75 + .../ComplexType/Payment.php | 101 + .../ComplexType/Payor.php | 49 + .../PendingShipmentAccessDetail.php | 36 + .../PendingShipmentAccessorDetail.php | 75 + .../ComplexType/PendingShipmentDetail.php | 101 + ...dingShipmentProcessingOptionsRequested.php | 36 + .../ComplexType/PickupDetail.php | 88 + .../ComplexType/PrintedReference.php | 49 + .../ComplexType/PriorityAlertDetail.php | 49 + .../ComplexType/ProductName.php | 62 + .../ComplexType/RadioactivityDetail.php | 75 + .../ComplexType/RadionuclideActivity.php | 49 + .../ComplexType/RadionuclideDetail.php | 88 + .../ComplexType/RateDiscount.php | 75 + .../ComplexType/Rebate.php | 75 + .../ComplexType/RecipientCustomsId.php | 49 + .../RecommendedDocumentSpecification.php | 36 + .../RegulatoryLabelContentDetail.php | 49 + .../RequestedDistributionLocation.php | 114 + .../ComplexType/RequestedPackageLineItem.php | 283 + .../ComplexType/RequestedShipment.php | 556 + .../ComplexType/ReturnAssociationDetail.php | 49 + .../ComplexType/ReturnEMailDetail.php | 49 + .../ComplexType/ReturnInstructionsDetail.php | 49 + .../ComplexType/ReturnShipmentDetail.php | 75 + .../UploadDocumentService/ComplexType/Rma.php | 36 + .../ComplexType/ServiceDescription.php | 127 + .../ComplexType/ShipmentAssemblyDetail.php | 49 + .../ShipmentAuthorizationDetail.php | 36 + .../ComplexType/ShipmentConfigurationData.php | 36 + .../ShipmentConsolidationDetail.php | 140 + .../ComplexType/ShipmentDryIceDetail.php | 62 + ...ipmentDryIceProcessingOptionsRequested.php | 36 + .../ShipmentEventNotificationDetail.php | 62 + ...ShipmentEventNotificationSpecification.php | 75 + .../ShipmentInclusionSpecification.php | 49 + ...hipmentInternationalDistributionDetail.php | 75 + .../ComplexType/ShipmentLegRateDetail.php | 491 + .../ComplexType/ShipmentManifestDetail.php | 36 + ...hipmentNotificationFormatSpecification.php | 36 + .../ComplexType/ShipmentOperationalDetail.php | 387 + .../ShipmentProcessingOptionsRequested.php | 49 + .../ComplexType/ShipmentRateDetail.php | 491 + .../ComplexType/ShipmentRating.php | 62 + .../ShipmentSpecialServicesRequested.php | 361 + .../ShipmentTransborderDistributionDetail.php | 49 + .../ShipmentVariationOptionDetail.php | 49 + .../ComplexType/ShipperConveyanceDetail.php | 36 + .../ComplexType/ShippingDocument.php | 140 + .../ShippingDocumentDispositionDetail.php | 88 + .../ShippingDocumentEMailDetail.php | 62 + .../ShippingDocumentEMailRecipient.php | 49 + .../ComplexType/ShippingDocumentFormat.php | 127 + .../ComplexType/ShippingDocumentPart.php | 49 + .../ShippingDocumentPrintDetail.php | 36 + .../ShippingDocumentSpecification.php | 218 + .../ShippingDocumentStorageDetail.php | 75 + .../ComplexType/SignatureOptionDetail.php | 49 + .../ComplexType/SmartPostShipmentDetail.php | 101 + ...PostShipmentProcessingOptionsRequested.php | 36 + .../ComplexType/SmsDetail.php | 49 + .../ComplexType/SortAndSegregateDetail.php | 49 + .../ComplexType/SpecialEquipmentDetail.php | 36 + .../ComplexType/SpecialEquipmentLineItem.php | 49 + .../ComplexType/SpecialServiceDescription.php | 49 + .../ComplexType/SplitPaymentDetail.php | 49 + .../ComplexType/SplitPaymentSpecification.php | 36 + .../ComplexType/StorageDetail.php | 36 + .../ComplexType/StringBarcode.php | 49 + .../ComplexType/Surcharge.php | 75 + .../UploadDocumentService/ComplexType/Tax.php | 62 + .../ComplexType/TaxpayerIdentification.php | 88 + .../ComplexType/TrackingId.php | 75 + .../TransborderDistributionLtlDetail.php | 49 + ...erDistributionSpecialServicesRequested.php | 49 + .../TransborderDistributionSummaryDetail.php | 153 + .../UploadDocumentReferenceDetail.php | 114 + .../ComplexType/UploadDocumentsRequest.php | 117 + .../UploadDocumentsWithShipmentDataReply.php | 101 + ...UploadDocumentsWithShipmentDataRequest.php | 153 + .../UsmcaCertificationOfOriginDetail.php | 114 + ...cialInvoiceCertificationOfOriginDetail.php | 101 + .../ComplexType/UsmcaCommodityDetail.php | 36 + .../ValidatedHazardousCommodityContent.php | 88 + ...ValidatedHazardousCommodityDescription.php | 218 + .../ValidatedHazardousContainer.php | 49 + .../VariableHandlingChargeDetail.php | 88 + .../ComplexType/VariableHandlingCharges.php | 75 + .../ComplexType/Volume.php | 49 + .../ComplexType/WeighingDetail.php | 36 + .../ComplexType/Weight.php | 49 + src/FedEx/UploadDocumentService/Request.php | 21 +- .../SimpleType/AccessorRoleType.php | 17 + .../SimpleType/AdditionalLabelsType.php | 26 + .../SimpleType/AlcoholRecipientType.php | 17 + .../SimpleType/AncillaryFeeAndTaxType.php | 19 + .../AssociatedAccountNumberType.php | 19 + .../SimpleType/AssociatedShipmentType.php | 18 + .../SimpleType/AssociatedTrackingIdType.php | 20 + .../SimpleType/B13AFilingOptionType.php | 20 + .../SimpleType/BarcodeSymbologyType.php | 28 + .../SimpleType/BatteryMaterialType.php | 18 + .../SimpleType/BatteryPackingType.php | 18 + .../SimpleType/BatteryRegulatorySubType.php | 16 + .../SimpleType/BinaryBarcodeType.php | 16 + .../SimpleType/BrokerType.php | 17 + .../SimpleType/CarrierCodeType.php | 22 + .../SimpleType/ChargeBasisLevelType.php | 17 + .../SimpleType/ClearanceBrokerageType.php | 20 + .../CodAddTransportationChargeBasisType.php | 19 + .../SimpleType/CodAdjustmentType.php | 17 + .../SimpleType/CodCollectionType.php | 20 + .../CodReturnReferenceIndicatorType.php | 19 + .../SimpleType/CommodityPurposeType.php | 17 + .../SimpleType/CompletedEtdType.php | 17 + .../ConsolidationShipmentRoleType.php | 18 + .../ConsolidationSpecialServiceType.php | 18 + .../SimpleType/ConsolidationType.php | 21 + .../CreditCardAuthorizationType.php | 18 + .../CreditCardSettlementScheduleType.php | 18 + .../CreditCardTransactionAttributeType.php | 17 + .../SimpleType/CreditCardType.php | 22 + .../SimpleType/CustomDeliveryWindowType.php | 19 + .../SimpleType/CustomLabelCoordinateUnits.php | 17 + .../SimpleType/CustomRatingOptionType.php | 16 + .../SimpleType/CustomerImageUsageType.php | 17 + .../SimpleType/CustomerReferenceType.php | 26 + ...omerSpecifiedLabelGenerationOptionType.php | 18 + .../CustomsDeclarationStatementType.php | 16 + .../SimpleType/CustomsOptionType.php | 25 + .../SimpleType/DamageStatusType.php | 17 + .../DangerousGoodsAccessibilityType.php | 17 + .../DangerousGoodsDescriptorType.php | 21 + .../DangerousGoodsPackingOptionType.php | 16 + .../SimpleType/DayOfWeekType.php | 22 + ...eteRecordedShipmentRequestServiceLevel.php | 18 + .../DestinationControlStatementType.php | 17 + .../SimpleType/DistributionClearanceType.php | 17 + .../SimpleType/DocTabContentType.php | 20 + .../DocTabZoneJustificationType.php | 17 + .../SimpleType/DocumentFormatOptionType.php | 16 + .../SimpleType/DropoffType.php | 20 + .../EMailNotificationRecipientType.php | 20 + .../SimpleType/EPaymentModeType.php | 21 + .../SimpleType/EPaymentProcessorType.php | 16 + .../SimpleType/EdtRequestType.php | 17 + .../SimpleType/EdtTaxType.php | 30 + .../SimpleType/EmailOptionType.php | 18 + .../SimpleType/EnterpriseDocumentType.php | 3 +- .../SimpleType/ErrorLabelBehaviorType.php | 17 + .../SimpleType/EtdAttributeType.php | 16 + .../SimpleType/EtdConfirmationType.php | 17 + .../FedExDistributionLocationType.php | 19 + .../SimpleType/FedExLocationType.php | 27 + .../SimpleType/FlatbedTrailerOption.php | 17 + .../FreightBaseChargeCalculationType.php | 18 + .../SimpleType/FreightChargeBasisType.php | 18 + .../SimpleType/FreightClassType.php | 33 + .../SimpleType/FreightCollectTermsType.php | 17 + .../SimpleType/FreightGuaranteeType.php | 18 + .../SimpleType/FreightOnValueType.php | 17 + .../SimpleType/FreightRateQuoteType.php | 17 + .../SimpleType/FreightShipmentRoleType.php | 17 + .../GroundDeliveryEligibilityType.php | 19 + .../HazardousCommodityAttributeType.php | 17 + ...mmodityDescriptionProcessingOptionType.php | 16 + .../HazardousCommodityLabelTextOptionType.php | 18 + .../HazardousCommodityOptionType.php | 21 + .../HazardousCommodityPackingGroupType.php | 19 + .../HazardousCommodityQuantityType.php | 17 + .../HazardousCommodityRegulationType.php | 19 + .../HazardousContainerPackingType.php | 16 + .../SimpleType/HomeDeliveryPremiumType.php | 18 + .../SimpleType/InspectionStatusType.php | 18 + .../SimpleType/InternalImageType.php | 17 + .../InternationalControlledExportType.php | 26 + .../InternationalDocumentContentType.php | 18 + .../SimpleType/LabelFormatType.php | 22 + .../SimpleType/LabelMaskableDataType.php | 28 + .../SimpleType/LabelOrderType.php | 17 + .../LabelPrintingOrientationType.php | 17 + .../SimpleType/LabelRotationType.php | 19 + ...LabelSpecificationProcessingOptionType.php | 17 + .../SimpleType/LabelStockType.php | 31 + .../SimpleType/LiabilityCoverageType.php | 17 + .../SimpleType/LinearUnits.php | 17 + .../SimpleType/MinimumChargeType.php | 20 + .../NetExplosiveClassificationType.php | 19 + .../SimpleType/NotificationContentType.php | 16 + .../SimpleType/NotificationEventType.php | 24 + .../SimpleType/NotificationFormatType.php | 17 + .../SimpleType/NotificationType.php | 18 + .../SimpleType/OversizeClassType.php | 18 + .../SimpleType/PackageLineItemStatusType.php | 18 + .../SimpleType/PackagePackedByType.php | 17 + .../SimpleType/PageQuadrantType.php | 19 + .../SimpleType/PaymentType.php | 23 + .../PendingShipmentProcessingOptionType.php | 16 + .../SimpleType/PendingShipmentType.php | 16 + .../SimpleType/PhysicalFormType.php | 19 + .../SimpleType/PhysicalPackagingType.php | 46 + .../SimpleType/PickupRequestSourceType.php | 17 + .../SimpleType/PickupRequestType.php | 17 + .../SimpleType/PricingCodeType.php | 28 + .../SimpleType/PrintedReferenceType.php | 20 + .../PriorityAlertEnhancementType.php | 16 + .../SimpleType/PurposeOfShipmentType.php | 21 + .../RadioactiveContainerClassType.php | 23 + .../SimpleType/RadioactiveLabelType.php | 18 + .../SimpleType/RadioactivityUnitOfMeasure.php | 21 + .../SimpleType/RateDimensionalDivisorType.php | 20 + .../SimpleType/RateDiscountType.php | 21 + .../SimpleType/RateElementBasisType.php | 19 + .../SimpleType/RateLevelBasisType.php | 17 + .../SimpleType/RateRequestType.php | 23 + .../SimpleType/RateTypeBasisType.php | 20 + .../SimpleType/RatedWeightMethod.php | 28 + .../SimpleType/RebateType.php | 18 + .../SimpleType/RecipientCustomsIdType.php | 18 + .../SimpleType/RecommendedDocumentType.php | 43 + .../SimpleType/RegulatoryControlType.php | 19 + .../SimpleType/RegulatoryLabelType.php | 16 + .../RelativeVerticalPositionType.php | 17 + .../RequestedShippingDocumentType.php | 33 + .../SimpleType/RequiredDocumentType.php | 2 +- .../ReturnEMailAllowedSpecialServiceType.php | 17 + .../SimpleType/ReturnType.php | 20 + .../SimpleType/ReturnedRateType.php | 43 + .../ReturnedShippingDocumentType.php | 46 + .../SimpleType/RotationType.php | 19 + .../SimpleType/SecondaryBarcodeType.php | 19 + .../SimpleType/ServiceCategoryType.php | 18 + .../ShipmentDryIceProcessingOptionType.php | 16 + .../ShipmentNotificationAggregationType.php | 17 + .../ShipmentNotificationRoleType.php | 19 + .../SimpleType/ShipmentOnlyFieldsType.php | 18 + .../ShipmentProcessingOptionType.php | 31 + .../ShippingDocumentDispositionType.php | 23 + .../ShippingDocumentEMailGroupingType.php | 17 + .../ShippingDocumentGroupingType.php | 18 + .../SimpleType/ShippingDocumentImageType.php | 25 + .../SimpleType/ShippingDocumentNamingType.php | 17 + .../SimpleType/ShippingDocumentStockType.php | 29 + .../ShippingDocumentStorageDetailType.php | 17 + .../SimpleType/SignatureOptionType.php | 20 + .../SmartPostAncillaryEndorsementType.php | 20 + .../SimpleType/SmartPostIndiciaType.php | 20 + .../SmartPostShipmentProcessingOptionType.php | 16 + .../SmartPostShipmentSpecialServiceType.php | 16 + .../SimpleType/SpecialEquipmentType.php | 16 + .../SimpleType/SpecialRatingAppliedType.php | 18 + .../SimpleType/SplitPaymentType.php | 17 + .../SimpleType/StringBarcodeType.php | 21 + .../SimpleType/SurchargeLevelType.php | 17 + .../SimpleType/SurchargeType.php | 115 + .../SimpleType/TaxType.php | 22 + .../TaxesOrMiscellaneousChargeType.php | 21 + .../SimpleType/TinType.php | 20 + .../SimpleType/TrackingIdType.php | 22 + ...nsborderDistributionSpecialServiceType.php | 16 + .../SimpleType/TransitTimeType.php | 36 + .../UploadDocumentStatusInfoType.php | 1 + .../SimpleType/UploadDocumentType.php | 3 +- .../UploadDocumentsProcessingOptionType.php | 2 + .../UsmcaCertifierSpecificationType.php | 18 + .../UsmcaImporterSpecificationType.php | 17 + .../SimpleType/UsmcaOriginCriterionCode.php | 20 + .../UsmcaProducerSpecificationType.php | 18 + .../SimpleType/VolumeUnits.php | 17 + .../SimpleType/WeighingScaleType.php | 17 + .../SimpleType/WeightSource.php | 17 + .../SimpleType/WeightUnits.php | 17 + .../ComplexType/AccountAliasDetail.php | 75 + .../ComplexType/AccountGroupDetail.php | 62 + .../AccountGroupMasterAccountDetail.php | 75 + .../AccountGroupMembershipDetail.php | 62 + .../ComplexType/Address.php | 91 + .../ComplexType/AddressAncillaryDetail.php | 166 + .../ComplexType/AirCargoDetail.php | 127 + .../ComplexType/AssociatedCompanyAccount.php | 62 + .../ComplexType/AuthorizedAddress.php | 49 + .../ComplexType/BankAccountDetail.php | 88 + .../ComplexType/BankDetail.php | 49 + .../ComplexType/ClientDetail.php | 39 + .../ComplexType/Commodity.php | 10 +- .../CreditCardTransactionDetail.php | 13 + .../CustomerAccountFranchiseeDetail.php | 36 + .../CustomerCommunicationDetail.php | 101 + .../ComplexType/CustomerDiscountDetail.php | 49 + .../CustomerProfileArchiveDetail.php | 62 + .../ComplexType/CustomerProfileBankDetail.php | 101 + .../ComplexType/CustomerProfileVATDetail.php | 36 + .../ComplexType/CustomerRevenueDetail.php | 296 + .../CustomerShippingEnablementDetail.php | 36 + .../CustomerShippingVolumeDetail.php | 244 + .../ComplexType/CustomerSuppliesDetail.php | 36 + .../CustomsDeclarationStatementDetail.php | 13 - .../ComplexType/DangerousGoodsDetail.php | 26 + .../ComplexType/DateOrTimeRange.php | 49 + .../ComplexType/DirectDebitDetail.php | 88 + .../ComplexType/DirectDebitMandateDetail.php | 49 + .../ComplexType/DocumentLineItem.php | 36 + .../ComplexType/EDIMasterDetail.php | 36 + .../ComplexType/EMailAddressDetail.php | 49 + .../ComplexType/EPaymentDetail.php | 114 + .../ComplexType/EnterpriseCustomer.php | 101 + .../EnterpriseCustomerDiscountDetail.php | 36 + .../ComplexType/EnterprisePrivilegeDetail.php | 75 + .../ComplexType/EnterpriseProfile.php | 179 + .../ComplexType/ExpressProfile.php | 504 + .../ComplexType/FedExEmployee.php | 75 + .../ComplexType/FreightAccountDetail.php | 88 + .../ComplexType/FreightProfile.php | 231 + .../ComplexType/FreightShipmentLineItem.php | 13 + .../ComplexType/GeoPoliticalEntityDetail.php | 36 + ...AndPackagingProcessingOptionsRequested.php | 36 + .../GetAllServicesAndPackagingRequest.php | 39 + ...cialServicesProcessingOptionsRequested.php | 36 + .../GetAllSpecialServicesRequest.php | 39 + .../ComplexType/GroundProfile.php | 62 + .../ComplexType/GroupReferenceDetail.php | 49 + .../ComplexType/InterlineCustomerDetail.php | 49 + .../ComplexType/KeyValueDetail.php | 49 + .../ComplexType/PackagingDescription.php | 13 + .../ComplexType/ParsedPhoneNumber.php | 75 + .../ComplexType/ParsedPhoneNumberDetail.php | 88 + .../ComplexType/Payment.php | 13 + .../ComplexType/PolicyGridManifest.php | 49 + .../ComplexType/ProfileContact.php | 231 + .../ComplexType/ProfileCreditStatusDetail.php | 88 + .../ComplexType/RecipientProfile.php | 179 + .../RequestedDistributionLocation.php | 114 + .../ComplexType/RequestedPackageLineItem.php | 13 + .../RestrictionsAndPrivilegesPolicyDetail.php | 62 + .../ServiceAvailabilityRequest.php | 13 + .../ComplexType/ServiceDescription.php | 39 + .../ShipmentConsolidationDetail.php | 13 + .../ShipmentInclusionSpecification.php | 49 + .../ComplexType/ShippingDocumentFormat.php | 2 +- .../ShippingDocumentSpecification.php | 23 +- .../ComplexType/SmartPostAccountDetail.php | 127 + .../ComplexType/SocialMediaDetail.php | 49 + .../ComplexType/TaxExemptionDetail.php | 75 + .../UsmcaCertificationOfOriginDetail.php | 114 + ...cialInvoiceCertificationOfOriginDetail.php | 101 + .../ComplexType/UsmcaCommodityDetail.php | 36 + .../ComplexType/WelcomeKitDetail.php | 49 + .../Request.php | 6 +- .../SimpleType/AccountAliasAttributeType.php | 17 + .../SimpleType/AccountAliasType.php | 18 + .../AddressVerificationOverrideReasonType.php | 18 + .../BillingAccountAttributeType.php | 16 + .../SimpleType/BrokerPaymentType.php | 17 + .../SimpleType/CarrierCodeType.php | 4 + .../SimpleType/ChargeClassificationType.php | 17 + .../SimpleType/CorrespondenceType.php | 23 + .../SimpleType/CustomerAccountEntityType.php | 17 + .../CustomerAccountManagementStatusType.php | 24 + .../SimpleType/CustomerAccountStatusType.php | 18 + .../SimpleType/CustomerAccountType.php | 45 + .../CustomerBillingSettlementLevelType.php | 18 + .../SimpleType/CustomerCashType.php | 17 + .../SimpleType/CustomerDetailType.php | 18 + .../CustomsDeclarationStatementType.php | 2 +- .../DangerousGoodsDescriptorType.php | 21 + .../EMailNotificationFormatType.php | 18 + .../SimpleType/EPaymentModeType.php | 21 + .../SimpleType/EPaymentProcessorType.php | 16 + .../SimpleType/EnterpriseAccountType.php | 40 + .../SimpleType/EnterprisePermissionType.php | 18 + .../EnterpriseProfileAttributeType.php | 21 + .../SimpleType/ExemptionType.php | 17 + .../SimpleType/ExpressAccountType.php | 44 + .../ExpressProfileAttributeType.php | 34 + .../SimpleType/ExpressRegionCode.php | 20 + .../FedExDistributionLocationType.php | 19 + .../SimpleType/FreightAccountStatusType.php | 18 + .../SimpleType/FreightAccountType.php | 19 + .../FreightProfileAttributeType.php | 29 + .../SimpleType/FreightTariffType.php | 18 + .../SimpleType/Gender.php | 17 + ...rvicesAndPackagingProcessingOptionType.php | 23 + ...AllSpecialServicesProcessingOptionType.php | 23 + .../SimpleType/GroundProfileAttributeType.php | 22 + .../SimpleType/LocationAccessibilityType.php | 17 + .../SimpleType/NationalAccountType.php | 17 + .../SimpleType/OperatingCompanyType.php | 27 + .../SimpleType/PaymentType.php | 1 + .../SimpleType/PermissionType.php | 17 + .../SimpleType/PhoneNumberType.php | 21 + .../SimpleType/PremierType.php | 22 + .../SimpleType/ProfileContactAttribute.php | 16 + .../SimpleType/ProfileContactType.php | 27 + .../SimpleType/ProfileType.php | 22 + .../SimpleType/RecommendedDocumentType.php | 10 +- .../SimpleType/RegulatoryControlType.php | 2 +- .../RequestedShippingDocumentType.php | 3 +- ...ctionsAndPrivilegesPolicyExceptionType.php | 17 + .../SimpleType/ServiceCategoryType.php | 18 + .../ShipmentProcessingOptionType.php | 2 +- .../SmartPostAccountFeatureType.php | 18 + .../SimpleType/SmartPostAccountZoneType.php | 20 + .../SimpleType/StatusType.php | 19 + .../SimpleType/SuppliesTypes.php | 18 + .../SimpleType/UploadDocumentType.php | 3 +- .../SimpleType/UsageType.php | 17 + .../UsmcaCertifierSpecificationType.php | 18 + .../UsmcaImporterSpecificationType.php | 17 + .../SimpleType/UsmcaOriginCriterionCode.php | 20 + .../UsmcaProducerSpecificationType.php | 18 + .../SimpleType/WeightSource.php | 17 + ...vice_v15.wsdl => OpenshipService_v20.wsdl} | 668 +- ...ervice_v22.wsdl => PickupService_v23.wsdl} | 5287 ++++--- ...eService_v28.wsdl => RateService_v31.wsdl} | 10104 ++++++------ ...pService_v26.wsdl => ShipService_v28.wsdl} | 13194 ++++++++-------- ...Service_v19.wsdl => Trackservice_v20.wsdl} | 220 +- .../_wsdl/UploadDocumentService_v11.wsdl | 506 - .../_wsdl/UploadDocumentService_v19.wsdl | 7191 +++++++++ ...AvailabilityAndCommitmentService_v17.wsdl} | 12398 ++++++++------- tests/FedEx/Tests/OpenShipServiceTest.php | 2 - .../Cli/GenerateCode/Command/GenerateCode.php | 84 +- 791 files changed, 67533 insertions(+), 20827 deletions(-) delete mode 100644 examples/cancel-pending-shipment.php delete mode 100644 examples/create-pending-shipment.php rename examples/{delete-pending-shipment.php => delete-shipment.php} (79%) create mode 100644 src/FedEx/DGDSService/ComplexType/AssociatedEnterpriseDocumentDetail.php create mode 100644 src/FedEx/DGDSService/ComplexType/ContactAndAddress.php create mode 100644 src/FedEx/DGDSService/ComplexType/ManifestReferenceDetail.php create mode 100644 src/FedEx/DGDSService/ComplexType/Party.php create mode 100644 src/FedEx/DGDSService/ComplexType/TaxpayerIdentification.php create mode 100644 src/FedEx/DGDSService/ComplexType/UploadDangerousGoodsProcessingOptionsRequested.php create mode 100644 src/FedEx/DGDSService/ComplexType/ValidateDangerousGoodsProcessingOptionsRequested.php create mode 100644 src/FedEx/DGDSService/SimpleType/CustomerReferenceType.php create mode 100644 src/FedEx/DGDSService/SimpleType/FedExAddressClassificationType.php create mode 100644 src/FedEx/DGDSService/SimpleType/TinType.php create mode 100644 src/FedEx/DGDSService/SimpleType/UploadDangerousGoodsProcessingOptionType.php create mode 100644 src/FedEx/DGDSService/SimpleType/ValidateDangerousGoodsProcessingOptionType.php create mode 100644 src/FedEx/OpenShipService/ComplexType/EPaymentDetail.php create mode 100644 src/FedEx/OpenShipService/ComplexType/Message.php create mode 100644 src/FedEx/OpenShipService/ComplexType/MessageParameter.php create mode 100644 src/FedEx/OpenShipService/ComplexType/OfferingIdentifierDetail.php create mode 100644 src/FedEx/OpenShipService/ComplexType/PackagingDescription.php create mode 100644 src/FedEx/OpenShipService/ComplexType/RegulatoryAdvisoryDetail.php create mode 100644 src/FedEx/OpenShipService/ComplexType/RegulatoryProhibition.php create mode 100644 src/FedEx/OpenShipService/ComplexType/RegulatoryWaiver.php create mode 100644 src/FedEx/OpenShipService/ComplexType/ShipmentAdvisoryDetail.php create mode 100644 src/FedEx/OpenShipService/ComplexType/ShipperConveyanceDetail.php create mode 100644 src/FedEx/OpenShipService/ComplexType/SpecialServiceDescription.php create mode 100644 src/FedEx/OpenShipService/ComplexType/UsmcaCertificationOfOriginDetail.php create mode 100644 src/FedEx/OpenShipService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php create mode 100644 src/FedEx/OpenShipService/ComplexType/UsmcaCommodityDetail.php create mode 100644 src/FedEx/OpenShipService/SimpleType/EPaymentModeType.php create mode 100644 src/FedEx/OpenShipService/SimpleType/EPaymentProcessorType.php create mode 100644 src/FedEx/OpenShipService/SimpleType/ProhibitionSourceType.php create mode 100644 src/FedEx/OpenShipService/SimpleType/ProhibitionStatusType.php create mode 100644 src/FedEx/OpenShipService/SimpleType/ProhibitionType.php create mode 100644 src/FedEx/OpenShipService/SimpleType/ShipmentRuleType.php create mode 100644 src/FedEx/OpenShipService/SimpleType/UsmcaCertifierSpecificationType.php create mode 100644 src/FedEx/OpenShipService/SimpleType/UsmcaImporterSpecificationType.php create mode 100644 src/FedEx/OpenShipService/SimpleType/UsmcaOriginCriterionCode.php create mode 100644 src/FedEx/OpenShipService/SimpleType/UsmcaProducerSpecificationType.php create mode 100644 src/FedEx/PickupService/ComplexType/CustomerReference.php create mode 100644 src/FedEx/PickupService/ComplexType/EPaymentDetail.php create mode 100644 src/FedEx/PickupService/ComplexType/EnterprisePrivilegeDetail.php create mode 100644 src/FedEx/PickupService/ComplexType/PagingRequestDetail.php create mode 100644 src/FedEx/PickupService/ComplexType/PagingResultsDetail.php create mode 100644 src/FedEx/PickupService/ComplexType/PickupHistoryDetailReply.php create mode 100644 src/FedEx/PickupService/ComplexType/PickupHistoryDetailRequest.php create mode 100644 src/FedEx/PickupService/ComplexType/PickupHistoryEvent.php create mode 100644 src/FedEx/PickupService/ComplexType/PickupHistoryServiceSummary.php create mode 100644 src/FedEx/PickupService/ComplexType/PickupHistorySummary.php create mode 100644 src/FedEx/PickupService/ComplexType/PickupHistorySummaryReply.php create mode 100644 src/FedEx/PickupService/ComplexType/PickupHistorySummaryRequest.php create mode 100644 src/FedEx/PickupService/ComplexType/PickupLookupCondition.php create mode 100644 src/FedEx/PickupService/ComplexType/PickupPackageDetail.php create mode 100644 src/FedEx/PickupService/ComplexType/PickupShipmentSpecialServicesRequested.php create mode 100644 src/FedEx/PickupService/ComplexType/PickupTagDetail.php create mode 100644 src/FedEx/PickupService/ComplexType/PolicyGridManifest.php create mode 100644 src/FedEx/PickupService/ComplexType/RequestedPickupShipmentDetail.php create mode 100644 src/FedEx/PickupService/ComplexType/RestrictionsAndPrivilegesPolicyDetail.php create mode 100644 src/FedEx/PickupService/ComplexType/SignatureOptionDetail.php create mode 100644 src/FedEx/PickupService/ComplexType/UpdatePickupReply.php create mode 100644 src/FedEx/PickupService/ComplexType/UpdatePickupRequest.php create mode 100644 src/FedEx/PickupService/ComplexType/UserDetail.php create mode 100644 src/FedEx/PickupService/ComplexType/VariationOptionDetail.php create mode 100644 src/FedEx/PickupService/SimpleType/AutoConfigurationType.php create mode 100644 src/FedEx/PickupService/SimpleType/CreatePickupRequestProcessingOptionType.php create mode 100644 src/FedEx/PickupService/SimpleType/CustomerReferenceType.php create mode 100644 src/FedEx/PickupService/SimpleType/EPaymentModeType.php create mode 100644 src/FedEx/PickupService/SimpleType/EPaymentProcessorType.php create mode 100644 src/FedEx/PickupService/SimpleType/EnterprisePermissionType.php create mode 100644 src/FedEx/PickupService/SimpleType/PickupExceptionType.php create mode 100644 src/FedEx/PickupService/SimpleType/PickupLookupConditionType.php create mode 100644 src/FedEx/PickupService/SimpleType/PickupServiceLevelType.php create mode 100644 src/FedEx/PickupService/SimpleType/PickupStatusType.php create mode 100644 src/FedEx/PickupService/SimpleType/RestrictionsAndPrivilegesPolicyExceptionType.php create mode 100644 src/FedEx/PickupService/SimpleType/SignatureOptionType.php create mode 100644 src/FedEx/PickupService/SimpleType/TransactionSourceFormat.php create mode 100644 src/FedEx/PickupService/SimpleType/UpdatePickupRequestProcessingOptionType.php create mode 100644 src/FedEx/PickupService/SimpleType/WebServiceEnvironment.php create mode 100644 src/FedEx/RateService/ComplexType/EPaymentDetail.php create mode 100644 src/FedEx/RateService/ComplexType/UsmcaCertificationOfOriginDetail.php create mode 100644 src/FedEx/RateService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php create mode 100644 src/FedEx/RateService/ComplexType/UsmcaCommodityDetail.php create mode 100644 src/FedEx/RateService/SimpleType/EPaymentModeType.php create mode 100644 src/FedEx/RateService/SimpleType/EPaymentProcessorType.php create mode 100644 src/FedEx/RateService/SimpleType/UsmcaCertifierSpecificationType.php create mode 100644 src/FedEx/RateService/SimpleType/UsmcaImporterSpecificationType.php create mode 100644 src/FedEx/RateService/SimpleType/UsmcaOriginCriterionCode.php create mode 100644 src/FedEx/RateService/SimpleType/UsmcaProducerSpecificationType.php create mode 100644 src/FedEx/ShipService/ComplexType/EPaymentDetail.php create mode 100644 src/FedEx/ShipService/ComplexType/UsmcaCertificationOfOriginDetail.php create mode 100644 src/FedEx/ShipService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php create mode 100644 src/FedEx/ShipService/ComplexType/UsmcaCommodityDetail.php create mode 100644 src/FedEx/ShipService/SimpleType/EPaymentModeType.php create mode 100644 src/FedEx/ShipService/SimpleType/EPaymentProcessorType.php create mode 100644 src/FedEx/ShipService/SimpleType/UsmcaCertifierSpecificationType.php create mode 100644 src/FedEx/ShipService/SimpleType/UsmcaImporterSpecificationType.php create mode 100644 src/FedEx/ShipService/SimpleType/UsmcaOriginCriterionCode.php create mode 100644 src/FedEx/ShipService/SimpleType/UsmcaProducerSpecificationType.php create mode 100644 src/FedEx/TrackService/ComplexType/EPaymentDetail.php create mode 100644 src/FedEx/TrackService/ComplexType/TrackDelayDetail.php create mode 100644 src/FedEx/TrackService/ComplexType/UserDetail.php create mode 100644 src/FedEx/TrackService/ComplexType/UsmcaCommodityDetail.php create mode 100644 src/FedEx/TrackService/SimpleType/EPaymentModeType.php create mode 100644 src/FedEx/TrackService/SimpleType/EPaymentProcessorType.php create mode 100644 src/FedEx/TrackService/SimpleType/ExpressRegionCode.php create mode 100644 src/FedEx/TrackService/SimpleType/ServiceDelayType.php create mode 100644 src/FedEx/TrackService/SimpleType/TrackDelayType.php create mode 100644 src/FedEx/TrackService/SimpleType/TrackSubDelayType.php create mode 100644 src/FedEx/TrackService/SimpleType/UsmcaOriginCriterionCode.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/AdditionalLabelsDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Address.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/AdrLicenseDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/AlcoholDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/AncillaryFeeAndTax.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/AssociatedAccount.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/AssociatedFreightLineItemDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/AssociatedShipmentDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/AssociatedTrackingId.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/BatteryClassificationDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/BinaryBarcode.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/BrokerDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CertificateOfOriginDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CodAddTransportationChargesDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CodDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CodReturnPackageDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CommercialInvoice.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CommercialInvoiceDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Commodity.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CompletedCodDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CompletedEtdDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CompletedHazardousPackageDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CompletedHazardousShipmentDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CompletedHazardousSummaryDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CompletedHoldAtLocationDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CompletedPackageDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CompletedShipmentConsolidationDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CompletedShipmentDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CompletedSmartPostDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CompletedTagDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CompletedTransborderDistributionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ConfigurableLabelReferenceEntry.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ConsolidationSpecialServicesRequested.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Contact.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ContactAndAddress.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ContentRecord.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CreditCard.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CreditCardTransactionAttributesDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CreditCardTransactionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CreditFraudDetectionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CurrencyExchangeRate.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomDeliveryWindowDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomDiscountExclusionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomDocumentDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomLabelBarcodeEntry.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomLabelBoxEntry.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomLabelDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomLabelGraphicEntry.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomLabelPosition.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomLabelTextBoxEntry.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomLabelTextEntry.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomRatingOptionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomTransitTimeDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomerImageUsage.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomerProvidedImage.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomerReference.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomerSpecifiedLabelDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomsClearanceDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomsDeclarationStatementDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/CustomsOptionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsContainer.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsShippersDeclarationDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsSignatory.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DateRange.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DeletionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DeliveryOnInvoiceAcceptanceDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DestinationControlDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DetentionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Dimensions.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DocTabContent.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DocTabContentBarcoded.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DocTabContentZone001.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DocTabZoneSpecification.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DocumentFormatOptionsRequested.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/DocumentLineItem.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/EMailDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/EMailLabelDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/EMailRecipient.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/EPaymentDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/EdtCommodityTax.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/EdtExciseCondition.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/EdtTaxDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/EmailOptionsRequested.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/EtdDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ExportDeclarationDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ExportDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ExpressFreightDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ExpressFreightDetailContact.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ExtraLaborDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/FaxDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/FlatbedTrailerDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/FreightAddressLabelDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/FreightBaseCharge.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/FreightBillOfLadingDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/FreightGuaranteeDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/FreightRateDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/FreightRateNotation.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/FreightShipmentDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/FreightShipmentLineItem.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/FreightSpecialServicePayment.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/GeneralAgencyAgreementDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityContent.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityDescription.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityInnerReceptacleDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityOptionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityPackagingDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityPackingDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityQuantityDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/HoldAtLocationDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/HomeDeliveryPremiumDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ImageReferenceDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/InternationalControlledExportDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/InternationalDistributionSummaryDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/InternationalTrafficInArmsRegulationsDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/KeyValueDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/LabelSpecification.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/LabelSpecificationProcessingOptionsRequested.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/LiabilityCoverageDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/LicenseOrPermitDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/LinearMeasure.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/MarkingOrTaggingDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Measure.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Money.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/NetExplosiveDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/NonBusinessTimeDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/NotificationContentSpecification.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/NotificationDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/OfferingIdentifierDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Op900Detail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/OperationalInstruction.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PackageBarcodes.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PackageOperationalDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PackageRateDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PackageRating.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PackageSpecialHandlingDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PackageSpecialServicesRequested.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PackageStatusDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PackagingDescription.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PalletShrinkwrapDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PalletsProvidedDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ParsedContact.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ParsedContactAndAddress.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ParsedPersonName.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Party.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Payment.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Payor.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PendingShipmentAccessDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PendingShipmentAccessorDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PendingShipmentDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PendingShipmentProcessingOptionsRequested.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PickupDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PrintedReference.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/PriorityAlertDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ProductName.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/RadioactivityDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/RadionuclideActivity.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/RadionuclideDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/RateDiscount.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Rebate.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/RecipientCustomsId.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/RecommendedDocumentSpecification.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/RegulatoryLabelContentDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/RequestedDistributionLocation.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/RequestedPackageLineItem.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/RequestedShipment.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ReturnAssociationDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ReturnEMailDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ReturnInstructionsDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ReturnShipmentDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Rma.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ServiceDescription.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentAssemblyDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentAuthorizationDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentConfigurationData.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentConsolidationDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentDryIceDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentDryIceProcessingOptionsRequested.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentEventNotificationDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentEventNotificationSpecification.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentInclusionSpecification.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentInternationalDistributionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentLegRateDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentManifestDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentNotificationFormatSpecification.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentOperationalDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentProcessingOptionsRequested.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentRateDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentRating.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentSpecialServicesRequested.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentTransborderDistributionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipmentVariationOptionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShipperConveyanceDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShippingDocument.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentDispositionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentEMailDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentEMailRecipient.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentFormat.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentPart.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentPrintDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentSpecification.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentStorageDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/SignatureOptionDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/SmartPostShipmentDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/SmartPostShipmentProcessingOptionsRequested.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/SmsDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/SortAndSegregateDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/SpecialEquipmentDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/SpecialEquipmentLineItem.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/SpecialServiceDescription.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/SplitPaymentDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/SplitPaymentSpecification.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/StorageDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/StringBarcode.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Surcharge.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Tax.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/TaxpayerIdentification.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/TrackingId.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/TransborderDistributionLtlDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/TransborderDistributionSpecialServicesRequested.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/TransborderDistributionSummaryDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/UploadDocumentReferenceDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/UploadDocumentsWithShipmentDataReply.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/UploadDocumentsWithShipmentDataRequest.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/UsmcaCertificationOfOriginDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/UsmcaCommodityDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ValidatedHazardousCommodityContent.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ValidatedHazardousCommodityDescription.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/ValidatedHazardousContainer.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/VariableHandlingChargeDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/VariableHandlingCharges.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Volume.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/WeighingDetail.php create mode 100644 src/FedEx/UploadDocumentService/ComplexType/Weight.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/AccessorRoleType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/AdditionalLabelsType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/AlcoholRecipientType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/AncillaryFeeAndTaxType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/AssociatedAccountNumberType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/AssociatedShipmentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/AssociatedTrackingIdType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/B13AFilingOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/BarcodeSymbologyType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/BatteryMaterialType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/BatteryPackingType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/BatteryRegulatorySubType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/BinaryBarcodeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/BrokerType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CarrierCodeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ChargeBasisLevelType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ClearanceBrokerageType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CodAddTransportationChargeBasisType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CodAdjustmentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CodCollectionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CodReturnReferenceIndicatorType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CommodityPurposeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CompletedEtdType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ConsolidationShipmentRoleType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ConsolidationSpecialServiceType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ConsolidationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CreditCardAuthorizationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CreditCardSettlementScheduleType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CreditCardTransactionAttributeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CreditCardType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CustomDeliveryWindowType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CustomLabelCoordinateUnits.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CustomRatingOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CustomerImageUsageType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CustomerReferenceType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CustomerSpecifiedLabelGenerationOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CustomsDeclarationStatementType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/CustomsOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/DamageStatusType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/DangerousGoodsAccessibilityType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/DangerousGoodsDescriptorType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/DangerousGoodsPackingOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/DayOfWeekType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/DeleteRecordedShipmentRequestServiceLevel.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/DestinationControlStatementType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/DistributionClearanceType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/DocTabContentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/DocTabZoneJustificationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/DocumentFormatOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/DropoffType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/EMailNotificationRecipientType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/EPaymentModeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/EPaymentProcessorType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/EdtRequestType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/EdtTaxType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/EmailOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ErrorLabelBehaviorType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/EtdAttributeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/EtdConfirmationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/FedExDistributionLocationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/FedExLocationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/FlatbedTrailerOption.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/FreightBaseChargeCalculationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/FreightChargeBasisType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/FreightClassType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/FreightCollectTermsType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/FreightGuaranteeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/FreightOnValueType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/FreightRateQuoteType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/FreightShipmentRoleType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/GroundDeliveryEligibilityType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityAttributeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityDescriptionProcessingOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityLabelTextOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityPackingGroupType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityQuantityType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityRegulationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/HazardousContainerPackingType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/HomeDeliveryPremiumType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/InspectionStatusType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/InternalImageType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/InternationalControlledExportType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/InternationalDocumentContentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/LabelFormatType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/LabelMaskableDataType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/LabelOrderType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/LabelPrintingOrientationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/LabelRotationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/LabelSpecificationProcessingOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/LabelStockType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/LiabilityCoverageType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/LinearUnits.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/MinimumChargeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/NetExplosiveClassificationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/NotificationContentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/NotificationEventType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/NotificationFormatType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/NotificationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/OversizeClassType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PackageLineItemStatusType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PackagePackedByType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PageQuadrantType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PaymentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PendingShipmentProcessingOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PendingShipmentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PhysicalFormType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PhysicalPackagingType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PickupRequestSourceType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PickupRequestType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PricingCodeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PrintedReferenceType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PriorityAlertEnhancementType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/PurposeOfShipmentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RadioactiveContainerClassType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RadioactiveLabelType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RadioactivityUnitOfMeasure.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RateDimensionalDivisorType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RateDiscountType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RateElementBasisType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RateLevelBasisType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RateRequestType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RateTypeBasisType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RatedWeightMethod.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RebateType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RecipientCustomsIdType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RecommendedDocumentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RegulatoryControlType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RegulatoryLabelType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RelativeVerticalPositionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RequestedShippingDocumentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ReturnEMailAllowedSpecialServiceType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ReturnType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ReturnedRateType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ReturnedShippingDocumentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/RotationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/SecondaryBarcodeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ServiceCategoryType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ShipmentDryIceProcessingOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ShipmentNotificationAggregationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ShipmentNotificationRoleType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ShipmentOnlyFieldsType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ShipmentProcessingOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentDispositionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentEMailGroupingType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentGroupingType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentImageType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentNamingType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentStockType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentStorageDetailType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/SignatureOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/SmartPostAncillaryEndorsementType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/SmartPostIndiciaType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/SmartPostShipmentProcessingOptionType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/SmartPostShipmentSpecialServiceType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/SpecialEquipmentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/SpecialRatingAppliedType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/SplitPaymentType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/StringBarcodeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/SurchargeLevelType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/SurchargeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/TaxType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/TaxesOrMiscellaneousChargeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/TinType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/TrackingIdType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/TransborderDistributionSpecialServiceType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/TransitTimeType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/UsmcaCertifierSpecificationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/UsmcaImporterSpecificationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/UsmcaOriginCriterionCode.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/UsmcaProducerSpecificationType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/VolumeUnits.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/WeighingScaleType.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/WeightSource.php create mode 100644 src/FedEx/UploadDocumentService/SimpleType/WeightUnits.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountAliasDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountGroupDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountGroupMasterAccountDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountGroupMembershipDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AddressAncillaryDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AirCargoDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AssociatedCompanyAccount.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AuthorizedAddress.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/BankAccountDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/BankDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerAccountFranchiseeDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerCommunicationDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerDiscountDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerProfileArchiveDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerProfileBankDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerProfileVATDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerRevenueDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerShippingEnablementDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerShippingVolumeDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerSuppliesDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DateOrTimeRange.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DirectDebitDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DirectDebitMandateDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DocumentLineItem.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EDIMasterDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EMailAddressDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EPaymentDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterpriseCustomer.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterpriseCustomerDiscountDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterprisePrivilegeDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterpriseProfile.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ExpressProfile.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FedExEmployee.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FreightAccountDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FreightProfile.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GeoPoliticalEntityDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllServicesAndPackagingProcessingOptionsRequested.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllSpecialServicesProcessingOptionsRequested.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GroundProfile.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GroupReferenceDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/InterlineCustomerDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/KeyValueDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ParsedPhoneNumber.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ParsedPhoneNumberDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/PolicyGridManifest.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ProfileContact.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ProfileCreditStatusDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RecipientProfile.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RequestedDistributionLocation.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RestrictionsAndPrivilegesPolicyDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShipmentInclusionSpecification.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/SmartPostAccountDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/SocialMediaDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/TaxExemptionDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/UsmcaCertificationOfOriginDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/UsmcaCommodityDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/WelcomeKitDetail.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/AccountAliasAttributeType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/AccountAliasType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/AddressVerificationOverrideReasonType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/BillingAccountAttributeType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/BrokerPaymentType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ChargeClassificationType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CorrespondenceType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountEntityType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountManagementStatusType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountStatusType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerBillingSettlementLevelType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerCashType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerDetailType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/DangerousGoodsDescriptorType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EMailNotificationFormatType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EPaymentModeType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EPaymentProcessorType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EnterpriseAccountType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EnterprisePermissionType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EnterpriseProfileAttributeType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExemptionType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExpressAccountType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExpressProfileAttributeType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExpressRegionCode.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FedExDistributionLocationType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightAccountStatusType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightAccountType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightProfileAttributeType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightTariffType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/Gender.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/GetAllServicesAndPackagingProcessingOptionType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/GetAllSpecialServicesProcessingOptionType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/GroundProfileAttributeType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/LocationAccessibilityType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/NationalAccountType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/OperatingCompanyType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PermissionType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PhoneNumberType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PremierType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ProfileContactAttribute.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ProfileContactType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ProfileType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RestrictionsAndPrivilegesPolicyExceptionType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ServiceCategoryType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/SmartPostAccountFeatureType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/SmartPostAccountZoneType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/StatusType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/SuppliesTypes.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsageType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaCertifierSpecificationType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaImporterSpecificationType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaOriginCriterionCode.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaProducerSpecificationType.php create mode 100644 src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/WeightSource.php rename src/FedEx/_wsdl/{OpenshipService_v15.wsdl => OpenshipService_v20.wsdl} (96%) mode change 100755 => 100644 rename src/FedEx/_wsdl/{PickupService_v22.wsdl => PickupService_v23.wsdl} (70%) rename src/FedEx/_wsdl/{RateService_v28.wsdl => RateService_v31.wsdl} (96%) rename src/FedEx/_wsdl/{ShipService_v26.wsdl => ShipService_v28.wsdl} (96%) rename src/FedEx/_wsdl/{TrackService_v19.wsdl => Trackservice_v20.wsdl} (94%) delete mode 100755 src/FedEx/_wsdl/UploadDocumentService_v11.wsdl create mode 100644 src/FedEx/_wsdl/UploadDocumentService_v19.wsdl rename src/FedEx/_wsdl/{ValidationAvailabilityAndCommitmentService_v14.wsdl => ValidationAvailabilityAndCommitmentService_v17.wsdl} (74%) diff --git a/composer.json b/composer.json index 6f895ca5..0cb4c4c2 100644 --- a/composer.json +++ b/composer.json @@ -13,13 +13,14 @@ } ], "require": { + "php": "^7.3", "ext-soap": "*" }, "require-dev": { - "fzaninotto/faker": "^1.5", "symfony/console": "^5.2", "phpunit/phpunit": "^9.5", - "squizlabs/php_codesniffer": "^3.5" + "squizlabs/php_codesniffer": "^3.5", + "fakerphp/faker": "^1.16" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index 3d5acdac..e75b1720 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "11134706a6989c26736eb485efa021f1", + "content-hash": "b2ade573c6d9beb45438a0b1fba80f94", "packages": [], "packages-dev": [ { @@ -77,33 +77,42 @@ "time": "2020-11-10T18:47:58+00:00" }, { - "name": "fzaninotto/faker", - "version": "v1.5.0", + "name": "fakerphp/faker", + "version": "v1.16.0", "source": { "type": "git", - "url": "https://github.com/fzaninotto/Faker.git", - "reference": "d0190b156bcca848d401fb80f31f504f37141c8d" + "url": "https://github.com/FakerPHP/Faker.git", + "reference": "271d384d216e5e5c468a6b28feedf95d49f83b35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/d0190b156bcca848d401fb80f31f504f37141c8d", - "reference": "d0190b156bcca848d401fb80f31f504f37141c8d", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/271d384d216e5e5c468a6b28feedf95d49f83b35", + "reference": "271d384d216e5e5c468a6b28feedf95d49f83b35", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^7.1 || ^8.0", + "psr/container": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.2" + }, + "conflict": { + "fzaninotto/faker": "*" }, "require-dev": { - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~1.5" + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-intl": "*", + "symfony/phpunit-bridge": "^4.4 || ^5.2" }, "suggest": { - "ext-intl": "*" + "ext-curl": "Required by Faker\\Provider\\Image to download images.", + "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", + "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", + "ext-mbstring": "Required for multibyte Unicode string functionality." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.5.x-dev" + "dev-main": "v1.16-dev" } }, "autoload": { @@ -127,11 +136,10 @@ "fixtures" ], "support": { - "issues": "https://github.com/fzaninotto/Faker/issues", - "source": "https://github.com/fzaninotto/Faker/tree/master" + "issues": "https://github.com/FakerPHP/Faker/issues", + "source": "https://github.com/FakerPHP/Faker/tree/v1.16.0" }, - "abandoned": true, - "time": "2015-05-29T06:29:14+00:00" + "time": "2021-09-06T14:53:37+00:00" }, { "name": "myclabs/deep-copy", @@ -193,16 +201,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.10.4", + "version": "v4.13.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e" + "reference": "63a79e8daa781cac14e5195e63ed8ae231dd10fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/c6d052fc58cb876152f89f532b95a8d7907e7f0e", - "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/63a79e8daa781cac14e5195e63ed8ae231dd10fd", + "reference": "63a79e8daa781cac14e5195e63ed8ae231dd10fd", "shasum": "" }, "require": { @@ -243,22 +251,22 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.4" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.1" }, - "time": "2020-12-20T10:01:03+00:00" + "time": "2021-11-03T20:52:16+00:00" }, { "name": "phar-io/manifest", - "version": "2.0.1", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133" + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", - "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", "shasum": "" }, "require": { @@ -303,22 +311,22 @@ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/master" + "source": "https://github.com/phar-io/manifest/tree/2.0.3" }, - "time": "2020-06-27T14:33:11+00:00" + "time": "2021-07-20T11:28:43+00:00" }, { "name": "phar-io/version", - "version": "3.0.4", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "e4782611070e50613683d2b9a57730e9a3ba5451" + "reference": "bae7c545bef187884426f042434e561ab1ddb182" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/e4782611070e50613683d2b9a57730e9a3ba5451", - "reference": "e4782611070e50613683d2b9a57730e9a3ba5451", + "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182", + "reference": "bae7c545bef187884426f042434e561ab1ddb182", "shasum": "" }, "require": { @@ -354,9 +362,9 @@ "description": "Library for handling version information and constraints", "support": { "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.0.4" + "source": "https://github.com/phar-io/version/tree/3.1.0" }, - "time": "2020-12-13T23:18:30+00:00" + "time": "2021-02-23T14:00:09+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -413,16 +421,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "5.2.2", + "version": "5.3.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556" + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", "shasum": "" }, "require": { @@ -433,7 +441,8 @@ "webmozart/assert": "^1.9.1" }, "require-dev": { - "mockery/mockery": "~1.3.2" + "mockery/mockery": "~1.3.2", + "psalm/phar": "^4.8" }, "type": "library", "extra": { @@ -463,22 +472,22 @@ "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" }, - "time": "2020-09-03T19:13:55+00:00" + "time": "2021-10-19T17:43:47+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "1.4.0", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0" + "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/a12f7e301eb7258bb68acd89d4aefa05c2906cae", + "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae", "shasum": "" }, "require": { @@ -486,7 +495,8 @@ "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "ext-tokenizer": "*" + "ext-tokenizer": "*", + "psalm/phar": "^4.8" }, "type": "library", "extra": { @@ -512,39 +522,39 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.1" }, - "time": "2020-09-17T18:55:26+00:00" + "time": "2021-10-02T14:08:47+00:00" }, { "name": "phpspec/prophecy", - "version": "1.12.2", + "version": "1.14.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "245710e971a030f42e08f4912863805570f23d39" + "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/245710e971a030f42e08f4912863805570f23d39", - "reference": "245710e971a030f42e08f4912863805570f23d39", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e", + "reference": "d86dfc2e2a3cd366cee475e52c6bb3bbc371aa0e", "shasum": "" }, "require": { "doctrine/instantiator": "^1.2", - "php": "^7.2 || ~8.0, <8.1", + "php": "^7.2 || ~8.0, <8.2", "phpdocumentor/reflection-docblock": "^5.2", "sebastian/comparator": "^3.0 || ^4.0", "sebastian/recursion-context": "^3.0 || ^4.0" }, "require-dev": { - "phpspec/phpspec": "^6.0", + "phpspec/phpspec": "^6.0 || ^7.0", "phpunit/phpunit": "^8.0 || ^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.11.x-dev" + "dev-master": "1.x-dev" } }, "autoload": { @@ -579,29 +589,29 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/1.12.2" + "source": "https://github.com/phpspec/prophecy/tree/1.14.0" }, - "time": "2020-12-19T10:15:11+00:00" + "time": "2021-09-10T09:02:12+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.5", + "version": "9.2.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "f3e026641cc91909d421802dd3ac7827ebfd97e1" + "reference": "cf04e88a2e3c56fc1a65488afd493325b4c1bc3e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f3e026641cc91909d421802dd3ac7827ebfd97e1", - "reference": "f3e026641cc91909d421802dd3ac7827ebfd97e1", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/cf04e88a2e3c56fc1a65488afd493325b4c1bc3e", + "reference": "cf04e88a2e3c56fc1a65488afd493325b4c1bc3e", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.10.2", + "nikic/php-parser": "^4.13.0", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -650,7 +660,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.5" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.8" }, "funding": [ { @@ -658,7 +668,7 @@ "type": "github" } ], - "time": "2020-11-28T06:44:49+00:00" + "time": "2021-10-30T08:01:38+00:00" }, { "name": "phpunit/php-file-iterator", @@ -903,16 +913,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.1", + "version": "9.5.10", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "e7bdf4085de85a825f4424eae52c99a1cec2f360" + "reference": "c814a05837f2edb0d1471d6e3f4ab3501ca3899a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/e7bdf4085de85a825f4424eae52c99a1cec2f360", - "reference": "e7bdf4085de85a825f4424eae52c99a1cec2f360", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c814a05837f2edb0d1471d6e3f4ab3501ca3899a", + "reference": "c814a05837f2edb0d1471d6e3f4ab3501ca3899a", "shasum": "" }, "require": { @@ -924,11 +934,11 @@ "ext-xml": "*", "ext-xmlwriter": "*", "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.1", + "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", "php": ">=7.3", "phpspec/prophecy": "^1.12.1", - "phpunit/php-code-coverage": "^9.2.3", + "phpunit/php-code-coverage": "^9.2.7", "phpunit/php-file-iterator": "^3.0.5", "phpunit/php-invoker": "^3.1.1", "phpunit/php-text-template": "^2.0.3", @@ -942,7 +952,7 @@ "sebastian/global-state": "^5.0.1", "sebastian/object-enumerator": "^4.0.3", "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^2.3", + "sebastian/type": "^2.3.4", "sebastian/version": "^3.0.2" }, "require-dev": { @@ -990,7 +1000,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.1" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.10" }, "funding": [ { @@ -1002,31 +1012,26 @@ "type": "github" } ], - "time": "2021-01-17T07:42:25+00:00" + "time": "2021-09-25T07:38:51+00:00" }, { "name": "psr/container", - "version": "1.0.0", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=7.2.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, "autoload": { "psr-4": { "Psr\\Container\\": "src/" @@ -1039,7 +1044,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common Container Interface (PHP FIG PSR-11)", @@ -1053,9 +1058,9 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/master" + "source": "https://github.com/php-fig/container/tree/1.1.1" }, - "time": "2017-02-14T16:28:37+00:00" + "time": "2021-03-05T17:36:06+00:00" }, { "name": "sebastian/cli-parser", @@ -1563,16 +1568,16 @@ }, { "name": "sebastian/global-state", - "version": "5.0.2", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "a90ccbddffa067b51f574dea6eb25d5680839455" + "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/a90ccbddffa067b51f574dea6eb25d5680839455", - "reference": "a90ccbddffa067b51f574dea6eb25d5680839455", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/23bd5951f7ff26f12d4e3242864df3e08dec4e49", + "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49", "shasum": "" }, "require": { @@ -1615,7 +1620,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.2" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.3" }, "funding": [ { @@ -1623,7 +1628,7 @@ "type": "github" } ], - "time": "2020-10-26T15:55:19+00:00" + "time": "2021-06-11T13:31:12+00:00" }, { "name": "sebastian/lines-of-code", @@ -1914,16 +1919,16 @@ }, { "name": "sebastian/type", - "version": "2.3.1", + "version": "2.3.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "81cd61ab7bbf2de744aba0ea61fae32f721df3d2" + "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/81cd61ab7bbf2de744aba0ea61fae32f721df3d2", - "reference": "81cd61ab7bbf2de744aba0ea61fae32f721df3d2", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b8cd8a1c753c90bc1a0f5372170e3e489136f914", + "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914", "shasum": "" }, "require": { @@ -1958,7 +1963,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/2.3.1" + "source": "https://github.com/sebastianbergmann/type/tree/2.3.4" }, "funding": [ { @@ -1966,7 +1971,7 @@ "type": "github" } ], - "time": "2020-10-26T13:18:59+00:00" + "time": "2021-06-15T12:49:02+00:00" }, { "name": "sebastian/version", @@ -2023,16 +2028,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.5.8", + "version": "3.6.1", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "9d583721a7157ee997f235f327de038e7ea6dac4" + "reference": "f268ca40d54617c6e06757f83f699775c9b3ff2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9d583721a7157ee997f235f327de038e7ea6dac4", - "reference": "9d583721a7157ee997f235f327de038e7ea6dac4", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/f268ca40d54617c6e06757f83f699775c9b3ff2e", + "reference": "f268ca40d54617c6e06757f83f699775c9b3ff2e", "shasum": "" }, "require": { @@ -2075,31 +2080,33 @@ "source": "https://github.com/squizlabs/PHP_CodeSniffer", "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" }, - "time": "2020-10-23T02:01:07+00:00" + "time": "2021-10-11T04:00:11+00:00" }, { "name": "symfony/console", - "version": "v5.2.2", + "version": "v5.3.10", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "d62ec79478b55036f65e2602e282822b8eaaff0a" + "reference": "d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/d62ec79478b55036f65e2602e282822b8eaaff0a", - "reference": "d62ec79478b55036f65e2602e282822b8eaaff0a", + "url": "https://api.github.com/repos/symfony/console/zipball/d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3", + "reference": "d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3", "shasum": "" }, "require": { "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php73": "^1.8", - "symfony/polyfill-php80": "^1.15", + "symfony/polyfill-php80": "^1.16", "symfony/service-contracts": "^1.1|^2", "symfony/string": "^5.1" }, "conflict": { + "psr/log": ">=3", "symfony/dependency-injection": "<4.4", "symfony/dotenv": "<5.1", "symfony/event-dispatcher": "<4.4", @@ -2107,10 +2114,10 @@ "symfony/process": "<4.4" }, "provide": { - "psr/log-implementation": "1.0" + "psr/log-implementation": "1.0|2.0" }, "require-dev": { - "psr/log": "~1.0", + "psr/log": "^1|^2", "symfony/config": "^4.4|^5.0", "symfony/dependency-injection": "^4.4|^5.0", "symfony/event-dispatcher": "^4.4|^5.0", @@ -2156,7 +2163,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.2.2" + "source": "https://github.com/symfony/console/tree/v5.3.10" }, "funding": [ { @@ -2172,20 +2179,87 @@ "type": "tidelift" } ], - "time": "2021-01-27T10:15:41+00:00" + "time": "2021-10-26T09:30:15+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v2.4.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5f38c8804a9e97d23e0c8d63341088cd8a22d627", + "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.4.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-03-23T23:28:01+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.22.0", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "c6c942b1ac76c82448322025e084cadc56048b4e" + "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e", - "reference": "c6c942b1ac76c82448322025e084cadc56048b4e", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce", + "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce", "shasum": "" }, "require": { @@ -2197,7 +2271,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2235,7 +2309,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0" }, "funding": [ { @@ -2251,20 +2325,20 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2021-02-19T12:13:01+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.22.0", + "version": "v1.23.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "267a9adeb8ecb8071040a740930e077cdfb987af" + "reference": "16880ba9c5ebe3642d1995ab866db29270b36535" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/267a9adeb8ecb8071040a740930e077cdfb987af", - "reference": "267a9adeb8ecb8071040a740930e077cdfb987af", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/16880ba9c5ebe3642d1995ab866db29270b36535", + "reference": "16880ba9c5ebe3642d1995ab866db29270b36535", "shasum": "" }, "require": { @@ -2276,7 +2350,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2316,7 +2390,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.22.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.23.1" }, "funding": [ { @@ -2332,20 +2406,20 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2021-05-27T12:26:48+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.22.0", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "6e971c891537eb617a00bb07a43d182a6915faba" + "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/6e971c891537eb617a00bb07a43d182a6915faba", - "reference": "6e971c891537eb617a00bb07a43d182a6915faba", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8", + "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8", "shasum": "" }, "require": { @@ -2357,7 +2431,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2400,7 +2474,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.23.0" }, "funding": [ { @@ -2416,20 +2490,20 @@ "type": "tidelift" } ], - "time": "2021-01-07T17:09:11+00:00" + "time": "2021-02-19T12:13:01+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.22.0", + "version": "v1.23.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13" + "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f377a3dd1fde44d37b9831d68dc8dea3ffd28e13", - "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9174a3d80210dca8daa7f31fec659150bbeabfc6", + "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6", "shasum": "" }, "require": { @@ -2441,7 +2515,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2480,7 +2554,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.1" }, "funding": [ { @@ -2496,20 +2570,20 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2021-05-27T12:26:48+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.22.0", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" + "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", - "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010", + "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010", "shasum": "" }, "require": { @@ -2518,7 +2592,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2559,7 +2633,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0" }, "funding": [ { @@ -2575,20 +2649,20 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2021-02-19T12:13:01+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.22.0", + "version": "v1.23.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91" + "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91", - "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/1100343ed1a92e3a38f9ae122fc0eb21602547be", + "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be", "shasum": "" }, "require": { @@ -2597,7 +2671,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2642,7 +2716,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.1" }, "funding": [ { @@ -2658,25 +2732,25 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2021-07-28T13:41:28+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.2.0", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1" + "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1", - "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", + "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", "shasum": "" }, "require": { "php": ">=7.2.5", - "psr/container": "^1.0" + "psr/container": "^1.1" }, "suggest": { "symfony/service-implementation": "" @@ -2684,7 +2758,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-main": "2.4-dev" }, "thanks": { "name": "symfony/contracts", @@ -2721,7 +2795,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/master" + "source": "https://github.com/symfony/service-contracts/tree/v2.4.0" }, "funding": [ { @@ -2737,20 +2811,20 @@ "type": "tidelift" } ], - "time": "2020-09-07T11:33:47+00:00" + "time": "2021-04-01T10:43:52+00:00" }, { "name": "symfony/string", - "version": "v5.2.2", + "version": "v5.3.10", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "c95468897f408dd0aca2ff582074423dd0455122" + "reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/c95468897f408dd0aca2ff582074423dd0455122", - "reference": "c95468897f408dd0aca2ff582074423dd0455122", + "url": "https://api.github.com/repos/symfony/string/zipball/d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c", + "reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c", "shasum": "" }, "require": { @@ -2804,7 +2878,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.2.2" + "source": "https://github.com/symfony/string/tree/v5.3.10" }, "funding": [ { @@ -2820,20 +2894,20 @@ "type": "tidelift" } ], - "time": "2021-01-25T15:14:59+00:00" + "time": "2021-10-27T18:21:46+00:00" }, { "name": "theseer/tokenizer", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "75a63c33a8577608444246075ea0af0d052e452a" + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/75a63c33a8577608444246075ea0af0d052e452a", - "reference": "75a63c33a8577608444246075ea0af0d052e452a", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", "shasum": "" }, "require": { @@ -2862,7 +2936,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/master" + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" }, "funding": [ { @@ -2870,34 +2944,39 @@ "type": "github" } ], - "time": "2020-07-12T23:59:07+00:00" + "time": "2021-07-28T10:34:58+00:00" }, { "name": "webmozart/assert", - "version": "1.9.1", + "version": "1.10.0", "source": { "type": "git", "url": "https://github.com/webmozarts/assert.git", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" + "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", + "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0 || ^8.0", + "php": "^7.2 || ^8.0", "symfony/polyfill-ctype": "^1.8" }, "conflict": { "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<3.9.1" + "vimeo/psalm": "<4.6.1 || 4.6.2" }, "require-dev": { - "phpunit/phpunit": "^4.8.36 || ^7.5.13" + "phpunit/phpunit": "^8.5.13" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, "autoload": { "psr-4": { "Webmozart\\Assert\\": "src/" @@ -2921,9 +3000,9 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.9.1" + "source": "https://github.com/webmozarts/assert/tree/1.10.0" }, - "time": "2020-07-08T17:02:28+00:00" + "time": "2021-03-09T10:59:23+00:00" } ], "aliases": [], @@ -2932,8 +3011,9 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { + "php": "^7.3", "ext-soap": "*" }, "platform-dev": [], - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.1.0" } diff --git a/examples/address-validation.php b/examples/address-validation.php index 2ef43f84..4a8adabc 100644 --- a/examples/address-validation.php +++ b/examples/address-validation.php @@ -1,5 +1,5 @@ Version->ServiceId = 'aval'; -$addressValidationRequest->Version->Major = 4; +$addressValidationRequest->Version->Major = 8; $addressValidationRequest->Version->Intermediate = 0; $addressValidationRequest->Version->Minor = 0; @@ -32,8 +32,10 @@ $addressValidationRequest->AddressesToValidate[0]->Address->CountryCode = 'US'; $request = new Request(); -//$request->getSoapClient()->__setLocation(Request::PRODUCTION_URL); -$request->getSoapClient()->__setLocation(Request::TESTING_URL); -$addressValidationReply = $request->getAddressValidationReply($addressValidationRequest); - -var_dump($addressValidationReply); +try { + $addressValidationReply = $request->getAddressValidationReply($addressValidationRequest); + var_dump($addressValidationReply); +} catch (\Exception $e) { + echo $e->getMessage(); + echo $request->getSoapClient()->__getLastResponse(); +} diff --git a/examples/async-retrieve-job-results.php b/examples/async-retrieve-job-results.php index 2edd0b37..21aab102 100644 --- a/examples/async-retrieve-job-results.php +++ b/examples/async-retrieve-job-results.php @@ -29,7 +29,9 @@ $request = new Request(); try { $retrieveJobResultsReply = $request->getRetrieveJobResultsReply($retrieveJobResultsRequest); + var_dump($retrieveJobResultsReply); } catch (\Exception $e) { + echo $e->getMessage(); echo $request->getSoapClient()->__getLastResponse(); } diff --git a/examples/cancel-pending-shipment.php b/examples/cancel-pending-shipment.php deleted file mode 100644 index 9dbfb7c8..00000000 --- a/examples/cancel-pending-shipment.php +++ /dev/null @@ -1,27 +0,0 @@ -WebAuthenticationDetail->UserCredential->Key = FEDEX_KEY; -$cancelPendingShipmentRequest->WebAuthenticationDetail->UserCredential->Password = FEDEX_PASSWORD; -$cancelPendingShipmentRequest->ClientDetail->AccountNumber = FEDEX_ACCOUNT_NUMBER; -$cancelPendingShipmentRequest->ClientDetail->MeterNumber = FEDEX_METER_NUMBER; -$cancelPendingShipmentRequest->Version->ServiceId = 'ship'; -$cancelPendingShipmentRequest->Version->Major = 12; -$cancelPendingShipmentRequest->Version->Intermediate = 1; -$cancelPendingShipmentRequest->Version->Minor = 0; -$cancelPendingShipmentRequest->TrackingId->TrackingNumber = $trackingNumber; - - -$shipServiceRequest = new Request(); -$cancelPendingShipmentReply = $shipServiceRequest->getCancelPendingShipmentReply($cancelPendingShipmentRequest); - -var_dump($cancelPendingShipmentReply); diff --git a/examples/close-service.php b/examples/close-service.php index 07907c6d..d5d10809 100644 --- a/examples/close-service.php +++ b/examples/close-service.php @@ -38,13 +38,11 @@ // Manifest reference detail. $closeWithDocumentsRequest->CloseDocumentSpecification->CloseDocumentTypes = [SimpleType\CloseDocumentType::_MANIFEST]; - -$closeSerivceRequest = new Request(); -$closeWithDocumentsReply = $closeSerivceRequest->getCloseWithDocumentsReply($closeWithDocumentsRequest); - -var_dump($closeWithDocumentsReply); - - - - - +$request = new Request(); +try { + $closeWithDocumentsReply = $request->getCloseWithDocumentsReply($closeWithDocumentsRequest); + var_dump($closeWithDocumentsReply); +} catch (\Exception $e) { + echo $e->getMessage(); + echo $request->getSoapClient()->__getLastResponse(); +} diff --git a/examples/country-service.php b/examples/country-service.php index 43220aa1..727d9dd7 100644 --- a/examples/country-service.php +++ b/examples/country-service.php @@ -28,17 +28,22 @@ $validatePostalRequest->CarrierCode = SimpleType\CarrierCodeType::_FDXE; // Get Validate Postal reply. -$countryServiceRequest = new Request(); -$validatePostalReply = $countryServiceRequest->getValidatePostalReply($validatePostalRequest); - -echo '

Postal Detail

'; -echo "

Country Code: {$validatePostalReply->PostalDetail->CountryCode}

"; -echo "

State or Province Code: {$validatePostalReply->PostalDetail->StateOrProvinceCode}

"; -echo "

City First Initials: {$validatePostalReply->PostalDetail->CityFirstInitials}

"; -echo "

Cleaned Postal Code: {$validatePostalReply->PostalDetail->CleanedPostalCode}

"; -echo '

Location Descriptions:

'; -if (!empty($validatePostalReply->PostalDetail->LocationDescriptions)) { - foreach ($validatePostalReply->PostalDetail->LocationDescriptions as $locationDescription) { - var_dump($locationDescription->toArray()); +$request = new Request(); +try { + $validatePostalReply = $request->getValidatePostalReply($validatePostalRequest); + + echo '

Postal Detail

'; + echo "

Country Code: {$validatePostalReply->PostalDetail->CountryCode}

"; + echo "

State or Province Code: {$validatePostalReply->PostalDetail->StateOrProvinceCode}

"; + echo "

City First Initials: {$validatePostalReply->PostalDetail->CityFirstInitials}

"; + echo "

Cleaned Postal Code: {$validatePostalReply->PostalDetail->CleanedPostalCode}

"; + echo '

Location Descriptions:

'; + if (!empty($validatePostalReply->PostalDetail->LocationDescriptions)) { + foreach ($validatePostalReply->PostalDetail->LocationDescriptions as $locationDescription) { + var_dump($locationDescription->toArray()); + } } +} catch (\Exception $e) { + echo $e->getMessage(); + echo $request->getSoapClient()->__getLastResponse(); } diff --git a/examples/create-open-shipment.php b/examples/create-open-shipment.php index 45a9eb0b..37cc4e18 100644 --- a/examples/create-open-shipment.php +++ b/examples/create-open-shipment.php @@ -21,7 +21,7 @@ $createOpenShipmentRequest->ClientDetail->AccountNumber = FEDEX_ACCOUNT_NUMBER; // version $createOpenShipmentRequest->Version->ServiceId = 'ship'; -$createOpenShipmentRequest->Version->Major = 15; +$createOpenShipmentRequest->Version->Major = 20; $createOpenShipmentRequest->Version->Intermediate = 0; $createOpenShipmentRequest->Version->Minor = 0; diff --git a/examples/create-pending-shipment.php b/examples/create-pending-shipment.php deleted file mode 100644 index bf538060..00000000 --- a/examples/create-pending-shipment.php +++ /dev/null @@ -1,99 +0,0 @@ -SequenceNumber = 1; -$requestedPackageLineItem1->ItemDescription = 'Product description 1'; -$requestedPackageLineItem1->Dimensions->Width = 10; -$requestedPackageLineItem1->Dimensions->Height = 10; -$requestedPackageLineItem1->Dimensions->Length = 15; -$requestedPackageLineItem1->Dimensions->Units = SimpleType\LinearUnits::_IN; -$requestedPackageLineItem1->Weight->Value = 2; -$requestedPackageLineItem1->Weight->Units = SimpleType\WeightUnits::_LB; - -//package 2 -$requestedPackageLineItem2 = new ComplexType\RequestedPackageLineItem(); -$requestedPackageLineItem2->SequenceNumber = 1; -$requestedPackageLineItem2->ItemDescription = 'Product description 2'; -$requestedPackageLineItem2->Dimensions->Width = 5; -$requestedPackageLineItem2->Dimensions->Height = 5; -$requestedPackageLineItem2->Dimensions->Length = 10; -$requestedPackageLineItem2->Dimensions->Units = SimpleType\LinearUnits::_IN; -$requestedPackageLineItem2->Weight->Value = 1; -$requestedPackageLineItem2->Weight->Units = SimpleType\WeightUnits::_LB; - -//create pending shipment request -$createPendingShipmentRequest = new ComplexType\CreatePendingShipmentRequest(); - -//authentication detail -$createPendingShipmentRequest->WebAuthenticationDetail->UserCredential->Key = FEDEX_KEY; -$createPendingShipmentRequest->WebAuthenticationDetail->UserCredential->Password = FEDEX_PASSWORD; - -//client detail -$createPendingShipmentRequest->ClientDetail->AccountNumber = FEDEX_ACCOUNT_NUMBER; -$createPendingShipmentRequest->ClientDetail->MeterNumber = FEDEX_METER_NUMBER; - -//version -$createPendingShipmentRequest->Version->ServiceId = 'ship'; -$createPendingShipmentRequest->Version->Major = 12; -$createPendingShipmentRequest->Version->Intermediate = 1; -$createPendingShipmentRequest->Version->Minor = 0; - -//requested shipment -$createPendingShipmentRequest->RequestedShipment->DropoffType = SimpleType\DropoffType::_REGULAR_PICKUP; -$createPendingShipmentRequest->RequestedShipment->ShipTimestamp = $shipDate->format('c'); -$createPendingShipmentRequest->RequestedShipment->ServiceType = SimpleType\ServiceType::_FEDEX_2_DAY; -$createPendingShipmentRequest->RequestedShipment->PackagingType = SimpleType\PackagingType::_YOUR_PACKAGING; -$createPendingShipmentRequest->RequestedShipment->LabelSpecification->ImageType = SimpleType\ShippingDocumentImageType::_PDF; -$createPendingShipmentRequest->RequestedShipment->LabelSpecification->LabelFormatType = SimpleType\LabelFormatType::_COMMON2D; -$createPendingShipmentRequest->RequestedShipment->LabelSpecification->LabelStockType = SimpleType\LabelStockType::_PAPER_4X6; -$createPendingShipmentRequest->RequestedShipment->RateRequestTypes = [SimpleType\RateRequestType::_ACCOUNT]; -$createPendingShipmentRequest->RequestedShipment->PackageCount = 1; -$createPendingShipmentRequest->RequestedShipment->RequestedPackageLineItems = [$requestedPackageLineItem1, $requestedPackageLineItem2]; - -//requested shipment shipper -$createPendingShipmentRequest->RequestedShipment->Shipper->AccountNumber = FEDEX_ACCOUNT_NUMBER; -$createPendingShipmentRequest->RequestedShipment->Shipper->Address->StreetLines = ['1234 Main Street']; -$createPendingShipmentRequest->RequestedShipment->Shipper->Address->City = 'Anytown'; -$createPendingShipmentRequest->RequestedShipment->Shipper->Address->StateOrProvinceCode = 'NY'; -$createPendingShipmentRequest->RequestedShipment->Shipper->Address->PostalCode = '12345'; -$createPendingShipmentRequest->RequestedShipment->Shipper->Address->CountryCode = 'US'; -$createPendingShipmentRequest->RequestedShipment->Shipper->Contact->CompanyName = 'Company Name'; -$createPendingShipmentRequest->RequestedShipment->Shipper->Contact->PersonName = 'Person Name'; -$createPendingShipmentRequest->RequestedShipment->Shipper->Contact->EMailAddress = 'shipper@example.com'; -$createPendingShipmentRequest->RequestedShipment->Shipper->Contact->PhoneNumber = '1-123-123-1234'; - -//requested shipment recipient -$createPendingShipmentRequest->RequestedShipment->Recipient->Address->StreetLines = ['54321 1st Ave.']; -$createPendingShipmentRequest->RequestedShipment->Recipient->Address->City = 'Anytown'; -$createPendingShipmentRequest->RequestedShipment->Recipient->Address->StateOrProvinceCode = 'NY'; -$createPendingShipmentRequest->RequestedShipment->Recipient->Address->PostalCode = '12345'; -$createPendingShipmentRequest->RequestedShipment->Recipient->Address->CountryCode = 'US'; -$createPendingShipmentRequest->RequestedShipment->Recipient->Contact->PersonName = 'John Doe'; -$createPendingShipmentRequest->RequestedShipment->Recipient->Contact->EMailAddress = 'recipient@example.com'; -$createPendingShipmentRequest->RequestedShipment->Recipient->Contact->PhoneNumber = '1-321-321-4321'; - -//shipping charges payment -$createPendingShipmentRequest->RequestedShipment->ShippingChargesPayment->PaymentType = SimpleType\PaymentType::_SENDER; -$createPendingShipmentRequest->RequestedShipment->ShippingChargesPayment->Payor->ResponsibleParty = $createPendingShipmentRequest->RequestedShipment->Shipper; - -//special services requested -$createPendingShipmentRequest->RequestedShipment->SpecialServicesRequested->SpecialServiceTypes = [SimpleType\ShipmentSpecialServiceType::_PENDING_SHIPMENT]; -$createPendingShipmentRequest->RequestedShipment->SpecialServicesRequested->PendingShipmentDetail->Type = SimpleType\PendingShipmentType::_EMAIL; -$createPendingShipmentRequest->RequestedShipment->SpecialServicesRequested->PendingShipmentDetail->ExpirationDate = $expirationDate->format('Y-m-d'); -$createPendingShipmentRequest->RequestedShipment->SpecialServicesRequested->PendingShipmentDetail->EmailLabelDetail->NotificationEMailAddress = 'recipient@example.com'; -$createPendingShipmentRequest->RequestedShipment->SpecialServicesRequested->PendingShipmentDetail->EmailLabelDetail->NotificationMessage = 'Pending shipment notification message.'; - -$shipServiceRequest = new Request(); -$createPendingShipmentReply = $shipServiceRequest->getCreatePendingShipmentReply($createPendingShipmentRequest); - -var_dump($createPendingShipmentReply); diff --git a/examples/create-pickup.php b/examples/create-pickup.php index 17a1d2c8..f09e031f 100644 --- a/examples/create-pickup.php +++ b/examples/create-pickup.php @@ -17,7 +17,7 @@ // Version. $createPickupRequest->Version->ServiceId = 'disp'; -$createPickupRequest->Version->Major = 22; +$createPickupRequest->Version->Major = 23; $createPickupRequest->Version->Intermediate = 0; $createPickupRequest->Version->Minor = 0; @@ -71,5 +71,6 @@ $createPickupReply = $request->getCreatePickupReply($createPickupRequest); var_dump($createPickupReply); } catch (\Exception $e) { + echo $e->getMessage(); echo $request->getSoapClient()->__getLastResponse(); } diff --git a/examples/dangerous-goods-data-service.php b/examples/dangerous-goods-data-service.php index 2b81883d..4b404ca3 100644 --- a/examples/dangerous-goods-data-service.php +++ b/examples/dangerous-goods-data-service.php @@ -85,14 +85,12 @@ $validateDangerousGoodsRequest->HandlingUnitGroups[0]->HandlingUnit->ContainerGroups[0]->Container->Commodities[0]->Quantity->Amount = 5; $validateDangerousGoodsRequest->HandlingUnitGroups[0]->HandlingUnit->ContainerGroups[0]->Container->Commodities[0]->Quantity->Units = 'KG'; - $request = new Request(); - try { $validateDangerousGoodsReply = $request->getValidateDangerousGoodsReply($validateDangerousGoodsRequest); - var_dump($validateDangerousGoodsReply); } catch (\Exception $e) { + echo $e->getMessage(); echo $request->getSoapClient()->__getLastResponse(); } diff --git a/examples/delete-pending-shipment.php b/examples/delete-shipment.php similarity index 79% rename from examples/delete-pending-shipment.php rename to examples/delete-shipment.php index aae7f311..923f326b 100644 --- a/examples/delete-pending-shipment.php +++ b/examples/delete-shipment.php @@ -23,8 +23,8 @@ $version = new ComplexType\VersionId(); $version ->setServiceId('ship') - ->setMajor(12) - ->setIntermediate(1) + ->setMajor(28) + ->setIntermediate(0) ->setMinor(0); $trackingId = new ComplexType\TrackingId(); @@ -40,9 +40,11 @@ $deleteShipmentRequest->setTrackingId($trackingId); $deleteShipmentRequest->setDeletionControl(SimpleType\DeletionControlType::_DELETE_ALL_PACKAGES); - -$validateShipmentRequest = new ShipService\Request(); -$validateShipmentRequest->getSoapClient()->__setLocation('https://ws.fedex.com:443/web-services/ship'); -$response = $validateShipmentRequest->getDeleteShipmentReply($deleteShipmentRequest); - -var_dump($response); +$request = new ShipService\Request(); +try { + $deleteShipmentReply = $request->getDeleteShipmentReply($deleteShipmentRequest); + var_dump($deleteShipmentReply); +} catch (\Exception $e) { + echo $e->getMessage(); + echo $request->getSoapClient()->__getLastResponse(); +} diff --git a/examples/in-flight-shipment-service.php b/examples/in-flight-shipment-service.php index b51893a4..118c9b54 100644 --- a/examples/in-flight-shipment-service.php +++ b/examples/in-flight-shipment-service.php @@ -73,10 +73,10 @@ $request = new Request(); - try { $processDeliveryReply = $request->getProcessDeliveryReply($processDeliveryRequest); var_dump($processDeliveryReply); } catch (\Exception $e) { + echo $e->getMessage(); echo $request->getSoapClient()->__getLastResponse(); } diff --git a/examples/rate-request.php b/examples/rate-request.php index 0ebdd409..32d1f350 100644 --- a/examples/rate-request.php +++ b/examples/rate-request.php @@ -24,7 +24,7 @@ //version $rateRequest->Version->ServiceId = 'crs'; -$rateRequest->Version->Major = 28; +$rateRequest->Version->Major = 31; $rateRequest->Version->Minor = 0; $rateRequest->Version->Intermediate = 0; diff --git a/examples/ship.php b/examples/ship.php index 50d5fb8a..5f88d080 100644 --- a/examples/ship.php +++ b/examples/ship.php @@ -27,7 +27,7 @@ $version = new ComplexType\VersionId(); $version - ->setMajor(26) + ->setMajor(28) ->setIntermediate(0) ->setMinor(0) ->setServiceId('ship'); diff --git a/examples/track-by-id.php b/examples/track-by-id.php index fecf7152..8d2065e9 100644 --- a/examples/track-by-id.php +++ b/examples/track-by-id.php @@ -1,5 +1,5 @@ Version->ServiceId = 'trck'; -$trackRequest->Version->Major = 19; +$trackRequest->Version->Major = 20; $trackRequest->Version->Intermediate = 0; $trackRequest->Version->Minor = 0; @@ -41,6 +41,10 @@ $trackRequest->SelectionDetails[1]->PackageIdentifier->Type = SimpleType\TrackIdentifierType::_TRACKING_NUMBER_OR_DOORTAG; $request = new Request(); -$trackReply = $request->getTrackReply($trackRequest); - -var_dump($trackReply); +try { + $trackReply = $request->getTrackReply($trackRequest); + var_dump($trackReply); +} catch (\Exception $e) { + echo $e->getMessage(); + echo $request->getSoapClient()->__getLastResponse(); +} diff --git a/examples/upload-documents.php b/examples/upload-documents.php index 77637fcf..d8e52303 100644 --- a/examples/upload-documents.php +++ b/examples/upload-documents.php @@ -17,7 +17,7 @@ // Version $uploadDocumentsRequest->Version->ServiceId = 'cdus'; -$uploadDocumentsRequest->Version->Major = 11; +$uploadDocumentsRequest->Version->Major = 19; $uploadDocumentsRequest->Version->Intermediate = 0; $uploadDocumentsRequest->Version->Minor = 0; @@ -40,5 +40,6 @@ $uploadDocumentsReply = $request->getUploadDocumentsReply($uploadDocumentsRequest); var_dump($uploadDocumentsReply); } catch (\Exception $e) { + echo $e->getMessage(); echo $request->getSoapClient()->__getLastResponse(); } diff --git a/examples/validation-availability-and-commitment-service.php b/examples/validation-availability-and-commitment-service.php index 3b9f23f8..e5b03392 100644 --- a/examples/validation-availability-and-commitment-service.php +++ b/examples/validation-availability-and-commitment-service.php @@ -1,5 +1,5 @@ ClientDetail->MeterNumber = FEDEX_METER_NUMBER; //version $serviceAvailabilityRequest->Version->ServiceId = 'vacs'; -$serviceAvailabilityRequest->Version->Major = 14; +$serviceAvailabilityRequest->Version->Major = 17; $serviceAvailabilityRequest->Version->Intermediate = 0; $serviceAvailabilityRequest->Version->Minor = 0; //origin @@ -36,5 +36,6 @@ $serviceAvailabilityReply = $request->getServiceAvailabilityReply($serviceAvailabilityRequest); var_dump($serviceAvailabilityReply); } catch (\Exception $e) { + echo $e->getMessage(); var_dump($request->getSoapClient()->__getLastResponse()); } diff --git a/src/FedEx/DGDSService/ComplexType/AssociatedEnterpriseDocumentDetail.php b/src/FedEx/DGDSService/ComplexType/AssociatedEnterpriseDocumentDetail.php new file mode 100644 index 00000000..fc7d48bf --- /dev/null +++ b/src/FedEx/DGDSService/ComplexType/AssociatedEnterpriseDocumentDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Dangerous Goods Data Service + * + * @property string $DocumentId + * @property string $TrackingNumber + + */ +class AssociatedEnterpriseDocumentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AssociatedEnterpriseDocumentDetail'; + + /** + * Set DocumentId + * + * @param string $documentId + * @return $this + */ + public function setDocumentId($documentId) + { + $this->values['DocumentId'] = $documentId; + return $this; + } + + /** + * Set TrackingNumber + * + * @param string $trackingNumber + * @return $this + */ + public function setTrackingNumber($trackingNumber) + { + $this->values['TrackingNumber'] = $trackingNumber; + return $this; + } +} diff --git a/src/FedEx/DGDSService/ComplexType/ContactAndAddress.php b/src/FedEx/DGDSService/ComplexType/ContactAndAddress.php new file mode 100644 index 00000000..d5840432 --- /dev/null +++ b/src/FedEx/DGDSService/ComplexType/ContactAndAddress.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Dangerous Goods Data Service + * + * @property Contact $Contact + * @property Address $Address + + */ +class ContactAndAddress extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ContactAndAddress'; + + /** + * Set Contact + * + * @param Contact $contact + * @return $this + */ + public function setContact(Contact $contact) + { + $this->values['Contact'] = $contact; + return $this; + } + + /** + * Set Address + * + * @param Address $address + * @return $this + */ + public function setAddress(Address $address) + { + $this->values['Address'] = $address; + return $this; + } +} diff --git a/src/FedEx/DGDSService/ComplexType/ManifestReferenceDetail.php b/src/FedEx/DGDSService/ComplexType/ManifestReferenceDetail.php new file mode 100644 index 00000000..bcd6f515 --- /dev/null +++ b/src/FedEx/DGDSService/ComplexType/ManifestReferenceDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Dangerous Goods Data Service + * + * @property \FedEx\DGDSService\SimpleType\CustomerReferenceType|string $Type + * @property string $Value + + */ +class ManifestReferenceDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ManifestReferenceDetail'; + + /** + * The PO_NUMBER, INVOICE_NUMBER, and CUSTOMER_REFERENCE types can be used for grouping shipments by conveyance, like a trailer, if populated in shipping. + * + * @param \FedEx\DGDSService\SimpleType\CustomerReferenceType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set Value + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/DGDSService/ComplexType/Party.php b/src/FedEx/DGDSService/ComplexType/Party.php new file mode 100644 index 00000000..7b73cc86 --- /dev/null +++ b/src/FedEx/DGDSService/ComplexType/Party.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Dangerous Goods Data Service + * + * @property string $AccountNumber + * @property TaxpayerIdentification[] $Tins + * @property Contact $Contact + * @property Address $Address + + */ +class Party extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Party'; + + /** + * Set AccountNumber + * + * @param string $accountNumber + * @return $this + */ + public function setAccountNumber($accountNumber) + { + $this->values['AccountNumber'] = $accountNumber; + return $this; + } + + /** + * Set Tins + * + * @param TaxpayerIdentification[] $tins + * @return $this + */ + public function setTins(array $tins) + { + $this->values['Tins'] = $tins; + return $this; + } + + /** + * Set Contact + * + * @param Contact $contact + * @return $this + */ + public function setContact(Contact $contact) + { + $this->values['Contact'] = $contact; + return $this; + } + + /** + * Set Address + * + * @param Address $address + * @return $this + */ + public function setAddress(Address $address) + { + $this->values['Address'] = $address; + return $this; + } +} diff --git a/src/FedEx/DGDSService/ComplexType/TaxpayerIdentification.php b/src/FedEx/DGDSService/ComplexType/TaxpayerIdentification.php new file mode 100644 index 00000000..900f10ea --- /dev/null +++ b/src/FedEx/DGDSService/ComplexType/TaxpayerIdentification.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Dangerous Goods Data Service + * + * @property \FedEx\DGDSService\SimpleType\TinType|string $TinType + * @property string $Number + * @property string $Usage + * @property string $EffectiveDate + * @property string $ExpirationDate + + */ +class TaxpayerIdentification extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'TaxpayerIdentification'; + + /** + * Set TinType + * + * @param \FedEx\DGDSService\SimpleType\TinType|string $tinType + * @return $this + */ + public function setTinType($tinType) + { + $this->values['TinType'] = $tinType; + return $this; + } + + /** + * Set Number + * + * @param string $number + * @return $this + */ + public function setNumber($number) + { + $this->values['Number'] = $number; + return $this; + } + + /** + * Identifies the usage of Tax Identification Number in Shipment processing + * + * @param string $usage + * @return $this + */ + public function setUsage($usage) + { + $this->values['Usage'] = $usage; + return $this; + } + + /** + * Set EffectiveDate + * + * @param string $effectiveDate + * @return $this + */ + public function setEffectiveDate($effectiveDate) + { + $this->values['EffectiveDate'] = $effectiveDate; + return $this; + } + + /** + * Set ExpirationDate + * + * @param string $expirationDate + * @return $this + */ + public function setExpirationDate($expirationDate) + { + $this->values['ExpirationDate'] = $expirationDate; + return $this; + } +} diff --git a/src/FedEx/DGDSService/ComplexType/UploadDangerousGoodsProcessingOptionsRequested.php b/src/FedEx/DGDSService/ComplexType/UploadDangerousGoodsProcessingOptionsRequested.php new file mode 100644 index 00000000..9a9f1710 --- /dev/null +++ b/src/FedEx/DGDSService/ComplexType/UploadDangerousGoodsProcessingOptionsRequested.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Dangerous Goods Data Service + * + * @property \FedEx\DGDSService\SimpleType\UploadDangerousGoodsProcessingOptionType|string[] $Options + + */ +class UploadDangerousGoodsProcessingOptionsRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UploadDangerousGoodsProcessingOptionsRequested'; + + /** + * Set Options + * + * @param \FedEx\DGDSService\SimpleType\UploadDangerousGoodsProcessingOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } +} diff --git a/src/FedEx/DGDSService/ComplexType/ValidateDangerousGoodsProcessingOptionsRequested.php b/src/FedEx/DGDSService/ComplexType/ValidateDangerousGoodsProcessingOptionsRequested.php new file mode 100644 index 00000000..a86bc88b --- /dev/null +++ b/src/FedEx/DGDSService/ComplexType/ValidateDangerousGoodsProcessingOptionsRequested.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Dangerous Goods Data Service + * + * @property \FedEx\DGDSService\SimpleType\ValidateDangerousGoodsProcessingOptionType|string[] $Options + + */ +class ValidateDangerousGoodsProcessingOptionsRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ValidateDangerousGoodsProcessingOptionsRequested'; + + /** + * Set Options + * + * @param \FedEx\DGDSService\SimpleType\ValidateDangerousGoodsProcessingOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } +} diff --git a/src/FedEx/DGDSService/SimpleType/CustomerReferenceType.php b/src/FedEx/DGDSService/SimpleType/CustomerReferenceType.php new file mode 100644 index 00000000..0ba10c64 --- /dev/null +++ b/src/FedEx/DGDSService/SimpleType/CustomerReferenceType.php @@ -0,0 +1,26 @@ + + * @package PHP FedEx API wrapper + * @subpackage Dangerous Goods Data Service + */ +class CustomerReferenceType extends AbstractSimpleType +{ + const _BILL_OF_LADING = 'BILL_OF_LADING'; + const _CUSTOMER_REFERENCE = 'CUSTOMER_REFERENCE'; + const _DEPARTMENT_NUMBER = 'DEPARTMENT_NUMBER'; + const _ELECTRONIC_PRODUCT_CODE = 'ELECTRONIC_PRODUCT_CODE'; + const _INTRACOUNTRY_REGULATORY_REFERENCE = 'INTRACOUNTRY_REGULATORY_REFERENCE'; + const _INVOICE_NUMBER = 'INVOICE_NUMBER'; + const _PACKING_SLIP_NUMBER = 'PACKING_SLIP_NUMBER'; + const _P_O_NUMBER = 'P_O_NUMBER'; + const _RMA_ASSOCIATION = 'RMA_ASSOCIATION'; + const _SHIPMENT_INTEGRITY = 'SHIPMENT_INTEGRITY'; + const _STORE_NUMBER = 'STORE_NUMBER'; +} diff --git a/src/FedEx/DGDSService/SimpleType/FedExAddressClassificationType.php b/src/FedEx/DGDSService/SimpleType/FedExAddressClassificationType.php new file mode 100644 index 00000000..1c83a42e --- /dev/null +++ b/src/FedEx/DGDSService/SimpleType/FedExAddressClassificationType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Dangerous Goods Data Service + */ +class FedExAddressClassificationType extends AbstractSimpleType +{ + const _BUSINESS = 'BUSINESS'; + const _MIXED = 'MIXED'; + const _RESIDENTIAL = 'RESIDENTIAL'; + const _UNCONFIRMED_BUSINESS = 'UNCONFIRMED_BUSINESS'; + const _UNCONFIRMED_RESIDENCE = 'UNCONFIRMED_RESIDENCE'; + const _UNKNOWN = 'UNKNOWN'; +} diff --git a/src/FedEx/DGDSService/SimpleType/TinType.php b/src/FedEx/DGDSService/SimpleType/TinType.php new file mode 100644 index 00000000..a2dd88e1 --- /dev/null +++ b/src/FedEx/DGDSService/SimpleType/TinType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Dangerous Goods Data Service + */ +class TinType extends AbstractSimpleType +{ + const _BUSINESS_NATIONAL = 'BUSINESS_NATIONAL'; + const _BUSINESS_STATE = 'BUSINESS_STATE'; + const _BUSINESS_UNION = 'BUSINESS_UNION'; + const _PERSONAL_NATIONAL = 'PERSONAL_NATIONAL'; + const _PERSONAL_STATE = 'PERSONAL_STATE'; +} diff --git a/src/FedEx/DGDSService/SimpleType/UploadDangerousGoodsProcessingOptionType.php b/src/FedEx/DGDSService/SimpleType/UploadDangerousGoodsProcessingOptionType.php new file mode 100644 index 00000000..7991fcf3 --- /dev/null +++ b/src/FedEx/DGDSService/SimpleType/UploadDangerousGoodsProcessingOptionType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Dangerous Goods Data Service + */ +class UploadDangerousGoodsProcessingOptionType extends AbstractSimpleType +{ + const _VALIDATION_ERRORS_AS_WARNINGS = 'VALIDATION_ERRORS_AS_WARNINGS'; +} diff --git a/src/FedEx/DGDSService/SimpleType/ValidateDangerousGoodsProcessingOptionType.php b/src/FedEx/DGDSService/SimpleType/ValidateDangerousGoodsProcessingOptionType.php new file mode 100644 index 00000000..1f893740 --- /dev/null +++ b/src/FedEx/DGDSService/SimpleType/ValidateDangerousGoodsProcessingOptionType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Dangerous Goods Data Service + */ +class ValidateDangerousGoodsProcessingOptionType extends AbstractSimpleType +{ + const _BYPASS_PRODUCT_VALIDATION = 'BYPASS_PRODUCT_VALIDATION'; + const _BYPASS_TRACKING_NUMBER_VALIDATION = 'BYPASS_TRACKING_NUMBER_VALIDATION'; +} diff --git a/src/FedEx/OpenShipService/ComplexType/AddPackagesToOpenShipmentReply.php b/src/FedEx/OpenShipService/ComplexType/AddPackagesToOpenShipmentReply.php index a69020b4..a677f787 100644 --- a/src/FedEx/OpenShipService/ComplexType/AddPackagesToOpenShipmentReply.php +++ b/src/FedEx/OpenShipService/ComplexType/AddPackagesToOpenShipmentReply.php @@ -15,7 +15,7 @@ * @property TransactionDetail $TransactionDetail * @property VersionId $Version * @property string $JobId - * @property \FedEx\OpenShipService\SimpleType\ServiceType|string $ServiceType + * @property string $ServiceType * @property CompletedShipmentDetail $CompletedShipmentDetail * @property ShippingDocument[] $ErrorLabels @@ -90,9 +90,9 @@ public function setJobId($jobId) } /** - * Set ServiceType + * This field contains the service type values, like PRIORITY_OVERNIGHT and FEDEX_GROUND. * - * @param \FedEx\OpenShipService\SimpleType\ServiceType|string $serviceType + * @param string $serviceType * @return $this */ public function setServiceType($serviceType) diff --git a/src/FedEx/OpenShipService/ComplexType/AssociatedShipmentDetail.php b/src/FedEx/OpenShipService/ComplexType/AssociatedShipmentDetail.php index 13772859..ecc2428f 100644 --- a/src/FedEx/OpenShipService/ComplexType/AssociatedShipmentDetail.php +++ b/src/FedEx/OpenShipService/ComplexType/AssociatedShipmentDetail.php @@ -13,8 +13,8 @@ * @property \FedEx\OpenShipService\SimpleType\AssociatedShipmentType|string $Type * @property Party $Sender * @property Party $Recipient - * @property \FedEx\OpenShipService\SimpleType\ServiceType|string $ServiceType - * @property \FedEx\OpenShipService\SimpleType\PackagingType|string $PackagingType + * @property string $ServiceType + * @property string $PackagingType * @property TrackingId $TrackingId * @property CustomerReference[] $CustomerReferences * @property ShipmentOperationalDetail $ShipmentOperationalDetail @@ -70,7 +70,7 @@ public function setRecipient(Party $recipient) /** * Set ServiceType * - * @param \FedEx\OpenShipService\SimpleType\ServiceType|string $serviceType + * @param string $serviceType * @return $this */ public function setServiceType($serviceType) @@ -82,7 +82,7 @@ public function setServiceType($serviceType) /** * Set PackagingType * - * @param \FedEx\OpenShipService\SimpleType\PackagingType|string $packagingType + * @param string $packagingType * @return $this */ public function setPackagingType($packagingType) diff --git a/src/FedEx/OpenShipService/ComplexType/Commodity.php b/src/FedEx/OpenShipService/ComplexType/Commodity.php index 8e6e2dc1..f2971926 100644 --- a/src/FedEx/OpenShipService/ComplexType/Commodity.php +++ b/src/FedEx/OpenShipService/ComplexType/Commodity.php @@ -27,7 +27,7 @@ * @property string $ExportLicenseExpirationDate * @property string $CIMarksAndNumbers * @property string $PartNumber - * @property NaftaCommodityDetail $NaftaDetail + * @property UsmcaCommodityDetail $UsmcaDetail */ class Commodity extends AbstractComplexType @@ -172,7 +172,7 @@ public function setUnitPrice(Money $unitPrice) } /** - * Set CustomsValue + * The value of the commodity for customs purposes. The field should be the unit price multiplied by the quantity. * * @param Money $customsValue * @return $this @@ -244,14 +244,14 @@ public function setPartNumber($partNumber) } /** - * All data required for this commodity in NAFTA Certificate of Origin. + * Set UsmcaDetail * - * @param NaftaCommodityDetail $naftaDetail + * @param UsmcaCommodityDetail $usmcaDetail * @return $this */ - public function setNaftaDetail(NaftaCommodityDetail $naftaDetail) + public function setUsmcaDetail(UsmcaCommodityDetail $usmcaDetail) { - $this->values['NaftaDetail'] = $naftaDetail; + $this->values['UsmcaDetail'] = $usmcaDetail; return $this; } } diff --git a/src/FedEx/OpenShipService/ComplexType/CompletedPackageDetail.php b/src/FedEx/OpenShipService/ComplexType/CompletedPackageDetail.php index 72e73680..6bbc4a3c 100644 --- a/src/FedEx/OpenShipService/ComplexType/CompletedPackageDetail.php +++ b/src/FedEx/OpenShipService/ComplexType/CompletedPackageDetail.php @@ -15,6 +15,7 @@ * @property int $GroupNumber * @property \FedEx\OpenShipService\SimpleType\OversizeClassType|string $OversizeClass * @property PackageRating $PackageRating + * @property SpecialServiceDescription[] $SpecialServiceDescriptions * @property PackageOperationalDetail $OperationalDetail * @property ShippingDocument $Label * @property ShippingDocument[] $PackageDocuments @@ -58,7 +59,7 @@ public function setTrackingIds(array $trackingIds) } /** - * Used with request containing PACKAGE_GROUPS, to identify which group of identical packages was used to produce a reply item. + * An identifier of each group of identical packages. * * @param int $groupNumber * @return $this @@ -93,6 +94,18 @@ public function setPackageRating(PackageRating $packageRating) return $this; } + /** + * Set SpecialServiceDescriptions + * + * @param SpecialServiceDescription[] $specialServiceDescriptions + * @return $this + */ + public function setSpecialServiceDescriptions(array $specialServiceDescriptions) + { + $this->values['SpecialServiceDescriptions'] = $specialServiceDescriptions; + return $this; + } + /** * Set OperationalDetail * diff --git a/src/FedEx/OpenShipService/ComplexType/CompletedShipmentDetail.php b/src/FedEx/OpenShipService/ComplexType/CompletedShipmentDetail.php index 75f8c1e1..9792eae0 100644 --- a/src/FedEx/OpenShipService/ComplexType/CompletedShipmentDetail.php +++ b/src/FedEx/OpenShipService/ComplexType/CompletedShipmentDetail.php @@ -13,9 +13,9 @@ * @property boolean $UsDomestic * @property \FedEx\OpenShipService\SimpleType\CarrierCodeType|string $CarrierCode * @property TrackingId $MasterTrackingId - * @property string $ServiceTypeDescription * @property ServiceDescription $ServiceDescription - * @property string $PackagingDescription + * @property PackagingDescription $PackagingDescription + * @property SpecialServiceDescription[] $SpecialServiceDescriptions * @property ShipmentOperationalDetail $OperationalDetail * @property PendingShipmentAccessDetail $AccessDetail * @property CompletedTagDetail $TagDetail @@ -79,38 +79,38 @@ public function setMasterTrackingId(TrackingId $masterTrackingId) } /** - * DEPRECATED as of 201801: Use serviceDescription instead. + * Set ServiceDescription * - * @param string $serviceTypeDescription + * @param ServiceDescription $serviceDescription * @return $this */ - public function setServiceTypeDescription($serviceTypeDescription) + public function setServiceDescription(ServiceDescription $serviceDescription) { - $this->values['ServiceTypeDescription'] = $serviceTypeDescription; + $this->values['ServiceDescription'] = $serviceDescription; return $this; } /** - * Set ServiceDescription + * Set PackagingDescription * - * @param ServiceDescription $serviceDescription + * @param PackagingDescription $packagingDescription * @return $this */ - public function setServiceDescription(ServiceDescription $serviceDescription) + public function setPackagingDescription(PackagingDescription $packagingDescription) { - $this->values['ServiceDescription'] = $serviceDescription; + $this->values['PackagingDescription'] = $packagingDescription; return $this; } /** - * Set PackagingDescription + * Set SpecialServiceDescriptions * - * @param string $packagingDescription + * @param SpecialServiceDescription[] $specialServiceDescriptions * @return $this */ - public function setPackagingDescription($packagingDescription) + public function setSpecialServiceDescriptions(array $specialServiceDescriptions) { - $this->values['PackagingDescription'] = $packagingDescription; + $this->values['SpecialServiceDescriptions'] = $specialServiceDescriptions; return $this; } diff --git a/src/FedEx/OpenShipService/ComplexType/ConfirmOpenShipmentReply.php b/src/FedEx/OpenShipService/ComplexType/ConfirmOpenShipmentReply.php index dcf3eef3..baf7c212 100644 --- a/src/FedEx/OpenShipService/ComplexType/ConfirmOpenShipmentReply.php +++ b/src/FedEx/OpenShipService/ComplexType/ConfirmOpenShipmentReply.php @@ -18,6 +18,7 @@ * @property AsynchronousProcessingResultsDetail $AsynchronousProcessingResults * @property CompletedShipmentDetail $CompletedShipmentDetail * @property ShippingDocument[] $ErrorLabels + * @property ShipmentAdvisoryDetail $AdvisoryDetail */ class ConfirmOpenShipmentReply extends AbstractComplexType @@ -124,4 +125,16 @@ public function setErrorLabels(array $errorLabels) $this->values['ErrorLabels'] = $errorLabels; return $this; } + + /** + * Set AdvisoryDetail + * + * @param ShipmentAdvisoryDetail $advisoryDetail + * @return $this + */ + public function setAdvisoryDetail(ShipmentAdvisoryDetail $advisoryDetail) + { + $this->values['AdvisoryDetail'] = $advisoryDetail; + return $this; + } } diff --git a/src/FedEx/OpenShipService/ComplexType/ContentRecord.php b/src/FedEx/OpenShipService/ComplexType/ContentRecord.php index 9862616f..e268146f 100644 --- a/src/FedEx/OpenShipService/ComplexType/ContentRecord.php +++ b/src/FedEx/OpenShipService/ComplexType/ContentRecord.php @@ -4,7 +4,7 @@ use FedEx\AbstractComplexType; /** - * ContentRecord + * Details the contents of the package. * * @author Jeremy Dunn * @package PHP FedEx API wrapper diff --git a/src/FedEx/OpenShipService/ComplexType/CreateOpenShipmentReply.php b/src/FedEx/OpenShipService/ComplexType/CreateOpenShipmentReply.php index ee9ad40e..5a2ade76 100644 --- a/src/FedEx/OpenShipService/ComplexType/CreateOpenShipmentReply.php +++ b/src/FedEx/OpenShipService/ComplexType/CreateOpenShipmentReply.php @@ -16,10 +16,11 @@ * @property VersionId $Version * @property string $JobId * @property AsynchronousProcessingResultsDetail $AsynchronousProcessingResults - * @property \FedEx\OpenShipService\SimpleType\ServiceType|string $ServiceType + * @property string $ServiceType * @property CompletedShipmentDetail $CompletedShipmentDetail * @property ShippingDocument[] $ErrorLabels * @property string $Index + * @property ShipmentAdvisoryDetail $AdvisoryDetail */ class CreateOpenShipmentReply extends AbstractComplexType @@ -106,7 +107,7 @@ public function setAsynchronousProcessingResults(AsynchronousProcessingResultsDe /** * Set ServiceType * - * @param \FedEx\OpenShipService\SimpleType\ServiceType|string $serviceType + * @param string $serviceType * @return $this */ public function setServiceType($serviceType) @@ -150,4 +151,16 @@ public function setIndex($index) $this->values['Index'] = $index; return $this; } + + /** + * Set AdvisoryDetail + * + * @param ShipmentAdvisoryDetail $advisoryDetail + * @return $this + */ + public function setAdvisoryDetail(ShipmentAdvisoryDetail $advisoryDetail) + { + $this->values['AdvisoryDetail'] = $advisoryDetail; + return $this; + } } diff --git a/src/FedEx/OpenShipService/ComplexType/CustomsClearanceDetail.php b/src/FedEx/OpenShipService/ComplexType/CustomsClearanceDetail.php index c91f8289..3de1a826 100644 --- a/src/FedEx/OpenShipService/ComplexType/CustomsClearanceDetail.php +++ b/src/FedEx/OpenShipService/ComplexType/CustomsClearanceDetail.php @@ -122,7 +122,7 @@ public function setDocumentContent($documentContent) } /** - * Set CustomsValue + * This represents the total commodity value of the shipment plus the charges required by the destination country. * * @param Money $customsValue * @return $this diff --git a/src/FedEx/OpenShipService/ComplexType/CustomsDeclarationStatementDetail.php b/src/FedEx/OpenShipService/ComplexType/CustomsDeclarationStatementDetail.php index 02b86421..2786f6b9 100644 --- a/src/FedEx/OpenShipService/ComplexType/CustomsDeclarationStatementDetail.php +++ b/src/FedEx/OpenShipService/ComplexType/CustomsDeclarationStatementDetail.php @@ -11,7 +11,6 @@ * @subpackage OpenShip Service * * @property \FedEx\OpenShipService\SimpleType\CustomsDeclarationStatementType|string[] $Types - * @property NaftaLowValueStatementDetail $NaftaLowValueStatementDetail */ class CustomsDeclarationStatementDetail extends AbstractComplexType @@ -34,16 +33,4 @@ public function setTypes(array $types) $this->values['Types'] = $types; return $this; } - - /** - * Specifies the NAFTA low value statement information. - * - * @param NaftaLowValueStatementDetail $naftaLowValueStatementDetail - * @return $this - */ - public function setNaftaLowValueStatementDetail(NaftaLowValueStatementDetail $naftaLowValueStatementDetail) - { - $this->values['NaftaLowValueStatementDetail'] = $naftaLowValueStatementDetail; - return $this; - } } diff --git a/src/FedEx/OpenShipService/ComplexType/EPaymentDetail.php b/src/FedEx/OpenShipService/ComplexType/EPaymentDetail.php new file mode 100644 index 00000000..33ef6b6f --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/EPaymentDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property string $Id + * @property \FedEx\OpenShipService\SimpleType\EPaymentProcessorType|string $EPaymentProcessor + * @property \FedEx\OpenShipService\SimpleType\EPaymentModeType|string $EPaymentMode + * @property string $MaskedCreditCard + * @property string $CreditCardExpirationDate + * @property Money $Amount + + */ +class EPaymentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EPaymentDetail'; + + /** + * Set Id + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Set EPaymentProcessor + * + * @param \FedEx\OpenShipService\SimpleType\EPaymentProcessorType|string $ePaymentProcessor + * @return $this + */ + public function setEPaymentProcessor($ePaymentProcessor) + { + $this->values['EPaymentProcessor'] = $ePaymentProcessor; + return $this; + } + + /** + * Set EPaymentMode + * + * @param \FedEx\OpenShipService\SimpleType\EPaymentModeType|string $ePaymentMode + * @return $this + */ + public function setEPaymentMode($ePaymentMode) + { + $this->values['EPaymentMode'] = $ePaymentMode; + return $this; + } + + /** + * Set MaskedCreditCard + * + * @param string $maskedCreditCard + * @return $this + */ + public function setMaskedCreditCard($maskedCreditCard) + { + $this->values['MaskedCreditCard'] = $maskedCreditCard; + return $this; + } + + /** + * Set CreditCardExpirationDate + * + * @param string $creditCardExpirationDate + * @return $this + */ + public function setCreditCardExpirationDate($creditCardExpirationDate) + { + $this->values['CreditCardExpirationDate'] = $creditCardExpirationDate; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/EdtCommodityTax.php b/src/FedEx/OpenShipService/ComplexType/EdtCommodityTax.php index 143e6637..ebeeb6df 100644 --- a/src/FedEx/OpenShipService/ComplexType/EdtCommodityTax.php +++ b/src/FedEx/OpenShipService/ComplexType/EdtCommodityTax.php @@ -12,6 +12,7 @@ * * @property string $HarmonizedCode * @property EdtTaxDetail[] $Taxes + * @property Money $Total */ class EdtCommodityTax extends AbstractComplexType @@ -46,4 +47,16 @@ public function setTaxes(array $taxes) $this->values['Taxes'] = $taxes; return $this; } + + /** + * Set Total + * + * @param Money $total + * @return $this + */ + public function setTotal(Money $total) + { + $this->values['Total'] = $total; + return $this; + } } diff --git a/src/FedEx/OpenShipService/ComplexType/FreightSpecialServicePayment.php b/src/FedEx/OpenShipService/ComplexType/FreightSpecialServicePayment.php index 07b981d9..8cb8e426 100644 --- a/src/FedEx/OpenShipService/ComplexType/FreightSpecialServicePayment.php +++ b/src/FedEx/OpenShipService/ComplexType/FreightSpecialServicePayment.php @@ -10,7 +10,7 @@ * @package PHP FedEx API wrapper * @subpackage OpenShip Service * - * @property \FedEx\OpenShipService\SimpleType\ShipmentSpecialServiceType|string $SpecialService + * @property string $SpecialService * @property \FedEx\OpenShipService\SimpleType\FreightShipmentRoleType|string $PaymentType */ @@ -26,7 +26,7 @@ class FreightSpecialServicePayment extends AbstractComplexType /** * Identifies the special service. * - * @param \FedEx\OpenShipService\SimpleType\ShipmentSpecialServiceType|string $specialService + * @param string $specialService * @return $this */ public function setSpecialService($specialService) diff --git a/src/FedEx/OpenShipService/ComplexType/GetConfirmOpenShipmentResultsReply.php b/src/FedEx/OpenShipService/ComplexType/GetConfirmOpenShipmentResultsReply.php index d88b4d08..58f5f418 100644 --- a/src/FedEx/OpenShipService/ComplexType/GetConfirmOpenShipmentResultsReply.php +++ b/src/FedEx/OpenShipService/ComplexType/GetConfirmOpenShipmentResultsReply.php @@ -16,6 +16,7 @@ * @property VersionId $Version * @property CompletedShipmentDetail $CompletedShipmentDetail * @property ShippingDocument[] $ErrorLabels + * @property ShipmentAdvisoryDetail $AdvisoryDetail */ class GetConfirmOpenShipmentResultsReply extends AbstractComplexType @@ -98,4 +99,16 @@ public function setErrorLabels(array $errorLabels) $this->values['ErrorLabels'] = $errorLabels; return $this; } + + /** + * Set AdvisoryDetail + * + * @param ShipmentAdvisoryDetail $advisoryDetail + * @return $this + */ + public function setAdvisoryDetail(ShipmentAdvisoryDetail $advisoryDetail) + { + $this->values['AdvisoryDetail'] = $advisoryDetail; + return $this; + } } diff --git a/src/FedEx/OpenShipService/ComplexType/GetCreateOpenShipmentResultsReply.php b/src/FedEx/OpenShipService/ComplexType/GetCreateOpenShipmentResultsReply.php index 20260b4f..bfa7bda3 100644 --- a/src/FedEx/OpenShipService/ComplexType/GetCreateOpenShipmentResultsReply.php +++ b/src/FedEx/OpenShipService/ComplexType/GetCreateOpenShipmentResultsReply.php @@ -14,10 +14,11 @@ * @property Notification[] $Notifications * @property TransactionDetail $TransactionDetail * @property VersionId $Version - * @property \FedEx\OpenShipService\SimpleType\ServiceType|string $ServiceType + * @property string $ServiceType * @property CompletedShipmentDetail $CompletedShipmentDetail * @property ShippingDocument[] $ErrorLabels * @property string $Index + * @property ShipmentAdvisoryDetail $AdvisoryDetail */ class GetCreateOpenShipmentResultsReply extends AbstractComplexType @@ -80,7 +81,7 @@ public function setVersion(VersionId $version) /** * Set ServiceType * - * @param \FedEx\OpenShipService\SimpleType\ServiceType|string $serviceType + * @param string $serviceType * @return $this */ public function setServiceType($serviceType) @@ -124,4 +125,16 @@ public function setIndex($index) $this->values['Index'] = $index; return $this; } + + /** + * Set AdvisoryDetail + * + * @param ShipmentAdvisoryDetail $advisoryDetail + * @return $this + */ + public function setAdvisoryDetail(ShipmentAdvisoryDetail $advisoryDetail) + { + $this->values['AdvisoryDetail'] = $advisoryDetail; + return $this; + } } diff --git a/src/FedEx/OpenShipService/ComplexType/GetModifyOpenShipmentResultsReply.php b/src/FedEx/OpenShipService/ComplexType/GetModifyOpenShipmentResultsReply.php index add4fd1a..6e8e2a0f 100644 --- a/src/FedEx/OpenShipService/ComplexType/GetModifyOpenShipmentResultsReply.php +++ b/src/FedEx/OpenShipService/ComplexType/GetModifyOpenShipmentResultsReply.php @@ -16,6 +16,7 @@ * @property VersionId $Version * @property CompletedShipmentDetail $CompletedShipmentDetail * @property ShippingDocument[] $ErrorLabels + * @property ShipmentAdvisoryDetail $AdvisoryDetail */ class GetModifyOpenShipmentResultsReply extends AbstractComplexType @@ -98,4 +99,16 @@ public function setErrorLabels(array $errorLabels) $this->values['ErrorLabels'] = $errorLabels; return $this; } + + /** + * Set AdvisoryDetail + * + * @param ShipmentAdvisoryDetail $advisoryDetail + * @return $this + */ + public function setAdvisoryDetail(ShipmentAdvisoryDetail $advisoryDetail) + { + $this->values['AdvisoryDetail'] = $advisoryDetail; + return $this; + } } diff --git a/src/FedEx/OpenShipService/ComplexType/Message.php b/src/FedEx/OpenShipService/ComplexType/Message.php new file mode 100644 index 00000000..67544b95 --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/Message.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property string $Code + * @property string $Text + * @property string $LocalizedText + * @property MessageParameter[] $Parameters + + */ +class Message extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Message'; + + /** + * Set Code + * + * @param string $code + * @return $this + */ + public function setCode($code) + { + $this->values['Code'] = $code; + return $this; + } + + /** + * Set Text + * + * @param string $text + * @return $this + */ + public function setText($text) + { + $this->values['Text'] = $text; + return $this; + } + + /** + * Set LocalizedText + * + * @param string $localizedText + * @return $this + */ + public function setLocalizedText($localizedText) + { + $this->values['LocalizedText'] = $localizedText; + return $this; + } + + /** + * Set Parameters + * + * @param MessageParameter[] $parameters + * @return $this + */ + public function setParameters(array $parameters) + { + $this->values['Parameters'] = $parameters; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/MessageParameter.php b/src/FedEx/OpenShipService/ComplexType/MessageParameter.php new file mode 100644 index 00000000..7c983d9e --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/MessageParameter.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property string $Id + * @property string $Value + + */ +class MessageParameter extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'MessageParameter'; + + /** + * Set Id + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Set Value + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/ModifyOpenShipmentReply.php b/src/FedEx/OpenShipService/ComplexType/ModifyOpenShipmentReply.php index 3a948696..b77de4eb 100644 --- a/src/FedEx/OpenShipService/ComplexType/ModifyOpenShipmentReply.php +++ b/src/FedEx/OpenShipService/ComplexType/ModifyOpenShipmentReply.php @@ -18,6 +18,7 @@ * @property AsynchronousProcessingResultsDetail $AsynchronousProcessingResults * @property CompletedShipmentDetail $CompletedShipmentDetail * @property ShippingDocument[] $ErrorLabels + * @property ShipmentAdvisoryDetail $AdvisoryDetail */ class ModifyOpenShipmentReply extends AbstractComplexType @@ -124,4 +125,16 @@ public function setErrorLabels(array $errorLabels) $this->values['ErrorLabels'] = $errorLabels; return $this; } + + /** + * Set AdvisoryDetail + * + * @param ShipmentAdvisoryDetail $advisoryDetail + * @return $this + */ + public function setAdvisoryDetail(ShipmentAdvisoryDetail $advisoryDetail) + { + $this->values['AdvisoryDetail'] = $advisoryDetail; + return $this; + } } diff --git a/src/FedEx/OpenShipService/ComplexType/OfferingIdentifierDetail.php b/src/FedEx/OpenShipService/ComplexType/OfferingIdentifierDetail.php new file mode 100644 index 00000000..b502c2ab --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/OfferingIdentifierDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property string $Id + * @property string $Type + * @property string $Code + + */ +class OfferingIdentifierDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'OfferingIdentifierDetail'; + + /** + * Unique identifier for this offering. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Specifies values like PRIORITY_OVERNIGHT, FEDEX_ENVELOPE, PRIORITY_ALERT, and other values typically used to identify various offerings in transactions. + * + * @param string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Specifies the two character code used for operationalization of this offering. + * + * @param string $code + * @return $this + */ + public function setCode($code) + { + $this->values['Code'] = $code; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/PackageSpecialServicesRequested.php b/src/FedEx/OpenShipService/ComplexType/PackageSpecialServicesRequested.php index 35654cb5..fc7f9d9b 100644 --- a/src/FedEx/OpenShipService/ComplexType/PackageSpecialServicesRequested.php +++ b/src/FedEx/OpenShipService/ComplexType/PackageSpecialServicesRequested.php @@ -10,7 +10,7 @@ * @package PHP FedEx API wrapper * @subpackage OpenShip Service * - * @property \FedEx\OpenShipService\SimpleType\PackageSpecialServiceType|string[] $SpecialServiceTypes + * @property string[] $SpecialServiceTypes * @property CodDetail $CodDetail * @property DangerousGoodsDetail $DangerousGoodsDetail * @property BatteryClassificationDetail[] $BatteryDetails @@ -31,12 +31,12 @@ class PackageSpecialServicesRequested extends AbstractComplexType protected $name = 'PackageSpecialServicesRequested'; /** - * The types of all special services requested for the enclosing shipment or package. + * Indicates the package special service types that are requested on this shipment. For a list of the valid package special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. * - * @param \FedEx\OpenShipService\SimpleType\PackageSpecialServiceType[]|string[] $specialServiceTypes + * @param string $specialServiceTypes * @return $this */ - public function setSpecialServiceTypes(array $specialServiceTypes) + public function setSpecialServiceTypes($specialServiceTypes) { $this->values['SpecialServiceTypes'] = $specialServiceTypes; return $this; diff --git a/src/FedEx/OpenShipService/ComplexType/PackagingDescription.php b/src/FedEx/OpenShipService/ComplexType/PackagingDescription.php new file mode 100644 index 00000000..17fe6e01 --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/PackagingDescription.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property string $PackagingType + * @property string $Code + * @property ProductName[] $Names + * @property string $Description + * @property string $AstraDescription + + */ +class PackagingDescription extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PackagingDescription'; + + /** + * Set PackagingType + * + * @param string $packagingType + * @return $this + */ + public function setPackagingType($packagingType) + { + $this->values['PackagingType'] = $packagingType; + return $this; + } + + /** + * Set Code + * + * @param string $code + * @return $this + */ + public function setCode($code) + { + $this->values['Code'] = $code; + return $this; + } + + /** + * Branded, translated, and/or localized names for this packaging. + * + * @param ProductName[] $names + * @return $this + */ + public function setNames(array $names) + { + $this->values['Names'] = $names; + return $this; + } + + /** + * Set Description + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set AstraDescription + * + * @param string $astraDescription + * @return $this + */ + public function setAstraDescription($astraDescription) + { + $this->values['AstraDescription'] = $astraDescription; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/Payment.php b/src/FedEx/OpenShipService/ComplexType/Payment.php index 0b17aa1d..5f9fc243 100644 --- a/src/FedEx/OpenShipService/ComplexType/Payment.php +++ b/src/FedEx/OpenShipService/ComplexType/Payment.php @@ -12,6 +12,7 @@ * * @property \FedEx\OpenShipService\SimpleType\PaymentType|string $PaymentType * @property Payor $Payor + * @property EPaymentDetail $EPaymentDetail */ class Payment extends AbstractComplexType @@ -46,4 +47,16 @@ public function setPayor(Payor $payor) $this->values['Payor'] = $payor; return $this; } + + /** + * FOR FEDEX INTERNAL USE ONLY + * + * @param EPaymentDetail $ePaymentDetail + * @return $this + */ + public function setEPaymentDetail(EPaymentDetail $ePaymentDetail) + { + $this->values['EPaymentDetail'] = $ePaymentDetail; + return $this; + } } diff --git a/src/FedEx/OpenShipService/ComplexType/ProductName.php b/src/FedEx/OpenShipService/ComplexType/ProductName.php index e590be7f..4f441e68 100644 --- a/src/FedEx/OpenShipService/ComplexType/ProductName.php +++ b/src/FedEx/OpenShipService/ComplexType/ProductName.php @@ -25,7 +25,7 @@ class ProductName extends AbstractComplexType protected $name = 'ProductName'; /** - * The type of branded, translated, and/or localized name to which this value refers. + * The type of name (long, medium, short, etc.) to which this value refers. * * @param string $type * @return $this diff --git a/src/FedEx/OpenShipService/ComplexType/RegulatoryAdvisoryDetail.php b/src/FedEx/OpenShipService/ComplexType/RegulatoryAdvisoryDetail.php new file mode 100644 index 00000000..9e8743fa --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/RegulatoryAdvisoryDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property RegulatoryProhibition[] $Prohibitions + + */ +class RegulatoryAdvisoryDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RegulatoryAdvisoryDetail'; + + /** + * Set Prohibitions + * + * @param RegulatoryProhibition[] $prohibitions + * @return $this + */ + public function setProhibitions(array $prohibitions) + { + $this->values['Prohibitions'] = $prohibitions; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/RegulatoryProhibition.php b/src/FedEx/OpenShipService/ComplexType/RegulatoryProhibition.php new file mode 100644 index 00000000..890204a2 --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/RegulatoryProhibition.php @@ -0,0 +1,127 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property \FedEx\OpenShipService\SimpleType\ProhibitionStatusType|string $Status + * @property \FedEx\OpenShipService\SimpleType\ProhibitionSourceType|string $Source + * @property \FedEx\OpenShipService\SimpleType\ProhibitionType|string $Type + * @property \FedEx\OpenShipService\SimpleType\ShipmentRuleType|string[] $Categories + * @property int $CommodityIndex + * @property string $DerivedHarmonizedCode + * @property Message $Advisory + * @property RegulatoryWaiver $Waiver + + */ +class RegulatoryProhibition extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RegulatoryProhibition'; + + /** + * Set Status + * + * @param \FedEx\OpenShipService\SimpleType\ProhibitionStatusType|string $status + * @return $this + */ + public function setStatus($status) + { + $this->values['Status'] = $status; + return $this; + } + + /** + * Set Source + * + * @param \FedEx\OpenShipService\SimpleType\ProhibitionSourceType|string $source + * @return $this + */ + public function setSource($source) + { + $this->values['Source'] = $source; + return $this; + } + + /** + * Set Type + * + * @param \FedEx\OpenShipService\SimpleType\ProhibitionType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set Categories + * + * @param \FedEx\OpenShipService\SimpleType\ShipmentRuleType[]|string[] $categories + * @return $this + */ + public function setCategories(array $categories) + { + $this->values['Categories'] = $categories; + return $this; + } + + /** + * This is a 1-based index identifying the commodity in the request that resulted in this COMMODITY or DOCUMENT type prohibition. + * + * @param int $commodityIndex + * @return $this + */ + public function setCommodityIndex($commodityIndex) + { + $this->values['CommodityIndex'] = $commodityIndex; + return $this; + } + + /** + * Set DerivedHarmonizedCode + * + * @param string $derivedHarmonizedCode + * @return $this + */ + public function setDerivedHarmonizedCode($derivedHarmonizedCode) + { + $this->values['DerivedHarmonizedCode'] = $derivedHarmonizedCode; + return $this; + } + + /** + * Set Advisory + * + * @param Message $advisory + * @return $this + */ + public function setAdvisory(Message $advisory) + { + $this->values['Advisory'] = $advisory; + return $this; + } + + /** + * Set Waiver + * + * @param RegulatoryWaiver $waiver + * @return $this + */ + public function setWaiver(RegulatoryWaiver $waiver) + { + $this->values['Waiver'] = $waiver; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/RegulatoryWaiver.php b/src/FedEx/OpenShipService/ComplexType/RegulatoryWaiver.php new file mode 100644 index 00000000..e51d7e2e --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/RegulatoryWaiver.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property string $Id + * @property string $Description + * @property Message[] $Advisories + + */ +class RegulatoryWaiver extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RegulatoryWaiver'; + + /** + * FOR FEDEX INTERNAL USE ONLY: The id of the waiver. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: The description of the waiver. + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set Advisories + * + * @param Message[] $advisories + * @return $this + */ + public function setAdvisories(array $advisories) + { + $this->values['Advisories'] = $advisories; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/RequestedPackageLineItem.php b/src/FedEx/OpenShipService/ComplexType/RequestedPackageLineItem.php index 14a8be3b..29be11cd 100644 --- a/src/FedEx/OpenShipService/ComplexType/RequestedPackageLineItem.php +++ b/src/FedEx/OpenShipService/ComplexType/RequestedPackageLineItem.php @@ -4,7 +4,7 @@ use FedEx\AbstractComplexType; /** - * This class rationalizes RequestedPackage and RequestedPackageSummary from previous interfaces. + * RequestedPackageLineItem * * @author Jeremy Dunn * @package PHP FedEx API wrapper @@ -26,6 +26,7 @@ * @property PackageSpecialServicesRequested $SpecialServicesRequested * @property ContentRecord[] $ContentRecords * @property Commodity[] $Commodities + * @property ShipperConveyanceDetail $ConveyanceDetail */ class RequestedPackageLineItem extends AbstractComplexType @@ -38,7 +39,7 @@ class RequestedPackageLineItem extends AbstractComplexType protected $name = 'RequestedPackageLineItem'; /** - * Used only with INDIVIDUAL_PACKAGE, as a unique identifier of each requested package. + * A unique identifier of each requested package line item. * * @param int $sequenceNumber * @return $this @@ -50,7 +51,7 @@ public function setSequenceNumber($sequenceNumber) } /** - * Used only with PACKAGE_GROUPS, as a unique identifier of each group of identical packages. + * An identifier of each group of identical packages. * * @param int $groupNumber * @return $this @@ -62,7 +63,7 @@ public function setGroupNumber($groupNumber) } /** - * Used only with PACKAGE_GROUPS, as a count of packages within a group of identical packages. + * Used as the number or count of identical packages in a group. * * @param int $groupPackageCount * @return $this @@ -74,7 +75,7 @@ public function setGroupPackageCount($groupPackageCount) } /** - * Only used for INDIVIDUAL_PACKAGES. + * Only used when clients are assigning a tracking number to this package. Should not be used when groupPackageCount is greater than one. * * @param TrackingId[] $trackingIds * @return $this @@ -98,7 +99,7 @@ public function setVariableHandlingChargeDetail(VariableHandlingChargeDetail $va } /** - * Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. This field is only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored for PACKAGE_SUMMARY, in which case totalInsuredValue and packageCount on the shipment will be used to determine this value. + * Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. * * @param Money $insuredValue * @return $this @@ -110,7 +111,7 @@ public function setInsuredValue(Money $insuredValue) } /** - * Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored for PACKAGE_SUMMARY, in which case total weight and packageCount on the shipment will be used to determine this value. + * Represents the gross weight of the package line item. * * @param Weight $weight * @return $this @@ -206,7 +207,7 @@ public function setSpecialServicesRequested(PackageSpecialServicesRequested $spe } /** - * Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. + * Details the contents of the package. * * @param ContentRecord[] $contentRecords * @return $this @@ -228,4 +229,16 @@ public function setCommodities(array $commodities) $this->values['Commodities'] = $commodities; return $this; } + + /** + * Set ConveyanceDetail + * + * @param ShipperConveyanceDetail $conveyanceDetail + * @return $this + */ + public function setConveyanceDetail(ShipperConveyanceDetail $conveyanceDetail) + { + $this->values['ConveyanceDetail'] = $conveyanceDetail; + return $this; + } } diff --git a/src/FedEx/OpenShipService/ComplexType/RequestedShipment.php b/src/FedEx/OpenShipService/ComplexType/RequestedShipment.php index 7703f576..e6019f2d 100644 --- a/src/FedEx/OpenShipService/ComplexType/RequestedShipment.php +++ b/src/FedEx/OpenShipService/ComplexType/RequestedShipment.php @@ -12,8 +12,8 @@ * * @property string $ShipTimestamp * @property \FedEx\OpenShipService\SimpleType\DropoffType|string $DropoffType - * @property \FedEx\OpenShipService\SimpleType\ServiceType|string $ServiceType - * @property \FedEx\OpenShipService\SimpleType\PackagingType|string $PackagingType + * @property string $ServiceType + * @property string $PackagingType * @property ShipmentManifestDetail $ManifestDetail * @property Weight $TotalWeight * @property Money $TotalInsuredValue @@ -81,9 +81,9 @@ public function setDropoffType($dropoffType) } /** - * Set ServiceType + * This field contains the service type values, like PRIORITY_OVERNIGHT and FEDEX_GROUND. * - * @param \FedEx\OpenShipService\SimpleType\ServiceType|string $serviceType + * @param string $serviceType * @return $this */ public function setServiceType($serviceType) @@ -93,9 +93,9 @@ public function setServiceType($serviceType) } /** - * Set PackagingType + * This field contains the packaging type values, like YOUR_PACKAGING and FEDEX_ENVELOPE. * - * @param \FedEx\OpenShipService\SimpleType\PackagingType|string $packagingType + * @param string $packagingType * @return $this */ public function setPackagingType($packagingType) diff --git a/src/FedEx/OpenShipService/ComplexType/ServiceDescription.php b/src/FedEx/OpenShipService/ComplexType/ServiceDescription.php index 7fc9895e..fb52eb01 100644 --- a/src/FedEx/OpenShipService/ComplexType/ServiceDescription.php +++ b/src/FedEx/OpenShipService/ComplexType/ServiceDescription.php @@ -10,7 +10,7 @@ * @package PHP FedEx API wrapper * @subpackage OpenShip Service * - * @property \FedEx\OpenShipService\SimpleType\ServiceType|string $ServiceType + * @property string $ServiceType * @property string $Code * @property ProductName[] $Names * @property string $Description @@ -29,7 +29,7 @@ class ServiceDescription extends AbstractComplexType /** * Set ServiceType * - * @param \FedEx\OpenShipService\SimpleType\ServiceType|string $serviceType + * @param string $serviceType * @return $this */ public function setServiceType($serviceType) diff --git a/src/FedEx/OpenShipService/ComplexType/ShipmentAdvisoryDetail.php b/src/FedEx/OpenShipService/ComplexType/ShipmentAdvisoryDetail.php new file mode 100644 index 00000000..9d9eb081 --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/ShipmentAdvisoryDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property RegulatoryAdvisoryDetail $RegulatoryAdvisory + + */ +class ShipmentAdvisoryDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentAdvisoryDetail'; + + /** + * Set RegulatoryAdvisory + * + * @param RegulatoryAdvisoryDetail $regulatoryAdvisory + * @return $this + */ + public function setRegulatoryAdvisory(RegulatoryAdvisoryDetail $regulatoryAdvisory) + { + $this->values['RegulatoryAdvisory'] = $regulatoryAdvisory; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/ShipmentReply.php b/src/FedEx/OpenShipService/ComplexType/ShipmentReply.php index 001b0243..db5419d6 100644 --- a/src/FedEx/OpenShipService/ComplexType/ShipmentReply.php +++ b/src/FedEx/OpenShipService/ComplexType/ShipmentReply.php @@ -14,6 +14,7 @@ * @property Notification[] $Notifications * @property TransactionDetail $TransactionDetail * @property VersionId $Version + * @property ShipmentAdvisoryDetail $AdvisoryDetail */ class ShipmentReply extends AbstractComplexType @@ -72,4 +73,16 @@ public function setVersion(VersionId $version) $this->values['Version'] = $version; return $this; } + + /** + * Set AdvisoryDetail + * + * @param ShipmentAdvisoryDetail $advisoryDetail + * @return $this + */ + public function setAdvisoryDetail(ShipmentAdvisoryDetail $advisoryDetail) + { + $this->values['AdvisoryDetail'] = $advisoryDetail; + return $this; + } } diff --git a/src/FedEx/OpenShipService/ComplexType/ShipmentSpecialServicesRequested.php b/src/FedEx/OpenShipService/ComplexType/ShipmentSpecialServicesRequested.php index b7b5bb72..49993b24 100644 --- a/src/FedEx/OpenShipService/ComplexType/ShipmentSpecialServicesRequested.php +++ b/src/FedEx/OpenShipService/ComplexType/ShipmentSpecialServicesRequested.php @@ -10,7 +10,7 @@ * @package PHP FedEx API wrapper * @subpackage OpenShip Service * - * @property \FedEx\OpenShipService\SimpleType\ShipmentSpecialServiceType|string[] $SpecialServiceTypes + * @property string[] $SpecialServiceTypes * @property CodDetail $CodDetail * @property DeliveryOnInvoiceAcceptanceDetail $DeliveryOnInvoiceAcceptanceDetail * @property HoldAtLocationDetail $HoldAtLocationDetail @@ -36,12 +36,12 @@ class ShipmentSpecialServicesRequested extends AbstractComplexType protected $name = 'ShipmentSpecialServicesRequested'; /** - * The types of all special services requested for the enclosing shipment (or other shipment-level transaction). + * Indicates the shipment special service types that are requested on this shipment. For a list of the valid shipment special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. * - * @param \FedEx\OpenShipService\SimpleType\ShipmentSpecialServiceType[]|string[] $specialServiceTypes + * @param string $specialServiceTypes * @return $this */ - public function setSpecialServiceTypes(array $specialServiceTypes) + public function setSpecialServiceTypes($specialServiceTypes) { $this->values['SpecialServiceTypes'] = $specialServiceTypes; return $this; diff --git a/src/FedEx/OpenShipService/ComplexType/ShipperConveyanceDetail.php b/src/FedEx/OpenShipService/ComplexType/ShipperConveyanceDetail.php new file mode 100644 index 00000000..beac0ac9 --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/ShipperConveyanceDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property string $Id + + */ +class ShipperConveyanceDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipperConveyanceDetail'; + + /** + * This indicates the identifier of a conveyance, such as a trailer ID. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/ShippingDocumentFormat.php b/src/FedEx/OpenShipService/ComplexType/ShippingDocumentFormat.php index 12e51e9f..87db5a97 100644 --- a/src/FedEx/OpenShipService/ComplexType/ShippingDocumentFormat.php +++ b/src/FedEx/OpenShipService/ComplexType/ShippingDocumentFormat.php @@ -78,7 +78,7 @@ public function setStockType($stockType) } /** - * For those shipping document types which have both a "form" and "instructions" component (e.g. NAFTA Certificate of Origin and General Agency Agreement), this field indicates whether to provide the instructions. + * For those shipping document types which have both a "form" and "instructions" component (e.g. General Agency Agreement), this field indicates whether to provide the instructions. * * @param boolean $provideInstructions * @return $this diff --git a/src/FedEx/OpenShipService/ComplexType/ShippingDocumentSpecification.php b/src/FedEx/OpenShipService/ComplexType/ShippingDocumentSpecification.php index 7604804c..ceb37fb9 100644 --- a/src/FedEx/OpenShipService/ComplexType/ShippingDocumentSpecification.php +++ b/src/FedEx/OpenShipService/ComplexType/ShippingDocumentSpecification.php @@ -13,11 +13,12 @@ * @property \FedEx\OpenShipService\SimpleType\RequestedShippingDocumentType|string[] $ShippingDocumentTypes * @property CertificateOfOriginDetail $CertificateOfOrigin * @property CommercialInvoiceDetail $CommercialInvoiceDetail + * @property UsmcaCommercialInvoiceCertificationOfOriginDetail $UsmcaCommercialInvoiceCertificationOfOriginDetail * @property CustomDocumentDetail[] $CustomPackageDocumentDetail * @property CustomDocumentDetail[] $CustomShipmentDocumentDetail * @property ExportDeclarationDetail $ExportDeclarationDetail * @property GeneralAgencyAgreementDetail $GeneralAgencyAgreementDetail - * @property NaftaCertificateOfOriginDetail $NaftaCertificateOfOriginDetail + * @property UsmcaCertificationOfOriginDetail $UsmcaCertificationOfOriginDetail * @property Op900Detail $Op900Detail * @property DangerousGoodsShippersDeclarationDetail $DangerousGoodsShippersDeclarationDetail * @property FreightAddressLabelDetail $FreightAddressLabelDetail @@ -70,6 +71,18 @@ public function setCommercialInvoiceDetail(CommercialInvoiceDetail $commercialIn return $this; } + /** + * Set UsmcaCommercialInvoiceCertificationOfOriginDetail + * + * @param UsmcaCommercialInvoiceCertificationOfOriginDetail $usmcaCommercialInvoiceCertificationOfOriginDetail + * @return $this + */ + public function setUsmcaCommercialInvoiceCertificationOfOriginDetail(UsmcaCommercialInvoiceCertificationOfOriginDetail $usmcaCommercialInvoiceCertificationOfOriginDetail) + { + $this->values['UsmcaCommercialInvoiceCertificationOfOriginDetail'] = $usmcaCommercialInvoiceCertificationOfOriginDetail; + return $this; + } + /** * Specifies the production of each package-level custom document (the same specification is used for all packages). * @@ -119,14 +132,14 @@ public function setGeneralAgencyAgreementDetail(GeneralAgencyAgreementDetail $ge } /** - * Set NaftaCertificateOfOriginDetail + * Set UsmcaCertificationOfOriginDetail * - * @param NaftaCertificateOfOriginDetail $naftaCertificateOfOriginDetail + * @param UsmcaCertificationOfOriginDetail $usmcaCertificationOfOriginDetail * @return $this */ - public function setNaftaCertificateOfOriginDetail(NaftaCertificateOfOriginDetail $naftaCertificateOfOriginDetail) + public function setUsmcaCertificationOfOriginDetail(UsmcaCertificationOfOriginDetail $usmcaCertificationOfOriginDetail) { - $this->values['NaftaCertificateOfOriginDetail'] = $naftaCertificateOfOriginDetail; + $this->values['UsmcaCertificationOfOriginDetail'] = $usmcaCertificationOfOriginDetail; return $this; } diff --git a/src/FedEx/OpenShipService/ComplexType/SpecialServiceDescription.php b/src/FedEx/OpenShipService/ComplexType/SpecialServiceDescription.php new file mode 100644 index 00000000..db02678e --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/SpecialServiceDescription.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property OfferingIdentifierDetail $Identifier + * @property ProductName[] $Names + + */ +class SpecialServiceDescription extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SpecialServiceDescription'; + + /** + * Set Identifier + * + * @param OfferingIdentifierDetail $identifier + * @return $this + */ + public function setIdentifier(OfferingIdentifierDetail $identifier) + { + $this->values['Identifier'] = $identifier; + return $this; + } + + /** + * Set Names + * + * @param ProductName[] $names + * @return $this + */ + public function setNames(array $names) + { + $this->values['Names'] = $names; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/UsmcaCertificationOfOriginDetail.php b/src/FedEx/OpenShipService/ComplexType/UsmcaCertificationOfOriginDetail.php new file mode 100644 index 00000000..77751136 --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/UsmcaCertificationOfOriginDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property ShippingDocumentFormat $Format + * @property DateRange $BlanketPeriod + * @property \FedEx\OpenShipService\SimpleType\UsmcaCertifierSpecificationType|string $CertifierSpecification + * @property \FedEx\OpenShipService\SimpleType\UsmcaImporterSpecificationType|string $ImporterSpecification + * @property \FedEx\OpenShipService\SimpleType\UsmcaProducerSpecificationType|string $ProducerSpecification + * @property Party $Producer + * @property CustomerImageUsage[] $CustomerImageUsages + + */ +class UsmcaCertificationOfOriginDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCertificationOfOriginDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set BlanketPeriod + * + * @param DateRange $blanketPeriod + * @return $this + */ + public function setBlanketPeriod(DateRange $blanketPeriod) + { + $this->values['BlanketPeriod'] = $blanketPeriod; + return $this; + } + + /** + * Set CertifierSpecification + * + * @param \FedEx\OpenShipService\SimpleType\UsmcaCertifierSpecificationType|string $certifierSpecification + * @return $this + */ + public function setCertifierSpecification($certifierSpecification) + { + $this->values['CertifierSpecification'] = $certifierSpecification; + return $this; + } + + /** + * Set ImporterSpecification + * + * @param \FedEx\OpenShipService\SimpleType\UsmcaImporterSpecificationType|string $importerSpecification + * @return $this + */ + public function setImporterSpecification($importerSpecification) + { + $this->values['ImporterSpecification'] = $importerSpecification; + return $this; + } + + /** + * Set ProducerSpecification + * + * @param \FedEx\OpenShipService\SimpleType\UsmcaProducerSpecificationType|string $producerSpecification + * @return $this + */ + public function setProducerSpecification($producerSpecification) + { + $this->values['ProducerSpecification'] = $producerSpecification; + return $this; + } + + /** + * Set Producer + * + * @param Party $producer + * @return $this + */ + public function setProducer(Party $producer) + { + $this->values['Producer'] = $producer; + return $this; + } + + /** + * Set CustomerImageUsages + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php b/src/FedEx/OpenShipService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php new file mode 100644 index 00000000..b04a8c1d --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property ShippingDocumentFormat $Format + * @property CustomerImageUsage[] $CustomerImageUsages + * @property string $FormVersion + * @property \FedEx\OpenShipService\SimpleType\UsmcaCertifierSpecificationType|string $CertifierSpecification + * @property \FedEx\OpenShipService\SimpleType\UsmcaProducerSpecificationType|string $ProducerSpecification + * @property Party $Producer + + */ +class UsmcaCommercialInvoiceCertificationOfOriginDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCommercialInvoiceCertificationOfOriginDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set CustomerImageUsages + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } + + /** + * Set FormVersion + * + * @param string $formVersion + * @return $this + */ + public function setFormVersion($formVersion) + { + $this->values['FormVersion'] = $formVersion; + return $this; + } + + /** + * Set CertifierSpecification + * + * @param \FedEx\OpenShipService\SimpleType\UsmcaCertifierSpecificationType|string $certifierSpecification + * @return $this + */ + public function setCertifierSpecification($certifierSpecification) + { + $this->values['CertifierSpecification'] = $certifierSpecification; + return $this; + } + + /** + * Set ProducerSpecification + * + * @param \FedEx\OpenShipService\SimpleType\UsmcaProducerSpecificationType|string $producerSpecification + * @return $this + */ + public function setProducerSpecification($producerSpecification) + { + $this->values['ProducerSpecification'] = $producerSpecification; + return $this; + } + + /** + * Set Producer + * + * @param Party $producer + * @return $this + */ + public function setProducer(Party $producer) + { + $this->values['Producer'] = $producer; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/UsmcaCommodityDetail.php b/src/FedEx/OpenShipService/ComplexType/UsmcaCommodityDetail.php new file mode 100644 index 00000000..4754d363 --- /dev/null +++ b/src/FedEx/OpenShipService/ComplexType/UsmcaCommodityDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + * + * @property \FedEx\OpenShipService\SimpleType\UsmcaOriginCriterionCode|string $OriginCriterion + + */ +class UsmcaCommodityDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCommodityDetail'; + + /** + * Set OriginCriterion + * + * @param \FedEx\OpenShipService\SimpleType\UsmcaOriginCriterionCode|string $originCriterion + * @return $this + */ + public function setOriginCriterion($originCriterion) + { + $this->values['OriginCriterion'] = $originCriterion; + return $this; + } +} diff --git a/src/FedEx/OpenShipService/ComplexType/ValidateOpenShipmentReply.php b/src/FedEx/OpenShipService/ComplexType/ValidateOpenShipmentReply.php index e14cdaf9..ffcba3cd 100644 --- a/src/FedEx/OpenShipService/ComplexType/ValidateOpenShipmentReply.php +++ b/src/FedEx/OpenShipService/ComplexType/ValidateOpenShipmentReply.php @@ -14,6 +14,7 @@ * @property Notification[] $Notifications * @property TransactionDetail $TransactionDetail * @property VersionId $Version + * @property ShipmentAdvisoryDetail $AdvisoryDetail */ class ValidateOpenShipmentReply extends AbstractComplexType @@ -72,4 +73,16 @@ public function setVersion(VersionId $version) $this->values['Version'] = $version; return $this; } + + /** + * Set AdvisoryDetail + * + * @param ShipmentAdvisoryDetail $advisoryDetail + * @return $this + */ + public function setAdvisoryDetail(ShipmentAdvisoryDetail $advisoryDetail) + { + $this->values['AdvisoryDetail'] = $advisoryDetail; + return $this; + } } diff --git a/src/FedEx/OpenShipService/Request.php b/src/FedEx/OpenShipService/Request.php index 43542cad..f4dac64d 100644 --- a/src/FedEx/OpenShipService/Request.php +++ b/src/FedEx/OpenShipService/Request.php @@ -15,7 +15,7 @@ class Request extends AbstractRequest const PRODUCTION_URL = 'https://ws.fedex.com:443/web-services/openship'; const TESTING_URL = 'https://wsbeta.fedex.com:443/web-services/openship'; - protected static $wsdlFileName = 'OpenshipService_v15.wsdl'; + protected static $wsdlFileName = 'OpenshipService_v20.wsdl'; /** * Sends the ModifyConsolidationRequest and returns the response @@ -321,25 +321,6 @@ public function getConfirmConsolidationReply(ComplexType\ConfirmConsolidationReq return $confirmConsolidationReply; } - /** - * Sends the CreateOpenShipmentRequest and returns the response - * - * @param ComplexType\CreateOpenShipmentRequest $createOpenShipmentRequest - * @param bool $returnStdClass Return the $stdClass response directly from \SoapClient - * @return ComplexType\CreateOpenShipmentReply|stdClass - */ - public function getCreatePendingShipmentReply(ComplexType\CreateOpenShipmentRequest $createOpenShipmentRequest, $returnStdClass = false) - { - $response = $this->getSoapClient()->createPendingShipment($createOpenShipmentRequest->toArray()); - if ($returnStdClass) { - return $response; - } - - $createOpenShipmentReply = new ComplexType\CreateOpenShipmentReply; - $createOpenShipmentReply->populateFromStdClass($response); - return $createOpenShipmentReply; - } - /** * Sends the GetModifyOpenShipmentResultsRequest and returns the response * diff --git a/src/FedEx/OpenShipService/SimpleType/CarrierCodeType.php b/src/FedEx/OpenShipService/SimpleType/CarrierCodeType.php index 718ba15e..73c9793e 100644 --- a/src/FedEx/OpenShipService/SimpleType/CarrierCodeType.php +++ b/src/FedEx/OpenShipService/SimpleType/CarrierCodeType.php @@ -15,6 +15,7 @@ class CarrierCodeType extends AbstractSimpleType const _FDXC = 'FDXC'; const _FDXE = 'FDXE'; const _FDXG = 'FDXG'; + const _FDXO = 'FDXO'; const _FXCC = 'FXCC'; const _FXFR = 'FXFR'; const _FXSP = 'FXSP'; diff --git a/src/FedEx/OpenShipService/SimpleType/CustomsDeclarationStatementType.php b/src/FedEx/OpenShipService/SimpleType/CustomsDeclarationStatementType.php index da007433..361890c1 100644 --- a/src/FedEx/OpenShipService/SimpleType/CustomsDeclarationStatementType.php +++ b/src/FedEx/OpenShipService/SimpleType/CustomsDeclarationStatementType.php @@ -12,5 +12,5 @@ */ class CustomsDeclarationStatementType extends AbstractSimpleType { - const _NAFTA_LOW_VALUE = 'NAFTA_LOW_VALUE'; + const _USMCA_LOW_VALUE = 'USMCA_LOW_VALUE'; } diff --git a/src/FedEx/OpenShipService/SimpleType/EPaymentModeType.php b/src/FedEx/OpenShipService/SimpleType/EPaymentModeType.php new file mode 100644 index 00000000..0a8125ee --- /dev/null +++ b/src/FedEx/OpenShipService/SimpleType/EPaymentModeType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + */ +class EPaymentModeType extends AbstractSimpleType +{ + const _APPLE_PAY = 'APPLE_PAY'; + const _CASH = 'CASH'; + const _CHECK = 'CHECK'; + const _CREDIT_CARD = 'CREDIT_CARD'; + const _GOOGLE_PAY = 'GOOGLE_PAY'; + const _PAYPAL = 'PAYPAL'; +} diff --git a/src/FedEx/OpenShipService/SimpleType/EPaymentProcessorType.php b/src/FedEx/OpenShipService/SimpleType/EPaymentProcessorType.php new file mode 100644 index 00000000..b697d793 --- /dev/null +++ b/src/FedEx/OpenShipService/SimpleType/EPaymentProcessorType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + */ +class EPaymentProcessorType extends AbstractSimpleType +{ + const _RETAIL_SINGLE_POINT_OF_SALE = 'RETAIL_SINGLE_POINT_OF_SALE'; +} diff --git a/src/FedEx/OpenShipService/SimpleType/EnterpriseDocumentType.php b/src/FedEx/OpenShipService/SimpleType/EnterpriseDocumentType.php index c2e4fb6b..71d3d38b 100644 --- a/src/FedEx/OpenShipService/SimpleType/EnterpriseDocumentType.php +++ b/src/FedEx/OpenShipService/SimpleType/EnterpriseDocumentType.php @@ -15,6 +15,7 @@ class EnterpriseDocumentType extends AbstractSimpleType const _AIR_WAYBILL = 'AIR_WAYBILL'; const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; } diff --git a/src/FedEx/OpenShipService/SimpleType/NotificationEventType.php b/src/FedEx/OpenShipService/SimpleType/NotificationEventType.php index 7e234dc3..e406b782 100644 --- a/src/FedEx/OpenShipService/SimpleType/NotificationEventType.php +++ b/src/FedEx/OpenShipService/SimpleType/NotificationEventType.php @@ -15,6 +15,10 @@ class NotificationEventType extends AbstractSimpleType const _ON_DELIVERY = 'ON_DELIVERY'; const _ON_ESTIMATED_DELIVERY = 'ON_ESTIMATED_DELIVERY'; const _ON_EXCEPTION = 'ON_EXCEPTION'; + const _ON_PICKUP_DRIVER_ARRIVED = 'ON_PICKUP_DRIVER_ARRIVED'; + const _ON_PICKUP_DRIVER_ASSIGNED = 'ON_PICKUP_DRIVER_ASSIGNED'; + const _ON_PICKUP_DRIVER_DEPARTED = 'ON_PICKUP_DRIVER_DEPARTED'; + const _ON_PICKUP_DRIVER_EN_ROUTE = 'ON_PICKUP_DRIVER_EN_ROUTE'; const _ON_SHIPMENT = 'ON_SHIPMENT'; const _ON_TENDER = 'ON_TENDER'; } diff --git a/src/FedEx/OpenShipService/SimpleType/PaymentType.php b/src/FedEx/OpenShipService/SimpleType/PaymentType.php index 6f004257..c55efc0f 100644 --- a/src/FedEx/OpenShipService/SimpleType/PaymentType.php +++ b/src/FedEx/OpenShipService/SimpleType/PaymentType.php @@ -14,6 +14,7 @@ class PaymentType extends AbstractSimpleType { const _ACCOUNT = 'ACCOUNT'; const _COLLECT = 'COLLECT'; + const _EPAYMENT = 'EPAYMENT'; const _RECIPIENT = 'RECIPIENT'; const _SENDER = 'SENDER'; const _THIRD_PARTY = 'THIRD_PARTY'; diff --git a/src/FedEx/OpenShipService/SimpleType/ProhibitionSourceType.php b/src/FedEx/OpenShipService/SimpleType/ProhibitionSourceType.php new file mode 100644 index 00000000..4a260e2a --- /dev/null +++ b/src/FedEx/OpenShipService/SimpleType/ProhibitionSourceType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + */ +class ProhibitionSourceType extends AbstractSimpleType +{ + const _FEDEX = 'FEDEX'; + const _GOVERNMENT = 'GOVERNMENT'; +} diff --git a/src/FedEx/OpenShipService/SimpleType/ProhibitionStatusType.php b/src/FedEx/OpenShipService/SimpleType/ProhibitionStatusType.php new file mode 100644 index 00000000..896a4be0 --- /dev/null +++ b/src/FedEx/OpenShipService/SimpleType/ProhibitionStatusType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + */ +class ProhibitionStatusType extends AbstractSimpleType +{ + const _PROHIBITED = 'PROHIBITED'; + const _WAIVED = 'WAIVED'; +} diff --git a/src/FedEx/OpenShipService/SimpleType/ProhibitionType.php b/src/FedEx/OpenShipService/SimpleType/ProhibitionType.php new file mode 100644 index 00000000..4068ba61 --- /dev/null +++ b/src/FedEx/OpenShipService/SimpleType/ProhibitionType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + */ +class ProhibitionType extends AbstractSimpleType +{ + const _COMMODITY = 'COMMODITY'; + const _COUNTRY = 'COUNTRY'; + const _DOCUMENT = 'DOCUMENT'; + const _SHIPMENT = 'SHIPMENT'; +} diff --git a/src/FedEx/OpenShipService/SimpleType/RecommendedDocumentType.php b/src/FedEx/OpenShipService/SimpleType/RecommendedDocumentType.php index 7a123563..0a0f4368 100644 --- a/src/FedEx/OpenShipService/SimpleType/RecommendedDocumentType.php +++ b/src/FedEx/OpenShipService/SimpleType/RecommendedDocumentType.php @@ -25,10 +25,6 @@ class RecommendedDocumentType extends AbstractSimpleType const _ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET = 'ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET'; const _FILM_AND_VIDEO_CERTIFICATE = 'FILM_AND_VIDEO_CERTIFICATE'; const _INTERIM_FOOTWEAR_INVOICE = 'INTERIM_FOOTWEAR_INVOICE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH = 'NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH = 'NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH = 'NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES = 'NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES'; const _PACKING_LIST = 'PACKING_LIST'; const _PRINTED_CIRCUIT_BOARD_WORKSHEET = 'PRINTED_CIRCUIT_BOARD_WORKSHEET'; const _REPAIRED_WATCH_BREAKOUT_WORKSHEET = 'REPAIRED_WATCH_BREAKOUT_WORKSHEET'; @@ -38,4 +34,10 @@ class RecommendedDocumentType extends AbstractSimpleType const _UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES = 'UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES'; const _UNITED_STATES_NEW_WATCH_WORKSHEET = 'UNITED_STATES_NEW_WATCH_WORKSHEET'; const _UNITED_STATES_WATCH_REPAIR_DECLARATION = 'UNITED_STATES_WATCH_REPAIR_DECLARATION'; + const _USMCA_CERTIFICATION_OF_ORIGIN_ENGLISH = 'USMCA_CERTIFICATION_OF_ORIGIN_ENGLISH'; + const _USMCA_CERTIFICATION_OF_ORIGIN_FRENCH = 'USMCA_CERTIFICATION_OF_ORIGIN_FRENCH'; + const _USMCA_CERTIFICATION_OF_ORIGIN_SPANISH = 'USMCA_CERTIFICATION_OF_ORIGIN_SPANISH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_ENGLISH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_ENGLISH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_FRENCH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_FRENCH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_SPANISH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_SPANISH'; } diff --git a/src/FedEx/OpenShipService/SimpleType/RegulatoryControlType.php b/src/FedEx/OpenShipService/SimpleType/RegulatoryControlType.php index df67e8d4..ba8bf661 100644 --- a/src/FedEx/OpenShipService/SimpleType/RegulatoryControlType.php +++ b/src/FedEx/OpenShipService/SimpleType/RegulatoryControlType.php @@ -13,7 +13,7 @@ class RegulatoryControlType extends AbstractSimpleType { const _FOOD_OR_PERISHABLE = 'FOOD_OR_PERISHABLE'; - const _NAFTA = 'NAFTA'; const _NOT_APPLICABLE_FOR_LOW_CUSTOMS_VALUE_EXCEPTION = 'NOT_APPLICABLE_FOR_LOW_CUSTOMS_VALUE_EXCEPTION'; const _NOT_IN_FREE_CIRCULATION = 'NOT_IN_FREE_CIRCULATION'; + const _USMCA = 'USMCA'; } diff --git a/src/FedEx/OpenShipService/SimpleType/RequestedShippingDocumentType.php b/src/FedEx/OpenShipService/SimpleType/RequestedShippingDocumentType.php index 65a208fb..c64e09e3 100644 --- a/src/FedEx/OpenShipService/SimpleType/RequestedShippingDocumentType.php +++ b/src/FedEx/OpenShipService/SimpleType/RequestedShippingDocumentType.php @@ -22,9 +22,10 @@ class RequestedShippingDocumentType extends AbstractSimpleType const _FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING = 'FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING'; const _GENERAL_AGENCY_AGREEMENT = 'GENERAL_AGENCY_AGREEMENT'; const _LABEL = 'LABEL'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _OP_900 = 'OP_900'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; const _RETURN_INSTRUCTIONS = 'RETURN_INSTRUCTIONS'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; const _VICS_BILL_OF_LADING = 'VICS_BILL_OF_LADING'; } diff --git a/src/FedEx/OpenShipService/SimpleType/RequiredDocumentType.php b/src/FedEx/OpenShipService/SimpleType/RequiredDocumentType.php index 60c16fdb..f9d2f2ee 100644 --- a/src/FedEx/OpenShipService/SimpleType/RequiredDocumentType.php +++ b/src/FedEx/OpenShipService/SimpleType/RequiredDocumentType.php @@ -16,6 +16,6 @@ class RequiredDocumentType extends AbstractSimpleType const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; const _COMMERCIAL_OR_PRO_FORMA_INVOICE = 'COMMERCIAL_OR_PRO_FORMA_INVOICE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; + const _COMMERCIAL_OR_PRO_FORMA_INVOICE_OR_USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'COMMERCIAL_OR_PRO_FORMA_INVOICE_OR_USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; } diff --git a/src/FedEx/OpenShipService/SimpleType/ReturnedShippingDocumentType.php b/src/FedEx/OpenShipService/SimpleType/ReturnedShippingDocumentType.php index a3e2d202..89cbffa6 100644 --- a/src/FedEx/OpenShipService/SimpleType/ReturnedShippingDocumentType.php +++ b/src/FedEx/OpenShipService/SimpleType/ReturnedShippingDocumentType.php @@ -30,7 +30,6 @@ class ReturnedShippingDocumentType extends AbstractSimpleType const _FREIGHT_ADDRESS_LABEL = 'FREIGHT_ADDRESS_LABEL'; const _GENERAL_AGENCY_AGREEMENT = 'GENERAL_AGENCY_AGREEMENT'; const _GROUND_BARCODE = 'GROUND_BARCODE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _OP_900 = 'OP_900'; const _OUTBOUND_2_D_BARCODE = 'OUTBOUND_2_D_BARCODE'; const _OUTBOUND_LABEL = 'OUTBOUND_LABEL'; @@ -39,6 +38,8 @@ class ReturnedShippingDocumentType extends AbstractSimpleType const _RECIPIENT_POSTAL_BARCODE = 'RECIPIENT_POSTAL_BARCODE'; const _RETURN_INSTRUCTIONS = 'RETURN_INSTRUCTIONS'; const _TERMS_AND_CONDITIONS = 'TERMS_AND_CONDITIONS'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; const _USPS_BARCODE = 'USPS_BARCODE'; const _VICS_BILL_OF_LADING = 'VICS_BILL_OF_LADING'; } diff --git a/src/FedEx/OpenShipService/SimpleType/ShipmentNotificationRoleType.php b/src/FedEx/OpenShipService/SimpleType/ShipmentNotificationRoleType.php index 9deca30a..2178a003 100644 --- a/src/FedEx/OpenShipService/SimpleType/ShipmentNotificationRoleType.php +++ b/src/FedEx/OpenShipService/SimpleType/ShipmentNotificationRoleType.php @@ -16,5 +16,4 @@ class ShipmentNotificationRoleType extends AbstractSimpleType const _OTHER = 'OTHER'; const _RECIPIENT = 'RECIPIENT'; const _SHIPPER = 'SHIPPER'; - const _THIRD_PARTY = 'THIRD_PARTY'; } diff --git a/src/FedEx/OpenShipService/SimpleType/ShipmentProcessingOptionType.php b/src/FedEx/OpenShipService/SimpleType/ShipmentProcessingOptionType.php index 6fda29e9..db444654 100644 --- a/src/FedEx/OpenShipService/SimpleType/ShipmentProcessingOptionType.php +++ b/src/FedEx/OpenShipService/SimpleType/ShipmentProcessingOptionType.php @@ -12,6 +12,9 @@ */ class ShipmentProcessingOptionType extends AbstractSimpleType { + const _FUTURE_DAY_SHIPMENT = 'FUTURE_DAY_SHIPMENT'; const _PACKAGE_LEVEL_COMMODITIES = 'PACKAGE_LEVEL_COMMODITIES'; + const _PRE_EIG_PROCESSING = 'PRE_EIG_PROCESSING'; const _PRE_ETD_ENHANCEMENTS = 'PRE_ETD_ENHANCEMENTS'; + const _PRE_MULTIPLIER_PROCESSING = 'PRE_MULTIPLIER_PROCESSING'; } diff --git a/src/FedEx/OpenShipService/SimpleType/ShipmentRuleType.php b/src/FedEx/OpenShipService/SimpleType/ShipmentRuleType.php new file mode 100644 index 00000000..4fd2a2cf --- /dev/null +++ b/src/FedEx/OpenShipService/SimpleType/ShipmentRuleType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + */ +class ShipmentRuleType extends AbstractSimpleType +{ + const _EXPORT = 'EXPORT'; + const _GENERAL = 'GENERAL'; + const _IMPORT = 'IMPORT'; +} diff --git a/src/FedEx/OpenShipService/SimpleType/SurchargeType.php b/src/FedEx/OpenShipService/SimpleType/SurchargeType.php index ec25caed..ee4e280f 100644 --- a/src/FedEx/OpenShipService/SimpleType/SurchargeType.php +++ b/src/FedEx/OpenShipService/SimpleType/SurchargeType.php @@ -19,7 +19,6 @@ class SurchargeType extends AbstractSimpleType const _APPOINTMENT_DELIVERY = 'APPOINTMENT_DELIVERY'; const _BROKER_SELECT_OPTION = 'BROKER_SELECT_OPTION'; const _CANADIAN_DESTINATION = 'CANADIAN_DESTINATION'; - const _CLEARANCE_ENTRY_FEE = 'CLEARANCE_ENTRY_FEE'; const _COD = 'COD'; const _CUT_FLOWERS = 'CUT_FLOWERS'; const _DANGEROUS_GOODS = 'DANGEROUS_GOODS'; @@ -42,6 +41,8 @@ class SurchargeType extends AbstractSimpleType const _FREIGHT_ON_VALUE = 'FREIGHT_ON_VALUE'; const _FREIGHT_TO_COLLECT = 'FREIGHT_TO_COLLECT'; const _FUEL = 'FUEL'; + const _HIGH_COST_SERVICE_AREA_DESTINATION = 'HIGH_COST_SERVICE_AREA_DESTINATION'; + const _HIGH_COST_SERVICE_AREA_ORIGIN = 'HIGH_COST_SERVICE_AREA_ORIGIN'; const _HOLD_AT_LOCATION = 'HOLD_AT_LOCATION'; const _HOME_DELIVERY_APPOINTMENT = 'HOME_DELIVERY_APPOINTMENT'; const _HOME_DELIVERY_DATE_CERTAIN = 'HOME_DELIVERY_DATE_CERTAIN'; @@ -66,6 +67,10 @@ class SurchargeType extends AbstractSimpleType const _OVERSIZE = 'OVERSIZE'; const _OVER_DIMENSION = 'OVER_DIMENSION'; const _OVER_LENGTH = 'OVER_LENGTH'; + const _PEAK = 'PEAK'; + const _PEAK_ADDITIONAL_HANDLING = 'PEAK_ADDITIONAL_HANDLING'; + const _PEAK_OVERSIZE = 'PEAK_OVERSIZE'; + const _PEAK_RESIDENTIAL_DELIVERY = 'PEAK_RESIDENTIAL_DELIVERY'; const _PIECE_COUNT_VERIFICATION = 'PIECE_COUNT_VERIFICATION'; const _PRE_DELIVERY_NOTIFICATION = 'PRE_DELIVERY_NOTIFICATION'; const _PRIORITY_ALERT = 'PRIORITY_ALERT'; diff --git a/src/FedEx/OpenShipService/SimpleType/UploadDocumentType.php b/src/FedEx/OpenShipService/SimpleType/UploadDocumentType.php index 82d60035..af3ba4e1 100644 --- a/src/FedEx/OpenShipService/SimpleType/UploadDocumentType.php +++ b/src/FedEx/OpenShipService/SimpleType/UploadDocumentType.php @@ -15,7 +15,8 @@ class UploadDocumentType extends AbstractSimpleType const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; const _ETD_LABEL = 'ETD_LABEL'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _OTHER = 'OTHER'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; } diff --git a/src/FedEx/OpenShipService/SimpleType/UsmcaCertifierSpecificationType.php b/src/FedEx/OpenShipService/SimpleType/UsmcaCertifierSpecificationType.php new file mode 100644 index 00000000..9a236ca2 --- /dev/null +++ b/src/FedEx/OpenShipService/SimpleType/UsmcaCertifierSpecificationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + */ +class UsmcaCertifierSpecificationType extends AbstractSimpleType +{ + const _EXPORTER = 'EXPORTER'; + const _IMPORTER = 'IMPORTER'; + const _PRODUCER = 'PRODUCER'; +} diff --git a/src/FedEx/OpenShipService/SimpleType/UsmcaImporterSpecificationType.php b/src/FedEx/OpenShipService/SimpleType/UsmcaImporterSpecificationType.php new file mode 100644 index 00000000..161227c8 --- /dev/null +++ b/src/FedEx/OpenShipService/SimpleType/UsmcaImporterSpecificationType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + */ +class UsmcaImporterSpecificationType extends AbstractSimpleType +{ + const _UNKNOWN = 'UNKNOWN'; + const _VARIOUS = 'VARIOUS'; +} diff --git a/src/FedEx/OpenShipService/SimpleType/UsmcaOriginCriterionCode.php b/src/FedEx/OpenShipService/SimpleType/UsmcaOriginCriterionCode.php new file mode 100644 index 00000000..e8028b3e --- /dev/null +++ b/src/FedEx/OpenShipService/SimpleType/UsmcaOriginCriterionCode.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + */ +class UsmcaOriginCriterionCode extends AbstractSimpleType +{ + const _A = 'A'; + const _B = 'B'; + const _C = 'C'; + const _D = 'D'; + const _E = 'E'; +} diff --git a/src/FedEx/OpenShipService/SimpleType/UsmcaProducerSpecificationType.php b/src/FedEx/OpenShipService/SimpleType/UsmcaProducerSpecificationType.php new file mode 100644 index 00000000..db915a61 --- /dev/null +++ b/src/FedEx/OpenShipService/SimpleType/UsmcaProducerSpecificationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage OpenShip Service + */ +class UsmcaProducerSpecificationType extends AbstractSimpleType +{ + const _AVAILABLE_UPON_REQUEST = 'AVAILABLE_UPON_REQUEST'; + const _SAME_AS_EXPORTER = 'SAME_AS_EXPORTER'; + const _VARIOUS = 'VARIOUS'; +} diff --git a/src/FedEx/PickupService/ComplexType/CancelPickupRequest.php b/src/FedEx/PickupService/ComplexType/CancelPickupRequest.php index 7ea5022c..faacc762 100644 --- a/src/FedEx/PickupService/ComplexType/CancelPickupRequest.php +++ b/src/FedEx/PickupService/ComplexType/CancelPickupRequest.php @@ -12,9 +12,12 @@ * * @property WebAuthenticationDetail $WebAuthenticationDetail * @property ClientDetail $ClientDetail + * @property UserDetail $UserDetail * @property TransactionDetail $TransactionDetail * @property VersionId $Version + * @property \FedEx\PickupService\SimpleType\PickupServiceLevelType|string $ServiceLevel * @property \FedEx\PickupService\SimpleType\CarrierCodeType|string $CarrierCode + * @property \FedEx\PickupService\SimpleType\PickupType|string $PickupType * @property string $PickupConfirmationNumber * @property string $ScheduledDate * @property string $EndDate @@ -25,6 +28,7 @@ * @property string $ContactName * @property string $PhoneNumber * @property string $PhoneExtension + * @property RestrictionsAndPrivilegesPolicyDetail $RestrictionsAndPrivileges */ class CancelPickupRequest extends AbstractComplexType @@ -60,6 +64,18 @@ public function setClientDetail(ClientDetail $clientDetail) return $this; } + /** + * Set UserDetail + * + * @param UserDetail $userDetail + * @return $this + */ + public function setUserDetail(UserDetail $userDetail) + { + $this->values['UserDetail'] = $userDetail; + return $this; + } + /** * Set TransactionDetail * @@ -84,6 +100,18 @@ public function setVersion(VersionId $version) return $this; } + /** + * Set ServiceLevel + * + * @param \FedEx\PickupService\SimpleType\PickupServiceLevelType|string $serviceLevel + * @return $this + */ + public function setServiceLevel($serviceLevel) + { + $this->values['ServiceLevel'] = $serviceLevel; + return $this; + } + /** * Set CarrierCode * @@ -96,6 +124,18 @@ public function setCarrierCode($carrierCode) return $this; } + /** + * Set PickupType + * + * @param \FedEx\PickupService\SimpleType\PickupType|string $pickupType + * @return $this + */ + public function setPickupType($pickupType) + { + $this->values['PickupType'] = $pickupType; + return $this; + } + /** * Set PickupConfirmationNumber * @@ -215,4 +255,16 @@ public function setPhoneExtension($phoneExtension) $this->values['PhoneExtension'] = $phoneExtension; return $this; } + + /** + * FOR FEDEX INTERNAL USE ONLY: Restrictions and privileges associated with an entity based on one or more identifiers (for example, account number or unique user id). These restrictions and privileges can be used to determine whether an entity is enabled to perform various operations. + * + * @param RestrictionsAndPrivilegesPolicyDetail $restrictionsAndPrivileges + * @return $this + */ + public function setRestrictionsAndPrivileges(RestrictionsAndPrivilegesPolicyDetail $restrictionsAndPrivileges) + { + $this->values['RestrictionsAndPrivileges'] = $restrictionsAndPrivileges; + return $this; + } } diff --git a/src/FedEx/PickupService/ComplexType/ClientDetail.php b/src/FedEx/PickupService/ComplexType/ClientDetail.php index 3340d9b0..a329295f 100644 --- a/src/FedEx/PickupService/ComplexType/ClientDetail.php +++ b/src/FedEx/PickupService/ComplexType/ClientDetail.php @@ -11,10 +11,20 @@ * @subpackage Pickup Service * * @property string $AccountNumber + * @property string $GroundShipperNumber * @property string $MeterNumber + * @property string $MasterMeterNumber * @property string $MeterInstance + * @property string $CompanyId + * @property string $SoftwareId + * @property string $SoftwareRelease + * @property string $ClientProductId + * @property string $ClientProductVersion + * @property string $MiddlewareProductId + * @property string $MiddlewareProductVersion * @property string $IntegratorId * @property \FedEx\PickupService\SimpleType\ExpressRegionCode|string $Region + * @property \FedEx\PickupService\SimpleType\AutoConfigurationType|string $AutoConfigurationType * @property Localization $Localization */ @@ -39,6 +49,18 @@ public function setAccountNumber($accountNumber) return $this; } + /** + * The FedEx Ground account number. + * + * @param string $groundShipperNumber + * @return $this + */ + public function setGroundShipperNumber($groundShipperNumber) + { + $this->values['GroundShipperNumber'] = $groundShipperNumber; + return $this; + } + /** * This number is assigned by FedEx and identifies the unique device from which the request is originating * @@ -51,6 +73,18 @@ public function setMeterNumber($meterNumber) return $this; } + /** + * FedEx internal use only. + * + * @param string $masterMeterNumber + * @return $this + */ + public function setMasterMeterNumber($masterMeterNumber) + { + $this->values['MasterMeterNumber'] = $masterMeterNumber; + return $this; + } + /** * Set MeterInstance * @@ -63,6 +97,90 @@ public function setMeterInstance($meterInstance) return $this; } + /** + * FedEx internal use only. The PassKey company identifier. + * + * @param string $companyId + * @return $this + */ + public function setCompanyId($companyId) + { + $this->values['CompanyId'] = $companyId; + return $this; + } + + /** + * Client software component (e.g. "CAFE", "INET", "WBUS", etc.) + * + * @param string $softwareId + * @return $this + */ + public function setSoftwareId($softwareId) + { + $this->values['SoftwareId'] = $softwareId; + return $this; + } + + /** + * Client software component version/revision (e.g. "1800", "2630", etc.) + * + * @param string $softwareRelease + * @return $this + */ + public function setSoftwareRelease($softwareRelease) + { + $this->values['SoftwareRelease'] = $softwareRelease; + return $this; + } + + /** + * A FedEx assigned identifier for a third party software product used by customer to do business with FedEx. Such as a Compatible Solution Provider's product. + * + * @param string $clientProductId + * @return $this + */ + public function setClientProductId($clientProductId) + { + $this->values['ClientProductId'] = $clientProductId; + return $this; + } + + /** + * The version of the third party product. + * + * @param string $clientProductVersion + * @return $this + */ + public function setClientProductVersion($clientProductVersion) + { + $this->values['ClientProductVersion'] = $clientProductVersion; + return $this; + } + + /** + * FedEx internal use only. + * + * @param string $middlewareProductId + * @return $this + */ + public function setMiddlewareProductId($middlewareProductId) + { + $this->values['MiddlewareProductId'] = $middlewareProductId; + return $this; + } + + /** + * FedEx internal use only. + * + * @param string $middlewareProductVersion + * @return $this + */ + public function setMiddlewareProductVersion($middlewareProductVersion) + { + $this->values['MiddlewareProductVersion'] = $middlewareProductVersion; + return $this; + } + /** * Only used in transactions which require identification of the FedEx Office integrator. * @@ -87,6 +205,18 @@ public function setRegion($region) return $this; } + /** + * Used for off-line uploads only. + * + * @param \FedEx\PickupService\SimpleType\AutoConfigurationType|string $autoConfigurationType + * @return $this + */ + public function setAutoConfigurationType($autoConfigurationType) + { + $this->values['AutoConfigurationType'] = $autoConfigurationType; + return $this; + } + /** * The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) * diff --git a/src/FedEx/PickupService/ComplexType/CreatePickupRequest.php b/src/FedEx/PickupService/ComplexType/CreatePickupRequest.php index 539656a8..52470311 100644 --- a/src/FedEx/PickupService/ComplexType/CreatePickupRequest.php +++ b/src/FedEx/PickupService/ComplexType/CreatePickupRequest.php @@ -12,14 +12,20 @@ * * @property WebAuthenticationDetail $WebAuthenticationDetail * @property ClientDetail $ClientDetail + * @property UserDetail $UserDetail * @property TransactionDetail $TransactionDetail * @property VersionId $Version + * @property \FedEx\PickupService\SimpleType\PickupServiceLevelType|string $ServiceLevel + * @property \FedEx\PickupService\SimpleType\CreatePickupRequestProcessingOptionType|string[] $ProcessingOptions + * @property VariationOptionDetail[] $SupportedFeatures * @property AssociatedAccount $AssociatedAccountNumber * @property string $TrackingNumber * @property PickupOriginDetail $OriginDetail * @property \FedEx\PickupService\SimpleType\PickupServiceCategoryType|string $PickupServiceCategory * @property FreightPickupDetail $FreightPickupDetail * @property ExpressFreightPickupDetail $ExpressFreightDetail + * @property RequestedPickupShipmentDetail[] $RequestedExpressPickupDetails + * @property \FedEx\PickupService\SimpleType\PickupType|string $PickupType * @property int $PackageCount * @property Weight $TotalWeight * @property \FedEx\PickupService\SimpleType\CarrierCodeType|string $CarrierCode @@ -27,6 +33,7 @@ * @property string $Remarks * @property string $CommodityDescription * @property \FedEx\PickupService\SimpleType\CountryRelationshipType|string $CountryRelationship + * @property RestrictionsAndPrivilegesPolicyDetail $RestrictionsAndPrivileges */ class CreatePickupRequest extends AbstractComplexType @@ -62,6 +69,18 @@ public function setClientDetail(ClientDetail $clientDetail) return $this; } + /** + * Set UserDetail + * + * @param UserDetail $userDetail + * @return $this + */ + public function setUserDetail(UserDetail $userDetail) + { + $this->values['UserDetail'] = $userDetail; + return $this; + } + /** * Set TransactionDetail * @@ -86,6 +105,42 @@ public function setVersion(VersionId $version) return $this; } + /** + * Set ServiceLevel + * + * @param \FedEx\PickupService\SimpleType\PickupServiceLevelType|string $serviceLevel + * @return $this + */ + public function setServiceLevel($serviceLevel) + { + $this->values['ServiceLevel'] = $serviceLevel; + return $this; + } + + /** + * Specifies the options to be applied when creating the pickup. + * + * @param \FedEx\PickupService\SimpleType\CreatePickupRequestProcessingOptionType[]|string[] $processingOptions + * @return $this + */ + public function setProcessingOptions(array $processingOptions) + { + $this->values['ProcessingOptions'] = $processingOptions; + return $this; + } + + /** + * Set SupportedFeatures + * + * @param VariationOptionDetail[] $supportedFeatures + * @return $this + */ + public function setSupportedFeatures(array $supportedFeatures) + { + $this->values['SupportedFeatures'] = $supportedFeatures; + return $this; + } + /** * Set AssociatedAccountNumber * @@ -158,6 +213,30 @@ public function setExpressFreightDetail(ExpressFreightPickupDetail $expressFreig return $this; } + /** + * Set RequestedExpressPickupDetails + * + * @param RequestedPickupShipmentDetail[] $requestedExpressPickupDetails + * @return $this + */ + public function setRequestedExpressPickupDetails(array $requestedExpressPickupDetails) + { + $this->values['RequestedExpressPickupDetails'] = $requestedExpressPickupDetails; + return $this; + } + + /** + * Set PickupType + * + * @param \FedEx\PickupService\SimpleType\PickupType|string $pickupType + * @return $this + */ + public function setPickupType($pickupType) + { + $this->values['PickupType'] = $pickupType; + return $this; + } + /** * Set PackageCount * @@ -241,4 +320,16 @@ public function setCountryRelationship($countryRelationship) $this->values['CountryRelationship'] = $countryRelationship; return $this; } + + /** + * FOR FEDEX INTERNAL USE ONLY: Restrictions and privileges associated with an entity based on one or more identifiers (for example, account number or unique user id). These restrictions and privileges can be used to determine whether an entity is enabled to perform various operations. + * + * @param RestrictionsAndPrivilegesPolicyDetail $restrictionsAndPrivileges + * @return $this + */ + public function setRestrictionsAndPrivileges(RestrictionsAndPrivilegesPolicyDetail $restrictionsAndPrivileges) + { + $this->values['RestrictionsAndPrivileges'] = $restrictionsAndPrivileges; + return $this; + } } diff --git a/src/FedEx/PickupService/ComplexType/CustomerReference.php b/src/FedEx/PickupService/ComplexType/CustomerReference.php new file mode 100644 index 00000000..f13462b9 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/CustomerReference.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property \FedEx\PickupService\SimpleType\CustomerReferenceType|string $CustomerReferenceType + * @property string $Value + + */ +class CustomerReference extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerReference'; + + /** + * Set CustomerReferenceType + * + * @param \FedEx\PickupService\SimpleType\CustomerReferenceType|string $customerReferenceType + * @return $this + */ + public function setCustomerReferenceType($customerReferenceType) + { + $this->values['CustomerReferenceType'] = $customerReferenceType; + return $this; + } + + /** + * Set Value + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/EPaymentDetail.php b/src/FedEx/PickupService/ComplexType/EPaymentDetail.php new file mode 100644 index 00000000..ed4c89f6 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/EPaymentDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property string $Id + * @property \FedEx\PickupService\SimpleType\EPaymentProcessorType|string $EPaymentProcessor + * @property \FedEx\PickupService\SimpleType\EPaymentModeType|string $EPaymentMode + * @property string $MaskedCreditCard + * @property string $CreditCardExpirationDate + * @property Money $Amount + + */ +class EPaymentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EPaymentDetail'; + + /** + * Set Id + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Set EPaymentProcessor + * + * @param \FedEx\PickupService\SimpleType\EPaymentProcessorType|string $ePaymentProcessor + * @return $this + */ + public function setEPaymentProcessor($ePaymentProcessor) + { + $this->values['EPaymentProcessor'] = $ePaymentProcessor; + return $this; + } + + /** + * Set EPaymentMode + * + * @param \FedEx\PickupService\SimpleType\EPaymentModeType|string $ePaymentMode + * @return $this + */ + public function setEPaymentMode($ePaymentMode) + { + $this->values['EPaymentMode'] = $ePaymentMode; + return $this; + } + + /** + * Set MaskedCreditCard + * + * @param string $maskedCreditCard + * @return $this + */ + public function setMaskedCreditCard($maskedCreditCard) + { + $this->values['MaskedCreditCard'] = $maskedCreditCard; + return $this; + } + + /** + * Set CreditCardExpirationDate + * + * @param string $creditCardExpirationDate + * @return $this + */ + public function setCreditCardExpirationDate($creditCardExpirationDate) + { + $this->values['CreditCardExpirationDate'] = $creditCardExpirationDate; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/EnterprisePrivilegeDetail.php b/src/FedEx/PickupService/ComplexType/EnterprisePrivilegeDetail.php new file mode 100644 index 00000000..843ad5a6 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/EnterprisePrivilegeDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property string $Id + * @property \FedEx\PickupService\SimpleType\EnterprisePermissionType|string $Permission + * @property \FedEx\PickupService\SimpleType\CarrierCodeType|string $CarrierCode + * @property DateRange $EffectiveDateRange + + */ +class EnterprisePrivilegeDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EnterprisePrivilegeDetail'; + + /** + * Set Id + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Set Permission + * + * @param \FedEx\PickupService\SimpleType\EnterprisePermissionType|string $permission + * @return $this + */ + public function setPermission($permission) + { + $this->values['Permission'] = $permission; + return $this; + } + + /** + * Set CarrierCode + * + * @param \FedEx\PickupService\SimpleType\CarrierCodeType|string $carrierCode + * @return $this + */ + public function setCarrierCode($carrierCode) + { + $this->values['CarrierCode'] = $carrierCode; + return $this; + } + + /** + * Set EffectiveDateRange + * + * @param DateRange $effectiveDateRange + * @return $this + */ + public function setEffectiveDateRange(DateRange $effectiveDateRange) + { + $this->values['EffectiveDateRange'] = $effectiveDateRange; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/ExpressFreightPickupDetail.php b/src/FedEx/PickupService/ComplexType/ExpressFreightPickupDetail.php index d435f912..5cd3849e 100644 --- a/src/FedEx/PickupService/ComplexType/ExpressFreightPickupDetail.php +++ b/src/FedEx/PickupService/ComplexType/ExpressFreightPickupDetail.php @@ -10,6 +10,7 @@ * @package PHP FedEx API wrapper * @subpackage Pickup Service * + * @property string $ServiceCode * @property string $Service * @property string $BookingNumber * @property Dimensions $Dimensions @@ -26,6 +27,18 @@ class ExpressFreightPickupDetail extends AbstractComplexType */ protected $name = 'ExpressFreightPickupDetail'; + /** + * FOR FEDEX INTERNAL USE ONLY: The service code will be provided for transportation network management. + * + * @param string $serviceCode + * @return $this + */ + public function setServiceCode($serviceCode) + { + $this->values['ServiceCode'] = $serviceCode; + return $this; + } + /** * This includes service type values like FEDEX_1_DAY_FREIGHT * diff --git a/src/FedEx/PickupService/ComplexType/PagingRequestDetail.php b/src/FedEx/PickupService/ComplexType/PagingRequestDetail.php new file mode 100644 index 00000000..61ae0977 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PagingRequestDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property string $Id + * @property string $PagingToken + * @property int $MaximumResultsPerPage + + */ +class PagingRequestDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PagingRequestDetail'; + + /** + * An identifier for the set of data that supports paging. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * When the MoreDataAvailable field is true in the results reply the PagingToken must be sent in the subsequent request to retrieve the next page of data. + * + * @param string $pagingToken + * @return $this + */ + public function setPagingToken($pagingToken) + { + $this->values['PagingToken'] = $pagingToken; + return $this; + } + + /** + * Maximum number of results to be included per page. + * + * @param int $maximumResultsPerPage + * @return $this + */ + public function setMaximumResultsPerPage($maximumResultsPerPage) + { + $this->values['MaximumResultsPerPage'] = $maximumResultsPerPage; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/PagingResultsDetail.php b/src/FedEx/PickupService/ComplexType/PagingResultsDetail.php new file mode 100644 index 00000000..ec43df2b --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PagingResultsDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property string $Id + * @property boolean $MoreDataAvailable + * @property string $PagingToken + * @property int $TotalResultsAvailable + + */ +class PagingResultsDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PagingResultsDetail'; + + /** + * An identifier for the set of data that supports paging. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * True if additional results remain to be retrieved. + * + * @param boolean $moreDataAvailable + * @return $this + */ + public function setMoreDataAvailable($moreDataAvailable) + { + $this->values['MoreDataAvailable'] = $moreDataAvailable; + return $this; + } + + /** + * Value that must be passed in a subsequent request to retrieve the next set of results (when MoreDataAvailable = true) + * + * @param string $pagingToken + * @return $this + */ + public function setPagingToken($pagingToken) + { + $this->values['PagingToken'] = $pagingToken; + return $this; + } + + /** + * Total number of results available. + * + * @param int $totalResultsAvailable + * @return $this + */ + public function setTotalResultsAvailable($totalResultsAvailable) + { + $this->values['TotalResultsAvailable'] = $totalResultsAvailable; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/Payment.php b/src/FedEx/PickupService/ComplexType/Payment.php index 08f47cab..c83eddda 100644 --- a/src/FedEx/PickupService/ComplexType/Payment.php +++ b/src/FedEx/PickupService/ComplexType/Payment.php @@ -12,6 +12,7 @@ * * @property \FedEx\PickupService\SimpleType\PaymentType|string $PaymentType * @property Payor $Payor + * @property EPaymentDetail $EPaymentDetail * @property Money $Amount */ @@ -48,6 +49,18 @@ public function setPayor(Payor $payor) return $this; } + /** + * FOR FEDEX INTERNAL USE ONLY + * + * @param EPaymentDetail $ePaymentDetail + * @return $this + */ + public function setEPaymentDetail(EPaymentDetail $ePaymentDetail) + { + $this->values['EPaymentDetail'] = $ePaymentDetail; + return $this; + } + /** * Set Amount * diff --git a/src/FedEx/PickupService/ComplexType/PendingShipmentDetail.php b/src/FedEx/PickupService/ComplexType/PendingShipmentDetail.php index e356b5bb..84250cdb 100644 --- a/src/FedEx/PickupService/ComplexType/PendingShipmentDetail.php +++ b/src/FedEx/PickupService/ComplexType/PendingShipmentDetail.php @@ -13,7 +13,6 @@ * @property \FedEx\PickupService\SimpleType\PendingShipmentType|string $Type * @property string $ExpirationDate * @property EMailLabelDetail $EmailLabelDetail - * @property PendingShipmentProcessingOptionsRequested $ProcessingOptions * @property RecommendedDocumentSpecification $RecommendedDocumentSpecification * @property UploadDocumentReferenceDetail[] $DocumentReferences @@ -63,18 +62,6 @@ public function setEmailLabelDetail(EMailLabelDetail $emailLabelDetail) return $this; } - /** - * Set ProcessingOptions - * - * @param PendingShipmentProcessingOptionsRequested $processingOptions - * @return $this - */ - public function setProcessingOptions(PendingShipmentProcessingOptionsRequested $processingOptions) - { - $this->values['ProcessingOptions'] = $processingOptions; - return $this; - } - /** * These are documents that are recommended to be included with the shipment. * diff --git a/src/FedEx/PickupService/ComplexType/PickupAvailabilityRequest.php b/src/FedEx/PickupService/ComplexType/PickupAvailabilityRequest.php index 20642877..51c518fe 100644 --- a/src/FedEx/PickupService/ComplexType/PickupAvailabilityRequest.php +++ b/src/FedEx/PickupService/ComplexType/PickupAvailabilityRequest.php @@ -12,6 +12,7 @@ * * @property WebAuthenticationDetail $WebAuthenticationDetail * @property ClientDetail $ClientDetail + * @property UserDetail $UserDetail * @property TransactionDetail $TransactionDetail * @property VersionId $Version * @property \FedEx\PickupService\SimpleType\PickupType|string $PickupType @@ -60,6 +61,18 @@ public function setClientDetail(ClientDetail $clientDetail) return $this; } + /** + * Set UserDetail + * + * @param UserDetail $userDetail + * @return $this + */ + public function setUserDetail(UserDetail $userDetail) + { + $this->values['UserDetail'] = $userDetail; + return $this; + } + /** * Set TransactionDetail * diff --git a/src/FedEx/PickupService/ComplexType/PickupDangerousGoodsDetail.php b/src/FedEx/PickupService/ComplexType/PickupDangerousGoodsDetail.php index bbdde44a..63ecb13a 100644 --- a/src/FedEx/PickupService/ComplexType/PickupDangerousGoodsDetail.php +++ b/src/FedEx/PickupService/ComplexType/PickupDangerousGoodsDetail.php @@ -11,7 +11,6 @@ * @subpackage Pickup Service * * @property \FedEx\PickupService\SimpleType\HazardousCommodityRegulationType|string $Regulation - * @property \FedEx\PickupService\SimpleType\DangerousGoodsAccessibilityType|string $Accessibility * @property \FedEx\PickupService\SimpleType\HazardousCommodityOptionType|string[] $Options */ @@ -36,18 +35,6 @@ public function setRegulation($regulation) return $this; } - /** - * Set Accessibility - * - * @param \FedEx\PickupService\SimpleType\DangerousGoodsAccessibilityType|string $accessibility - * @return $this - */ - public function setAccessibility($accessibility) - { - $this->values['Accessibility'] = $accessibility; - return $this; - } - /** * Specifies the option types of the pickup dangerous goods. * diff --git a/src/FedEx/PickupService/ComplexType/PickupHistoryDetailReply.php b/src/FedEx/PickupService/ComplexType/PickupHistoryDetailReply.php new file mode 100644 index 00000000..c1197d5a --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PickupHistoryDetailReply.php @@ -0,0 +1,257 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property \FedEx\PickupService\SimpleType\NotificationSeverityType|string $HighestSeverity + * @property Notification[] $Notifications + * @property TransactionDetail $TransactionDetail + * @property VersionId $Version + * @property AssociatedAccount[] $AssociatedAccountNumbers + * @property PickupOriginDetail $OriginDetail + * @property ExpressFreightPickupDetail $ExpressFreightDetail + * @property int $PackageCount + * @property Weight $TotalWeight + * @property \FedEx\PickupService\SimpleType\CarrierCodeType|string $CarrierCode + * @property int $OversizePackageCount + * @property string $Remarks + * @property string $CommodityDescription + * @property PickupHistoryEvent $LatestEvent + * @property PickupTagDetail $TagDetail + * @property FreightPickupDetail $FreightPickupDetail + * @property \FedEx\PickupService\SimpleType\CountryRelationshipType|string $CountryRelationship + * @property \FedEx\PickupService\SimpleType\PickupType|string $PickupType + + */ +class PickupHistoryDetailReply extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PickupHistoryDetailReply'; + + /** + * Set HighestSeverity + * + * @param \FedEx\PickupService\SimpleType\NotificationSeverityType|string $highestSeverity + * @return $this + */ + public function setHighestSeverity($highestSeverity) + { + $this->values['HighestSeverity'] = $highestSeverity; + return $this; + } + + /** + * Set Notifications + * + * @param Notification[] $notifications + * @return $this + */ + public function setNotifications(array $notifications) + { + $this->values['Notifications'] = $notifications; + return $this; + } + + /** + * Set TransactionDetail + * + * @param TransactionDetail $transactionDetail + * @return $this + */ + public function setTransactionDetail(TransactionDetail $transactionDetail) + { + $this->values['TransactionDetail'] = $transactionDetail; + return $this; + } + + /** + * Set Version + * + * @param VersionId $version + * @return $this + */ + public function setVersion(VersionId $version) + { + $this->values['Version'] = $version; + return $this; + } + + /** + * Set AssociatedAccountNumbers + * + * @param AssociatedAccount[] $associatedAccountNumbers + * @return $this + */ + public function setAssociatedAccountNumbers(array $associatedAccountNumbers) + { + $this->values['AssociatedAccountNumbers'] = $associatedAccountNumbers; + return $this; + } + + /** + * Set OriginDetail + * + * @param PickupOriginDetail $originDetail + * @return $this + */ + public function setOriginDetail(PickupOriginDetail $originDetail) + { + $this->values['OriginDetail'] = $originDetail; + return $this; + } + + /** + * Set ExpressFreightDetail + * + * @param ExpressFreightPickupDetail $expressFreightDetail + * @return $this + */ + public function setExpressFreightDetail(ExpressFreightPickupDetail $expressFreightDetail) + { + $this->values['ExpressFreightDetail'] = $expressFreightDetail; + return $this; + } + + /** + * Set PackageCount + * + * @param int $packageCount + * @return $this + */ + public function setPackageCount($packageCount) + { + $this->values['PackageCount'] = $packageCount; + return $this; + } + + /** + * Set TotalWeight + * + * @param Weight $totalWeight + * @return $this + */ + public function setTotalWeight(Weight $totalWeight) + { + $this->values['TotalWeight'] = $totalWeight; + return $this; + } + + /** + * Set CarrierCode + * + * @param \FedEx\PickupService\SimpleType\CarrierCodeType|string $carrierCode + * @return $this + */ + public function setCarrierCode($carrierCode) + { + $this->values['CarrierCode'] = $carrierCode; + return $this; + } + + /** + * Set OversizePackageCount + * + * @param int $oversizePackageCount + * @return $this + */ + public function setOversizePackageCount($oversizePackageCount) + { + $this->values['OversizePackageCount'] = $oversizePackageCount; + return $this; + } + + /** + * Set Remarks + * + * @param string $remarks + * @return $this + */ + public function setRemarks($remarks) + { + $this->values['Remarks'] = $remarks; + return $this; + } + + /** + * Set CommodityDescription + * + * @param string $commodityDescription + * @return $this + */ + public function setCommodityDescription($commodityDescription) + { + $this->values['CommodityDescription'] = $commodityDescription; + return $this; + } + + /** + * Set LatestEvent + * + * @param PickupHistoryEvent $latestEvent + * @return $this + */ + public function setLatestEvent(PickupHistoryEvent $latestEvent) + { + $this->values['LatestEvent'] = $latestEvent; + return $this; + } + + /** + * Set TagDetail + * + * @param PickupTagDetail $tagDetail + * @return $this + */ + public function setTagDetail(PickupTagDetail $tagDetail) + { + $this->values['TagDetail'] = $tagDetail; + return $this; + } + + /** + * Set FreightPickupDetail + * + * @param FreightPickupDetail $freightPickupDetail + * @return $this + */ + public function setFreightPickupDetail(FreightPickupDetail $freightPickupDetail) + { + $this->values['FreightPickupDetail'] = $freightPickupDetail; + return $this; + } + + /** + * Describes the country relationship (domestic and/or international) among the shipments being picked up. + * + * @param \FedEx\PickupService\SimpleType\CountryRelationshipType|string $countryRelationship + * @return $this + */ + public function setCountryRelationship($countryRelationship) + { + $this->values['CountryRelationship'] = $countryRelationship; + return $this; + } + + /** + * Set PickupType + * + * @param \FedEx\PickupService\SimpleType\PickupType|string $pickupType + * @return $this + */ + public function setPickupType($pickupType) + { + $this->values['PickupType'] = $pickupType; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/PickupHistoryDetailRequest.php b/src/FedEx/PickupService/ComplexType/PickupHistoryDetailRequest.php new file mode 100644 index 00000000..392f8a3d --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PickupHistoryDetailRequest.php @@ -0,0 +1,218 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property WebAuthenticationDetail $WebAuthenticationDetail + * @property ClientDetail $ClientDetail + * @property UserDetail $UserDetail + * @property TransactionDetail $TransactionDetail + * @property VersionId $Version + * @property \FedEx\PickupService\SimpleType\PickupServiceLevelType|string $ServiceLevel + * @property string $ScheduledDate + * @property AssociatedAccount $AssociatedAccountNumber + * @property \FedEx\PickupService\SimpleType\CarrierCodeType|string $CarrierCode + * @property boolean $IsExpressFreight + * @property string $PickupConfirmationNumber + * @property string $Location + * @property string $StandingInstructionId + * @property string $CountryCode + * @property string $PostalCode + + */ +class PickupHistoryDetailRequest extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PickupHistoryDetailRequest'; + + /** + * Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + * + * @param WebAuthenticationDetail $webAuthenticationDetail + * @return $this + */ + public function setWebAuthenticationDetail(WebAuthenticationDetail $webAuthenticationDetail) + { + $this->values['WebAuthenticationDetail'] = $webAuthenticationDetail; + return $this; + } + + /** + * Set ClientDetail + * + * @param ClientDetail $clientDetail + * @return $this + */ + public function setClientDetail(ClientDetail $clientDetail) + { + $this->values['ClientDetail'] = $clientDetail; + return $this; + } + + /** + * Set UserDetail + * + * @param UserDetail $userDetail + * @return $this + */ + public function setUserDetail(UserDetail $userDetail) + { + $this->values['UserDetail'] = $userDetail; + return $this; + } + + /** + * Set TransactionDetail + * + * @param TransactionDetail $transactionDetail + * @return $this + */ + public function setTransactionDetail(TransactionDetail $transactionDetail) + { + $this->values['TransactionDetail'] = $transactionDetail; + return $this; + } + + /** + * Set Version + * + * @param VersionId $version + * @return $this + */ + public function setVersion(VersionId $version) + { + $this->values['Version'] = $version; + return $this; + } + + /** + * Set ServiceLevel + * + * @param \FedEx\PickupService\SimpleType\PickupServiceLevelType|string $serviceLevel + * @return $this + */ + public function setServiceLevel($serviceLevel) + { + $this->values['ServiceLevel'] = $serviceLevel; + return $this; + } + + /** + * The local date which the pickup was originally scheduled to be picked up on. The date provided is the local to the client of the request. The date specification does not include any time zone designators. + * + * @param string $scheduledDate + * @return $this + */ + public function setScheduledDate($scheduledDate) + { + $this->values['ScheduledDate'] = $scheduledDate; + return $this; + } + + /** + * Set AssociatedAccountNumber + * + * @param AssociatedAccount $associatedAccountNumber + * @return $this + */ + public function setAssociatedAccountNumber(AssociatedAccount $associatedAccountNumber) + { + $this->values['AssociatedAccountNumber'] = $associatedAccountNumber; + return $this; + } + + /** + * Set CarrierCode + * + * @param \FedEx\PickupService\SimpleType\CarrierCodeType|string $carrierCode + * @return $this + */ + public function setCarrierCode($carrierCode) + { + $this->values['CarrierCode'] = $carrierCode; + return $this; + } + + /** + * Set IsExpressFreight + * + * @param boolean $isExpressFreight + * @return $this + */ + public function setIsExpressFreight($isExpressFreight) + { + $this->values['IsExpressFreight'] = $isExpressFreight; + return $this; + } + + /** + * Set PickupConfirmationNumber + * + * @param string $pickupConfirmationNumber + * @return $this + */ + public function setPickupConfirmationNumber($pickupConfirmationNumber) + { + $this->values['PickupConfirmationNumber'] = $pickupConfirmationNumber; + return $this; + } + + /** + * Set Location + * + * @param string $location + * @return $this + */ + public function setLocation($location) + { + $this->values['Location'] = $location; + return $this; + } + + /** + * Set StandingInstructionId + * + * @param string $standingInstructionId + * @return $this + */ + public function setStandingInstructionId($standingInstructionId) + { + $this->values['StandingInstructionId'] = $standingInstructionId; + return $this; + } + + /** + * Set CountryCode + * + * @param string $countryCode + * @return $this + */ + public function setCountryCode($countryCode) + { + $this->values['CountryCode'] = $countryCode; + return $this; + } + + /** + * Set PostalCode + * + * @param string $postalCode + * @return $this + */ + public function setPostalCode($postalCode) + { + $this->values['PostalCode'] = $postalCode; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/PickupHistoryEvent.php b/src/FedEx/PickupService/ComplexType/PickupHistoryEvent.php new file mode 100644 index 00000000..ddfff9c9 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PickupHistoryEvent.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property \FedEx\PickupService\SimpleType\PickupEventType|string $Event + * @property \FedEx\PickupService\SimpleType\PickupExceptionType|string $Exception + * @property string $EventTimestamp + * @property string $DriverEmployeeId + + */ +class PickupHistoryEvent extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PickupHistoryEvent'; + + /** + * Set Event + * + * @param \FedEx\PickupService\SimpleType\PickupEventType|string $event + * @return $this + */ + public function setEvent($event) + { + $this->values['Event'] = $event; + return $this; + } + + /** + * Only populated if event was EXCEPTION. + * + * @param \FedEx\PickupService\SimpleType\PickupExceptionType|string $exception + * @return $this + */ + public function setException($exception) + { + $this->values['Exception'] = $exception; + return $this; + } + + /** + * Date and time on when event occurred. + * + * @param string $eventTimestamp + * @return $this + */ + public function setEventTimestamp($eventTimestamp) + { + $this->values['EventTimestamp'] = $eventTimestamp; + return $this; + } + + /** + * Employee Id of driver who picked up shipment + * + * @param string $driverEmployeeId + * @return $this + */ + public function setDriverEmployeeId($driverEmployeeId) + { + $this->values['DriverEmployeeId'] = $driverEmployeeId; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/PickupHistoryServiceSummary.php b/src/FedEx/PickupService/ComplexType/PickupHistoryServiceSummary.php new file mode 100644 index 00000000..6969e4a6 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PickupHistoryServiceSummary.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property string $Service + * @property Weight $TotalWeight + * @property int $TotalLineItems + * @property int $TotalHandlingUnits + * @property int $TotalPieces + + */ +class PickupHistoryServiceSummary extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PickupHistoryServiceSummary'; + + /** + * Set Service + * + * @param string $service + * @return $this + */ + public function setService($service) + { + $this->values['Service'] = $service; + return $this; + } + + /** + * Set TotalWeight + * + * @param Weight $totalWeight + * @return $this + */ + public function setTotalWeight(Weight $totalWeight) + { + $this->values['TotalWeight'] = $totalWeight; + return $this; + } + + /** + * Set TotalLineItems + * + * @param int $totalLineItems + * @return $this + */ + public function setTotalLineItems($totalLineItems) + { + $this->values['TotalLineItems'] = $totalLineItems; + return $this; + } + + /** + * Set TotalHandlingUnits + * + * @param int $totalHandlingUnits + * @return $this + */ + public function setTotalHandlingUnits($totalHandlingUnits) + { + $this->values['TotalHandlingUnits'] = $totalHandlingUnits; + return $this; + } + + /** + * Set TotalPieces + * + * @param int $totalPieces + * @return $this + */ + public function setTotalPieces($totalPieces) + { + $this->values['TotalPieces'] = $totalPieces; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/PickupHistorySummary.php b/src/FedEx/PickupService/ComplexType/PickupHistorySummary.php new file mode 100644 index 00000000..693f6d20 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PickupHistorySummary.php @@ -0,0 +1,296 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property Address $Address + * @property string $CompanyName + * @property string $ReadyTimestamp + * @property string $CompletionTimestamp + * @property string $CloseTime + * @property string $CallProcessedTimestamp + * @property AssociatedAccount[] $AssociatedAccountNumbers + * @property string $PickupConfirmationNumber + * @property string $StandingInstructionId + * @property string $Location + * @property \FedEx\PickupService\SimpleType\PickupEventType|string $LatestEventType + * @property \FedEx\PickupService\SimpleType\CarrierCodeType|string $CarrierCode + * @property string $ServiceType + * @property boolean $IsExpressFreight + * @property \FedEx\PickupService\SimpleType\PickupType|string $PickupType + * @property \FedEx\PickupService\SimpleType\CountryRelationshipType|string $CountryRelationship + * @property Contact $Contact + * @property string $UserId + * @property string $InternalSystemId + * @property PickupHistoryServiceSummary[] $ServiceSummaries + * @property \FedEx\PickupService\SimpleType\PickupStatusType|string $Status + + */ +class PickupHistorySummary extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PickupHistorySummary'; + + /** + * Set Address + * + * @param Address $address + * @return $this + */ + public function setAddress(Address $address) + { + $this->values['Address'] = $address; + return $this; + } + + /** + * Identifies the shipper's company from which the shipment was picked up + * + * @param string $companyName + * @return $this + */ + public function setCompanyName($companyName) + { + $this->values['CompanyName'] = $companyName; + return $this; + } + + /** + * Set ReadyTimestamp + * + * @param string $readyTimestamp + * @return $this + */ + public function setReadyTimestamp($readyTimestamp) + { + $this->values['ReadyTimestamp'] = $readyTimestamp; + return $this; + } + + /** + * Set CompletionTimestamp + * + * @param string $completionTimestamp + * @return $this + */ + public function setCompletionTimestamp($completionTimestamp) + { + $this->values['CompletionTimestamp'] = $completionTimestamp; + return $this; + } + + /** + * Set CloseTime + * + * @param string $closeTime + * @return $this + */ + public function setCloseTime($closeTime) + { + $this->values['CloseTime'] = $closeTime; + return $this; + } + + /** + * Specifies the time when a customer service representative assisted a customer. + * + * @param string $callProcessedTimestamp + * @return $this + */ + public function setCallProcessedTimestamp($callProcessedTimestamp) + { + $this->values['CallProcessedTimestamp'] = $callProcessedTimestamp; + return $this; + } + + /** + * Set AssociatedAccountNumbers + * + * @param AssociatedAccount[] $associatedAccountNumbers + * @return $this + */ + public function setAssociatedAccountNumbers(array $associatedAccountNumbers) + { + $this->values['AssociatedAccountNumbers'] = $associatedAccountNumbers; + return $this; + } + + /** + * Set PickupConfirmationNumber + * + * @param string $pickupConfirmationNumber + * @return $this + */ + public function setPickupConfirmationNumber($pickupConfirmationNumber) + { + $this->values['PickupConfirmationNumber'] = $pickupConfirmationNumber; + return $this; + } + + /** + * Set StandingInstructionId + * + * @param string $standingInstructionId + * @return $this + */ + public function setStandingInstructionId($standingInstructionId) + { + $this->values['StandingInstructionId'] = $standingInstructionId; + return $this; + } + + /** + * Set Location + * + * @param string $location + * @return $this + */ + public function setLocation($location) + { + $this->values['Location'] = $location; + return $this; + } + + /** + * Set LatestEventType + * + * @param \FedEx\PickupService\SimpleType\PickupEventType|string $latestEventType + * @return $this + */ + public function setLatestEventType($latestEventType) + { + $this->values['LatestEventType'] = $latestEventType; + return $this; + } + + /** + * Set CarrierCode + * + * @param \FedEx\PickupService\SimpleType\CarrierCodeType|string $carrierCode + * @return $this + */ + public function setCarrierCode($carrierCode) + { + $this->values['CarrierCode'] = $carrierCode; + return $this; + } + + /** + * Set ServiceType + * + * @param string $serviceType + * @return $this + */ + public function setServiceType($serviceType) + { + $this->values['ServiceType'] = $serviceType; + return $this; + } + + /** + * Set IsExpressFreight + * + * @param boolean $isExpressFreight + * @return $this + */ + public function setIsExpressFreight($isExpressFreight) + { + $this->values['IsExpressFreight'] = $isExpressFreight; + return $this; + } + + /** + * Set PickupType + * + * @param \FedEx\PickupService\SimpleType\PickupType|string $pickupType + * @return $this + */ + public function setPickupType($pickupType) + { + $this->values['PickupType'] = $pickupType; + return $this; + } + + /** + * Describes the country relationship (domestic and/or international) among the shipments being picked up. + * + * @param \FedEx\PickupService\SimpleType\CountryRelationshipType|string $countryRelationship + * @return $this + */ + public function setCountryRelationship($countryRelationship) + { + $this->values['CountryRelationship'] = $countryRelationship; + return $this; + } + + /** + * Set Contact + * + * @param Contact $contact + * @return $this + */ + public function setContact(Contact $contact) + { + $this->values['Contact'] = $contact; + return $this; + } + + /** + * Set UserId + * + * @param string $userId + * @return $this + */ + public function setUserId($userId) + { + $this->values['UserId'] = $userId; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY. FedEx internal system identifier. + * + * @param string $internalSystemId + * @return $this + */ + public function setInternalSystemId($internalSystemId) + { + $this->values['InternalSystemId'] = $internalSystemId; + return $this; + } + + /** + * Set ServiceSummaries + * + * @param PickupHistoryServiceSummary[] $serviceSummaries + * @return $this + */ + public function setServiceSummaries(array $serviceSummaries) + { + $this->values['ServiceSummaries'] = $serviceSummaries; + return $this; + } + + /** + * The status of the requested pickup. + * + * @param \FedEx\PickupService\SimpleType\PickupStatusType|string $status + * @return $this + */ + public function setStatus($status) + { + $this->values['Status'] = $status; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/PickupHistorySummaryReply.php b/src/FedEx/PickupService/ComplexType/PickupHistorySummaryReply.php new file mode 100644 index 00000000..94a427b9 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PickupHistorySummaryReply.php @@ -0,0 +1,140 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property \FedEx\PickupService\SimpleType\NotificationSeverityType|string $HighestSeverity + * @property Notification[] $Notifications + * @property TransactionDetail $TransactionDetail + * @property VersionId $Version + * @property string[] $InternalMessages + * @property int $TotalResultAvailable + * @property int $ResultsReturned + * @property PagingResultsDetail $PagingDetail + * @property PickupHistorySummary[] $PickupHistorySummaries + + */ +class PickupHistorySummaryReply extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PickupHistorySummaryReply'; + + /** + * Set HighestSeverity + * + * @param \FedEx\PickupService\SimpleType\NotificationSeverityType|string $highestSeverity + * @return $this + */ + public function setHighestSeverity($highestSeverity) + { + $this->values['HighestSeverity'] = $highestSeverity; + return $this; + } + + /** + * Set Notifications + * + * @param Notification[] $notifications + * @return $this + */ + public function setNotifications(array $notifications) + { + $this->values['Notifications'] = $notifications; + return $this; + } + + /** + * Set TransactionDetail + * + * @param TransactionDetail $transactionDetail + * @return $this + */ + public function setTransactionDetail(TransactionDetail $transactionDetail) + { + $this->values['TransactionDetail'] = $transactionDetail; + return $this; + } + + /** + * Set Version + * + * @param VersionId $version + * @return $this + */ + public function setVersion(VersionId $version) + { + $this->values['Version'] = $version; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: Status messages from the back-end services supporting pickup functionality. These messages are directly passed-through, without modification, and the content is not examined or validated by this service. Programmatic use of these messages is highly discouraged as they are subject to change without notice. + * + * @param string $internalMessages + * @return $this + */ + public function setInternalMessages($internalMessages) + { + $this->values['InternalMessages'] = $internalMessages; + return $this; + } + + /** + * Set TotalResultAvailable + * + * @param int $totalResultAvailable + * @return $this + */ + public function setTotalResultAvailable($totalResultAvailable) + { + $this->values['TotalResultAvailable'] = $totalResultAvailable; + return $this; + } + + /** + * Set ResultsReturned + * + * @param int $resultsReturned + * @return $this + */ + public function setResultsReturned($resultsReturned) + { + $this->values['ResultsReturned'] = $resultsReturned; + return $this; + } + + /** + * Set PagingDetail + * + * @param PagingResultsDetail $pagingDetail + * @return $this + */ + public function setPagingDetail(PagingResultsDetail $pagingDetail) + { + $this->values['PagingDetail'] = $pagingDetail; + return $this; + } + + /** + * Set PickupHistorySummaries + * + * @param PickupHistorySummary[] $pickupHistorySummaries + * @return $this + */ + public function setPickupHistorySummaries(array $pickupHistorySummaries) + { + $this->values['PickupHistorySummaries'] = $pickupHistorySummaries; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/PickupHistorySummaryRequest.php b/src/FedEx/PickupService/ComplexType/PickupHistorySummaryRequest.php new file mode 100644 index 00000000..563c68c9 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PickupHistorySummaryRequest.php @@ -0,0 +1,205 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property WebAuthenticationDetail $WebAuthenticationDetail + * @property ClientDetail $ClientDetail + * @property UserDetail $UserDetail + * @property TransactionDetail $TransactionDetail + * @property VersionId $Version + * @property \FedEx\PickupService\SimpleType\PickupServiceLevelType|string $ServiceLevel + * @property string $EarliestPickupDate + * @property int $ResultsToSkip + * @property int $ResultsRequested + * @property PagingRequestDetail $PagingDetail + * @property \FedEx\PickupService\SimpleType\CarrierCodeType|string[] $CarrierCode + * @property \FedEx\PickupService\SimpleType\PickupType|string $PickupType + * @property string $StandingInstructionId + * @property PickupLookupCondition[] $Conditions + + */ +class PickupHistorySummaryRequest extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PickupHistorySummaryRequest'; + + /** + * Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + * + * @param WebAuthenticationDetail $webAuthenticationDetail + * @return $this + */ + public function setWebAuthenticationDetail(WebAuthenticationDetail $webAuthenticationDetail) + { + $this->values['WebAuthenticationDetail'] = $webAuthenticationDetail; + return $this; + } + + /** + * Set ClientDetail + * + * @param ClientDetail $clientDetail + * @return $this + */ + public function setClientDetail(ClientDetail $clientDetail) + { + $this->values['ClientDetail'] = $clientDetail; + return $this; + } + + /** + * Set UserDetail + * + * @param UserDetail $userDetail + * @return $this + */ + public function setUserDetail(UserDetail $userDetail) + { + $this->values['UserDetail'] = $userDetail; + return $this; + } + + /** + * Set TransactionDetail + * + * @param TransactionDetail $transactionDetail + * @return $this + */ + public function setTransactionDetail(TransactionDetail $transactionDetail) + { + $this->values['TransactionDetail'] = $transactionDetail; + return $this; + } + + /** + * Set Version + * + * @param VersionId $version + * @return $this + */ + public function setVersion(VersionId $version) + { + $this->values['Version'] = $version; + return $this; + } + + /** + * Set ServiceLevel + * + * @param \FedEx\PickupService\SimpleType\PickupServiceLevelType|string $serviceLevel + * @return $this + */ + public function setServiceLevel($serviceLevel) + { + $this->values['ServiceLevel'] = $serviceLevel; + return $this; + } + + /** + * Set EarliestPickupDate + * + * @param string $earliestPickupDate + * @return $this + */ + public function setEarliestPickupDate($earliestPickupDate) + { + $this->values['EarliestPickupDate'] = $earliestPickupDate; + return $this; + } + + /** + * Set ResultsToSkip + * + * @param int $resultsToSkip + * @return $this + */ + public function setResultsToSkip($resultsToSkip) + { + $this->values['ResultsToSkip'] = $resultsToSkip; + return $this; + } + + /** + * Set ResultsRequested + * + * @param int $resultsRequested + * @return $this + */ + public function setResultsRequested($resultsRequested) + { + $this->values['ResultsRequested'] = $resultsRequested; + return $this; + } + + /** + * Set PagingDetail + * + * @param PagingRequestDetail $pagingDetail + * @return $this + */ + public function setPagingDetail(PagingRequestDetail $pagingDetail) + { + $this->values['PagingDetail'] = $pagingDetail; + return $this; + } + + /** + * Provides the information of Carrier for which pickup history summaries needs to be provided. + * + * @param \FedEx\PickupService\SimpleType\CarrierCodeType[]|string[] $carrierCode + * @return $this + */ + public function setCarrierCode(array $carrierCode) + { + $this->values['CarrierCode'] = $carrierCode; + return $this; + } + + /** + * Set PickupType + * + * @param \FedEx\PickupService\SimpleType\PickupType|string $pickupType + * @return $this + */ + public function setPickupType($pickupType) + { + $this->values['PickupType'] = $pickupType; + return $this; + } + + /** + * Set StandingInstructionId + * + * @param string $standingInstructionId + * @return $this + */ + public function setStandingInstructionId($standingInstructionId) + { + $this->values['StandingInstructionId'] = $standingInstructionId; + return $this; + } + + /** + * Set of criteria which must be satisfied by any resulting Pickup History Summary. + * + * @param PickupLookupCondition[] $conditions + * @return $this + */ + public function setConditions(array $conditions) + { + $this->values['Conditions'] = $conditions; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/PickupLookupCondition.php b/src/FedEx/PickupService/ComplexType/PickupLookupCondition.php new file mode 100644 index 00000000..dea95437 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PickupLookupCondition.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property \FedEx\PickupService\SimpleType\PickupLookupConditionType|string $ConditionType + * @property string $Value + + */ +class PickupLookupCondition extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PickupLookupCondition'; + + /** + * Type of value to match. + * + * @param \FedEx\PickupService\SimpleType\PickupLookupConditionType|string $conditionType + * @return $this + */ + public function setConditionType($conditionType) + { + $this->values['ConditionType'] = $conditionType; + return $this; + } + + /** + * Value to be matched. + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/PickupPackageDetail.php b/src/FedEx/PickupService/ComplexType/PickupPackageDetail.php new file mode 100644 index 00000000..a3b3d4b0 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PickupPackageDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property string[] $PackageSpecialServices + * @property SignatureOptionDetail $SignatureOptionDetail + * @property Weight $Weight + * @property Money $InsuredValue + * @property string $Description + * @property CustomerReference[] $CustomerReferences + + */ +class PickupPackageDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PickupPackageDetail'; + + /** + * Set PackageSpecialServices + * + * @param string $packageSpecialServices + * @return $this + */ + public function setPackageSpecialServices($packageSpecialServices) + { + $this->values['PackageSpecialServices'] = $packageSpecialServices; + return $this; + } + + /** + * Set SignatureOptionDetail + * + * @param SignatureOptionDetail $signatureOptionDetail + * @return $this + */ + public function setSignatureOptionDetail(SignatureOptionDetail $signatureOptionDetail) + { + $this->values['SignatureOptionDetail'] = $signatureOptionDetail; + return $this; + } + + /** + * Set Weight + * + * @param Weight $weight + * @return $this + */ + public function setWeight(Weight $weight) + { + $this->values['Weight'] = $weight; + return $this; + } + + /** + * Set InsuredValue + * + * @param Money $insuredValue + * @return $this + */ + public function setInsuredValue(Money $insuredValue) + { + $this->values['InsuredValue'] = $insuredValue; + return $this; + } + + /** + * Set Description + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set CustomerReferences + * + * @param CustomerReference[] $customerReferences + * @return $this + */ + public function setCustomerReferences(array $customerReferences) + { + $this->values['CustomerReferences'] = $customerReferences; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/PickupShipmentSpecialServicesRequested.php b/src/FedEx/PickupService/ComplexType/PickupShipmentSpecialServicesRequested.php new file mode 100644 index 00000000..ad16f639 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PickupShipmentSpecialServicesRequested.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property string[] $SpecialServiceTypes + + */ +class PickupShipmentSpecialServicesRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PickupShipmentSpecialServicesRequested'; + + /** + * Set SpecialServiceTypes + * + * @param string $specialServiceTypes + * @return $this + */ + public function setSpecialServiceTypes($specialServiceTypes) + { + $this->values['SpecialServiceTypes'] = $specialServiceTypes; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/PickupTagDetail.php b/src/FedEx/PickupService/ComplexType/PickupTagDetail.php new file mode 100644 index 00000000..cf9abd51 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PickupTagDetail.php @@ -0,0 +1,127 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property string $ServiceType + * @property string $PackagingType + * @property string[] $ShipmentSpecialServices + * @property Payment $ShippingChargesPayment + * @property ContactAndAddress $RecipientLocation + * @property string $RmaNumber + * @property Money $TotalInsuredValue + * @property PickupPackageDetail[] $PackageDetails + + */ +class PickupTagDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PickupTagDetail'; + + /** + * Set ServiceType + * + * @param string $serviceType + * @return $this + */ + public function setServiceType($serviceType) + { + $this->values['ServiceType'] = $serviceType; + return $this; + } + + /** + * Set PackagingType + * + * @param string $packagingType + * @return $this + */ + public function setPackagingType($packagingType) + { + $this->values['PackagingType'] = $packagingType; + return $this; + } + + /** + * Set ShipmentSpecialServices + * + * @param string $shipmentSpecialServices + * @return $this + */ + public function setShipmentSpecialServices($shipmentSpecialServices) + { + $this->values['ShipmentSpecialServices'] = $shipmentSpecialServices; + return $this; + } + + /** + * Set ShippingChargesPayment + * + * @param Payment $shippingChargesPayment + * @return $this + */ + public function setShippingChargesPayment(Payment $shippingChargesPayment) + { + $this->values['ShippingChargesPayment'] = $shippingChargesPayment; + return $this; + } + + /** + * Set RecipientLocation + * + * @param ContactAndAddress $recipientLocation + * @return $this + */ + public function setRecipientLocation(ContactAndAddress $recipientLocation) + { + $this->values['RecipientLocation'] = $recipientLocation; + return $this; + } + + /** + * Set RmaNumber + * + * @param string $rmaNumber + * @return $this + */ + public function setRmaNumber($rmaNumber) + { + $this->values['RmaNumber'] = $rmaNumber; + return $this; + } + + /** + * Set TotalInsuredValue + * + * @param Money $totalInsuredValue + * @return $this + */ + public function setTotalInsuredValue(Money $totalInsuredValue) + { + $this->values['TotalInsuredValue'] = $totalInsuredValue; + return $this; + } + + /** + * Set PackageDetails + * + * @param PickupPackageDetail[] $packageDetails + * @return $this + */ + public function setPackageDetails(array $packageDetails) + { + $this->values['PackageDetails'] = $packageDetails; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/PolicyGridManifest.php b/src/FedEx/PickupService/ComplexType/PolicyGridManifest.php new file mode 100644 index 00000000..2e26e907 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/PolicyGridManifest.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property string $GridId + * @property string[] $Contents + + */ +class PolicyGridManifest extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PolicyGridManifest'; + + /** + * Set GridId + * + * @param string $gridId + * @return $this + */ + public function setGridId($gridId) + { + $this->values['GridId'] = $gridId; + return $this; + } + + /** + * Set Contents + * + * @param string $contents + * @return $this + */ + public function setContents($contents) + { + $this->values['Contents'] = $contents; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/RequestedPickupShipmentDetail.php b/src/FedEx/PickupService/ComplexType/RequestedPickupShipmentDetail.php new file mode 100644 index 00000000..cc18cb79 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/RequestedPickupShipmentDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property string $ServiceCode + * @property string $ServiceType + * @property string $PackagingType + * @property PickupShipmentSpecialServicesRequested $ShipmentSpecialServices + * @property Address $RecipientAddress + * @property string $RecipientLocationId + * @property RequestedPickupPackageDetail[] $PackageDetails + + */ +class RequestedPickupShipmentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RequestedPickupShipmentDetail'; + + /** + * FOR FEDEX INTERNAL USE ONLY: The service code will be provided for transportation network management. + * + * @param string $serviceCode + * @return $this + */ + public function setServiceCode($serviceCode) + { + $this->values['ServiceCode'] = $serviceCode; + return $this; + } + + /** + * Set ServiceType + * + * @param string $serviceType + * @return $this + */ + public function setServiceType($serviceType) + { + $this->values['ServiceType'] = $serviceType; + return $this; + } + + /** + * Set PackagingType + * + * @param string $packagingType + * @return $this + */ + public function setPackagingType($packagingType) + { + $this->values['PackagingType'] = $packagingType; + return $this; + } + + /** + * Set ShipmentSpecialServices + * + * @param PickupShipmentSpecialServicesRequested $shipmentSpecialServices + * @return $this + */ + public function setShipmentSpecialServices(PickupShipmentSpecialServicesRequested $shipmentSpecialServices) + { + $this->values['ShipmentSpecialServices'] = $shipmentSpecialServices; + return $this; + } + + /** + * Set RecipientAddress + * + * @param Address $recipientAddress + * @return $this + */ + public function setRecipientAddress(Address $recipientAddress) + { + $this->values['RecipientAddress'] = $recipientAddress; + return $this; + } + + /** + * Set RecipientLocationId + * + * @param string $recipientLocationId + * @return $this + */ + public function setRecipientLocationId($recipientLocationId) + { + $this->values['RecipientLocationId'] = $recipientLocationId; + return $this; + } + + /** + * Set PackageDetails + * + * @param RequestedPickupPackageDetail[] $packageDetails + * @return $this + */ + public function setPackageDetails(array $packageDetails) + { + $this->values['PackageDetails'] = $packageDetails; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/RestrictionsAndPrivilegesPolicyDetail.php b/src/FedEx/PickupService/ComplexType/RestrictionsAndPrivilegesPolicyDetail.php new file mode 100644 index 00000000..1ecd6d55 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/RestrictionsAndPrivilegesPolicyDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property \FedEx\PickupService\SimpleType\RestrictionsAndPrivilegesPolicyExceptionType|string $ExceptionType + * @property PolicyGridManifest[] $PolicyGridManifests + * @property EnterprisePrivilegeDetail[] $PrivilegeDetails + + */ +class RestrictionsAndPrivilegesPolicyDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RestrictionsAndPrivilegesPolicyDetail'; + + /** + * Set ExceptionType + * + * @param \FedEx\PickupService\SimpleType\RestrictionsAndPrivilegesPolicyExceptionType|string $exceptionType + * @return $this + */ + public function setExceptionType($exceptionType) + { + $this->values['ExceptionType'] = $exceptionType; + return $this; + } + + /** + * Set PolicyGridManifests + * + * @param PolicyGridManifest[] $policyGridManifests + * @return $this + */ + public function setPolicyGridManifests(array $policyGridManifests) + { + $this->values['PolicyGridManifests'] = $policyGridManifests; + return $this; + } + + /** + * Set PrivilegeDetails + * + * @param EnterprisePrivilegeDetail[] $privilegeDetails + * @return $this + */ + public function setPrivilegeDetails(array $privilegeDetails) + { + $this->values['PrivilegeDetails'] = $privilegeDetails; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/SignatureOptionDetail.php b/src/FedEx/PickupService/ComplexType/SignatureOptionDetail.php new file mode 100644 index 00000000..bb3eef15 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/SignatureOptionDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property \FedEx\PickupService\SimpleType\SignatureOptionType|string $OptionType + * @property string $SignatureReleaseNumber + + */ +class SignatureOptionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SignatureOptionDetail'; + + /** + * Set OptionType + * + * @param \FedEx\PickupService\SimpleType\SignatureOptionType|string $optionType + * @return $this + */ + public function setOptionType($optionType) + { + $this->values['OptionType'] = $optionType; + return $this; + } + + /** + * Set SignatureReleaseNumber + * + * @param string $signatureReleaseNumber + * @return $this + */ + public function setSignatureReleaseNumber($signatureReleaseNumber) + { + $this->values['SignatureReleaseNumber'] = $signatureReleaseNumber; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/TransactionDetail.php b/src/FedEx/PickupService/ComplexType/TransactionDetail.php index 3f5a8266..879f099c 100644 --- a/src/FedEx/PickupService/ComplexType/TransactionDetail.php +++ b/src/FedEx/PickupService/ComplexType/TransactionDetail.php @@ -12,6 +12,10 @@ * * @property string $CustomerTransactionId * @property Localization $Localization + * @property string $InternalTransactionId + * @property boolean $Tracing + * @property \FedEx\PickupService\SimpleType\TransactionSourceFormat|string $SourceFormat + * @property \FedEx\PickupService\SimpleType\WebServiceEnvironment|string $Environment */ class TransactionDetail extends AbstractComplexType @@ -46,4 +50,52 @@ public function setLocalization(Localization $localization) $this->values['Localization'] = $localization; return $this; } + + /** + * Unique identifier assigned/forwarded by internal FAST services only, to associate service transactions comprising a single business work unit. + * + * @param string $internalTransactionId + * @return $this + */ + public function setInternalTransactionId($internalTransactionId) + { + $this->values['InternalTransactionId'] = $internalTransactionId; + return $this; + } + + /** + * Each FAST service should log request/reply pairs for any transaction in which this attribute is true. This is for internal use only (capturing transaction data for diagnostic purposes). + * + * @param boolean $tracing + * @return $this + */ + public function setTracing($tracing) + { + $this->values['Tracing'] = $tracing; + return $this; + } + + /** + * Indicates the format in which the transaction was presented to FedEx, used to help identify error-translation context. + * + * @param \FedEx\PickupService\SimpleType\TransactionSourceFormat|string $sourceFormat + * @return $this + */ + public function setSourceFormat($sourceFormat) + { + $this->values['SourceFormat'] = $sourceFormat; + return $this; + } + + /** + * Identifies the environment (level) in which the current transaction should be processed. + * + * @param \FedEx\PickupService\SimpleType\WebServiceEnvironment|string $environment + * @return $this + */ + public function setEnvironment($environment) + { + $this->values['Environment'] = $environment; + return $this; + } } diff --git a/src/FedEx/PickupService/ComplexType/UpdatePickupReply.php b/src/FedEx/PickupService/ComplexType/UpdatePickupReply.php new file mode 100644 index 00000000..543dd136 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/UpdatePickupReply.php @@ -0,0 +1,179 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property \FedEx\PickupService\SimpleType\NotificationSeverityType|string $HighestSeverity + * @property Notification[] $Notifications + * @property TransactionDetail $TransactionDetail + * @property VersionId $Version + * @property string $PickupConfirmationNumber + * @property string $Location + * @property string $MessageCode + * @property string $Message + * @property string $PRPControlNumber + * @property string $LastAccessTime + * @property string $LastChangeTimestamp + * @property CompletedFreightPickupDetail $CompletedFreightPickupDetail + + */ +class UpdatePickupReply extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UpdatePickupReply'; + + /** + * Set HighestSeverity + * + * @param \FedEx\PickupService\SimpleType\NotificationSeverityType|string $highestSeverity + * @return $this + */ + public function setHighestSeverity($highestSeverity) + { + $this->values['HighestSeverity'] = $highestSeverity; + return $this; + } + + /** + * Set Notifications + * + * @param Notification[] $notifications + * @return $this + */ + public function setNotifications(array $notifications) + { + $this->values['Notifications'] = $notifications; + return $this; + } + + /** + * Set TransactionDetail + * + * @param TransactionDetail $transactionDetail + * @return $this + */ + public function setTransactionDetail(TransactionDetail $transactionDetail) + { + $this->values['TransactionDetail'] = $transactionDetail; + return $this; + } + + /** + * Set Version + * + * @param VersionId $version + * @return $this + */ + public function setVersion(VersionId $version) + { + $this->values['Version'] = $version; + return $this; + } + + /** + * The new pickup confirmation number for a pickup requested that was reactivated after cancellation. + * + * @param string $pickupConfirmationNumber + * @return $this + */ + public function setPickupConfirmationNumber($pickupConfirmationNumber) + { + $this->values['PickupConfirmationNumber'] = $pickupConfirmationNumber; + return $this; + } + + /** + * Set Location + * + * @param string $location + * @return $this + */ + public function setLocation($location) + { + $this->values['Location'] = $location; + return $this; + } + + /** + * Coded value supplied by dispatch system. + * + * @param string $messageCode + * @return $this + */ + public function setMessageCode($messageCode) + { + $this->values['MessageCode'] = $messageCode; + return $this; + } + + /** + * Message supplied by dispatch system. + * + * @param string $message + * @return $this + */ + public function setMessage($message) + { + $this->values['Message'] = $message; + return $this; + } + + /** + * Package Return Program control number + * + * @param string $pRPControlNumber + * @return $this + */ + public function setPRPControlNumber($pRPControlNumber) + { + $this->values['PRPControlNumber'] = $pRPControlNumber; + return $this; + } + + /** + * Used with "stay late" requests; postal-code specific. + * + * @param string $lastAccessTime + * @return $this + */ + public function setLastAccessTime($lastAccessTime) + { + $this->values['LastAccessTime'] = $lastAccessTime; + return $this; + } + + /** + * The last time a change was made to the pickup record. + * + * @param string $lastChangeTimestamp + * @return $this + */ + public function setLastChangeTimestamp($lastChangeTimestamp) + { + $this->values['LastChangeTimestamp'] = $lastChangeTimestamp; + return $this; + } + + /** + * Provides reply information for FedEx Freight Pickup + * + * @param CompletedFreightPickupDetail $completedFreightPickupDetail + * @return $this + */ + public function setCompletedFreightPickupDetail(CompletedFreightPickupDetail $completedFreightPickupDetail) + { + $this->values['CompletedFreightPickupDetail'] = $completedFreightPickupDetail; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/UpdatePickupRequest.php b/src/FedEx/PickupService/ComplexType/UpdatePickupRequest.php new file mode 100644 index 00000000..c8002659 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/UpdatePickupRequest.php @@ -0,0 +1,361 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property WebAuthenticationDetail $WebAuthenticationDetail + * @property ClientDetail $ClientDetail + * @property UserDetail $UserDetail + * @property TransactionDetail $TransactionDetail + * @property VersionId $Version + * @property \FedEx\PickupService\SimpleType\UpdatePickupRequestProcessingOptionType|string[] $ProcessingOptions + * @property string $PickupConfirmationNumber + * @property string $ScheduledDate + * @property string $Reason + * @property string $Comments + * @property string $TemporaryCustomerId + * @property AssociatedAccount $AssociatedAccountNumber + * @property PickupOriginDetail $OriginDetail + * @property \FedEx\PickupService\SimpleType\PickupServiceCategoryType|string $PickupServiceCategory + * @property FreightPickupDetail $FreightPickupDetail + * @property ExpressFreightPickupDetail $ExpressFreightDetail + * @property PickupTagDetail $TagDetail + * @property RequestedPickupShipmentDetail $RequestedExpressPickupDetail + * @property \FedEx\PickupService\SimpleType\PickupType|string $PickupType + * @property int $PackageCount + * @property Weight $TotalWeight + * @property \FedEx\PickupService\SimpleType\CarrierCodeType|string $CarrierCode + * @property int $OversizePackageCount + * @property string $Remarks + * @property string $CommodityDescription + * @property \FedEx\PickupService\SimpleType\CountryRelationshipType|string $CountryRelationship + + */ +class UpdatePickupRequest extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UpdatePickupRequest'; + + /** + * Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + * + * @param WebAuthenticationDetail $webAuthenticationDetail + * @return $this + */ + public function setWebAuthenticationDetail(WebAuthenticationDetail $webAuthenticationDetail) + { + $this->values['WebAuthenticationDetail'] = $webAuthenticationDetail; + return $this; + } + + /** + * Set ClientDetail + * + * @param ClientDetail $clientDetail + * @return $this + */ + public function setClientDetail(ClientDetail $clientDetail) + { + $this->values['ClientDetail'] = $clientDetail; + return $this; + } + + /** + * Set UserDetail + * + * @param UserDetail $userDetail + * @return $this + */ + public function setUserDetail(UserDetail $userDetail) + { + $this->values['UserDetail'] = $userDetail; + return $this; + } + + /** + * Set TransactionDetail + * + * @param TransactionDetail $transactionDetail + * @return $this + */ + public function setTransactionDetail(TransactionDetail $transactionDetail) + { + $this->values['TransactionDetail'] = $transactionDetail; + return $this; + } + + /** + * Set Version + * + * @param VersionId $version + * @return $this + */ + public function setVersion(VersionId $version) + { + $this->values['Version'] = $version; + return $this; + } + + /** + * Set ProcessingOptions + * + * @param \FedEx\PickupService\SimpleType\UpdatePickupRequestProcessingOptionType[]|string[] $processingOptions + * @return $this + */ + public function setProcessingOptions(array $processingOptions) + { + $this->values['ProcessingOptions'] = $processingOptions; + return $this; + } + + /** + * Set PickupConfirmationNumber + * + * @param string $pickupConfirmationNumber + * @return $this + */ + public function setPickupConfirmationNumber($pickupConfirmationNumber) + { + $this->values['PickupConfirmationNumber'] = $pickupConfirmationNumber; + return $this; + } + + /** + * The local date which the pickup was originally scheduled to be picked up on. The date provided is the local to the client of the request. The date specification does not include any time zone designators. + * + * @param string $scheduledDate + * @return $this + */ + public function setScheduledDate($scheduledDate) + { + $this->values['ScheduledDate'] = $scheduledDate; + return $this; + } + + /** + * Brief information for performing the pickup update + * + * @param string $reason + * @return $this + */ + public function setReason($reason) + { + $this->values['Reason'] = $reason; + return $this; + } + + /** + * Descriptive information for performing the pickup update + * + * @param string $comments + * @return $this + */ + public function setComments($comments) + { + $this->values['Comments'] = $comments; + return $this; + } + + /** + * Temporary customer id that is assigned to a non-account customer, who has called in to schedule a pickup. This temporary customer id is persisted at the backend for a certain window of time. Within this window of time, this temporary id can be re-used by the customer to request pickups. This is way to allow customers to process pickup without the need to create an account with FedEx. + * + * @param string $temporaryCustomerId + * @return $this + */ + public function setTemporaryCustomerId($temporaryCustomerId) + { + $this->values['TemporaryCustomerId'] = $temporaryCustomerId; + return $this; + } + + /** + * Set AssociatedAccountNumber + * + * @param AssociatedAccount $associatedAccountNumber + * @return $this + */ + public function setAssociatedAccountNumber(AssociatedAccount $associatedAccountNumber) + { + $this->values['AssociatedAccountNumber'] = $associatedAccountNumber; + return $this; + } + + /** + * Set OriginDetail + * + * @param PickupOriginDetail $originDetail + * @return $this + */ + public function setOriginDetail(PickupOriginDetail $originDetail) + { + $this->values['OriginDetail'] = $originDetail; + return $this; + } + + /** + * Set PickupServiceCategory + * + * @param \FedEx\PickupService\SimpleType\PickupServiceCategoryType|string $pickupServiceCategory + * @return $this + */ + public function setPickupServiceCategory($pickupServiceCategory) + { + $this->values['PickupServiceCategory'] = $pickupServiceCategory; + return $this; + } + + /** + * Set FreightPickupDetail + * + * @param FreightPickupDetail $freightPickupDetail + * @return $this + */ + public function setFreightPickupDetail(FreightPickupDetail $freightPickupDetail) + { + $this->values['FreightPickupDetail'] = $freightPickupDetail; + return $this; + } + + /** + * Set ExpressFreightDetail + * + * @param ExpressFreightPickupDetail $expressFreightDetail + * @return $this + */ + public function setExpressFreightDetail(ExpressFreightPickupDetail $expressFreightDetail) + { + $this->values['ExpressFreightDetail'] = $expressFreightDetail; + return $this; + } + + /** + * Set TagDetail + * + * @param PickupTagDetail $tagDetail + * @return $this + */ + public function setTagDetail(PickupTagDetail $tagDetail) + { + $this->values['TagDetail'] = $tagDetail; + return $this; + } + + /** + * Set RequestedExpressPickupDetail + * + * @param RequestedPickupShipmentDetail $requestedExpressPickupDetail + * @return $this + */ + public function setRequestedExpressPickupDetail(RequestedPickupShipmentDetail $requestedExpressPickupDetail) + { + $this->values['RequestedExpressPickupDetail'] = $requestedExpressPickupDetail; + return $this; + } + + /** + * Set PickupType + * + * @param \FedEx\PickupService\SimpleType\PickupType|string $pickupType + * @return $this + */ + public function setPickupType($pickupType) + { + $this->values['PickupType'] = $pickupType; + return $this; + } + + /** + * Set PackageCount + * + * @param int $packageCount + * @return $this + */ + public function setPackageCount($packageCount) + { + $this->values['PackageCount'] = $packageCount; + return $this; + } + + /** + * Set TotalWeight + * + * @param Weight $totalWeight + * @return $this + */ + public function setTotalWeight(Weight $totalWeight) + { + $this->values['TotalWeight'] = $totalWeight; + return $this; + } + + /** + * Set CarrierCode + * + * @param \FedEx\PickupService\SimpleType\CarrierCodeType|string $carrierCode + * @return $this + */ + public function setCarrierCode($carrierCode) + { + $this->values['CarrierCode'] = $carrierCode; + return $this; + } + + /** + * Set OversizePackageCount + * + * @param int $oversizePackageCount + * @return $this + */ + public function setOversizePackageCount($oversizePackageCount) + { + $this->values['OversizePackageCount'] = $oversizePackageCount; + return $this; + } + + /** + * Remarks for pickup Courier + * + * @param string $remarks + * @return $this + */ + public function setRemarks($remarks) + { + $this->values['Remarks'] = $remarks; + return $this; + } + + /** + * Set CommodityDescription + * + * @param string $commodityDescription + * @return $this + */ + public function setCommodityDescription($commodityDescription) + { + $this->values['CommodityDescription'] = $commodityDescription; + return $this; + } + + /** + * Set CountryRelationship + * + * @param \FedEx\PickupService\SimpleType\CountryRelationshipType|string $countryRelationship + * @return $this + */ + public function setCountryRelationship($countryRelationship) + { + $this->values['CountryRelationship'] = $countryRelationship; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/UserDetail.php b/src/FedEx/PickupService/ComplexType/UserDetail.php new file mode 100644 index 00000000..88523c12 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/UserDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property string $UserId + * @property string $Password + * @property string $UniqueUserId + + */ +class UserDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UserDetail'; + + /** + * Set UserId + * + * @param string $userId + * @return $this + */ + public function setUserId($userId) + { + $this->values['UserId'] = $userId; + return $this; + } + + /** + * Set Password + * + * @param string $password + * @return $this + */ + public function setPassword($password) + { + $this->values['Password'] = $password; + return $this; + } + + /** + * Set UniqueUserId + * + * @param string $uniqueUserId + * @return $this + */ + public function setUniqueUserId($uniqueUserId) + { + $this->values['UniqueUserId'] = $uniqueUserId; + return $this; + } +} diff --git a/src/FedEx/PickupService/ComplexType/VariationOptionDetail.php b/src/FedEx/PickupService/ComplexType/VariationOptionDetail.php new file mode 100644 index 00000000..dd644588 --- /dev/null +++ b/src/FedEx/PickupService/ComplexType/VariationOptionDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + * + * @property string $Id + * @property string[] $Values + + */ +class VariationOptionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'VariationOptionDetail'; + + /** + * Specifies the name or the key for the variation. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Specifies a set of values associated with this id that parameterize the variation. + * + * @param string $values + * @return $this + */ + public function setValues($values) + { + $this->values['Values'] = $values; + return $this; + } +} diff --git a/src/FedEx/PickupService/Request.php b/src/FedEx/PickupService/Request.php index fd9076a8..e8371cab 100644 --- a/src/FedEx/PickupService/Request.php +++ b/src/FedEx/PickupService/Request.php @@ -15,7 +15,7 @@ class Request extends AbstractRequest const PRODUCTION_URL = 'https://ws.fedex.com:443/web-services/pickup'; const TESTING_URL = 'https://wsbeta.fedex.com:443/web-services/pickup'; - protected static $wsdlFileName = 'PickupService_v22.wsdl'; + protected static $wsdlFileName = 'PickupService_v23.wsdl'; /** * Sends the PickupAvailabilityRequest and returns the response @@ -55,6 +55,44 @@ public function getCreatePickupReply(ComplexType\CreatePickupRequest $createPick return $createPickupReply; } + /** + * Sends the PickupHistorySummaryRequest and returns the response + * + * @param ComplexType\PickupHistorySummaryRequest $pickupHistorySummaryRequest + * @param bool $returnStdClass Return the $stdClass response directly from \SoapClient + * @return ComplexType\PickupHistorySummaryReply|stdClass + */ + public function getPickupHistorySummaryReply(ComplexType\PickupHistorySummaryRequest $pickupHistorySummaryRequest, $returnStdClass = false) + { + $response = $this->getSoapClient()->pickupHistorySummary($pickupHistorySummaryRequest->toArray()); + if ($returnStdClass) { + return $response; + } + + $pickupHistorySummaryReply = new ComplexType\PickupHistorySummaryReply; + $pickupHistorySummaryReply->populateFromStdClass($response); + return $pickupHistorySummaryReply; + } + + /** + * Sends the UpdatePickupRequest and returns the response + * + * @param ComplexType\UpdatePickupRequest $updatePickupRequest + * @param bool $returnStdClass Return the $stdClass response directly from \SoapClient + * @return ComplexType\UpdatePickupReply|stdClass + */ + public function getUpdatePickupReply(ComplexType\UpdatePickupRequest $updatePickupRequest, $returnStdClass = false) + { + $response = $this->getSoapClient()->updatePickup($updatePickupRequest->toArray()); + if ($returnStdClass) { + return $response; + } + + $updatePickupReply = new ComplexType\UpdatePickupReply; + $updatePickupReply->populateFromStdClass($response); + return $updatePickupReply; + } + /** * Sends the CancelPickupRequest and returns the response * @@ -73,4 +111,23 @@ public function getCancelPickupReply(ComplexType\CancelPickupRequest $cancelPick $cancelPickupReply->populateFromStdClass($response); return $cancelPickupReply; } + + /** + * Sends the PickupHistoryDetailRequest and returns the response + * + * @param ComplexType\PickupHistoryDetailRequest $pickupHistoryDetailRequest + * @param bool $returnStdClass Return the $stdClass response directly from \SoapClient + * @return ComplexType\PickupHistoryDetailReply|stdClass + */ + public function getGetPickupHistoryDetailReply(ComplexType\PickupHistoryDetailRequest $pickupHistoryDetailRequest, $returnStdClass = false) + { + $response = $this->getSoapClient()->getPickupHistoryDetail($pickupHistoryDetailRequest->toArray()); + if ($returnStdClass) { + return $response; + } + + $pickupHistoryDetailReply = new ComplexType\PickupHistoryDetailReply; + $pickupHistoryDetailReply->populateFromStdClass($response); + return $pickupHistoryDetailReply; + } } diff --git a/src/FedEx/PickupService/SimpleType/AutoConfigurationType.php b/src/FedEx/PickupService/SimpleType/AutoConfigurationType.php new file mode 100644 index 00000000..23efc7e8 --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/AutoConfigurationType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class AutoConfigurationType extends AbstractSimpleType +{ + const _ENTERPRISE = 'ENTERPRISE'; + const _SHIPPING_SERVICE_PROVIDER = 'SHIPPING_SERVICE_PROVIDER'; + const _SOFTWARE_ONLY = 'SOFTWARE_ONLY'; + const _TRADITIONAL = 'TRADITIONAL'; +} diff --git a/src/FedEx/PickupService/SimpleType/CreatePickupRequestProcessingOptionType.php b/src/FedEx/PickupService/SimpleType/CreatePickupRequestProcessingOptionType.php new file mode 100644 index 00000000..cf64715c --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/CreatePickupRequestProcessingOptionType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class CreatePickupRequestProcessingOptionType extends AbstractSimpleType +{ + const _ALLOW_RESTRICTIONS_WITH_EXCEPTIONS = 'ALLOW_RESTRICTIONS_WITH_EXCEPTIONS'; + const _INELIGIBLE_FOR_HOME_DELIVERY = 'INELIGIBLE_FOR_HOME_DELIVERY'; + const _ON_CALL_PICKUP = 'ON_CALL_PICKUP'; + const _PACKAGE_RETURN_PROGRAM = 'PACKAGE_RETURN_PROGRAM'; + const _PICKUP_FOR_RETURN = 'PICKUP_FOR_RETURN'; +} diff --git a/src/FedEx/PickupService/SimpleType/CustomerReferenceType.php b/src/FedEx/PickupService/SimpleType/CustomerReferenceType.php new file mode 100644 index 00000000..ebc7ad35 --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/CustomerReferenceType.php @@ -0,0 +1,26 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class CustomerReferenceType extends AbstractSimpleType +{ + const _BILL_OF_LADING = 'BILL_OF_LADING'; + const _CUSTOMER_REFERENCE = 'CUSTOMER_REFERENCE'; + const _DEPARTMENT_NUMBER = 'DEPARTMENT_NUMBER'; + const _ELECTRONIC_PRODUCT_CODE = 'ELECTRONIC_PRODUCT_CODE'; + const _INTRACOUNTRY_REGULATORY_REFERENCE = 'INTRACOUNTRY_REGULATORY_REFERENCE'; + const _INVOICE_NUMBER = 'INVOICE_NUMBER'; + const _PACKING_SLIP_NUMBER = 'PACKING_SLIP_NUMBER'; + const _P_O_NUMBER = 'P_O_NUMBER'; + const _RMA_ASSOCIATION = 'RMA_ASSOCIATION'; + const _SHIPMENT_INTEGRITY = 'SHIPMENT_INTEGRITY'; + const _STORE_NUMBER = 'STORE_NUMBER'; +} diff --git a/src/FedEx/PickupService/SimpleType/EPaymentModeType.php b/src/FedEx/PickupService/SimpleType/EPaymentModeType.php new file mode 100644 index 00000000..a4d832b2 --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/EPaymentModeType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class EPaymentModeType extends AbstractSimpleType +{ + const _APPLE_PAY = 'APPLE_PAY'; + const _CASH = 'CASH'; + const _CHECK = 'CHECK'; + const _CREDIT_CARD = 'CREDIT_CARD'; + const _GOOGLE_PAY = 'GOOGLE_PAY'; + const _PAYPAL = 'PAYPAL'; +} diff --git a/src/FedEx/PickupService/SimpleType/EPaymentProcessorType.php b/src/FedEx/PickupService/SimpleType/EPaymentProcessorType.php new file mode 100644 index 00000000..4763d398 --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/EPaymentProcessorType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class EPaymentProcessorType extends AbstractSimpleType +{ + const _RETAIL_SINGLE_POINT_OF_SALE = 'RETAIL_SINGLE_POINT_OF_SALE'; +} diff --git a/src/FedEx/PickupService/SimpleType/EnterprisePermissionType.php b/src/FedEx/PickupService/SimpleType/EnterprisePermissionType.php new file mode 100644 index 00000000..ca28daa5 --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/EnterprisePermissionType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class EnterprisePermissionType extends AbstractSimpleType +{ + const _ALLOWED = 'ALLOWED'; + const _ALLOWED_BY_EXCEPTION = 'ALLOWED_BY_EXCEPTION'; + const _DISALLOWED = 'DISALLOWED'; +} diff --git a/src/FedEx/PickupService/SimpleType/FedExLocationType.php b/src/FedEx/PickupService/SimpleType/FedExLocationType.php index 5a30403d..8403865f 100644 --- a/src/FedEx/PickupService/SimpleType/FedExLocationType.php +++ b/src/FedEx/PickupService/SimpleType/FedExLocationType.php @@ -19,7 +19,9 @@ class FedExLocationType extends AbstractSimpleType const _FEDEX_GROUND_TERMINAL = 'FEDEX_GROUND_TERMINAL'; const _FEDEX_HOME_DELIVERY_STATION = 'FEDEX_HOME_DELIVERY_STATION'; const _FEDEX_OFFICE = 'FEDEX_OFFICE'; + const _FEDEX_ONSITE = 'FEDEX_ONSITE'; const _FEDEX_SELF_SERVICE_LOCATION = 'FEDEX_SELF_SERVICE_LOCATION'; const _FEDEX_SHIPSITE = 'FEDEX_SHIPSITE'; + const _FEDEX_SHIP_AND_GET = 'FEDEX_SHIP_AND_GET'; const _FEDEX_SMART_POST_HUB = 'FEDEX_SMART_POST_HUB'; } diff --git a/src/FedEx/PickupService/SimpleType/PaymentType.php b/src/FedEx/PickupService/SimpleType/PaymentType.php index 77f63ade..fa4835f3 100644 --- a/src/FedEx/PickupService/SimpleType/PaymentType.php +++ b/src/FedEx/PickupService/SimpleType/PaymentType.php @@ -16,6 +16,7 @@ class PaymentType extends AbstractSimpleType const _CASH = 'CASH'; const _COLLECT = 'COLLECT'; const _CREDIT_CARD = 'CREDIT_CARD'; + const _EPAYMENT = 'EPAYMENT'; const _RECIPIENT = 'RECIPIENT'; const _SENDER = 'SENDER'; const _THIRD_PARTY = 'THIRD_PARTY'; diff --git a/src/FedEx/PickupService/SimpleType/PickupExceptionType.php b/src/FedEx/PickupService/SimpleType/PickupExceptionType.php new file mode 100644 index 00000000..a96ef741 --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/PickupExceptionType.php @@ -0,0 +1,69 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class PickupExceptionType extends AbstractSimpleType +{ + const _ATTEMPTED_AFTER_CLOSE_TIME = 'ATTEMPTED_AFTER_CLOSE_TIME'; + const _ATTEMPTED_OUT_OF_WINDOW = 'ATTEMPTED_OUT_OF_WINDOW'; + const _BUSINESS_CLOSED = 'BUSINESS_CLOSED'; + const _BUSINESS_ON_STRIKE = 'BUSINESS_ON_STRIKE'; + const _CITY_NOT_IN_SERVICE_AREA = 'CITY_NOT_IN_SERVICE_AREA'; + const _COMAIL_STOP = 'COMAIL_STOP'; + const _COMMODITY_UNACCEPTABLE = 'COMMODITY_UNACCEPTABLE'; + const _CORRECTIVE_PICKUP = 'CORRECTIVE_PICKUP'; + const _COURIER_ATTEMPTED_PACKAGE_LEFT_BEHIND = 'COURIER_ATTEMPTED_PACKAGE_LEFT_BEHIND'; + const _CUSTOMER_DELAY = 'CUSTOMER_DELAY'; + const _CUSTOMER_DID_NOT_WAIT = 'CUSTOMER_DID_NOT_WAIT'; + const _CUSTOMER_NOT_AT_PICKUP_LOCATION = 'CUSTOMER_NOT_AT_PICKUP_LOCATION'; + const _CUSTOMER_SECURITY_DELAY = 'CUSTOMER_SECURITY_DELAY'; + const _EXCEED_SERVICE_LIMITS = 'EXCEED_SERVICE_LIMITS'; + const _FUTURE_DELIVERY_REQUESTED = 'FUTURE_DELIVERY_REQUESTED'; + const _HAZARD_TO_COURIER = 'HAZARD_TO_COURIER'; + const _HAZMAT_PICKUP_NOT_COMPLETED = 'HAZMAT_PICKUP_NOT_COMPLETED'; + const _INCORRECT_ADDRESS = 'INCORRECT_ADDRESS'; + const _INCORRECT_PICKUP_INFORMATION = 'INCORRECT_PICKUP_INFORMATION'; + const _INCORRECT_ROUTE = 'INCORRECT_ROUTE'; + const _INTERLINE_PICKUP = 'INTERLINE_PICKUP'; + const _LOCAL_EVENT = 'LOCAL_EVENT'; + const _MASS_PICKUP_SCAN = 'MASS_PICKUP_SCAN'; + const _MASS_ROUTING_SCAN = 'MASS_ROUTING_SCAN'; + const _MISSING_REGULATORY_PAPERWORK = 'MISSING_REGULATORY_PAPERWORK'; + const _MULTIPLE_PICKUPS_SCHEDULED = 'MULTIPLE_PICKUPS_SCHEDULED'; + const _NO_CREDIT_APPROVAL_BULK_SHIPMENT = 'NO_CREDIT_APPROVAL_BULK_SHIPMENT'; + const _NO_PACKAGE = 'NO_PACKAGE'; + const _NO_PICKUP_ATTEMPT_MADE = 'NO_PICKUP_ATTEMPT_MADE'; + const _OTHER = 'OTHER'; + const _PACKAGE_ALREADY_TENDERED = 'PACKAGE_ALREADY_TENDERED'; + const _PACKAGE_MOVEMENT_NOT_SUPPORTED = 'PACKAGE_MOVEMENT_NOT_SUPPORTED'; + const _PACKAGE_RECEIVED_AFTER_SHUTTLE_DEPARTED = 'PACKAGE_RECEIVED_AFTER_SHUTTLE_DEPARTED'; + const _PACKAGE_RETRIEVAL = 'PACKAGE_RETRIEVAL'; + const _PACKAGE_TENDERED_TO_OTHER_CARRIER = 'PACKAGE_TENDERED_TO_OTHER_CARRIER'; + const _PACKAGE_TENDERED_TO_OTHER_FEDEX_CARRIER = 'PACKAGE_TENDERED_TO_OTHER_FEDEX_CARRIER'; + const _PACKAGE_TRANSFERRED_TO_OTHER_CARRIER = 'PACKAGE_TRANSFERRED_TO_OTHER_CARRIER'; + const _PAYMENT_RECEIVED = 'PAYMENT_RECEIVED'; + const _PICKUP_CANCELLED = 'PICKUP_CANCELLED'; + const _PICKUP_NOT_READY = 'PICKUP_NOT_READY'; + const _PICKUP_ORIGIN_HOLIDAY = 'PICKUP_ORIGIN_HOLIDAY'; + const _PICKUP_SUSPENDED = 'PICKUP_SUSPENDED'; + const _PICKUP_TYPE_RESTRICTED = 'PICKUP_TYPE_RESTRICTED'; + const _PICKUP_UPON_DELIVERY = 'PICKUP_UPON_DELIVERY'; + const _PREROUTED_METER_PACKAGE = 'PREROUTED_METER_PACKAGE'; + const _REROUTED = 'REROUTED'; + const _SCHEDULED_PAST_CUTOFF = 'SCHEDULED_PAST_CUTOFF'; + const _SYSTEM_OUTAGE_NO_PICKUP = 'SYSTEM_OUTAGE_NO_PICKUP'; + const _TENDERED_BY_CARTAGE_AGENT = 'TENDERED_BY_CARTAGE_AGENT'; + const _THIRD_PARTY_CALL_IN = 'THIRD_PARTY_CALL_IN'; + const _UNABLE_TO_COLLECT_PAYMENT = 'UNABLE_TO_COLLECT_PAYMENT'; + const _UNABLE_TO_SCAN_PACKAGE = 'UNABLE_TO_SCAN_PACKAGE'; + const _UNEXPECTED_DELAY = 'UNEXPECTED_DELAY'; + const _WEATHER_DELAY = 'WEATHER_DELAY'; +} diff --git a/src/FedEx/PickupService/SimpleType/PickupLookupConditionType.php b/src/FedEx/PickupService/SimpleType/PickupLookupConditionType.php new file mode 100644 index 00000000..46b6ff1d --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/PickupLookupConditionType.php @@ -0,0 +1,25 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class PickupLookupConditionType extends AbstractSimpleType +{ + const _ACCOUNT_NUMBER = 'ACCOUNT_NUMBER'; + const _BEGIN_DATE = 'BEGIN_DATE'; + const _COMPANY_NAME = 'COMPANY_NAME'; + const _COUNTRY_CODE = 'COUNTRY_CODE'; + const _COUNTRY_RELATIONSHIP = 'COUNTRY_RELATIONSHIP'; + const _END_DATE = 'END_DATE'; + const _INTERNAL_SYSTEM_TYPE = 'INTERNAL_SYSTEM_TYPE'; + const _PICKUP_LOCATION_ID = 'PICKUP_LOCATION_ID'; + const _POSTAL_CODE = 'POSTAL_CODE'; + const _SERVICE_TYPE = 'SERVICE_TYPE'; +} diff --git a/src/FedEx/PickupService/SimpleType/PickupServiceLevelType.php b/src/FedEx/PickupService/SimpleType/PickupServiceLevelType.php new file mode 100644 index 00000000..6db6163e --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/PickupServiceLevelType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class PickupServiceLevelType extends AbstractSimpleType +{ + const _EXTERNAL_EDITS = 'EXTERNAL_EDITS'; + const _INTERNAL_EDITS = 'INTERNAL_EDITS'; + const _IVRS_EDITS = 'IVRS_EDITS'; + const _IVR_WITH_BIOMETRIC_AUTHENTICATION = 'IVR_WITH_BIOMETRIC_AUTHENTICATION'; + const _TAG_EDITS = 'TAG_EDITS'; + const _TRUSTED_PROXY = 'TRUSTED_PROXY'; +} diff --git a/src/FedEx/PickupService/SimpleType/PickupStatusType.php b/src/FedEx/PickupService/SimpleType/PickupStatusType.php new file mode 100644 index 00000000..0eba83ae --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/PickupStatusType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class PickupStatusType extends AbstractSimpleType +{ + const _CANCELLED = 'CANCELLED'; + const _COMPLETED = 'COMPLETED'; + const _OPEN = 'OPEN'; +} diff --git a/src/FedEx/PickupService/SimpleType/PickupType.php b/src/FedEx/PickupService/SimpleType/PickupType.php index 3b75e8c4..3180efd0 100644 --- a/src/FedEx/PickupService/SimpleType/PickupType.php +++ b/src/FedEx/PickupService/SimpleType/PickupType.php @@ -13,6 +13,8 @@ class PickupType extends AbstractSimpleType { const _ON_CALL = 'ON_CALL'; + const _PACKAGE_RETURN_PROGRAM = 'PACKAGE_RETURN_PROGRAM'; + const _REGULAR_STOP = 'REGULAR_STOP'; const _REGULAR_STOP_WITH_AUTO_CANCEL = 'REGULAR_STOP_WITH_AUTO_CANCEL'; const _TAG = 'TAG'; } diff --git a/src/FedEx/PickupService/SimpleType/RecommendedDocumentType.php b/src/FedEx/PickupService/SimpleType/RecommendedDocumentType.php index f5901d8d..33752f7b 100644 --- a/src/FedEx/PickupService/SimpleType/RecommendedDocumentType.php +++ b/src/FedEx/PickupService/SimpleType/RecommendedDocumentType.php @@ -25,10 +25,6 @@ class RecommendedDocumentType extends AbstractSimpleType const _ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET = 'ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET'; const _FILM_AND_VIDEO_CERTIFICATE = 'FILM_AND_VIDEO_CERTIFICATE'; const _INTERIM_FOOTWEAR_INVOICE = 'INTERIM_FOOTWEAR_INVOICE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH = 'NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH = 'NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH = 'NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES = 'NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES'; const _PACKING_LIST = 'PACKING_LIST'; const _PRINTED_CIRCUIT_BOARD_WORKSHEET = 'PRINTED_CIRCUIT_BOARD_WORKSHEET'; const _REPAIRED_WATCH_BREAKOUT_WORKSHEET = 'REPAIRED_WATCH_BREAKOUT_WORKSHEET'; @@ -38,4 +34,10 @@ class RecommendedDocumentType extends AbstractSimpleType const _UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES = 'UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES'; const _UNITED_STATES_NEW_WATCH_WORKSHEET = 'UNITED_STATES_NEW_WATCH_WORKSHEET'; const _UNITED_STATES_WATCH_REPAIR_DECLARATION = 'UNITED_STATES_WATCH_REPAIR_DECLARATION'; + const _USMCA_CERTIFICATION_OF_ORIGIN_ENGLISH = 'USMCA_CERTIFICATION_OF_ORIGIN_ENGLISH'; + const _USMCA_CERTIFICATION_OF_ORIGIN_FRENCH = 'USMCA_CERTIFICATION_OF_ORIGIN_FRENCH'; + const _USMCA_CERTIFICATION_OF_ORIGIN_SPANISH = 'USMCA_CERTIFICATION_OF_ORIGIN_SPANISH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_ENGLISH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_ENGLISH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_FRENCH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_FRENCH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_SPANISH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_SPANISH'; } diff --git a/src/FedEx/PickupService/SimpleType/RequestedShippingDocumentType.php b/src/FedEx/PickupService/SimpleType/RequestedShippingDocumentType.php index 35aebbad..b600d706 100644 --- a/src/FedEx/PickupService/SimpleType/RequestedShippingDocumentType.php +++ b/src/FedEx/PickupService/SimpleType/RequestedShippingDocumentType.php @@ -22,9 +22,10 @@ class RequestedShippingDocumentType extends AbstractSimpleType const _FREIGHT_ADDRESS_LABEL = 'FREIGHT_ADDRESS_LABEL'; const _GENERAL_AGENCY_AGREEMENT = 'GENERAL_AGENCY_AGREEMENT'; const _LABEL = 'LABEL'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _OP_900 = 'OP_900'; const _PENDING_SHIPMENT_EMAIL_NOTIFICATION = 'PENDING_SHIPMENT_EMAIL_NOTIFICATION'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; const _RETURN_INSTRUCTIONS = 'RETURN_INSTRUCTIONS'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; } diff --git a/src/FedEx/PickupService/SimpleType/RestrictionsAndPrivilegesPolicyExceptionType.php b/src/FedEx/PickupService/SimpleType/RestrictionsAndPrivilegesPolicyExceptionType.php new file mode 100644 index 00000000..ea5ba351 --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/RestrictionsAndPrivilegesPolicyExceptionType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class RestrictionsAndPrivilegesPolicyExceptionType extends AbstractSimpleType +{ + const _POLICIES_NOT_FOUND = 'POLICIES_NOT_FOUND'; + const _SERVICE_UNAVAILABLE = 'SERVICE_UNAVAILABLE'; +} diff --git a/src/FedEx/PickupService/SimpleType/SignatureOptionType.php b/src/FedEx/PickupService/SimpleType/SignatureOptionType.php new file mode 100644 index 00000000..59953f1e --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/SignatureOptionType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class SignatureOptionType extends AbstractSimpleType +{ + const _ADULT = 'ADULT'; + const _DIRECT = 'DIRECT'; + const _INDIRECT = 'INDIRECT'; + const _NO_SIGNATURE_REQUIRED = 'NO_SIGNATURE_REQUIRED'; + const _SERVICE_DEFAULT = 'SERVICE_DEFAULT'; +} diff --git a/src/FedEx/PickupService/SimpleType/TrackingIdType.php b/src/FedEx/PickupService/SimpleType/TrackingIdType.php index 9fbd6374..c99a7989 100644 --- a/src/FedEx/PickupService/SimpleType/TrackingIdType.php +++ b/src/FedEx/PickupService/SimpleType/TrackingIdType.php @@ -16,5 +16,7 @@ class TrackingIdType extends AbstractSimpleType const _FEDEX = 'FEDEX'; const _FREIGHT = 'FREIGHT'; const _GROUND = 'GROUND'; + const _INTERNAL = 'INTERNAL'; + const _UNKNOWN = 'UNKNOWN'; const _USPS = 'USPS'; } diff --git a/src/FedEx/PickupService/SimpleType/TransactionSourceFormat.php b/src/FedEx/PickupService/SimpleType/TransactionSourceFormat.php new file mode 100644 index 00000000..9499152b --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/TransactionSourceFormat.php @@ -0,0 +1,22 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class TransactionSourceFormat extends AbstractSimpleType +{ + const _API_CTS = 'API_CTS'; + const _API_XML = 'API_XML'; + const _DIRECT = 'DIRECT'; + const _DIRECT_XML = 'DIRECT_XML'; + const _FXRS_CTS = 'FXRS_CTS'; + const _UNKNOWN = 'UNKNOWN'; + const _WSI_XML = 'WSI_XML'; +} diff --git a/src/FedEx/PickupService/SimpleType/UpdatePickupRequestProcessingOptionType.php b/src/FedEx/PickupService/SimpleType/UpdatePickupRequestProcessingOptionType.php new file mode 100644 index 00000000..0acb18fc --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/UpdatePickupRequestProcessingOptionType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class UpdatePickupRequestProcessingOptionType extends AbstractSimpleType +{ + const _OVERRIDE_CUTOFF = 'OVERRIDE_CUTOFF'; + const _REACTIVATE_CANCELLED_PICKUP = 'REACTIVATE_CANCELLED_PICKUP'; +} diff --git a/src/FedEx/PickupService/SimpleType/UploadDocumentType.php b/src/FedEx/PickupService/SimpleType/UploadDocumentType.php index 792c4e9f..c3854488 100644 --- a/src/FedEx/PickupService/SimpleType/UploadDocumentType.php +++ b/src/FedEx/PickupService/SimpleType/UploadDocumentType.php @@ -15,8 +15,9 @@ class UploadDocumentType extends AbstractSimpleType const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; const _ETD_LABEL = 'ETD_LABEL'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _NET_RATE_SHEET = 'NET_RATE_SHEET'; const _OTHER = 'OTHER'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; } diff --git a/src/FedEx/PickupService/SimpleType/WebServiceEnvironment.php b/src/FedEx/PickupService/SimpleType/WebServiceEnvironment.php new file mode 100644 index 00000000..67d0dd47 --- /dev/null +++ b/src/FedEx/PickupService/SimpleType/WebServiceEnvironment.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Pickup Service + */ +class WebServiceEnvironment extends AbstractSimpleType +{ + const _PRODUCTION = 'PRODUCTION'; + const _TEST = 'TEST'; +} diff --git a/src/FedEx/RateService/ComplexType/Commodity.php b/src/FedEx/RateService/ComplexType/Commodity.php index f4988240..2190ed57 100644 --- a/src/FedEx/RateService/ComplexType/Commodity.php +++ b/src/FedEx/RateService/ComplexType/Commodity.php @@ -27,7 +27,7 @@ * @property string $ExportLicenseExpirationDate * @property string $CIMarksAndNumbers * @property string $PartNumber - * @property NaftaCommodityDetail $NaftaDetail + * @property UsmcaCommodityDetail $UsmcaDetail */ class Commodity extends AbstractComplexType @@ -244,14 +244,14 @@ public function setPartNumber($partNumber) } /** - * All data required for this commodity in NAFTA Certificate of Origin. + * Set UsmcaDetail * - * @param NaftaCommodityDetail $naftaDetail + * @param UsmcaCommodityDetail $usmcaDetail * @return $this */ - public function setNaftaDetail(NaftaCommodityDetail $naftaDetail) + public function setUsmcaDetail(UsmcaCommodityDetail $usmcaDetail) { - $this->values['NaftaDetail'] = $naftaDetail; + $this->values['UsmcaDetail'] = $usmcaDetail; return $this; } } diff --git a/src/FedEx/RateService/ComplexType/EPaymentDetail.php b/src/FedEx/RateService/ComplexType/EPaymentDetail.php new file mode 100644 index 00000000..cc9980ef --- /dev/null +++ b/src/FedEx/RateService/ComplexType/EPaymentDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Rate Service + * + * @property string $Id + * @property \FedEx\RateService\SimpleType\EPaymentProcessorType|string $EPaymentProcessor + * @property \FedEx\RateService\SimpleType\EPaymentModeType|string $EPaymentMode + * @property string $MaskedCreditCard + * @property string $CreditCardExpirationDate + * @property Money $Amount + + */ +class EPaymentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EPaymentDetail'; + + /** + * Set Id + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Set EPaymentProcessor + * + * @param \FedEx\RateService\SimpleType\EPaymentProcessorType|string $ePaymentProcessor + * @return $this + */ + public function setEPaymentProcessor($ePaymentProcessor) + { + $this->values['EPaymentProcessor'] = $ePaymentProcessor; + return $this; + } + + /** + * Set EPaymentMode + * + * @param \FedEx\RateService\SimpleType\EPaymentModeType|string $ePaymentMode + * @return $this + */ + public function setEPaymentMode($ePaymentMode) + { + $this->values['EPaymentMode'] = $ePaymentMode; + return $this; + } + + /** + * Set MaskedCreditCard + * + * @param string $maskedCreditCard + * @return $this + */ + public function setMaskedCreditCard($maskedCreditCard) + { + $this->values['MaskedCreditCard'] = $maskedCreditCard; + return $this; + } + + /** + * Set CreditCardExpirationDate + * + * @param string $creditCardExpirationDate + * @return $this + */ + public function setCreditCardExpirationDate($creditCardExpirationDate) + { + $this->values['CreditCardExpirationDate'] = $creditCardExpirationDate; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/RateService/ComplexType/Payment.php b/src/FedEx/RateService/ComplexType/Payment.php index f49c2412..7b372a3f 100644 --- a/src/FedEx/RateService/ComplexType/Payment.php +++ b/src/FedEx/RateService/ComplexType/Payment.php @@ -12,6 +12,7 @@ * * @property \FedEx\RateService\SimpleType\PaymentType|string $PaymentType * @property Payor $Payor + * @property EPaymentDetail $EPaymentDetail */ class Payment extends AbstractComplexType @@ -46,4 +47,16 @@ public function setPayor(Payor $payor) $this->values['Payor'] = $payor; return $this; } + + /** + * FOR FEDEX INTERNAL USE ONLY + * + * @param EPaymentDetail $ePaymentDetail + * @return $this + */ + public function setEPaymentDetail(EPaymentDetail $ePaymentDetail) + { + $this->values['EPaymentDetail'] = $ePaymentDetail; + return $this; + } } diff --git a/src/FedEx/RateService/ComplexType/ShippingDocumentFormat.php b/src/FedEx/RateService/ComplexType/ShippingDocumentFormat.php index 89b07472..45ff19d2 100644 --- a/src/FedEx/RateService/ComplexType/ShippingDocumentFormat.php +++ b/src/FedEx/RateService/ComplexType/ShippingDocumentFormat.php @@ -77,7 +77,7 @@ public function setStockType($stockType) } /** - * For those shipping document types which have both a "form" and "instructions" component (e.g. NAFTA Certificate of Origin and General Agency Agreement), this field indicates whether to provide the instructions. + * For those shipping document types which have both a "form" and "instructions" component (e.g. General Agency Agreement), this field indicates whether to provide the instructions. * * @param boolean $provideInstructions * @return $this diff --git a/src/FedEx/RateService/ComplexType/ShippingDocumentSpecification.php b/src/FedEx/RateService/ComplexType/ShippingDocumentSpecification.php index 773687ea..37ae46dc 100644 --- a/src/FedEx/RateService/ComplexType/ShippingDocumentSpecification.php +++ b/src/FedEx/RateService/ComplexType/ShippingDocumentSpecification.php @@ -13,11 +13,12 @@ * @property \FedEx\RateService\SimpleType\RequestedShippingDocumentType|string[] $ShippingDocumentTypes * @property CertificateOfOriginDetail $CertificateOfOrigin * @property CommercialInvoiceDetail $CommercialInvoiceDetail + * @property UsmcaCommercialInvoiceCertificationOfOriginDetail $UsmcaCommercialInvoiceCertificationOfOriginDetail * @property CustomDocumentDetail[] $CustomPackageDocumentDetail * @property CustomDocumentDetail[] $CustomShipmentDocumentDetail * @property ExportDeclarationDetail $ExportDeclarationDetail * @property GeneralAgencyAgreementDetail $GeneralAgencyAgreementDetail - * @property NaftaCertificateOfOriginDetail $NaftaCertificateOfOriginDetail + * @property UsmcaCertificationOfOriginDetail $UsmcaCertificationOfOriginDetail * @property Op900Detail $Op900Detail * @property DangerousGoodsShippersDeclarationDetail $DangerousGoodsShippersDeclarationDetail * @property FreightAddressLabelDetail $FreightAddressLabelDetail @@ -69,6 +70,18 @@ public function setCommercialInvoiceDetail(CommercialInvoiceDetail $commercialIn return $this; } + /** + * Set UsmcaCommercialInvoiceCertificationOfOriginDetail + * + * @param UsmcaCommercialInvoiceCertificationOfOriginDetail $usmcaCommercialInvoiceCertificationOfOriginDetail + * @return $this + */ + public function setUsmcaCommercialInvoiceCertificationOfOriginDetail(UsmcaCommercialInvoiceCertificationOfOriginDetail $usmcaCommercialInvoiceCertificationOfOriginDetail) + { + $this->values['UsmcaCommercialInvoiceCertificationOfOriginDetail'] = $usmcaCommercialInvoiceCertificationOfOriginDetail; + return $this; + } + /** * Specifies the production of each package-level custom document (the same specification is used for all packages). * @@ -118,14 +131,14 @@ public function setGeneralAgencyAgreementDetail(GeneralAgencyAgreementDetail $ge } /** - * Set NaftaCertificateOfOriginDetail + * Set UsmcaCertificationOfOriginDetail * - * @param NaftaCertificateOfOriginDetail $naftaCertificateOfOriginDetail + * @param UsmcaCertificationOfOriginDetail $usmcaCertificationOfOriginDetail * @return $this */ - public function setNaftaCertificateOfOriginDetail(NaftaCertificateOfOriginDetail $naftaCertificateOfOriginDetail) + public function setUsmcaCertificationOfOriginDetail(UsmcaCertificationOfOriginDetail $usmcaCertificationOfOriginDetail) { - $this->values['NaftaCertificateOfOriginDetail'] = $naftaCertificateOfOriginDetail; + $this->values['UsmcaCertificationOfOriginDetail'] = $usmcaCertificationOfOriginDetail; return $this; } diff --git a/src/FedEx/RateService/ComplexType/UsmcaCertificationOfOriginDetail.php b/src/FedEx/RateService/ComplexType/UsmcaCertificationOfOriginDetail.php new file mode 100644 index 00000000..0fef559b --- /dev/null +++ b/src/FedEx/RateService/ComplexType/UsmcaCertificationOfOriginDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Rate Service + * + * @property ShippingDocumentFormat $Format + * @property DateRange $BlanketPeriod + * @property \FedEx\RateService\SimpleType\UsmcaCertifierSpecificationType|string $CertifierSpecification + * @property \FedEx\RateService\SimpleType\UsmcaImporterSpecificationType|string $ImporterSpecification + * @property \FedEx\RateService\SimpleType\UsmcaProducerSpecificationType|string $ProducerSpecification + * @property Party $Producer + * @property CustomerImageUsage[] $CustomerImageUsages + + */ +class UsmcaCertificationOfOriginDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCertificationOfOriginDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set BlanketPeriod + * + * @param DateRange $blanketPeriod + * @return $this + */ + public function setBlanketPeriod(DateRange $blanketPeriod) + { + $this->values['BlanketPeriod'] = $blanketPeriod; + return $this; + } + + /** + * Set CertifierSpecification + * + * @param \FedEx\RateService\SimpleType\UsmcaCertifierSpecificationType|string $certifierSpecification + * @return $this + */ + public function setCertifierSpecification($certifierSpecification) + { + $this->values['CertifierSpecification'] = $certifierSpecification; + return $this; + } + + /** + * Set ImporterSpecification + * + * @param \FedEx\RateService\SimpleType\UsmcaImporterSpecificationType|string $importerSpecification + * @return $this + */ + public function setImporterSpecification($importerSpecification) + { + $this->values['ImporterSpecification'] = $importerSpecification; + return $this; + } + + /** + * Set ProducerSpecification + * + * @param \FedEx\RateService\SimpleType\UsmcaProducerSpecificationType|string $producerSpecification + * @return $this + */ + public function setProducerSpecification($producerSpecification) + { + $this->values['ProducerSpecification'] = $producerSpecification; + return $this; + } + + /** + * Set Producer + * + * @param Party $producer + * @return $this + */ + public function setProducer(Party $producer) + { + $this->values['Producer'] = $producer; + return $this; + } + + /** + * Set CustomerImageUsages + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } +} diff --git a/src/FedEx/RateService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php b/src/FedEx/RateService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php new file mode 100644 index 00000000..16c2f6f0 --- /dev/null +++ b/src/FedEx/RateService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Rate Service + * + * @property ShippingDocumentFormat $Format + * @property CustomerImageUsage[] $CustomerImageUsages + * @property string $FormVersion + * @property \FedEx\RateService\SimpleType\UsmcaCertifierSpecificationType|string $CertifierSpecification + * @property \FedEx\RateService\SimpleType\UsmcaProducerSpecificationType|string $ProducerSpecification + * @property Party $Producer + + */ +class UsmcaCommercialInvoiceCertificationOfOriginDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCommercialInvoiceCertificationOfOriginDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set CustomerImageUsages + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } + + /** + * Set FormVersion + * + * @param string $formVersion + * @return $this + */ + public function setFormVersion($formVersion) + { + $this->values['FormVersion'] = $formVersion; + return $this; + } + + /** + * Set CertifierSpecification + * + * @param \FedEx\RateService\SimpleType\UsmcaCertifierSpecificationType|string $certifierSpecification + * @return $this + */ + public function setCertifierSpecification($certifierSpecification) + { + $this->values['CertifierSpecification'] = $certifierSpecification; + return $this; + } + + /** + * Set ProducerSpecification + * + * @param \FedEx\RateService\SimpleType\UsmcaProducerSpecificationType|string $producerSpecification + * @return $this + */ + public function setProducerSpecification($producerSpecification) + { + $this->values['ProducerSpecification'] = $producerSpecification; + return $this; + } + + /** + * Set Producer + * + * @param Party $producer + * @return $this + */ + public function setProducer(Party $producer) + { + $this->values['Producer'] = $producer; + return $this; + } +} diff --git a/src/FedEx/RateService/ComplexType/UsmcaCommodityDetail.php b/src/FedEx/RateService/ComplexType/UsmcaCommodityDetail.php new file mode 100644 index 00000000..39b60490 --- /dev/null +++ b/src/FedEx/RateService/ComplexType/UsmcaCommodityDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Rate Service + * + * @property \FedEx\RateService\SimpleType\UsmcaOriginCriterionCode|string $OriginCriterion + + */ +class UsmcaCommodityDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCommodityDetail'; + + /** + * Set OriginCriterion + * + * @param \FedEx\RateService\SimpleType\UsmcaOriginCriterionCode|string $originCriterion + * @return $this + */ + public function setOriginCriterion($originCriterion) + { + $this->values['OriginCriterion'] = $originCriterion; + return $this; + } +} diff --git a/src/FedEx/RateService/Request.php b/src/FedEx/RateService/Request.php index 76e7423d..bc919720 100644 --- a/src/FedEx/RateService/Request.php +++ b/src/FedEx/RateService/Request.php @@ -15,7 +15,7 @@ class Request extends AbstractRequest const PRODUCTION_URL = 'https://ws.fedex.com:443/web-services/rate'; const TESTING_URL = 'https://wsbeta.fedex.com:443/web-services/rate'; - protected static $wsdlFileName = 'RateService_v28.wsdl'; + protected static $wsdlFileName = 'RateService_v31.wsdl'; /** * Sends the RateRequest and returns the response diff --git a/src/FedEx/RateService/SimpleType/EPaymentModeType.php b/src/FedEx/RateService/SimpleType/EPaymentModeType.php new file mode 100644 index 00000000..c40f52ce --- /dev/null +++ b/src/FedEx/RateService/SimpleType/EPaymentModeType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Rate Service + */ +class EPaymentModeType extends AbstractSimpleType +{ + const _APPLE_PAY = 'APPLE_PAY'; + const _CASH = 'CASH'; + const _CHECK = 'CHECK'; + const _CREDIT_CARD = 'CREDIT_CARD'; + const _GOOGLE_PAY = 'GOOGLE_PAY'; + const _PAYPAL = 'PAYPAL'; +} diff --git a/src/FedEx/RateService/SimpleType/EPaymentProcessorType.php b/src/FedEx/RateService/SimpleType/EPaymentProcessorType.php new file mode 100644 index 00000000..70959ac8 --- /dev/null +++ b/src/FedEx/RateService/SimpleType/EPaymentProcessorType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Rate Service + */ +class EPaymentProcessorType extends AbstractSimpleType +{ + const _RETAIL_SINGLE_POINT_OF_SALE = 'RETAIL_SINGLE_POINT_OF_SALE'; +} diff --git a/src/FedEx/RateService/SimpleType/PaymentType.php b/src/FedEx/RateService/SimpleType/PaymentType.php index a819d657..cbc7c67f 100644 --- a/src/FedEx/RateService/SimpleType/PaymentType.php +++ b/src/FedEx/RateService/SimpleType/PaymentType.php @@ -12,5 +12,6 @@ */ class PaymentType extends AbstractSimpleType { + const _EPAYMENT = 'EPAYMENT'; const _SENDER = 'SENDER'; } diff --git a/src/FedEx/RateService/SimpleType/RecommendedDocumentType.php b/src/FedEx/RateService/SimpleType/RecommendedDocumentType.php index 88b9af99..b0809952 100644 --- a/src/FedEx/RateService/SimpleType/RecommendedDocumentType.php +++ b/src/FedEx/RateService/SimpleType/RecommendedDocumentType.php @@ -25,10 +25,6 @@ class RecommendedDocumentType extends AbstractSimpleType const _ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET = 'ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET'; const _FILM_AND_VIDEO_CERTIFICATE = 'FILM_AND_VIDEO_CERTIFICATE'; const _INTERIM_FOOTWEAR_INVOICE = 'INTERIM_FOOTWEAR_INVOICE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH = 'NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH = 'NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH = 'NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES = 'NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES'; const _PACKING_LIST = 'PACKING_LIST'; const _PRINTED_CIRCUIT_BOARD_WORKSHEET = 'PRINTED_CIRCUIT_BOARD_WORKSHEET'; const _REPAIRED_WATCH_BREAKOUT_WORKSHEET = 'REPAIRED_WATCH_BREAKOUT_WORKSHEET'; @@ -38,4 +34,10 @@ class RecommendedDocumentType extends AbstractSimpleType const _UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES = 'UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES'; const _UNITED_STATES_NEW_WATCH_WORKSHEET = 'UNITED_STATES_NEW_WATCH_WORKSHEET'; const _UNITED_STATES_WATCH_REPAIR_DECLARATION = 'UNITED_STATES_WATCH_REPAIR_DECLARATION'; + const _USMCA_CERTIFICATION_OF_ORIGIN_ENGLISH = 'USMCA_CERTIFICATION_OF_ORIGIN_ENGLISH'; + const _USMCA_CERTIFICATION_OF_ORIGIN_FRENCH = 'USMCA_CERTIFICATION_OF_ORIGIN_FRENCH'; + const _USMCA_CERTIFICATION_OF_ORIGIN_SPANISH = 'USMCA_CERTIFICATION_OF_ORIGIN_SPANISH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_ENGLISH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_ENGLISH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_FRENCH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_FRENCH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_SPANISH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_SPANISH'; } diff --git a/src/FedEx/RateService/SimpleType/RegulatoryControlType.php b/src/FedEx/RateService/SimpleType/RegulatoryControlType.php index fbe360c2..f75e068a 100644 --- a/src/FedEx/RateService/SimpleType/RegulatoryControlType.php +++ b/src/FedEx/RateService/SimpleType/RegulatoryControlType.php @@ -13,7 +13,7 @@ class RegulatoryControlType extends AbstractSimpleType { const _FOOD_OR_PERISHABLE = 'FOOD_OR_PERISHABLE'; - const _NAFTA = 'NAFTA'; const _NOT_APPLICABLE_FOR_LOW_CUSTOMS_VALUE_EXCEPTION = 'NOT_APPLICABLE_FOR_LOW_CUSTOMS_VALUE_EXCEPTION'; const _NOT_IN_FREE_CIRCULATION = 'NOT_IN_FREE_CIRCULATION'; + const _USMCA = 'USMCA'; } diff --git a/src/FedEx/RateService/SimpleType/RequestedShippingDocumentType.php b/src/FedEx/RateService/SimpleType/RequestedShippingDocumentType.php index a002a894..b72ca076 100644 --- a/src/FedEx/RateService/SimpleType/RequestedShippingDocumentType.php +++ b/src/FedEx/RateService/SimpleType/RequestedShippingDocumentType.php @@ -20,8 +20,9 @@ class RequestedShippingDocumentType extends AbstractSimpleType const _FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING = 'FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING'; const _GENERAL_AGENCY_AGREEMENT = 'GENERAL_AGENCY_AGREEMENT'; const _LABEL = 'LABEL'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; const _RETURN_INSTRUCTIONS = 'RETURN_INSTRUCTIONS'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; const _VICS_BILL_OF_LADING = 'VICS_BILL_OF_LADING'; } diff --git a/src/FedEx/RateService/SimpleType/SurchargeType.php b/src/FedEx/RateService/SimpleType/SurchargeType.php index cf7ce139..2d39c42e 100644 --- a/src/FedEx/RateService/SimpleType/SurchargeType.php +++ b/src/FedEx/RateService/SimpleType/SurchargeType.php @@ -19,7 +19,6 @@ class SurchargeType extends AbstractSimpleType const _APPOINTMENT_DELIVERY = 'APPOINTMENT_DELIVERY'; const _BROKER_SELECT_OPTION = 'BROKER_SELECT_OPTION'; const _CANADIAN_DESTINATION = 'CANADIAN_DESTINATION'; - const _CLEARANCE_ENTRY_FEE = 'CLEARANCE_ENTRY_FEE'; const _COD = 'COD'; const _CUT_FLOWERS = 'CUT_FLOWERS'; const _DANGEROUS_GOODS = 'DANGEROUS_GOODS'; @@ -42,6 +41,8 @@ class SurchargeType extends AbstractSimpleType const _FREIGHT_ON_VALUE = 'FREIGHT_ON_VALUE'; const _FREIGHT_TO_COLLECT = 'FREIGHT_TO_COLLECT'; const _FUEL = 'FUEL'; + const _HIGH_COST_SERVICE_AREA_DESTINATION = 'HIGH_COST_SERVICE_AREA_DESTINATION'; + const _HIGH_COST_SERVICE_AREA_ORIGIN = 'HIGH_COST_SERVICE_AREA_ORIGIN'; const _HOLD_AT_LOCATION = 'HOLD_AT_LOCATION'; const _HOME_DELIVERY_APPOINTMENT = 'HOME_DELIVERY_APPOINTMENT'; const _HOME_DELIVERY_DATE_CERTAIN = 'HOME_DELIVERY_DATE_CERTAIN'; diff --git a/src/FedEx/RateService/SimpleType/UploadDocumentType.php b/src/FedEx/RateService/SimpleType/UploadDocumentType.php index 745a5b82..9c5fc07b 100644 --- a/src/FedEx/RateService/SimpleType/UploadDocumentType.php +++ b/src/FedEx/RateService/SimpleType/UploadDocumentType.php @@ -15,8 +15,9 @@ class UploadDocumentType extends AbstractSimpleType const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; const _ETD_LABEL = 'ETD_LABEL'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _NET_RATE_SHEET = 'NET_RATE_SHEET'; const _OTHER = 'OTHER'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; } diff --git a/src/FedEx/RateService/SimpleType/UsmcaCertifierSpecificationType.php b/src/FedEx/RateService/SimpleType/UsmcaCertifierSpecificationType.php new file mode 100644 index 00000000..c30c0e8f --- /dev/null +++ b/src/FedEx/RateService/SimpleType/UsmcaCertifierSpecificationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Rate Service + */ +class UsmcaCertifierSpecificationType extends AbstractSimpleType +{ + const _EXPORTER = 'EXPORTER'; + const _IMPORTER = 'IMPORTER'; + const _PRODUCER = 'PRODUCER'; +} diff --git a/src/FedEx/RateService/SimpleType/UsmcaImporterSpecificationType.php b/src/FedEx/RateService/SimpleType/UsmcaImporterSpecificationType.php new file mode 100644 index 00000000..c001b051 --- /dev/null +++ b/src/FedEx/RateService/SimpleType/UsmcaImporterSpecificationType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Rate Service + */ +class UsmcaImporterSpecificationType extends AbstractSimpleType +{ + const _UNKNOWN = 'UNKNOWN'; + const _VARIOUS = 'VARIOUS'; +} diff --git a/src/FedEx/RateService/SimpleType/UsmcaOriginCriterionCode.php b/src/FedEx/RateService/SimpleType/UsmcaOriginCriterionCode.php new file mode 100644 index 00000000..590bbd27 --- /dev/null +++ b/src/FedEx/RateService/SimpleType/UsmcaOriginCriterionCode.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Rate Service + */ +class UsmcaOriginCriterionCode extends AbstractSimpleType +{ + const _A = 'A'; + const _B = 'B'; + const _C = 'C'; + const _D = 'D'; + const _E = 'E'; +} diff --git a/src/FedEx/RateService/SimpleType/UsmcaProducerSpecificationType.php b/src/FedEx/RateService/SimpleType/UsmcaProducerSpecificationType.php new file mode 100644 index 00000000..f00cec88 --- /dev/null +++ b/src/FedEx/RateService/SimpleType/UsmcaProducerSpecificationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Rate Service + */ +class UsmcaProducerSpecificationType extends AbstractSimpleType +{ + const _AVAILABLE_UPON_REQUEST = 'AVAILABLE_UPON_REQUEST'; + const _SAME_AS_EXPORTER = 'SAME_AS_EXPORTER'; + const _VARIOUS = 'VARIOUS'; +} diff --git a/src/FedEx/ShipService/ComplexType/Commodity.php b/src/FedEx/ShipService/ComplexType/Commodity.php index 91e675f5..12745297 100644 --- a/src/FedEx/ShipService/ComplexType/Commodity.php +++ b/src/FedEx/ShipService/ComplexType/Commodity.php @@ -28,7 +28,7 @@ * @property string $ExportLicenseExpirationDate * @property string $CIMarksAndNumbers * @property string $PartNumber - * @property NaftaCommodityDetail $NaftaDetail + * @property UsmcaCommodityDetail $UsmcaDetail */ class Commodity extends AbstractComplexType @@ -257,14 +257,14 @@ public function setPartNumber($partNumber) } /** - * All data required for this commodity in NAFTA Certificate of Origin. + * Set UsmcaDetail * - * @param NaftaCommodityDetail $naftaDetail + * @param UsmcaCommodityDetail $usmcaDetail * @return $this */ - public function setNaftaDetail(NaftaCommodityDetail $naftaDetail) + public function setUsmcaDetail(UsmcaCommodityDetail $usmcaDetail) { - $this->values['NaftaDetail'] = $naftaDetail; + $this->values['UsmcaDetail'] = $usmcaDetail; return $this; } } diff --git a/src/FedEx/ShipService/ComplexType/CreditCardTransactionDetail.php b/src/FedEx/ShipService/ComplexType/CreditCardTransactionDetail.php index 99631581..aa1ecf38 100644 --- a/src/FedEx/ShipService/ComplexType/CreditCardTransactionDetail.php +++ b/src/FedEx/ShipService/ComplexType/CreditCardTransactionDetail.php @@ -13,6 +13,7 @@ * @property string $AuthorizationId * @property \FedEx\ShipService\SimpleType\CreditCardAuthorizationType|string $AuthorizationType * @property CreditFraudDetectionDetail $FraudDetectionDetail + * @property string $PayorAuthenticationSessionId * @property CreditCardTransactionAttributesDetail $AttributesDetail */ @@ -61,6 +62,18 @@ public function setFraudDetectionDetail(CreditFraudDetectionDetail $fraudDetecti return $this; } + /** + * Set PayorAuthenticationSessionId + * + * @param string $payorAuthenticationSessionId + * @return $this + */ + public function setPayorAuthenticationSessionId($payorAuthenticationSessionId) + { + $this->values['PayorAuthenticationSessionId'] = $payorAuthenticationSessionId; + return $this; + } + /** * Specifies details about the credit card transaction that drive decisions about credit card processing. * diff --git a/src/FedEx/ShipService/ComplexType/CustomsDeclarationStatementDetail.php b/src/FedEx/ShipService/ComplexType/CustomsDeclarationStatementDetail.php index 0e76e99e..08d1648b 100644 --- a/src/FedEx/ShipService/ComplexType/CustomsDeclarationStatementDetail.php +++ b/src/FedEx/ShipService/ComplexType/CustomsDeclarationStatementDetail.php @@ -11,7 +11,6 @@ * @subpackage Ship Service * * @property \FedEx\ShipService\SimpleType\CustomsDeclarationStatementType|string[] $Types - * @property NaftaLowValueStatementDetail $NaftaLowValueStatementDetail */ class CustomsDeclarationStatementDetail extends AbstractComplexType @@ -34,16 +33,4 @@ public function setTypes(array $types) $this->values['Types'] = $types; return $this; } - - /** - * Specifies the NAFTA low value statement information. - * - * @param NaftaLowValueStatementDetail $naftaLowValueStatementDetail - * @return $this - */ - public function setNaftaLowValueStatementDetail(NaftaLowValueStatementDetail $naftaLowValueStatementDetail) - { - $this->values['NaftaLowValueStatementDetail'] = $naftaLowValueStatementDetail; - return $this; - } } diff --git a/src/FedEx/ShipService/ComplexType/EPaymentDetail.php b/src/FedEx/ShipService/ComplexType/EPaymentDetail.php new file mode 100644 index 00000000..260b369e --- /dev/null +++ b/src/FedEx/ShipService/ComplexType/EPaymentDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Ship Service + * + * @property string $Id + * @property \FedEx\ShipService\SimpleType\EPaymentProcessorType|string $EPaymentProcessor + * @property \FedEx\ShipService\SimpleType\EPaymentModeType|string $EPaymentMode + * @property string $MaskedCreditCard + * @property \FedEx\ShipService\SimpleType\CreditCardType|string $CreditCardType + * @property string $CreditCardExpirationDate + * @property Money $Amount + + */ +class EPaymentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EPaymentDetail'; + + /** + * Set Id + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Set EPaymentProcessor + * + * @param \FedEx\ShipService\SimpleType\EPaymentProcessorType|string $ePaymentProcessor + * @return $this + */ + public function setEPaymentProcessor($ePaymentProcessor) + { + $this->values['EPaymentProcessor'] = $ePaymentProcessor; + return $this; + } + + /** + * Set EPaymentMode + * + * @param \FedEx\ShipService\SimpleType\EPaymentModeType|string $ePaymentMode + * @return $this + */ + public function setEPaymentMode($ePaymentMode) + { + $this->values['EPaymentMode'] = $ePaymentMode; + return $this; + } + + /** + * Set MaskedCreditCard + * + * @param string $maskedCreditCard + * @return $this + */ + public function setMaskedCreditCard($maskedCreditCard) + { + $this->values['MaskedCreditCard'] = $maskedCreditCard; + return $this; + } + + /** + * Set CreditCardType + * + * @param \FedEx\ShipService\SimpleType\CreditCardType|string $creditCardType + * @return $this + */ + public function setCreditCardType($creditCardType) + { + $this->values['CreditCardType'] = $creditCardType; + return $this; + } + + /** + * Set CreditCardExpirationDate + * + * @param string $creditCardExpirationDate + * @return $this + */ + public function setCreditCardExpirationDate($creditCardExpirationDate) + { + $this->values['CreditCardExpirationDate'] = $creditCardExpirationDate; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/ShipService/ComplexType/Payment.php b/src/FedEx/ShipService/ComplexType/Payment.php index 24636418..d6d79710 100644 --- a/src/FedEx/ShipService/ComplexType/Payment.php +++ b/src/FedEx/ShipService/ComplexType/Payment.php @@ -12,6 +12,7 @@ * * @property \FedEx\ShipService\SimpleType\PaymentType|string $PaymentType * @property Payor $Payor + * @property EPaymentDetail $EPaymentDetail * @property CreditCard $CreditCard * @property CreditCardTransactionDetail $CreditCardTransactionDetail * @property Money $Amount @@ -50,6 +51,18 @@ public function setPayor(Payor $payor) return $this; } + /** + * FOR FEDEX INTERNAL USE ONLY + * + * @param EPaymentDetail $ePaymentDetail + * @return $this + */ + public function setEPaymentDetail(EPaymentDetail $ePaymentDetail) + { + $this->values['EPaymentDetail'] = $ePaymentDetail; + return $this; + } + /** * Set CreditCard * diff --git a/src/FedEx/ShipService/ComplexType/ShippingDocumentFormat.php b/src/FedEx/ShipService/ComplexType/ShippingDocumentFormat.php index 8b306a73..3cfc669f 100644 --- a/src/FedEx/ShipService/ComplexType/ShippingDocumentFormat.php +++ b/src/FedEx/ShipService/ComplexType/ShippingDocumentFormat.php @@ -78,7 +78,7 @@ public function setStockType($stockType) } /** - * For those shipping document types which have both a "form" and "instructions" component (e.g. NAFTA Certificate of Origin and General Agency Agreement), this field indicates whether to provide the instructions. + * For those shipping document types which have both a "form" and "instructions" component (e.g. General Agency Agreement), this field indicates whether to provide the instructions. * * @param boolean $provideInstructions * @return $this diff --git a/src/FedEx/ShipService/ComplexType/ShippingDocumentSpecification.php b/src/FedEx/ShipService/ComplexType/ShippingDocumentSpecification.php index af89ea06..ed6b6de1 100644 --- a/src/FedEx/ShipService/ComplexType/ShippingDocumentSpecification.php +++ b/src/FedEx/ShipService/ComplexType/ShippingDocumentSpecification.php @@ -13,11 +13,12 @@ * @property \FedEx\ShipService\SimpleType\RequestedShippingDocumentType|string[] $ShippingDocumentTypes * @property CertificateOfOriginDetail $CertificateOfOrigin * @property CommercialInvoiceDetail $CommercialInvoiceDetail + * @property UsmcaCommercialInvoiceCertificationOfOriginDetail $UsmcaCommercialInvoiceCertificationOfOriginDetail * @property CustomDocumentDetail[] $CustomPackageDocumentDetail * @property CustomDocumentDetail[] $CustomShipmentDocumentDetail * @property ExportDeclarationDetail $ExportDeclarationDetail * @property GeneralAgencyAgreementDetail $GeneralAgencyAgreementDetail - * @property NaftaCertificateOfOriginDetail $NaftaCertificateOfOriginDetail + * @property UsmcaCertificationOfOriginDetail $UsmcaCertificationOfOriginDetail * @property Op900Detail $Op900Detail * @property DangerousGoodsShippersDeclarationDetail $DangerousGoodsShippersDeclarationDetail * @property FreightAddressLabelDetail $FreightAddressLabelDetail @@ -70,6 +71,18 @@ public function setCommercialInvoiceDetail(CommercialInvoiceDetail $commercialIn return $this; } + /** + * Set UsmcaCommercialInvoiceCertificationOfOriginDetail + * + * @param UsmcaCommercialInvoiceCertificationOfOriginDetail $usmcaCommercialInvoiceCertificationOfOriginDetail + * @return $this + */ + public function setUsmcaCommercialInvoiceCertificationOfOriginDetail(UsmcaCommercialInvoiceCertificationOfOriginDetail $usmcaCommercialInvoiceCertificationOfOriginDetail) + { + $this->values['UsmcaCommercialInvoiceCertificationOfOriginDetail'] = $usmcaCommercialInvoiceCertificationOfOriginDetail; + return $this; + } + /** * Specifies the production of each package-level custom document (the same specification is used for all packages). * @@ -119,14 +132,14 @@ public function setGeneralAgencyAgreementDetail(GeneralAgencyAgreementDetail $ge } /** - * Set NaftaCertificateOfOriginDetail + * Set UsmcaCertificationOfOriginDetail * - * @param NaftaCertificateOfOriginDetail $naftaCertificateOfOriginDetail + * @param UsmcaCertificationOfOriginDetail $usmcaCertificationOfOriginDetail * @return $this */ - public function setNaftaCertificateOfOriginDetail(NaftaCertificateOfOriginDetail $naftaCertificateOfOriginDetail) + public function setUsmcaCertificationOfOriginDetail(UsmcaCertificationOfOriginDetail $usmcaCertificationOfOriginDetail) { - $this->values['NaftaCertificateOfOriginDetail'] = $naftaCertificateOfOriginDetail; + $this->values['UsmcaCertificationOfOriginDetail'] = $usmcaCertificationOfOriginDetail; return $this; } diff --git a/src/FedEx/ShipService/ComplexType/UsmcaCertificationOfOriginDetail.php b/src/FedEx/ShipService/ComplexType/UsmcaCertificationOfOriginDetail.php new file mode 100644 index 00000000..7c4b5593 --- /dev/null +++ b/src/FedEx/ShipService/ComplexType/UsmcaCertificationOfOriginDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Ship Service + * + * @property ShippingDocumentFormat $Format + * @property DateRange $BlanketPeriod + * @property \FedEx\ShipService\SimpleType\UsmcaCertifierSpecificationType|string $CertifierSpecification + * @property \FedEx\ShipService\SimpleType\UsmcaImporterSpecificationType|string $ImporterSpecification + * @property \FedEx\ShipService\SimpleType\UsmcaProducerSpecificationType|string $ProducerSpecification + * @property Party $Producer + * @property CustomerImageUsage[] $CustomerImageUsages + + */ +class UsmcaCertificationOfOriginDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCertificationOfOriginDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set BlanketPeriod + * + * @param DateRange $blanketPeriod + * @return $this + */ + public function setBlanketPeriod(DateRange $blanketPeriod) + { + $this->values['BlanketPeriod'] = $blanketPeriod; + return $this; + } + + /** + * Set CertifierSpecification + * + * @param \FedEx\ShipService\SimpleType\UsmcaCertifierSpecificationType|string $certifierSpecification + * @return $this + */ + public function setCertifierSpecification($certifierSpecification) + { + $this->values['CertifierSpecification'] = $certifierSpecification; + return $this; + } + + /** + * Set ImporterSpecification + * + * @param \FedEx\ShipService\SimpleType\UsmcaImporterSpecificationType|string $importerSpecification + * @return $this + */ + public function setImporterSpecification($importerSpecification) + { + $this->values['ImporterSpecification'] = $importerSpecification; + return $this; + } + + /** + * Set ProducerSpecification + * + * @param \FedEx\ShipService\SimpleType\UsmcaProducerSpecificationType|string $producerSpecification + * @return $this + */ + public function setProducerSpecification($producerSpecification) + { + $this->values['ProducerSpecification'] = $producerSpecification; + return $this; + } + + /** + * Set Producer + * + * @param Party $producer + * @return $this + */ + public function setProducer(Party $producer) + { + $this->values['Producer'] = $producer; + return $this; + } + + /** + * Set CustomerImageUsages + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } +} diff --git a/src/FedEx/ShipService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php b/src/FedEx/ShipService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php new file mode 100644 index 00000000..2ac3ca37 --- /dev/null +++ b/src/FedEx/ShipService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Ship Service + * + * @property ShippingDocumentFormat $Format + * @property CustomerImageUsage[] $CustomerImageUsages + * @property string $FormVersion + * @property \FedEx\ShipService\SimpleType\UsmcaCertifierSpecificationType|string $CertifierSpecification + * @property \FedEx\ShipService\SimpleType\UsmcaProducerSpecificationType|string $ProducerSpecification + * @property Party $Producer + + */ +class UsmcaCommercialInvoiceCertificationOfOriginDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCommercialInvoiceCertificationOfOriginDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set CustomerImageUsages + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } + + /** + * Set FormVersion + * + * @param string $formVersion + * @return $this + */ + public function setFormVersion($formVersion) + { + $this->values['FormVersion'] = $formVersion; + return $this; + } + + /** + * Set CertifierSpecification + * + * @param \FedEx\ShipService\SimpleType\UsmcaCertifierSpecificationType|string $certifierSpecification + * @return $this + */ + public function setCertifierSpecification($certifierSpecification) + { + $this->values['CertifierSpecification'] = $certifierSpecification; + return $this; + } + + /** + * Set ProducerSpecification + * + * @param \FedEx\ShipService\SimpleType\UsmcaProducerSpecificationType|string $producerSpecification + * @return $this + */ + public function setProducerSpecification($producerSpecification) + { + $this->values['ProducerSpecification'] = $producerSpecification; + return $this; + } + + /** + * Set Producer + * + * @param Party $producer + * @return $this + */ + public function setProducer(Party $producer) + { + $this->values['Producer'] = $producer; + return $this; + } +} diff --git a/src/FedEx/ShipService/ComplexType/UsmcaCommodityDetail.php b/src/FedEx/ShipService/ComplexType/UsmcaCommodityDetail.php new file mode 100644 index 00000000..b3dcfca5 --- /dev/null +++ b/src/FedEx/ShipService/ComplexType/UsmcaCommodityDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Ship Service + * + * @property \FedEx\ShipService\SimpleType\UsmcaOriginCriterionCode|string $OriginCriterion + + */ +class UsmcaCommodityDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCommodityDetail'; + + /** + * Set OriginCriterion + * + * @param \FedEx\ShipService\SimpleType\UsmcaOriginCriterionCode|string $originCriterion + * @return $this + */ + public function setOriginCriterion($originCriterion) + { + $this->values['OriginCriterion'] = $originCriterion; + return $this; + } +} diff --git a/src/FedEx/ShipService/Request.php b/src/FedEx/ShipService/Request.php index 7648c857..3de1226a 100644 --- a/src/FedEx/ShipService/Request.php +++ b/src/FedEx/ShipService/Request.php @@ -15,7 +15,7 @@ class Request extends AbstractRequest const PRODUCTION_URL = 'https://ws.fedex.com:443/web-services/ship'; const TESTING_URL = 'https://wsbeta.fedex.com:443/web-services/ship'; - protected static $wsdlFileName = 'ShipService_v26.wsdl'; + protected static $wsdlFileName = 'ShipService_v28.wsdl'; /** * Sends the ProcessTagRequest and returns the response diff --git a/src/FedEx/ShipService/SimpleType/CustomsDeclarationStatementType.php b/src/FedEx/ShipService/SimpleType/CustomsDeclarationStatementType.php index a46f5613..f24204a8 100644 --- a/src/FedEx/ShipService/SimpleType/CustomsDeclarationStatementType.php +++ b/src/FedEx/ShipService/SimpleType/CustomsDeclarationStatementType.php @@ -12,5 +12,5 @@ */ class CustomsDeclarationStatementType extends AbstractSimpleType { - const _NAFTA_LOW_VALUE = 'NAFTA_LOW_VALUE'; + const _USMCA_LOW_VALUE = 'USMCA_LOW_VALUE'; } diff --git a/src/FedEx/ShipService/SimpleType/EPaymentModeType.php b/src/FedEx/ShipService/SimpleType/EPaymentModeType.php new file mode 100644 index 00000000..098ac5d6 --- /dev/null +++ b/src/FedEx/ShipService/SimpleType/EPaymentModeType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Ship Service + */ +class EPaymentModeType extends AbstractSimpleType +{ + const _APPLE_PAY = 'APPLE_PAY'; + const _CASH = 'CASH'; + const _CHECK = 'CHECK'; + const _CREDIT_CARD = 'CREDIT_CARD'; + const _GOOGLE_PAY = 'GOOGLE_PAY'; + const _PAYPAL = 'PAYPAL'; +} diff --git a/src/FedEx/ShipService/SimpleType/EPaymentProcessorType.php b/src/FedEx/ShipService/SimpleType/EPaymentProcessorType.php new file mode 100644 index 00000000..18ad04ef --- /dev/null +++ b/src/FedEx/ShipService/SimpleType/EPaymentProcessorType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Ship Service + */ +class EPaymentProcessorType extends AbstractSimpleType +{ + const _RETAIL_SINGLE_POINT_OF_SALE = 'RETAIL_SINGLE_POINT_OF_SALE'; +} diff --git a/src/FedEx/ShipService/SimpleType/EnterpriseDocumentType.php b/src/FedEx/ShipService/SimpleType/EnterpriseDocumentType.php index e2d25801..b0aa091f 100644 --- a/src/FedEx/ShipService/SimpleType/EnterpriseDocumentType.php +++ b/src/FedEx/ShipService/SimpleType/EnterpriseDocumentType.php @@ -15,6 +15,7 @@ class EnterpriseDocumentType extends AbstractSimpleType const _AIR_WAYBILL = 'AIR_WAYBILL'; const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; } diff --git a/src/FedEx/ShipService/SimpleType/PaymentType.php b/src/FedEx/ShipService/SimpleType/PaymentType.php index 5d4dccbc..138b6574 100644 --- a/src/FedEx/ShipService/SimpleType/PaymentType.php +++ b/src/FedEx/ShipService/SimpleType/PaymentType.php @@ -16,6 +16,7 @@ class PaymentType extends AbstractSimpleType const _CASH = 'CASH'; const _COLLECT = 'COLLECT'; const _CREDIT_CARD = 'CREDIT_CARD'; + const _EPAYMENT = 'EPAYMENT'; const _RECIPIENT = 'RECIPIENT'; const _SENDER = 'SENDER'; const _THIRD_PARTY = 'THIRD_PARTY'; diff --git a/src/FedEx/ShipService/SimpleType/RecommendedDocumentType.php b/src/FedEx/ShipService/SimpleType/RecommendedDocumentType.php index 6a57c3b8..37f6d757 100644 --- a/src/FedEx/ShipService/SimpleType/RecommendedDocumentType.php +++ b/src/FedEx/ShipService/SimpleType/RecommendedDocumentType.php @@ -25,10 +25,6 @@ class RecommendedDocumentType extends AbstractSimpleType const _ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET = 'ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET'; const _FILM_AND_VIDEO_CERTIFICATE = 'FILM_AND_VIDEO_CERTIFICATE'; const _INTERIM_FOOTWEAR_INVOICE = 'INTERIM_FOOTWEAR_INVOICE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH = 'NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH = 'NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH = 'NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES = 'NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES'; const _PACKING_LIST = 'PACKING_LIST'; const _PRINTED_CIRCUIT_BOARD_WORKSHEET = 'PRINTED_CIRCUIT_BOARD_WORKSHEET'; const _REPAIRED_WATCH_BREAKOUT_WORKSHEET = 'REPAIRED_WATCH_BREAKOUT_WORKSHEET'; @@ -38,4 +34,10 @@ class RecommendedDocumentType extends AbstractSimpleType const _UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES = 'UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES'; const _UNITED_STATES_NEW_WATCH_WORKSHEET = 'UNITED_STATES_NEW_WATCH_WORKSHEET'; const _UNITED_STATES_WATCH_REPAIR_DECLARATION = 'UNITED_STATES_WATCH_REPAIR_DECLARATION'; + const _USMCA_CERTIFICATION_OF_ORIGIN_ENGLISH = 'USMCA_CERTIFICATION_OF_ORIGIN_ENGLISH'; + const _USMCA_CERTIFICATION_OF_ORIGIN_FRENCH = 'USMCA_CERTIFICATION_OF_ORIGIN_FRENCH'; + const _USMCA_CERTIFICATION_OF_ORIGIN_SPANISH = 'USMCA_CERTIFICATION_OF_ORIGIN_SPANISH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_ENGLISH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_ENGLISH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_FRENCH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_FRENCH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_SPANISH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_SPANISH'; } diff --git a/src/FedEx/ShipService/SimpleType/RegulatoryControlType.php b/src/FedEx/ShipService/SimpleType/RegulatoryControlType.php index 206e5cb1..60dc48ee 100644 --- a/src/FedEx/ShipService/SimpleType/RegulatoryControlType.php +++ b/src/FedEx/ShipService/SimpleType/RegulatoryControlType.php @@ -13,7 +13,7 @@ class RegulatoryControlType extends AbstractSimpleType { const _FOOD_OR_PERISHABLE = 'FOOD_OR_PERISHABLE'; - const _NAFTA = 'NAFTA'; const _NOT_APPLICABLE_FOR_LOW_CUSTOMS_VALUE_EXCEPTION = 'NOT_APPLICABLE_FOR_LOW_CUSTOMS_VALUE_EXCEPTION'; const _NOT_IN_FREE_CIRCULATION = 'NOT_IN_FREE_CIRCULATION'; + const _USMCA = 'USMCA'; } diff --git a/src/FedEx/ShipService/SimpleType/RequestedShippingDocumentType.php b/src/FedEx/ShipService/SimpleType/RequestedShippingDocumentType.php index eb92d253..71a46402 100644 --- a/src/FedEx/ShipService/SimpleType/RequestedShippingDocumentType.php +++ b/src/FedEx/ShipService/SimpleType/RequestedShippingDocumentType.php @@ -23,9 +23,10 @@ class RequestedShippingDocumentType extends AbstractSimpleType const _FREIGHT_ADDRESS_LABEL = 'FREIGHT_ADDRESS_LABEL'; const _GENERAL_AGENCY_AGREEMENT = 'GENERAL_AGENCY_AGREEMENT'; const _LABEL = 'LABEL'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _OP_900 = 'OP_900'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; const _RETURN_INSTRUCTIONS = 'RETURN_INSTRUCTIONS'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; const _VICS_BILL_OF_LADING = 'VICS_BILL_OF_LADING'; } diff --git a/src/FedEx/ShipService/SimpleType/RequiredDocumentType.php b/src/FedEx/ShipService/SimpleType/RequiredDocumentType.php index b4b10094..c9a0e1e1 100644 --- a/src/FedEx/ShipService/SimpleType/RequiredDocumentType.php +++ b/src/FedEx/ShipService/SimpleType/RequiredDocumentType.php @@ -16,6 +16,6 @@ class RequiredDocumentType extends AbstractSimpleType const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; const _COMMERCIAL_OR_PRO_FORMA_INVOICE = 'COMMERCIAL_OR_PRO_FORMA_INVOICE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; + const _COMMERCIAL_OR_PRO_FORMA_INVOICE_OR_USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'COMMERCIAL_OR_PRO_FORMA_INVOICE_OR_USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; } diff --git a/src/FedEx/ShipService/SimpleType/ReturnedShippingDocumentType.php b/src/FedEx/ShipService/SimpleType/ReturnedShippingDocumentType.php index 418f9fa3..a1adbe2b 100644 --- a/src/FedEx/ShipService/SimpleType/ReturnedShippingDocumentType.php +++ b/src/FedEx/ShipService/SimpleType/ReturnedShippingDocumentType.php @@ -30,7 +30,6 @@ class ReturnedShippingDocumentType extends AbstractSimpleType const _FREIGHT_ADDRESS_LABEL = 'FREIGHT_ADDRESS_LABEL'; const _GENERAL_AGENCY_AGREEMENT = 'GENERAL_AGENCY_AGREEMENT'; const _GROUND_BARCODE = 'GROUND_BARCODE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _OP_900 = 'OP_900'; const _OUTBOUND_2_D_BARCODE = 'OUTBOUND_2_D_BARCODE'; const _OUTBOUND_LABEL = 'OUTBOUND_LABEL'; @@ -39,6 +38,8 @@ class ReturnedShippingDocumentType extends AbstractSimpleType const _RECIPIENT_POSTAL_BARCODE = 'RECIPIENT_POSTAL_BARCODE'; const _RETURN_INSTRUCTIONS = 'RETURN_INSTRUCTIONS'; const _TERMS_AND_CONDITIONS = 'TERMS_AND_CONDITIONS'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; const _USPS_BARCODE = 'USPS_BARCODE'; const _VICS_BILL_OF_LADING = 'VICS_BILL_OF_LADING'; } diff --git a/src/FedEx/ShipService/SimpleType/ShipmentProcessingOptionType.php b/src/FedEx/ShipService/SimpleType/ShipmentProcessingOptionType.php index c65899cb..ee34b332 100644 --- a/src/FedEx/ShipService/SimpleType/ShipmentProcessingOptionType.php +++ b/src/FedEx/ShipService/SimpleType/ShipmentProcessingOptionType.php @@ -12,7 +12,6 @@ */ class ShipmentProcessingOptionType extends AbstractSimpleType { - const _BYPASS_CLEARANCE_PROHIBITS = 'BYPASS_CLEARANCE_PROHIBITS'; const _BYPASS_REGULATORY_VALIDATION = 'BYPASS_REGULATORY_VALIDATION'; const _CONVENIENCE_MULTIPLE_PACKAGES = 'CONVENIENCE_MULTIPLE_PACKAGES'; const _CUSTOM_TRANSIT_TIME = 'CUSTOM_TRANSIT_TIME'; diff --git a/src/FedEx/ShipService/SimpleType/SurchargeType.php b/src/FedEx/ShipService/SimpleType/SurchargeType.php index 12dbdae7..9b5d8b37 100644 --- a/src/FedEx/ShipService/SimpleType/SurchargeType.php +++ b/src/FedEx/ShipService/SimpleType/SurchargeType.php @@ -21,7 +21,6 @@ class SurchargeType extends AbstractSimpleType const _BROKER_SELECT_OPTION = 'BROKER_SELECT_OPTION'; const _CANADIAN_DESTINATION = 'CANADIAN_DESTINATION'; const _CHARGEABLE_PALLET_WEIGHT = 'CHARGEABLE_PALLET_WEIGHT'; - const _CLEARANCE_ENTRY_FEE = 'CLEARANCE_ENTRY_FEE'; const _COD = 'COD'; const _CUT_FLOWERS = 'CUT_FLOWERS'; const _DANGEROUS_GOODS = 'DANGEROUS_GOODS'; @@ -49,6 +48,8 @@ class SurchargeType extends AbstractSimpleType const _FREIGHT_ON_VALUE = 'FREIGHT_ON_VALUE'; const _FREIGHT_TO_COLLECT = 'FREIGHT_TO_COLLECT'; const _FUEL = 'FUEL'; + const _HIGH_COST_SERVICE_AREA_DESTINATION = 'HIGH_COST_SERVICE_AREA_DESTINATION'; + const _HIGH_COST_SERVICE_AREA_ORIGIN = 'HIGH_COST_SERVICE_AREA_ORIGIN'; const _HOLD_AT_LOCATION = 'HOLD_AT_LOCATION'; const _HOLIDAY_DELIVERY = 'HOLIDAY_DELIVERY'; const _HOLIDAY_GUARANTEE = 'HOLIDAY_GUARANTEE'; diff --git a/src/FedEx/ShipService/SimpleType/UploadDocumentType.php b/src/FedEx/ShipService/SimpleType/UploadDocumentType.php index f5823fc2..1e40fed5 100644 --- a/src/FedEx/ShipService/SimpleType/UploadDocumentType.php +++ b/src/FedEx/ShipService/SimpleType/UploadDocumentType.php @@ -15,8 +15,9 @@ class UploadDocumentType extends AbstractSimpleType const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; const _ETD_LABEL = 'ETD_LABEL'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _NET_RATE_SHEET = 'NET_RATE_SHEET'; const _OTHER = 'OTHER'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; } diff --git a/src/FedEx/ShipService/SimpleType/UsmcaCertifierSpecificationType.php b/src/FedEx/ShipService/SimpleType/UsmcaCertifierSpecificationType.php new file mode 100644 index 00000000..b393c6e2 --- /dev/null +++ b/src/FedEx/ShipService/SimpleType/UsmcaCertifierSpecificationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Ship Service + */ +class UsmcaCertifierSpecificationType extends AbstractSimpleType +{ + const _EXPORTER = 'EXPORTER'; + const _IMPORTER = 'IMPORTER'; + const _PRODUCER = 'PRODUCER'; +} diff --git a/src/FedEx/ShipService/SimpleType/UsmcaImporterSpecificationType.php b/src/FedEx/ShipService/SimpleType/UsmcaImporterSpecificationType.php new file mode 100644 index 00000000..1e83b10f --- /dev/null +++ b/src/FedEx/ShipService/SimpleType/UsmcaImporterSpecificationType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Ship Service + */ +class UsmcaImporterSpecificationType extends AbstractSimpleType +{ + const _UNKNOWN = 'UNKNOWN'; + const _VARIOUS = 'VARIOUS'; +} diff --git a/src/FedEx/ShipService/SimpleType/UsmcaOriginCriterionCode.php b/src/FedEx/ShipService/SimpleType/UsmcaOriginCriterionCode.php new file mode 100644 index 00000000..a269f19f --- /dev/null +++ b/src/FedEx/ShipService/SimpleType/UsmcaOriginCriterionCode.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Ship Service + */ +class UsmcaOriginCriterionCode extends AbstractSimpleType +{ + const _A = 'A'; + const _B = 'B'; + const _C = 'C'; + const _D = 'D'; + const _E = 'E'; +} diff --git a/src/FedEx/ShipService/SimpleType/UsmcaProducerSpecificationType.php b/src/FedEx/ShipService/SimpleType/UsmcaProducerSpecificationType.php new file mode 100644 index 00000000..3f7e576c --- /dev/null +++ b/src/FedEx/ShipService/SimpleType/UsmcaProducerSpecificationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Ship Service + */ +class UsmcaProducerSpecificationType extends AbstractSimpleType +{ + const _AVAILABLE_UPON_REQUEST = 'AVAILABLE_UPON_REQUEST'; + const _SAME_AS_EXPORTER = 'SAME_AS_EXPORTER'; + const _VARIOUS = 'VARIOUS'; +} diff --git a/src/FedEx/TrackService/ComplexType/ClientDetail.php b/src/FedEx/TrackService/ComplexType/ClientDetail.php index 25a9e097..5a77475d 100644 --- a/src/FedEx/TrackService/ComplexType/ClientDetail.php +++ b/src/FedEx/TrackService/ComplexType/ClientDetail.php @@ -12,7 +12,10 @@ * * @property string $AccountNumber * @property string $MeterNumber + * @property string $SoftwareId + * @property string $SoftwareRelease * @property string $IntegratorId + * @property \FedEx\TrackService\SimpleType\ExpressRegionCode|string $Region * @property Localization $Localization */ @@ -49,6 +52,30 @@ public function setMeterNumber($meterNumber) return $this; } + /** + * Client software component (e.g. "CAFE", "INET", "WBUS", etc.) + * + * @param string $softwareId + * @return $this + */ + public function setSoftwareId($softwareId) + { + $this->values['SoftwareId'] = $softwareId; + return $this; + } + + /** + * Client software component version/revision (e.g. "1800", "2630", etc.) + * + * @param string $softwareRelease + * @return $this + */ + public function setSoftwareRelease($softwareRelease) + { + $this->values['SoftwareRelease'] = $softwareRelease; + return $this; + } + /** * Only used in transactions which require identification of the FedEx Office integrator. * @@ -61,6 +88,18 @@ public function setIntegratorId($integratorId) return $this; } + /** + * Indicates the region from which the transaction is submitted. + * + * @param \FedEx\TrackService\SimpleType\ExpressRegionCode|string $region + * @return $this + */ + public function setRegion($region) + { + $this->values['Region'] = $region; + return $this; + } + /** * The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) * diff --git a/src/FedEx/TrackService/ComplexType/Commodity.php b/src/FedEx/TrackService/ComplexType/Commodity.php index ddce0693..0381f21c 100644 --- a/src/FedEx/TrackService/ComplexType/Commodity.php +++ b/src/FedEx/TrackService/ComplexType/Commodity.php @@ -28,7 +28,7 @@ * @property string $ExportLicenseExpirationDate * @property string $CIMarksAndNumbers * @property string $PartNumber - * @property NaftaCommodityDetail $NaftaDetail + * @property UsmcaCommodityDetail $UsmcaDetail */ class Commodity extends AbstractComplexType @@ -257,14 +257,14 @@ public function setPartNumber($partNumber) } /** - * All data required for this commodity in NAFTA Certificate of Origin. + * Set UsmcaDetail * - * @param NaftaCommodityDetail $naftaDetail + * @param UsmcaCommodityDetail $usmcaDetail * @return $this */ - public function setNaftaDetail(NaftaCommodityDetail $naftaDetail) + public function setUsmcaDetail(UsmcaCommodityDetail $usmcaDetail) { - $this->values['NaftaDetail'] = $naftaDetail; + $this->values['UsmcaDetail'] = $usmcaDetail; return $this; } } diff --git a/src/FedEx/TrackService/ComplexType/EPaymentDetail.php b/src/FedEx/TrackService/ComplexType/EPaymentDetail.php new file mode 100644 index 00000000..e9d33f1d --- /dev/null +++ b/src/FedEx/TrackService/ComplexType/EPaymentDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Package Movement Information Service + * + * @property string $Id + * @property \FedEx\TrackService\SimpleType\EPaymentProcessorType|string $EPaymentProcessor + * @property \FedEx\TrackService\SimpleType\EPaymentModeType|string $EPaymentMode + * @property string $MaskedCreditCard + * @property string $CreditCardExpirationDate + * @property Money $Amount + + */ +class EPaymentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EPaymentDetail'; + + /** + * Set Id + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Set EPaymentProcessor + * + * @param \FedEx\TrackService\SimpleType\EPaymentProcessorType|string $ePaymentProcessor + * @return $this + */ + public function setEPaymentProcessor($ePaymentProcessor) + { + $this->values['EPaymentProcessor'] = $ePaymentProcessor; + return $this; + } + + /** + * Set EPaymentMode + * + * @param \FedEx\TrackService\SimpleType\EPaymentModeType|string $ePaymentMode + * @return $this + */ + public function setEPaymentMode($ePaymentMode) + { + $this->values['EPaymentMode'] = $ePaymentMode; + return $this; + } + + /** + * Set MaskedCreditCard + * + * @param string $maskedCreditCard + * @return $this + */ + public function setMaskedCreditCard($maskedCreditCard) + { + $this->values['MaskedCreditCard'] = $maskedCreditCard; + return $this; + } + + /** + * Set CreditCardExpirationDate + * + * @param string $creditCardExpirationDate + * @return $this + */ + public function setCreditCardExpirationDate($creditCardExpirationDate) + { + $this->values['CreditCardExpirationDate'] = $creditCardExpirationDate; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/TrackService/ComplexType/GetTrackingDocumentsRequest.php b/src/FedEx/TrackService/ComplexType/GetTrackingDocumentsRequest.php index ebc06daa..d7912bfb 100644 --- a/src/FedEx/TrackService/ComplexType/GetTrackingDocumentsRequest.php +++ b/src/FedEx/TrackService/ComplexType/GetTrackingDocumentsRequest.php @@ -12,6 +12,7 @@ * * @property WebAuthenticationDetail $WebAuthenticationDetail * @property ClientDetail $ClientDetail + * @property UserDetail $UserDetail * @property TransactionDetail $TransactionDetail * @property VersionId $Version * @property TrackSelectionDetail[] $SelectionDetails @@ -51,6 +52,18 @@ public function setClientDetail(ClientDetail $clientDetail) return $this; } + /** + * Set UserDetail + * + * @param UserDetail $userDetail + * @return $this + */ + public function setUserDetail(UserDetail $userDetail) + { + $this->values['UserDetail'] = $userDetail; + return $this; + } + /** * Set TransactionDetail * diff --git a/src/FedEx/TrackService/ComplexType/SendNotificationsRequest.php b/src/FedEx/TrackService/ComplexType/SendNotificationsRequest.php index 98a57228..1c727771 100644 --- a/src/FedEx/TrackService/ComplexType/SendNotificationsRequest.php +++ b/src/FedEx/TrackService/ComplexType/SendNotificationsRequest.php @@ -12,6 +12,7 @@ * * @property WebAuthenticationDetail $WebAuthenticationDetail * @property ClientDetail $ClientDetail + * @property UserDetail $UserDetail * @property TransactionDetail $TransactionDetail * @property VersionId $Version * @property string $TrackingNumber @@ -58,6 +59,18 @@ public function setClientDetail(ClientDetail $clientDetail) return $this; } + /** + * Set UserDetail + * + * @param UserDetail $userDetail + * @return $this + */ + public function setUserDetail(UserDetail $userDetail) + { + $this->values['UserDetail'] = $userDetail; + return $this; + } + /** * Contains a free form field that is echoed back in the reply to match requests with replies and data that governs the data payload language/translations * diff --git a/src/FedEx/TrackService/ComplexType/TrackDelayDetail.php b/src/FedEx/TrackService/ComplexType/TrackDelayDetail.php new file mode 100644 index 00000000..bb791cac --- /dev/null +++ b/src/FedEx/TrackService/ComplexType/TrackDelayDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Package Movement Information Service + * + * @property \FedEx\TrackService\SimpleType\TrackDelayType|string $DelayType + * @property \FedEx\TrackService\SimpleType\TrackSubDelayType|string $SubDelayType + * @property \FedEx\TrackService\SimpleType\ServiceDelayType|string $ServiceDelayStatus + + */ +class TrackDelayDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'TrackDelayDetail'; + + /** + * Set DelayType + * + * @param \FedEx\TrackService\SimpleType\TrackDelayType|string $delayType + * @return $this + */ + public function setDelayType($delayType) + { + $this->values['DelayType'] = $delayType; + return $this; + } + + /** + * Set SubDelayType + * + * @param \FedEx\TrackService\SimpleType\TrackSubDelayType|string $subDelayType + * @return $this + */ + public function setSubDelayType($subDelayType) + { + $this->values['SubDelayType'] = $subDelayType; + return $this; + } + + /** + * Set ServiceDelayStatus + * + * @param \FedEx\TrackService\SimpleType\ServiceDelayType|string $serviceDelayStatus + * @return $this + */ + public function setServiceDelayStatus($serviceDelayStatus) + { + $this->values['ServiceDelayStatus'] = $serviceDelayStatus; + return $this; + } +} diff --git a/src/FedEx/TrackService/ComplexType/TrackDetail.php b/src/FedEx/TrackService/ComplexType/TrackDetail.php index c0b27137..91801164 100644 --- a/src/FedEx/TrackService/ComplexType/TrackDetail.php +++ b/src/FedEx/TrackService/ComplexType/TrackDetail.php @@ -54,6 +54,7 @@ * @property TrackAdvanceNotificationDetail $AdvanceNotificationDetail * @property TrackSpecialHandling[] $SpecialHandlings * @property TrackPayment[] $Payments + * @property EPaymentDetail $EPayment * @property Contact $Shipper * @property \FedEx\TrackService\SimpleType\TrackPossessionStatusType|string $PossessionStatus * @property Address $ShipperAddress @@ -625,6 +626,18 @@ public function setPayments(array $payments) return $this; } + /** + * FOR FEDEX INTERNAL USE ONLY + * + * @param EPaymentDetail $ePayment + * @return $this + */ + public function setEPayment(EPaymentDetail $ePayment) + { + $this->values['EPayment'] = $ePayment; + return $this; + } + /** * (Returned for CSR SL only.) * diff --git a/src/FedEx/TrackService/ComplexType/TrackEvent.php b/src/FedEx/TrackService/ComplexType/TrackEvent.php index 4a26564e..9f874bb2 100644 --- a/src/FedEx/TrackService/ComplexType/TrackEvent.php +++ b/src/FedEx/TrackService/ComplexType/TrackEvent.php @@ -15,6 +15,7 @@ * @property string $EventDescription * @property string $StatusExceptionCode * @property string $StatusExceptionDescription + * @property TrackDelayDetail $DelayDetail * @property \FedEx\TrackService\SimpleType\BarcodeEntryType|string $BarcodeEntryType * @property Address $Address * @property string $StationId @@ -90,6 +91,18 @@ public function setStatusExceptionDescription($statusExceptionDescription) return $this; } + /** + * Set DelayDetail + * + * @param TrackDelayDetail $delayDetail + * @return $this + */ + public function setDelayDetail(TrackDelayDetail $delayDetail) + { + $this->values['DelayDetail'] = $delayDetail; + return $this; + } + /** * Set BarcodeEntryType * diff --git a/src/FedEx/TrackService/ComplexType/TrackPayment.php b/src/FedEx/TrackService/ComplexType/TrackPayment.php index 352b7bdc..4c3cc9b0 100644 --- a/src/FedEx/TrackService/ComplexType/TrackPayment.php +++ b/src/FedEx/TrackService/ComplexType/TrackPayment.php @@ -13,6 +13,7 @@ * @property \FedEx\TrackService\SimpleType\TrackChargesPaymentClassificationType|string $Classification * @property \FedEx\TrackService\SimpleType\TrackPaymentType|string $Type * @property string $Description + * @property string $PayorAccountNumber */ class TrackPayment extends AbstractComplexType @@ -59,4 +60,16 @@ public function setDescription($description) $this->values['Description'] = $description; return $this; } + + /** + * Set PayorAccountNumber + * + * @param string $payorAccountNumber + * @return $this + */ + public function setPayorAccountNumber($payorAccountNumber) + { + $this->values['PayorAccountNumber'] = $payorAccountNumber; + return $this; + } } diff --git a/src/FedEx/TrackService/ComplexType/TrackRequest.php b/src/FedEx/TrackService/ComplexType/TrackRequest.php index b6c74219..bff986f1 100644 --- a/src/FedEx/TrackService/ComplexType/TrackRequest.php +++ b/src/FedEx/TrackService/ComplexType/TrackRequest.php @@ -12,6 +12,7 @@ * * @property WebAuthenticationDetail $WebAuthenticationDetail * @property ClientDetail $ClientDetail + * @property UserDetail $UserDetail * @property TransactionDetail $TransactionDetail * @property VersionId $Version * @property TrackSelectionDetail[] $SelectionDetails @@ -52,6 +53,18 @@ public function setClientDetail(ClientDetail $clientDetail) return $this; } + /** + * Set UserDetail + * + * @param UserDetail $userDetail + * @return $this + */ + public function setUserDetail(UserDetail $userDetail) + { + $this->values['UserDetail'] = $userDetail; + return $this; + } + /** * Contains a free form field that is echoed back in the reply to match requests with replies and data that governs the data payload language/translations. * diff --git a/src/FedEx/TrackService/ComplexType/TrackSelectionDetail.php b/src/FedEx/TrackService/ComplexType/TrackSelectionDetail.php index 9f9c4b3a..537f3645 100644 --- a/src/FedEx/TrackService/ComplexType/TrackSelectionDetail.php +++ b/src/FedEx/TrackService/ComplexType/TrackSelectionDetail.php @@ -14,6 +14,7 @@ * @property \FedEx\TrackService\SimpleType\OperatingCompanyType|string $OperatingCompany * @property TrackPackageIdentifier $PackageIdentifier * @property string $TrackingNumberUniqueIdentifier + * @property string $FormId * @property string $ShipDateRangeBegin * @property string $ShipDateRangeEnd * @property string $ShipmentAccountNumber @@ -80,6 +81,18 @@ public function setTrackingNumberUniqueIdentifier($trackingNumberUniqueIdentifie return $this; } + /** + * FOR FEDEX INTERNAL USE ONLY: This is only used to identify the appropriate backend source of rating data - particularly for specific acquisition systems. + * + * @param string $formId + * @return $this + */ + public function setFormId($formId) + { + $this->values['FormId'] = $formId; + return $this; + } + /** * To narrow the search to a period in time the ShipDateRangeBegin and ShipDateRangeEnd can be used to help eliminate duplicates. * diff --git a/src/FedEx/TrackService/ComplexType/TrackStatusDetail.php b/src/FedEx/TrackService/ComplexType/TrackStatusDetail.php index efc6ec72..477a7929 100644 --- a/src/FedEx/TrackService/ComplexType/TrackStatusDetail.php +++ b/src/FedEx/TrackService/ComplexType/TrackStatusDetail.php @@ -15,6 +15,7 @@ * @property string $Description * @property Address $Location * @property TrackStatusAncillaryDetail[] $AncillaryDetails + * @property TrackDelayDetail $DelayDetail */ class TrackStatusDetail extends AbstractComplexType @@ -85,4 +86,16 @@ public function setAncillaryDetails(array $ancillaryDetails) $this->values['AncillaryDetails'] = $ancillaryDetails; return $this; } + + /** + * Set DelayDetail + * + * @param TrackDelayDetail $delayDetail + * @return $this + */ + public function setDelayDetail(TrackDelayDetail $delayDetail) + { + $this->values['DelayDetail'] = $delayDetail; + return $this; + } } diff --git a/src/FedEx/TrackService/ComplexType/UserDetail.php b/src/FedEx/TrackService/ComplexType/UserDetail.php new file mode 100644 index 00000000..a2d90028 --- /dev/null +++ b/src/FedEx/TrackService/ComplexType/UserDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Package Movement Information Service + * + * @property string $UserId + * @property string $Password + * @property string $UniqueUserId + + */ +class UserDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UserDetail'; + + /** + * Set UserId + * + * @param string $userId + * @return $this + */ + public function setUserId($userId) + { + $this->values['UserId'] = $userId; + return $this; + } + + /** + * Set Password + * + * @param string $password + * @return $this + */ + public function setPassword($password) + { + $this->values['Password'] = $password; + return $this; + } + + /** + * Set UniqueUserId + * + * @param string $uniqueUserId + * @return $this + */ + public function setUniqueUserId($uniqueUserId) + { + $this->values['UniqueUserId'] = $uniqueUserId; + return $this; + } +} diff --git a/src/FedEx/TrackService/ComplexType/UsmcaCommodityDetail.php b/src/FedEx/TrackService/ComplexType/UsmcaCommodityDetail.php new file mode 100644 index 00000000..613c92e8 --- /dev/null +++ b/src/FedEx/TrackService/ComplexType/UsmcaCommodityDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Package Movement Information Service + * + * @property \FedEx\TrackService\SimpleType\UsmcaOriginCriterionCode|string $OriginCriterion + + */ +class UsmcaCommodityDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCommodityDetail'; + + /** + * Set OriginCriterion + * + * @param \FedEx\TrackService\SimpleType\UsmcaOriginCriterionCode|string $originCriterion + * @return $this + */ + public function setOriginCriterion($originCriterion) + { + $this->values['OriginCriterion'] = $originCriterion; + return $this; + } +} diff --git a/src/FedEx/TrackService/Request.php b/src/FedEx/TrackService/Request.php index 14b8670b..4b5e20d0 100644 --- a/src/FedEx/TrackService/Request.php +++ b/src/FedEx/TrackService/Request.php @@ -15,7 +15,7 @@ class Request extends AbstractRequest const PRODUCTION_URL = 'https://ws.fedex.com:443/web-services/track'; const TESTING_URL = 'https://wsbeta.fedex.com:443/web-services/track'; - protected static $wsdlFileName = 'TrackService_v19.wsdl'; + protected static $wsdlFileName = 'TrackService_v20.wsdl'; /** * Sends the TrackRequest and returns the response diff --git a/src/FedEx/TrackService/SimpleType/EPaymentModeType.php b/src/FedEx/TrackService/SimpleType/EPaymentModeType.php new file mode 100644 index 00000000..e46f114a --- /dev/null +++ b/src/FedEx/TrackService/SimpleType/EPaymentModeType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Package Movement Information Service + */ +class EPaymentModeType extends AbstractSimpleType +{ + const _APPLE_PAY = 'APPLE_PAY'; + const _CASH = 'CASH'; + const _CHECK = 'CHECK'; + const _CREDIT_CARD = 'CREDIT_CARD'; + const _GOOGLE_PAY = 'GOOGLE_PAY'; + const _PAYPAL = 'PAYPAL'; +} diff --git a/src/FedEx/TrackService/SimpleType/EPaymentProcessorType.php b/src/FedEx/TrackService/SimpleType/EPaymentProcessorType.php new file mode 100644 index 00000000..58c3e765 --- /dev/null +++ b/src/FedEx/TrackService/SimpleType/EPaymentProcessorType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Package Movement Information Service + */ +class EPaymentProcessorType extends AbstractSimpleType +{ + const _RETAIL_SINGLE_POINT_OF_SALE = 'RETAIL_SINGLE_POINT_OF_SALE'; +} diff --git a/src/FedEx/TrackService/SimpleType/ExpressRegionCode.php b/src/FedEx/TrackService/SimpleType/ExpressRegionCode.php new file mode 100644 index 00000000..845f2fb0 --- /dev/null +++ b/src/FedEx/TrackService/SimpleType/ExpressRegionCode.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Package Movement Information Service + */ +class ExpressRegionCode extends AbstractSimpleType +{ + const _APAC = 'APAC'; + const _CA = 'CA'; + const _EMEA = 'EMEA'; + const _LAC = 'LAC'; + const _US = 'US'; +} diff --git a/src/FedEx/TrackService/SimpleType/ServiceDelayType.php b/src/FedEx/TrackService/SimpleType/ServiceDelayType.php new file mode 100644 index 00000000..9cfdfd68 --- /dev/null +++ b/src/FedEx/TrackService/SimpleType/ServiceDelayType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Package Movement Information Service + */ +class ServiceDelayType extends AbstractSimpleType +{ + const _DELAYED = 'DELAYED'; + const _EARLY = 'EARLY'; + const _ON_TIME = 'ON_TIME'; +} diff --git a/src/FedEx/TrackService/SimpleType/TrackDelayType.php b/src/FedEx/TrackService/SimpleType/TrackDelayType.php new file mode 100644 index 00000000..cd3f90ab --- /dev/null +++ b/src/FedEx/TrackService/SimpleType/TrackDelayType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Package Movement Information Service + */ +class TrackDelayType extends AbstractSimpleType +{ + const _CUSTOMS = 'CUSTOMS'; + const _GENERAL = 'GENERAL'; + const _LOCAL = 'LOCAL'; + const _OPERATIONAL = 'OPERATIONAL'; + const _WEATHER = 'WEATHER'; +} diff --git a/src/FedEx/TrackService/SimpleType/TrackIdentifierType.php b/src/FedEx/TrackService/SimpleType/TrackIdentifierType.php index 929524aa..9844eb8e 100644 --- a/src/FedEx/TrackService/SimpleType/TrackIdentifierType.php +++ b/src/FedEx/TrackService/SimpleType/TrackIdentifierType.php @@ -14,14 +14,17 @@ class TrackIdentifierType extends AbstractSimpleType { const _BILL_OF_LADING = 'BILL_OF_LADING'; const _COD_RETURN_TRACKING_NUMBER = 'COD_RETURN_TRACKING_NUMBER'; + const _CONTACT_ID = 'CONTACT_ID'; const _CUSTOMER_AUTHORIZATION_NUMBER = 'CUSTOMER_AUTHORIZATION_NUMBER'; const _CUSTOMER_REFERENCE = 'CUSTOMER_REFERENCE'; const _DEPARTMENT = 'DEPARTMENT'; const _DOCUMENT_AIRWAY_BILL = 'DOCUMENT_AIRWAY_BILL'; + const _EXPRESS_ALTERNATE_REFERENCE = 'EXPRESS_ALTERNATE_REFERENCE'; const _FREE_FORM_REFERENCE = 'FREE_FORM_REFERENCE'; const _GROUND_INTERNATIONAL = 'GROUND_INTERNATIONAL'; const _GROUND_SHIPMENT_ID = 'GROUND_SHIPMENT_ID'; const _GROUP_MPS = 'GROUP_MPS'; + const _INTERNATIONAL_DISTRIBUTION = 'INTERNATIONAL_DISTRIBUTION'; const _INVOICE = 'INVOICE'; const _JOB_GLOBAL_TRACKING_NUMBER = 'JOB_GLOBAL_TRACKING_NUMBER'; const _ORDER_GLOBAL_TRACKING_NUMBER = 'ORDER_GLOBAL_TRACKING_NUMBER'; @@ -36,5 +39,6 @@ class TrackIdentifierType extends AbstractSimpleType const _SHIPPER_REFERENCE = 'SHIPPER_REFERENCE'; const _STANDARD_MPS = 'STANDARD_MPS'; const _TRACKING_NUMBER_OR_DOORTAG = 'TRACKING_NUMBER_OR_DOORTAG'; + const _TRANSBORDER_DISTRIBUTION = 'TRANSBORDER_DISTRIBUTION'; const _TRANSPORTATION_CONTROL_NUMBER = 'TRANSPORTATION_CONTROL_NUMBER'; } diff --git a/src/FedEx/TrackService/SimpleType/TrackRequestProcessingOptionType.php b/src/FedEx/TrackService/SimpleType/TrackRequestProcessingOptionType.php index f92e661e..a5a6183e 100644 --- a/src/FedEx/TrackService/SimpleType/TrackRequestProcessingOptionType.php +++ b/src/FedEx/TrackService/SimpleType/TrackRequestProcessingOptionType.php @@ -12,5 +12,6 @@ */ class TrackRequestProcessingOptionType extends AbstractSimpleType { + const _ALLOW_PARTIAL_RESULTS = 'ALLOW_PARTIAL_RESULTS'; const _INCLUDE_DETAILED_SCANS = 'INCLUDE_DETAILED_SCANS'; } diff --git a/src/FedEx/TrackService/SimpleType/TrackSubDelayType.php b/src/FedEx/TrackService/SimpleType/TrackSubDelayType.php new file mode 100644 index 00000000..9132b9e7 --- /dev/null +++ b/src/FedEx/TrackService/SimpleType/TrackSubDelayType.php @@ -0,0 +1,34 @@ + + * @package PHP FedEx API wrapper + * @subpackage Package Movement Information Service + */ +class TrackSubDelayType extends AbstractSimpleType +{ + const _AIRPORT_CLOSED = 'AIRPORT_CLOSED'; + const _AIR_TRAFFIC_CONTROL = 'AIR_TRAFFIC_CONTROL'; + const _CIVIL_UNREST = 'CIVIL_UNREST'; + const _EARTHQUAKE = 'EARTHQUAKE'; + const _FLOOD = 'FLOOD'; + const _FOG = 'FOG'; + const _FOREST_FIRE = 'FOREST_FIRE'; + const _HIGH_WINDS = 'HIGH_WINDS'; + const _HURRICANE = 'HURRICANE'; + const _ICE = 'ICE'; + const _INTERNATIONAL_STRIKE = 'INTERNATIONAL_STRIKE'; + const _MUDSLIDE = 'MUDSLIDE'; + const _SNOW = 'SNOW'; + const _STATE_OF_EMERGENCY = 'STATE_OF_EMERGENCY'; + const _TEMPORARY_LOCAL_DISRUPTION = 'TEMPORARY_LOCAL_DISRUPTION'; + const _THUNDERSTORM = 'THUNDERSTORM'; + const _TORNADO = 'TORNADO'; + const _TYPHOON = 'TYPHOON'; + const _VOLCANO = 'VOLCANO'; +} diff --git a/src/FedEx/TrackService/SimpleType/UsmcaOriginCriterionCode.php b/src/FedEx/TrackService/SimpleType/UsmcaOriginCriterionCode.php new file mode 100644 index 00000000..ecf371fd --- /dev/null +++ b/src/FedEx/TrackService/SimpleType/UsmcaOriginCriterionCode.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Package Movement Information Service + */ +class UsmcaOriginCriterionCode extends AbstractSimpleType +{ + const _A = 'A'; + const _B = 'B'; + const _C = 'C'; + const _D = 'D'; + const _E = 'E'; +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/AdditionalLabelsDetail.php b/src/FedEx/UploadDocumentService/ComplexType/AdditionalLabelsDetail.php new file mode 100644 index 00000000..9edae6ce --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/AdditionalLabelsDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\AdditionalLabelsType|string $Type + * @property int $Count + + */ +class AdditionalLabelsDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AdditionalLabelsDetail'; + + /** + * The type of additional labels to return. + * + * @param \FedEx\UploadDocumentService\SimpleType\AdditionalLabelsType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * The number of this type label to return + * + * @param int $count + * @return $this + */ + public function setCount($count) + { + $this->values['Count'] = $count; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Address.php b/src/FedEx/UploadDocumentService/ComplexType/Address.php new file mode 100644 index 00000000..3de1ca3d --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Address.php @@ -0,0 +1,140 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string[] $StreetLines + * @property string $City + * @property string $StateOrProvinceCode + * @property string $PostalCode + * @property string $UrbanizationCode + * @property string $CountryCode + * @property string $CountryName + * @property boolean $Residential + * @property string $GeographicCoordinates + + */ +class Address extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Address'; + + /** + * Combination of number, street name, etc. At least one line is required for a valid physical address; empty lines should not be included. + * + * @param string $streetLines + * @return $this + */ + public function setStreetLines($streetLines) + { + $this->values['StreetLines'] = $streetLines; + return $this; + } + + /** + * Name of city, town, etc. + * + * @param string $city + * @return $this + */ + public function setCity($city) + { + $this->values['City'] = $city; + return $this; + } + + /** + * Identifying abbreviation for US state, Canada province, etc. Format and presence of this field will vary, depending on country. + * + * @param string $stateOrProvinceCode + * @return $this + */ + public function setStateOrProvinceCode($stateOrProvinceCode) + { + $this->values['StateOrProvinceCode'] = $stateOrProvinceCode; + return $this; + } + + /** + * Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country. + * + * @param string $postalCode + * @return $this + */ + public function setPostalCode($postalCode) + { + $this->values['PostalCode'] = $postalCode; + return $this; + } + + /** + * Relevant only to addresses in Puerto Rico. + * + * @param string $urbanizationCode + * @return $this + */ + public function setUrbanizationCode($urbanizationCode) + { + $this->values['UrbanizationCode'] = $urbanizationCode; + return $this; + } + + /** + * The two-letter code used to identify a country. + * + * @param string $countryCode + * @return $this + */ + public function setCountryCode($countryCode) + { + $this->values['CountryCode'] = $countryCode; + return $this; + } + + /** + * The fully spelt out name of a country. + * + * @param string $countryName + * @return $this + */ + public function setCountryName($countryName) + { + $this->values['CountryName'] = $countryName; + return $this; + } + + /** + * Indicates whether this address residential (as opposed to commercial). + * + * @param boolean $residential + * @return $this + */ + public function setResidential($residential) + { + $this->values['Residential'] = $residential; + return $this; + } + + /** + * The geographic coordinates cooresponding to this address. + * + * @param string $geographicCoordinates + * @return $this + */ + public function setGeographicCoordinates($geographicCoordinates) + { + $this->values['GeographicCoordinates'] = $geographicCoordinates; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/AdrLicenseDetail.php b/src/FedEx/UploadDocumentService/ComplexType/AdrLicenseDetail.php new file mode 100644 index 00000000..f0bf8dd0 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/AdrLicenseDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property LicenseOrPermitDetail $LicenseOrPermitDetail + + */ +class AdrLicenseDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AdrLicenseDetail'; + + /** + * Set LicenseOrPermitDetail + * + * @param LicenseOrPermitDetail $licenseOrPermitDetail + * @return $this + */ + public function setLicenseOrPermitDetail(LicenseOrPermitDetail $licenseOrPermitDetail) + { + $this->values['LicenseOrPermitDetail'] = $licenseOrPermitDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/AlcoholDetail.php b/src/FedEx/UploadDocumentService/ComplexType/AlcoholDetail.php new file mode 100644 index 00000000..8fc474a3 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/AlcoholDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\AlcoholRecipientType|string $RecipientType + * @property string $ShipperAgreementType + + */ +class AlcoholDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AlcoholDetail'; + + /** + * The license type that the recipient of the alcohol package. + * + * @param \FedEx\UploadDocumentService\SimpleType\AlcoholRecipientType|string $recipientType + * @return $this + */ + public function setRecipientType($recipientType) + { + $this->values['RecipientType'] = $recipientType; + return $this; + } + + /** + * Specifies what type of entity the shipper of the alcohol shipment is registered as, for example, fulfillment house, retailer or a winery. + * + * @param string $shipperAgreementType + * @return $this + */ + public function setShipperAgreementType($shipperAgreementType) + { + $this->values['ShipperAgreementType'] = $shipperAgreementType; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/AncillaryFeeAndTax.php b/src/FedEx/UploadDocumentService/ComplexType/AncillaryFeeAndTax.php new file mode 100644 index 00000000..7ed35c31 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/AncillaryFeeAndTax.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\AncillaryFeeAndTaxType|string $Type + * @property string $Description + * @property Money $Amount + + */ +class AncillaryFeeAndTax extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AncillaryFeeAndTax'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\AncillaryFeeAndTaxType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set Description + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/AssociatedAccount.php b/src/FedEx/UploadDocumentService/ComplexType/AssociatedAccount.php new file mode 100644 index 00000000..068883c6 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/AssociatedAccount.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\AssociatedAccountNumberType|string $Type + * @property string $AccountNumber + + */ +class AssociatedAccount extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AssociatedAccount'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\AssociatedAccountNumberType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set AccountNumber + * + * @param string $accountNumber + * @return $this + */ + public function setAccountNumber($accountNumber) + { + $this->values['AccountNumber'] = $accountNumber; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/AssociatedFreightLineItemDetail.php b/src/FedEx/UploadDocumentService/ComplexType/AssociatedFreightLineItemDetail.php new file mode 100644 index 00000000..fbbae139 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/AssociatedFreightLineItemDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Id + + */ +class AssociatedFreightLineItemDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AssociatedFreightLineItemDetail'; + + /** + * A freight line item identifier referring to a freight shipment line item that describes goods contained within this handling unit. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/AssociatedShipmentDetail.php b/src/FedEx/UploadDocumentService/ComplexType/AssociatedShipmentDetail.php new file mode 100644 index 00000000..7992647b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/AssociatedShipmentDetail.php @@ -0,0 +1,153 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\AssociatedShipmentType|string $Type + * @property Party $Sender + * @property Party $Recipient + * @property string $ServiceType + * @property string $PackagingType + * @property TrackingId $TrackingId + * @property CustomerReference[] $CustomerReferences + * @property ShipmentOperationalDetail $ShipmentOperationalDetail + * @property PackageOperationalDetail $PackageOperationalDetail + * @property ShippingDocument $Label + + */ +class AssociatedShipmentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AssociatedShipmentDetail'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\AssociatedShipmentType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set Sender + * + * @param Party $sender + * @return $this + */ + public function setSender(Party $sender) + { + $this->values['Sender'] = $sender; + return $this; + } + + /** + * Set Recipient + * + * @param Party $recipient + * @return $this + */ + public function setRecipient(Party $recipient) + { + $this->values['Recipient'] = $recipient; + return $this; + } + + /** + * Set ServiceType + * + * @param string $serviceType + * @return $this + */ + public function setServiceType($serviceType) + { + $this->values['ServiceType'] = $serviceType; + return $this; + } + + /** + * Set PackagingType + * + * @param string $packagingType + * @return $this + */ + public function setPackagingType($packagingType) + { + $this->values['PackagingType'] = $packagingType; + return $this; + } + + /** + * Specifies the tracking id for the payment on the return. + * + * @param TrackingId $trackingId + * @return $this + */ + public function setTrackingId(TrackingId $trackingId) + { + $this->values['TrackingId'] = $trackingId; + return $this; + } + + /** + * Specifies additional customer reference data about the associated shipment. + * + * @param CustomerReference[] $customerReferences + * @return $this + */ + public function setCustomerReferences(array $customerReferences) + { + $this->values['CustomerReferences'] = $customerReferences; + return $this; + } + + /** + * Specifies shipment level operational information. + * + * @param ShipmentOperationalDetail $shipmentOperationalDetail + * @return $this + */ + public function setShipmentOperationalDetail(ShipmentOperationalDetail $shipmentOperationalDetail) + { + $this->values['ShipmentOperationalDetail'] = $shipmentOperationalDetail; + return $this; + } + + /** + * Specifies package level operational information on the associated shipment. This information is not tied to an individual outbound package. + * + * @param PackageOperationalDetail $packageOperationalDetail + * @return $this + */ + public function setPackageOperationalDetail(PackageOperationalDetail $packageOperationalDetail) + { + $this->values['PackageOperationalDetail'] = $packageOperationalDetail; + return $this; + } + + /** + * Set Label + * + * @param ShippingDocument $label + * @return $this + */ + public function setLabel(ShippingDocument $label) + { + $this->values['Label'] = $label; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/AssociatedTrackingId.php b/src/FedEx/UploadDocumentService/ComplexType/AssociatedTrackingId.php new file mode 100644 index 00000000..e4c9815f --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/AssociatedTrackingId.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\AssociatedTrackingIdType|string $Type + * @property TrackingId $TrackingId + + */ +class AssociatedTrackingId extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AssociatedTrackingId'; + + /** + * Specifies the relationship/reason for the other tracking ID. + * + * @param \FedEx\UploadDocumentService\SimpleType\AssociatedTrackingIdType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Identifies the other entity. + * + * @param TrackingId $trackingId + * @return $this + */ + public function setTrackingId(TrackingId $trackingId) + { + $this->values['TrackingId'] = $trackingId; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/BatteryClassificationDetail.php b/src/FedEx/UploadDocumentService/ComplexType/BatteryClassificationDetail.php new file mode 100644 index 00000000..f45ed495 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/BatteryClassificationDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\BatteryMaterialType|string $Material + * @property \FedEx\UploadDocumentService\SimpleType\BatteryPackingType|string $Packing + * @property \FedEx\UploadDocumentService\SimpleType\BatteryRegulatorySubType|string $RegulatorySubType + + */ +class BatteryClassificationDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'BatteryClassificationDetail'; + + /** + * Describes the material composition of the battery or cell. + * + * @param \FedEx\UploadDocumentService\SimpleType\BatteryMaterialType|string $material + * @return $this + */ + public function setMaterial($material) + { + $this->values['Material'] = $material; + return $this; + } + + /** + * Describes the packing arrangement of the battery or cell with respect to other items within the same package. + * + * @param \FedEx\UploadDocumentService\SimpleType\BatteryPackingType|string $packing + * @return $this + */ + public function setPacking($packing) + { + $this->values['Packing'] = $packing; + return $this; + } + + /** + * A regulation specific classification for the battery or cell. + * + * @param \FedEx\UploadDocumentService\SimpleType\BatteryRegulatorySubType|string $regulatorySubType + * @return $this + */ + public function setRegulatorySubType($regulatorySubType) + { + $this->values['RegulatorySubType'] = $regulatorySubType; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/BinaryBarcode.php b/src/FedEx/UploadDocumentService/ComplexType/BinaryBarcode.php new file mode 100644 index 00000000..36b634a2 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/BinaryBarcode.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\BinaryBarcodeType|string $Type + * @property string $Value + + */ +class BinaryBarcode extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'BinaryBarcode'; + + /** + * The kind of barcode data in this instance. + * + * @param \FedEx\UploadDocumentService\SimpleType\BinaryBarcodeType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * The data content of this instance. + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/BrokerDetail.php b/src/FedEx/UploadDocumentService/ComplexType/BrokerDetail.php new file mode 100644 index 00000000..8ab27b9b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/BrokerDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\BrokerType|string $Type + * @property Party $Broker + * @property Payment $BrokerageProcessingChargesPayment + + */ +class BrokerDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'BrokerDetail'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\BrokerType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set Broker + * + * @param Party $broker + * @return $this + */ + public function setBroker(Party $broker) + { + $this->values['Broker'] = $broker; + return $this; + } + + /** + * Specifies details about how the charges for the brokerage processing are paid for. + * + * @param Payment $brokerageProcessingChargesPayment + * @return $this + */ + public function setBrokerageProcessingChargesPayment(Payment $brokerageProcessingChargesPayment) + { + $this->values['BrokerageProcessingChargesPayment'] = $brokerageProcessingChargesPayment; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CertificateOfOriginDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CertificateOfOriginDetail.php new file mode 100644 index 00000000..19075778 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CertificateOfOriginDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentFormat $DocumentFormat + * @property CustomerImageUsage[] $CustomerImageUsages + + */ +class CertificateOfOriginDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CertificateOfOriginDetail'; + + /** + * Specifies characteristics of a shipping document to be produced. + * + * @param ShippingDocumentFormat $documentFormat + * @return $this + */ + public function setDocumentFormat(ShippingDocumentFormat $documentFormat) + { + $this->values['DocumentFormat'] = $documentFormat; + return $this; + } + + /** + * Specifies the usage and identification of customer supplied images to be used on this document. + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CodAddTransportationChargesDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CodAddTransportationChargesDetail.php new file mode 100644 index 00000000..05d13c25 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CodAddTransportationChargesDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\RateTypeBasisType|string $RateTypeBasis + * @property \FedEx\UploadDocumentService\SimpleType\CodAddTransportationChargeBasisType|string $ChargeBasis + * @property \FedEx\UploadDocumentService\SimpleType\ChargeBasisLevelType|string $ChargeBasisLevel + * @property \FedEx\UploadDocumentService\SimpleType\RateLevelBasisType|string $RateLevelBasis + + */ +class CodAddTransportationChargesDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CodAddTransportationChargesDetail'; + + /** + * Select the type of rate from which the element is to be selected. + * + * @param \FedEx\UploadDocumentService\SimpleType\RateTypeBasisType|string $rateTypeBasis + * @return $this + */ + public function setRateTypeBasis($rateTypeBasis) + { + $this->values['RateTypeBasis'] = $rateTypeBasis; + return $this; + } + + /** + * Set ChargeBasis + * + * @param \FedEx\UploadDocumentService\SimpleType\CodAddTransportationChargeBasisType|string $chargeBasis + * @return $this + */ + public function setChargeBasis($chargeBasis) + { + $this->values['ChargeBasis'] = $chargeBasis; + return $this; + } + + /** + * Set ChargeBasisLevel + * + * @param \FedEx\UploadDocumentService\SimpleType\ChargeBasisLevelType|string $chargeBasisLevel + * @return $this + */ + public function setChargeBasisLevel($chargeBasisLevel) + { + $this->values['ChargeBasisLevel'] = $chargeBasisLevel; + return $this; + } + + /** + * Select the type of rate used to calculate the percentage value of variable handling. + * + * @param \FedEx\UploadDocumentService\SimpleType\RateLevelBasisType|string $rateLevelBasis + * @return $this + */ + public function setRateLevelBasis($rateLevelBasis) + { + $this->values['RateLevelBasis'] = $rateLevelBasis; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CodDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CodDetail.php new file mode 100644 index 00000000..975df452 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CodDetail.php @@ -0,0 +1,127 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property Money $CodCollectionAmount + * @property CodAddTransportationChargesDetail $AddTransportationChargesDetail + * @property \FedEx\UploadDocumentService\SimpleType\CodCollectionType|string $CollectionType + * @property Party $CodRecipient + * @property ContactAndAddress $FinancialInstitutionContactAndAddress + * @property string $RemitToName + * @property \FedEx\UploadDocumentService\SimpleType\CodReturnReferenceIndicatorType|string $ReferenceIndicator + * @property TrackingId $ReturnTrackingId + + */ +class CodDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CodDetail'; + + /** + * Set CodCollectionAmount + * + * @param Money $codCollectionAmount + * @return $this + */ + public function setCodCollectionAmount(Money $codCollectionAmount) + { + $this->values['CodCollectionAmount'] = $codCollectionAmount; + return $this; + } + + /** + * Specifies the details of the charges are to be added to the COD collect amount. + * + * @param CodAddTransportationChargesDetail $addTransportationChargesDetail + * @return $this + */ + public function setAddTransportationChargesDetail(CodAddTransportationChargesDetail $addTransportationChargesDetail) + { + $this->values['AddTransportationChargesDetail'] = $addTransportationChargesDetail; + return $this; + } + + /** + * Identifies the type of funds FedEx should collect upon package delivery + * + * @param \FedEx\UploadDocumentService\SimpleType\CodCollectionType|string $collectionType + * @return $this + */ + public function setCollectionType($collectionType) + { + $this->values['CollectionType'] = $collectionType; + return $this; + } + + /** + * For Express this is the descriptive data that is used for the recipient of the FedEx Letter containing the COD payment. For Ground this is the descriptive data for the party to receive the payment that prints the COD receipt. + * + * @param Party $codRecipient + * @return $this + */ + public function setCodRecipient(Party $codRecipient) + { + $this->values['CodRecipient'] = $codRecipient; + return $this; + } + + /** + * When the FedEx COD payment type is not CASH, indicates the contact and address of the financial institution used to service the payment of the COD. + * + * @param ContactAndAddress $financialInstitutionContactAndAddress + * @return $this + */ + public function setFinancialInstitutionContactAndAddress(ContactAndAddress $financialInstitutionContactAndAddress) + { + $this->values['FinancialInstitutionContactAndAddress'] = $financialInstitutionContactAndAddress; + return $this; + } + + /** + * Specifies the name of person or company receiving the secured/unsecured funds payment + * + * @param string $remitToName + * @return $this + */ + public function setRemitToName($remitToName) + { + $this->values['RemitToName'] = $remitToName; + return $this; + } + + /** + * Indicates which type of reference information to include on the COD return shipping label. + * + * @param \FedEx\UploadDocumentService\SimpleType\CodReturnReferenceIndicatorType|string $referenceIndicator + * @return $this + */ + public function setReferenceIndicator($referenceIndicator) + { + $this->values['ReferenceIndicator'] = $referenceIndicator; + return $this; + } + + /** + * Only used with multi-piece COD shipments sent in multiple transactions. Required on last transaction only. + * + * @param TrackingId $returnTrackingId + * @return $this + */ + public function setReturnTrackingId(TrackingId $returnTrackingId) + { + $this->values['ReturnTrackingId'] = $returnTrackingId; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CodReturnPackageDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CodReturnPackageDetail.php new file mode 100644 index 00000000..c2470a36 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CodReturnPackageDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property Money $CollectionAmount + * @property \FedEx\UploadDocumentService\SimpleType\CodAdjustmentType|string $AdjustmentType + * @property boolean $Electronic + * @property PackageBarcodes $Barcodes + * @property ShippingDocument $Label + + */ +class CodReturnPackageDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CodReturnPackageDetail'; + + /** + * Set CollectionAmount + * + * @param Money $collectionAmount + * @return $this + */ + public function setCollectionAmount(Money $collectionAmount) + { + $this->values['CollectionAmount'] = $collectionAmount; + return $this; + } + + /** + * Set AdjustmentType + * + * @param \FedEx\UploadDocumentService\SimpleType\CodAdjustmentType|string $adjustmentType + * @return $this + */ + public function setAdjustmentType($adjustmentType) + { + $this->values['AdjustmentType'] = $adjustmentType; + return $this; + } + + /** + * Set Electronic + * + * @param boolean $electronic + * @return $this + */ + public function setElectronic($electronic) + { + $this->values['Electronic'] = $electronic; + return $this; + } + + /** + * Set Barcodes + * + * @param PackageBarcodes $barcodes + * @return $this + */ + public function setBarcodes(PackageBarcodes $barcodes) + { + $this->values['Barcodes'] = $barcodes; + return $this; + } + + /** + * Set Label + * + * @param ShippingDocument $label + * @return $this + */ + public function setLabel(ShippingDocument $label) + { + $this->values['Label'] = $label; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CommercialInvoice.php b/src/FedEx/UploadDocumentService/ComplexType/CommercialInvoice.php new file mode 100644 index 00000000..db295661 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CommercialInvoice.php @@ -0,0 +1,205 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string[] $Comments + * @property Money $FreightCharge + * @property Money $TaxesOrMiscellaneousCharge + * @property \FedEx\UploadDocumentService\SimpleType\TaxesOrMiscellaneousChargeType|string $TaxesOrMiscellaneousChargeType + * @property Money $PackingCosts + * @property Money $HandlingCosts + * @property string $SpecialInstructions + * @property string $DeclarationStatement + * @property string $PaymentTerms + * @property \FedEx\UploadDocumentService\SimpleType\PurposeOfShipmentType|string $Purpose + * @property string $PurposeOfShipmentDescription + * @property CustomerReference[] $CustomerReferences + * @property string $OriginatorName + * @property string $TermsOfSale + + */ +class CommercialInvoice extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CommercialInvoice'; + + /** + * Any comments that need to be communicated about this shipment. + * + * @param string $comments + * @return $this + */ + public function setComments($comments) + { + $this->values['Comments'] = $comments; + return $this; + } + + /** + * Any freight charges that are associated with this shipment. + * + * @param Money $freightCharge + * @return $this + */ + public function setFreightCharge(Money $freightCharge) + { + $this->values['FreightCharge'] = $freightCharge; + return $this; + } + + /** + * Any taxes or miscellaneous charges(other than Freight charges or Insurance charges) that are associated with this shipment. + * + * @param Money $taxesOrMiscellaneousCharge + * @return $this + */ + public function setTaxesOrMiscellaneousCharge(Money $taxesOrMiscellaneousCharge) + { + $this->values['TaxesOrMiscellaneousCharge'] = $taxesOrMiscellaneousCharge; + return $this; + } + + /** + * Specifies which kind of charge is being recorded in the preceding field. + * + * @param \FedEx\UploadDocumentService\SimpleType\TaxesOrMiscellaneousChargeType|string $taxesOrMiscellaneousChargeType + * @return $this + */ + public function setTaxesOrMiscellaneousChargeType($taxesOrMiscellaneousChargeType) + { + $this->values['TaxesOrMiscellaneousChargeType'] = $taxesOrMiscellaneousChargeType; + return $this; + } + + /** + * Any packing costs that are associated with this shipment. + * + * @param Money $packingCosts + * @return $this + */ + public function setPackingCosts(Money $packingCosts) + { + $this->values['PackingCosts'] = $packingCosts; + return $this; + } + + /** + * Any handling costs that are associated with this shipment. + * + * @param Money $handlingCosts + * @return $this + */ + public function setHandlingCosts(Money $handlingCosts) + { + $this->values['HandlingCosts'] = $handlingCosts; + return $this; + } + + /** + * Free-form text. + * + * @param string $specialInstructions + * @return $this + */ + public function setSpecialInstructions($specialInstructions) + { + $this->values['SpecialInstructions'] = $specialInstructions; + return $this; + } + + /** + * Free-form text. + * + * @param string $declarationStatement + * @return $this + */ + public function setDeclarationStatement($declarationStatement) + { + $this->values['DeclarationStatement'] = $declarationStatement; + return $this; + } + + /** + * Free-form text. + * + * @param string $paymentTerms + * @return $this + */ + public function setPaymentTerms($paymentTerms) + { + $this->values['PaymentTerms'] = $paymentTerms; + return $this; + } + + /** + * The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice. + * + * @param \FedEx\UploadDocumentService\SimpleType\PurposeOfShipmentType|string $purpose + * @return $this + */ + public function setPurpose($purpose) + { + $this->values['Purpose'] = $purpose; + return $this; + } + + /** + * Not exposed to Web Services customers; only present for use in mapping from CTS transactions. + * + * @param string $purposeOfShipmentDescription + * @return $this + */ + public function setPurposeOfShipmentDescription($purposeOfShipmentDescription) + { + $this->values['PurposeOfShipmentDescription'] = $purposeOfShipmentDescription; + return $this; + } + + /** + * Additional customer reference data. + * + * @param CustomerReference[] $customerReferences + * @return $this + */ + public function setCustomerReferences(array $customerReferences) + { + $this->values['CustomerReferences'] = $customerReferences; + return $this; + } + + /** + * Name of the International Expert that completed the Commercial Invoice different from Sender. + * + * @param string $originatorName + * @return $this + */ + public function setOriginatorName($originatorName) + { + $this->values['OriginatorName'] = $originatorName; + return $this; + } + + /** + * Required for dutiable international Express or Ground shipments. This field is not applicable to an international PIB(document) or a non-document which does not require a Commercial Invoice. + * + * @param string $termsOfSale + * @return $this + */ + public function setTermsOfSale($termsOfSale) + { + $this->values['TermsOfSale'] = $termsOfSale; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CommercialInvoiceDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CommercialInvoiceDetail.php new file mode 100644 index 00000000..697ddc82 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CommercialInvoiceDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentFormat $Format + * @property CustomerImageUsage[] $CustomerImageUsages + * @property string $FormVersion + + */ +class CommercialInvoiceDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CommercialInvoiceDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Specifies the usage and identification of a customer supplied image to be used on this document. + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } + + /** + * Set FormVersion + * + * @param string $formVersion + * @return $this + */ + public function setFormVersion($formVersion) + { + $this->values['FormVersion'] = $formVersion; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Commodity.php b/src/FedEx/UploadDocumentService/ComplexType/Commodity.php new file mode 100644 index 00000000..605c9e39 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Commodity.php @@ -0,0 +1,270 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $CommodityId + * @property string $Name + * @property int $NumberOfPieces + * @property string $Description + * @property \FedEx\UploadDocumentService\SimpleType\CommodityPurposeType|string $Purpose + * @property string $CountryOfManufacture + * @property string $HarmonizedCode + * @property Weight $Weight + * @property float $Quantity + * @property string $QuantityUnits + * @property Measure[] $AdditionalMeasures + * @property Money $UnitPrice + * @property Money $CustomsValue + * @property EdtExciseCondition[] $ExciseConditions + * @property string $ExportLicenseNumber + * @property string $ExportLicenseExpirationDate + * @property string $CIMarksAndNumbers + * @property string $PartNumber + * @property UsmcaCommodityDetail $UsmcaDetail + + */ +class Commodity extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Commodity'; + + /** + * Value used to identify a commodity description; must be unique within the containing shipment. + * + * @param string $commodityId + * @return $this + */ + public function setCommodityId($commodityId) + { + $this->values['CommodityId'] = $commodityId; + return $this; + } + + /** + * FedEx internal commodity identifier + * + * @param string $name + * @return $this + */ + public function setName($name) + { + $this->values['Name'] = $name; + return $this; + } + + /** + * Set NumberOfPieces + * + * @param int $numberOfPieces + * @return $this + */ + public function setNumberOfPieces($numberOfPieces) + { + $this->values['NumberOfPieces'] = $numberOfPieces; + return $this; + } + + /** + * A free-form description of the commodity, which could be used for customs clearance documentation. + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set Purpose + * + * @param \FedEx\UploadDocumentService\SimpleType\CommodityPurposeType|string $purpose + * @return $this + */ + public function setPurpose($purpose) + { + $this->values['Purpose'] = $purpose; + return $this; + } + + /** + * Set CountryOfManufacture + * + * @param string $countryOfManufacture + * @return $this + */ + public function setCountryOfManufacture($countryOfManufacture) + { + $this->values['CountryOfManufacture'] = $countryOfManufacture; + return $this; + } + + /** + * Set HarmonizedCode + * + * @param string $harmonizedCode + * @return $this + */ + public function setHarmonizedCode($harmonizedCode) + { + $this->values['HarmonizedCode'] = $harmonizedCode; + return $this; + } + + /** + * Set Weight + * + * @param Weight $weight + * @return $this + */ + public function setWeight(Weight $weight) + { + $this->values['Weight'] = $weight; + return $this; + } + + /** + * Set Quantity + * + * @param float $quantity + * @return $this + */ + public function setQuantity($quantity) + { + $this->values['Quantity'] = $quantity; + return $this; + } + + /** + * Set QuantityUnits + * + * @param string $quantityUnits + * @return $this + */ + public function setQuantityUnits($quantityUnits) + { + $this->values['QuantityUnits'] = $quantityUnits; + return $this; + } + + /** + * Contains only additional quantitative information other than weight and quantity to calculate duties and taxes. + * + * @param Measure[] $additionalMeasures + * @return $this + */ + public function setAdditionalMeasures(array $additionalMeasures) + { + $this->values['AdditionalMeasures'] = $additionalMeasures; + return $this; + } + + /** + * Set UnitPrice + * + * @param Money $unitPrice + * @return $this + */ + public function setUnitPrice(Money $unitPrice) + { + $this->values['UnitPrice'] = $unitPrice; + return $this; + } + + /** + * The value of the commodity for customs purposes. The field should be the unit price multiplied by the quantity. + * + * @param Money $customsValue + * @return $this + */ + public function setCustomsValue(Money $customsValue) + { + $this->values['CustomsValue'] = $customsValue; + return $this; + } + + /** + * Defines additional characteristic of commodity used to calculate duties and taxes + * + * @param EdtExciseCondition[] $exciseConditions + * @return $this + */ + public function setExciseConditions(array $exciseConditions) + { + $this->values['ExciseConditions'] = $exciseConditions; + return $this; + } + + /** + * Set ExportLicenseNumber + * + * @param string $exportLicenseNumber + * @return $this + */ + public function setExportLicenseNumber($exportLicenseNumber) + { + $this->values['ExportLicenseNumber'] = $exportLicenseNumber; + return $this; + } + + /** + * Set ExportLicenseExpirationDate + * + * @param string $exportLicenseExpirationDate + * @return $this + */ + public function setExportLicenseExpirationDate($exportLicenseExpirationDate) + { + $this->values['ExportLicenseExpirationDate'] = $exportLicenseExpirationDate; + return $this; + } + + /** + * Set CIMarksAndNumbers + * + * @param string $cIMarksAndNumbers + * @return $this + */ + public function setCIMarksAndNumbers($cIMarksAndNumbers) + { + $this->values['CIMarksAndNumbers'] = $cIMarksAndNumbers; + return $this; + } + + /** + * Set PartNumber + * + * @param string $partNumber + * @return $this + */ + public function setPartNumber($partNumber) + { + $this->values['PartNumber'] = $partNumber; + return $this; + } + + /** + * Set UsmcaDetail + * + * @param UsmcaCommodityDetail $usmcaDetail + * @return $this + */ + public function setUsmcaDetail(UsmcaCommodityDetail $usmcaDetail) + { + $this->values['UsmcaDetail'] = $usmcaDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CompletedCodDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CompletedCodDetail.php new file mode 100644 index 00000000..cd0a9fe8 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CompletedCodDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property Money $CollectionAmount + * @property \FedEx\UploadDocumentService\SimpleType\CodAdjustmentType|string $AdjustmentType + + */ +class CompletedCodDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CompletedCodDetail'; + + /** + * Set CollectionAmount + * + * @param Money $collectionAmount + * @return $this + */ + public function setCollectionAmount(Money $collectionAmount) + { + $this->values['CollectionAmount'] = $collectionAmount; + return $this; + } + + /** + * Set AdjustmentType + * + * @param \FedEx\UploadDocumentService\SimpleType\CodAdjustmentType|string $adjustmentType + * @return $this + */ + public function setAdjustmentType($adjustmentType) + { + $this->values['AdjustmentType'] = $adjustmentType; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CompletedEtdDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CompletedEtdDetail.php new file mode 100644 index 00000000..f04e675d --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CompletedEtdDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $FolderId + * @property \FedEx\UploadDocumentService\SimpleType\CompletedEtdType|string $Type + * @property UploadDocumentReferenceDetail[] $UploadDocumentReferenceDetails + + */ +class CompletedEtdDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CompletedEtdDetail'; + + /** + * The identifier for all clearance documents associated with this shipment. + * + * @param string $folderId + * @return $this + */ + public function setFolderId($folderId) + { + $this->values['FolderId'] = $folderId; + return $this; + } + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\CompletedEtdType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set UploadDocumentReferenceDetails + * + * @param UploadDocumentReferenceDetail[] $uploadDocumentReferenceDetails + * @return $this + */ + public function setUploadDocumentReferenceDetails(array $uploadDocumentReferenceDetails) + { + $this->values['UploadDocumentReferenceDetails'] = $uploadDocumentReferenceDetails; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CompletedHazardousPackageDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CompletedHazardousPackageDetail.php new file mode 100644 index 00000000..2f4eb2cd --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CompletedHazardousPackageDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $ReferenceId + * @property \FedEx\UploadDocumentService\SimpleType\DangerousGoodsAccessibilityType|string $Accessibility + * @property boolean $CargoAircraftOnly + * @property \FedEx\UploadDocumentService\SimpleType\HazardousCommodityRegulationType|string $Regulation + * @property float $RadioactiveTransportIndex + * @property \FedEx\UploadDocumentService\SimpleType\RadioactiveLabelType|string $LabelType + * @property ValidatedHazardousContainer[] $Containers + + */ +class CompletedHazardousPackageDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CompletedHazardousPackageDetail'; + + /** + * A unique reference id that matches the package to a package configuration. This is populated if the client provided a package configuration for several packages that have the exact same dangerous goods content. + * + * @param string $referenceId + * @return $this + */ + public function setReferenceId($referenceId) + { + $this->values['ReferenceId'] = $referenceId; + return $this; + } + + /** + * Set Accessibility + * + * @param \FedEx\UploadDocumentService\SimpleType\DangerousGoodsAccessibilityType|string $accessibility + * @return $this + */ + public function setAccessibility($accessibility) + { + $this->values['Accessibility'] = $accessibility; + return $this; + } + + /** + * When true indicates that the package can be transported only on a cargo aircraft. + * + * @param boolean $cargoAircraftOnly + * @return $this + */ + public function setCargoAircraftOnly($cargoAircraftOnly) + { + $this->values['CargoAircraftOnly'] = $cargoAircraftOnly; + return $this; + } + + /** + * Set Regulation + * + * @param \FedEx\UploadDocumentService\SimpleType\HazardousCommodityRegulationType|string $regulation + * @return $this + */ + public function setRegulation($regulation) + { + $this->values['Regulation'] = $regulation; + return $this; + } + + /** + * Specifies the maximum radiation level from the package (measured in microSieverts per hour at a distance of one meter from the external surface of the package, divided by 10). + * + * @param float $radioactiveTransportIndex + * @return $this + */ + public function setRadioactiveTransportIndex($radioactiveTransportIndex) + { + $this->values['RadioactiveTransportIndex'] = $radioactiveTransportIndex; + return $this; + } + + /** + * Specifies the label that is to be put on a package containing radioactive material. The label type is determined in accordance with the Transportation of Dangerous Goods Act and indicates the type of radioactive material being handled as well as the relative risk. + * + * @param \FedEx\UploadDocumentService\SimpleType\RadioactiveLabelType|string $labelType + * @return $this + */ + public function setLabelType($labelType) + { + $this->values['LabelType'] = $labelType; + return $this; + } + + /** + * Documents the kinds and quantities of all hazardous commodities in the current package. + * + * @param ValidatedHazardousContainer[] $containers + * @return $this + */ + public function setContainers(array $containers) + { + $this->values['Containers'] = $containers; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CompletedHazardousShipmentDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CompletedHazardousShipmentDetail.php new file mode 100644 index 00000000..63edc070 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CompletedHazardousShipmentDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property CompletedHazardousSummaryDetail $HazardousSummaryDetail + * @property ShipmentDryIceDetail $DryIceDetail + * @property AdrLicenseDetail $AdrLicense + + */ +class CompletedHazardousShipmentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CompletedHazardousShipmentDetail'; + + /** + * Set HazardousSummaryDetail + * + * @param CompletedHazardousSummaryDetail $hazardousSummaryDetail + * @return $this + */ + public function setHazardousSummaryDetail(CompletedHazardousSummaryDetail $hazardousSummaryDetail) + { + $this->values['HazardousSummaryDetail'] = $hazardousSummaryDetail; + return $this; + } + + /** + * Set DryIceDetail + * + * @param ShipmentDryIceDetail $dryIceDetail + * @return $this + */ + public function setDryIceDetail(ShipmentDryIceDetail $dryIceDetail) + { + $this->values['DryIceDetail'] = $dryIceDetail; + return $this; + } + + /** + * This contains the ADR License information, which identifies the license number and ADR category under which the customer is allowed to ship. + * + * @param AdrLicenseDetail $adrLicense + * @return $this + */ + public function setAdrLicense(AdrLicenseDetail $adrLicense) + { + $this->values['AdrLicense'] = $adrLicense; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CompletedHazardousSummaryDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CompletedHazardousSummaryDetail.php new file mode 100644 index 00000000..09c8a306 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CompletedHazardousSummaryDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $SmallQuantityExceptionPackageCount + + */ +class CompletedHazardousSummaryDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CompletedHazardousSummaryDetail'; + + /** + * Specifies the total number of packages containing hazardous commodities in small exceptions. + * + * @param int $smallQuantityExceptionPackageCount + * @return $this + */ + public function setSmallQuantityExceptionPackageCount($smallQuantityExceptionPackageCount) + { + $this->values['SmallQuantityExceptionPackageCount'] = $smallQuantityExceptionPackageCount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CompletedHoldAtLocationDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CompletedHoldAtLocationDetail.php new file mode 100644 index 00000000..a0959688 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CompletedHoldAtLocationDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ContactAndAddress $HoldingLocation + * @property \FedEx\UploadDocumentService\SimpleType\FedExLocationType|string $HoldingLocationType + * @property string $HoldingLocationTypeForDisplay + + */ +class CompletedHoldAtLocationDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CompletedHoldAtLocationDetail'; + + /** + * Identifies the branded location name, the hold at location phone number and the address of the location. + * + * @param ContactAndAddress $holdingLocation + * @return $this + */ + public function setHoldingLocation(ContactAndAddress $holdingLocation) + { + $this->values['HoldingLocation'] = $holdingLocation; + return $this; + } + + /** + * Identifies the type of FedEx location. + * + * @param \FedEx\UploadDocumentService\SimpleType\FedExLocationType|string $holdingLocationType + * @return $this + */ + public function setHoldingLocationType($holdingLocationType) + { + $this->values['HoldingLocationType'] = $holdingLocationType; + return $this; + } + + /** + * Set HoldingLocationTypeForDisplay + * + * @param string $holdingLocationTypeForDisplay + * @return $this + */ + public function setHoldingLocationTypeForDisplay($holdingLocationTypeForDisplay) + { + $this->values['HoldingLocationTypeForDisplay'] = $holdingLocationTypeForDisplay; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CompletedPackageDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CompletedPackageDetail.php new file mode 100644 index 00000000..000712bd --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CompletedPackageDetail.php @@ -0,0 +1,192 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $SequenceNumber + * @property TrackingId[] $TrackingIds + * @property int $GroupNumber + * @property \FedEx\UploadDocumentService\SimpleType\OversizeClassType|string $OversizeClass + * @property PackageRating $PackageRating + * @property SpecialServiceDescription[] $SpecialServiceDescriptions + * @property PackageOperationalDetail $OperationalDetail + * @property ShippingDocument $Label + * @property ShippingDocument[] $PackageDocuments + * @property CodReturnPackageDetail $CodReturnDetail + * @property \FedEx\UploadDocumentService\SimpleType\SignatureOptionType|string $SignatureOption + * @property Weight $DryIceWeight + * @property CompletedHazardousPackageDetail $HazardousPackageDetail + + */ +class CompletedPackageDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CompletedPackageDetail'; + + /** + * Set SequenceNumber + * + * @param int $sequenceNumber + * @return $this + */ + public function setSequenceNumber($sequenceNumber) + { + $this->values['SequenceNumber'] = $sequenceNumber; + return $this; + } + + /** + * Set TrackingIds + * + * @param TrackingId[] $trackingIds + * @return $this + */ + public function setTrackingIds(array $trackingIds) + { + $this->values['TrackingIds'] = $trackingIds; + return $this; + } + + /** + * An identifier of each group of identical packages. + * + * @param int $groupNumber + * @return $this + */ + public function setGroupNumber($groupNumber) + { + $this->values['GroupNumber'] = $groupNumber; + return $this; + } + + /** + * Set OversizeClass + * + * @param \FedEx\UploadDocumentService\SimpleType\OversizeClassType|string $oversizeClass + * @return $this + */ + public function setOversizeClass($oversizeClass) + { + $this->values['OversizeClass'] = $oversizeClass; + return $this; + } + + /** + * All package-level rating data for this package, which may include data for multiple rate types. + * + * @param PackageRating $packageRating + * @return $this + */ + public function setPackageRating(PackageRating $packageRating) + { + $this->values['PackageRating'] = $packageRating; + return $this; + } + + /** + * Set SpecialServiceDescriptions + * + * @param SpecialServiceDescription[] $specialServiceDescriptions + * @return $this + */ + public function setSpecialServiceDescriptions(array $specialServiceDescriptions) + { + $this->values['SpecialServiceDescriptions'] = $specialServiceDescriptions; + return $this; + } + + /** + * Set OperationalDetail + * + * @param PackageOperationalDetail $operationalDetail + * @return $this + */ + public function setOperationalDetail(PackageOperationalDetail $operationalDetail) + { + $this->values['OperationalDetail'] = $operationalDetail; + return $this; + } + + /** + * Set Label + * + * @param ShippingDocument $label + * @return $this + */ + public function setLabel(ShippingDocument $label) + { + $this->values['Label'] = $label; + return $this; + } + + /** + * All package-level shipping documents (other than labels and barcodes). For use in loads after January, 2008. + * + * @param ShippingDocument[] $packageDocuments + * @return $this + */ + public function setPackageDocuments(array $packageDocuments) + { + $this->values['PackageDocuments'] = $packageDocuments; + return $this; + } + + /** + * Specifies the information associated with this package that has COD special service in a ground shipment. + * + * @param CodReturnPackageDetail $codReturnDetail + * @return $this + */ + public function setCodReturnDetail(CodReturnPackageDetail $codReturnDetail) + { + $this->values['CodReturnDetail'] = $codReturnDetail; + return $this; + } + + /** + * Actual signature option applied, to allow for cases in which the original value conflicted with other service features in the shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\SignatureOptionType|string $signatureOption + * @return $this + */ + public function setSignatureOption($signatureOption) + { + $this->values['SignatureOption'] = $signatureOption; + return $this; + } + + /** + * Set DryIceWeight + * + * @param Weight $dryIceWeight + * @return $this + */ + public function setDryIceWeight(Weight $dryIceWeight) + { + $this->values['DryIceWeight'] = $dryIceWeight; + return $this; + } + + /** + * Documents the kinds and quantities of all hazardous commodities in the current package, using updated hazardous commodity description data. + * + * @param CompletedHazardousPackageDetail $hazardousPackageDetail + * @return $this + */ + public function setHazardousPackageDetail(CompletedHazardousPackageDetail $hazardousPackageDetail) + { + $this->values['HazardousPackageDetail'] = $hazardousPackageDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CompletedShipmentConsolidationDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CompletedShipmentConsolidationDetail.php new file mode 100644 index 00000000..649f4484 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CompletedShipmentConsolidationDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ConsolidationType|string $Type + * @property \FedEx\UploadDocumentService\SimpleType\ConsolidationShipmentRoleType|string $Role + * @property CompletedTransborderDistributionDetail $CompletedTransborderDistributionDetail + * @property AssociatedTrackingId[] $AssociatedTrackingIds + + */ +class CompletedShipmentConsolidationDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CompletedShipmentConsolidationDetail'; + + /** + * Identifies the type of consolidation containing this shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\ConsolidationType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Identifies the role of this shipment within the consolidation. + * + * @param \FedEx\UploadDocumentService\SimpleType\ConsolidationShipmentRoleType|string $role + * @return $this + */ + public function setRole($role) + { + $this->values['Role'] = $role; + return $this; + } + + /** + * Set CompletedTransborderDistributionDetail + * + * @param CompletedTransborderDistributionDetail $completedTransborderDistributionDetail + * @return $this + */ + public function setCompletedTransborderDistributionDetail(CompletedTransborderDistributionDetail $completedTransborderDistributionDetail) + { + $this->values['CompletedTransborderDistributionDetail'] = $completedTransborderDistributionDetail; + return $this; + } + + /** + * Identifies other tracking IDs associated with this shipment in the same consolidation. + * + * @param AssociatedTrackingId[] $associatedTrackingIds + * @return $this + */ + public function setAssociatedTrackingIds(array $associatedTrackingIds) + { + $this->values['AssociatedTrackingIds'] = $associatedTrackingIds; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CompletedShipmentDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CompletedShipmentDetail.php new file mode 100644 index 00000000..32986ba9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CompletedShipmentDetail.php @@ -0,0 +1,296 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property boolean $UsDomestic + * @property \FedEx\UploadDocumentService\SimpleType\CarrierCodeType|string $CarrierCode + * @property TrackingId $MasterTrackingId + * @property ServiceDescription $ServiceDescription + * @property PackagingDescription $PackagingDescription + * @property SpecialServiceDescription[] $SpecialServiceDescriptions + * @property ShipmentOperationalDetail $OperationalDetail + * @property PendingShipmentAccessDetail $AccessDetail + * @property CompletedTagDetail $TagDetail + * @property CompletedSmartPostDetail $SmartPostDetail + * @property CompletedHazardousShipmentDetail $HazardousShipmentDetail + * @property ShipmentRating $ShipmentRating + * @property CompletedShipmentConsolidationDetail $ConsolidationDetail + * @property CompletedHoldAtLocationDetail $CompletedHoldAtLocationDetail + * @property string $ExportComplianceStatement + * @property DocumentRequirementsDetail $DocumentRequirements + * @property CompletedEtdDetail $CompletedEtdDetail + * @property ShippingDocument[] $ShipmentDocuments + * @property AssociatedShipmentDetail[] $AssociatedShipments + * @property CompletedCodDetail $CompletedCodDetail + * @property CompletedPackageDetail[] $CompletedPackageDetails + + */ +class CompletedShipmentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CompletedShipmentDetail'; + + /** + * Set UsDomestic + * + * @param boolean $usDomestic + * @return $this + */ + public function setUsDomestic($usDomestic) + { + $this->values['UsDomestic'] = $usDomestic; + return $this; + } + + /** + * Set CarrierCode + * + * @param \FedEx\UploadDocumentService\SimpleType\CarrierCodeType|string $carrierCode + * @return $this + */ + public function setCarrierCode($carrierCode) + { + $this->values['CarrierCode'] = $carrierCode; + return $this; + } + + /** + * Set MasterTrackingId + * + * @param TrackingId $masterTrackingId + * @return $this + */ + public function setMasterTrackingId(TrackingId $masterTrackingId) + { + $this->values['MasterTrackingId'] = $masterTrackingId; + return $this; + } + + /** + * Set ServiceDescription + * + * @param ServiceDescription $serviceDescription + * @return $this + */ + public function setServiceDescription(ServiceDescription $serviceDescription) + { + $this->values['ServiceDescription'] = $serviceDescription; + return $this; + } + + /** + * Set PackagingDescription + * + * @param PackagingDescription $packagingDescription + * @return $this + */ + public function setPackagingDescription(PackagingDescription $packagingDescription) + { + $this->values['PackagingDescription'] = $packagingDescription; + return $this; + } + + /** + * Set SpecialServiceDescriptions + * + * @param SpecialServiceDescription[] $specialServiceDescriptions + * @return $this + */ + public function setSpecialServiceDescriptions(array $specialServiceDescriptions) + { + $this->values['SpecialServiceDescriptions'] = $specialServiceDescriptions; + return $this; + } + + /** + * Set OperationalDetail + * + * @param ShipmentOperationalDetail $operationalDetail + * @return $this + */ + public function setOperationalDetail(ShipmentOperationalDetail $operationalDetail) + { + $this->values['OperationalDetail'] = $operationalDetail; + return $this; + } + + /** + * Only used with pending shipments. + * + * @param PendingShipmentAccessDetail $accessDetail + * @return $this + */ + public function setAccessDetail(PendingShipmentAccessDetail $accessDetail) + { + $this->values['AccessDetail'] = $accessDetail; + return $this; + } + + /** + * Only used in the reply to tag requests. + * + * @param CompletedTagDetail $tagDetail + * @return $this + */ + public function setTagDetail(CompletedTagDetail $tagDetail) + { + $this->values['TagDetail'] = $tagDetail; + return $this; + } + + /** + * Set SmartPostDetail + * + * @param CompletedSmartPostDetail $smartPostDetail + * @return $this + */ + public function setSmartPostDetail(CompletedSmartPostDetail $smartPostDetail) + { + $this->values['SmartPostDetail'] = $smartPostDetail; + return $this; + } + + /** + * Computed shipment level information about hazarous commodities. + * + * @param CompletedHazardousShipmentDetail $hazardousShipmentDetail + * @return $this + */ + public function setHazardousShipmentDetail(CompletedHazardousShipmentDetail $hazardousShipmentDetail) + { + $this->values['HazardousShipmentDetail'] = $hazardousShipmentDetail; + return $this; + } + + /** + * All shipment-level rating data for this shipment, which may include data for multiple rate types. + * + * @param ShipmentRating $shipmentRating + * @return $this + */ + public function setShipmentRating(ShipmentRating $shipmentRating) + { + $this->values['ShipmentRating'] = $shipmentRating; + return $this; + } + + /** + * Result data for a shipment within a consolidation. + * + * @param CompletedShipmentConsolidationDetail $consolidationDetail + * @return $this + */ + public function setConsolidationDetail(CompletedShipmentConsolidationDetail $consolidationDetail) + { + $this->values['ConsolidationDetail'] = $consolidationDetail; + return $this; + } + + /** + * Returns the default holding location information when HOLD_AT_LOCATION special service is requested and the client does not specify the hold location address. + * + * @param CompletedHoldAtLocationDetail $completedHoldAtLocationDetail + * @return $this + */ + public function setCompletedHoldAtLocationDetail(CompletedHoldAtLocationDetail $completedHoldAtLocationDetail) + { + $this->values['CompletedHoldAtLocationDetail'] = $completedHoldAtLocationDetail; + return $this; + } + + /** + * Returns any defaults or updates applied to RequestedShipment.exportDetail.exportComplianceStatement. + * + * @param string $exportComplianceStatement + * @return $this + */ + public function setExportComplianceStatement($exportComplianceStatement) + { + $this->values['ExportComplianceStatement'] = $exportComplianceStatement; + return $this; + } + + /** + * This specifies what rules or requirements for documents are applicable for this shipment. This may identify required or prohibited documents. + * + * @param DocumentRequirementsDetail $documentRequirements + * @return $this + */ + public function setDocumentRequirements(DocumentRequirementsDetail $documentRequirements) + { + $this->values['DocumentRequirements'] = $documentRequirements; + return $this; + } + + /** + * Set CompletedEtdDetail + * + * @param CompletedEtdDetail $completedEtdDetail + * @return $this + */ + public function setCompletedEtdDetail(CompletedEtdDetail $completedEtdDetail) + { + $this->values['CompletedEtdDetail'] = $completedEtdDetail; + return $this; + } + + /** + * All shipment-level shipping documents (other than labels and barcodes). + * + * @param ShippingDocument[] $shipmentDocuments + * @return $this + */ + public function setShipmentDocuments(array $shipmentDocuments) + { + $this->values['ShipmentDocuments'] = $shipmentDocuments; + return $this; + } + + /** + * Set AssociatedShipments + * + * @param AssociatedShipmentDetail[] $associatedShipments + * @return $this + */ + public function setAssociatedShipments(array $associatedShipments) + { + $this->values['AssociatedShipments'] = $associatedShipments; + return $this; + } + + /** + * Set CompletedCodDetail + * + * @param CompletedCodDetail $completedCodDetail + * @return $this + */ + public function setCompletedCodDetail(CompletedCodDetail $completedCodDetail) + { + $this->values['CompletedCodDetail'] = $completedCodDetail; + return $this; + } + + /** + * Set CompletedPackageDetails + * + * @param CompletedPackageDetail[] $completedPackageDetails + * @return $this + */ + public function setCompletedPackageDetails(array $completedPackageDetails) + { + $this->values['CompletedPackageDetails'] = $completedPackageDetails; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CompletedSmartPostDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CompletedSmartPostDetail.php new file mode 100644 index 00000000..178d36f2 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CompletedSmartPostDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\CarrierCodeType|string $PickUpCarrier + * @property boolean $Machinable + + */ +class CompletedSmartPostDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CompletedSmartPostDetail'; + + /** + * Identifies the carrier that will pick up the SmartPost shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\CarrierCodeType|string $pickUpCarrier + * @return $this + */ + public function setPickUpCarrier($pickUpCarrier) + { + $this->values['PickUpCarrier'] = $pickUpCarrier; + return $this; + } + + /** + * Indicates whether the shipment is deemed to be machineable, based on dimensions, weight, and packaging. + * + * @param boolean $machinable + * @return $this + */ + public function setMachinable($machinable) + { + $this->values['Machinable'] = $machinable; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CompletedTagDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CompletedTagDetail.php new file mode 100644 index 00000000..e81f0b6e --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CompletedTagDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $ConfirmationNumber + * @property string $AccessTime + * @property string $CutoffTime + * @property string $Location + * @property string $DeliveryCommitment + * @property string $DispatchDate + + */ +class CompletedTagDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CompletedTagDetail'; + + /** + * Set ConfirmationNumber + * + * @param string $confirmationNumber + * @return $this + */ + public function setConfirmationNumber($confirmationNumber) + { + $this->values['ConfirmationNumber'] = $confirmationNumber; + return $this; + } + + /** + * As of June 2007, returned only for FedEx Express services. + * + * @param string $accessTime + * @return $this + */ + public function setAccessTime($accessTime) + { + $this->values['AccessTime'] = $accessTime; + return $this; + } + + /** + * As of June 2007, returned only for FedEx Express services. + * + * @param string $cutoffTime + * @return $this + */ + public function setCutoffTime($cutoffTime) + { + $this->values['CutoffTime'] = $cutoffTime; + return $this; + } + + /** + * As of June 2007, returned only for FedEx Express services. + * + * @param string $location + * @return $this + */ + public function setLocation($location) + { + $this->values['Location'] = $location; + return $this; + } + + /** + * As of June 2007, returned only for FedEx Express services. + * + * @param string $deliveryCommitment + * @return $this + */ + public function setDeliveryCommitment($deliveryCommitment) + { + $this->values['DeliveryCommitment'] = $deliveryCommitment; + return $this; + } + + /** + * FEDEX INTERNAL USE ONLY: for use by INET. + * + * @param string $dispatchDate + * @return $this + */ + public function setDispatchDate($dispatchDate) + { + $this->values['DispatchDate'] = $dispatchDate; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CompletedTransborderDistributionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CompletedTransborderDistributionDetail.php new file mode 100644 index 00000000..99a90ed7 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CompletedTransborderDistributionDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $DeconsolidationLocationPostalCode + + */ +class CompletedTransborderDistributionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CompletedTransborderDistributionDetail'; + + /** + * Postal code of the destination country entry point; this is the location at which the constituent shipments are tendered into the destination country network. + * + * @param string $deconsolidationLocationPostalCode + * @return $this + */ + public function setDeconsolidationLocationPostalCode($deconsolidationLocationPostalCode) + { + $this->values['DeconsolidationLocationPostalCode'] = $deconsolidationLocationPostalCode; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ConfigurableLabelReferenceEntry.php b/src/FedEx/UploadDocumentService/ComplexType/ConfigurableLabelReferenceEntry.php new file mode 100644 index 00000000..c64f8060 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ConfigurableLabelReferenceEntry.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $ZoneNumber + * @property string $Header + * @property string $DataField + * @property string $LiteralValue + + */ +class ConfigurableLabelReferenceEntry extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ConfigurableLabelReferenceEntry'; + + /** + * Set ZoneNumber + * + * @param int $zoneNumber + * @return $this + */ + public function setZoneNumber($zoneNumber) + { + $this->values['ZoneNumber'] = $zoneNumber; + return $this; + } + + /** + * Set Header + * + * @param string $header + * @return $this + */ + public function setHeader($header) + { + $this->values['Header'] = $header; + return $this; + } + + /** + * Set DataField + * + * @param string $dataField + * @return $this + */ + public function setDataField($dataField) + { + $this->values['DataField'] = $dataField; + return $this; + } + + /** + * Set LiteralValue + * + * @param string $literalValue + * @return $this + */ + public function setLiteralValue($literalValue) + { + $this->values['LiteralValue'] = $literalValue; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ConsolidationSpecialServicesRequested.php b/src/FedEx/UploadDocumentService/ComplexType/ConsolidationSpecialServicesRequested.php new file mode 100644 index 00000000..b49c3b56 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ConsolidationSpecialServicesRequested.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ConsolidationSpecialServiceType|string[] $SpecialServiceTypes + * @property PriorityAlertDetail $PriorityAlertDetail + + */ +class ConsolidationSpecialServicesRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ConsolidationSpecialServicesRequested'; + + /** + * The types of all special services requested for the enclosing consolidation. + * + * @param \FedEx\UploadDocumentService\SimpleType\ConsolidationSpecialServiceType[]|string[] $specialServiceTypes + * @return $this + */ + public function setSpecialServiceTypes(array $specialServiceTypes) + { + $this->values['SpecialServiceTypes'] = $specialServiceTypes; + return $this; + } + + /** + * Set PriorityAlertDetail + * + * @param PriorityAlertDetail $priorityAlertDetail + * @return $this + */ + public function setPriorityAlertDetail(PriorityAlertDetail $priorityAlertDetail) + { + $this->values['PriorityAlertDetail'] = $priorityAlertDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Contact.php b/src/FedEx/UploadDocumentService/ComplexType/Contact.php new file mode 100644 index 00000000..84557944 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Contact.php @@ -0,0 +1,153 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $ContactId + * @property string $PersonName + * @property string $Title + * @property string $CompanyName + * @property string $PhoneNumber + * @property string $PhoneExtension + * @property string $TollFreePhoneNumber + * @property string $PagerNumber + * @property string $FaxNumber + * @property string $EMailAddress + + */ +class Contact extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Contact'; + + /** + * Client provided identifier corresponding to this contact information. + * + * @param string $contactId + * @return $this + */ + public function setContactId($contactId) + { + $this->values['ContactId'] = $contactId; + return $this; + } + + /** + * Identifies the contact person's name. + * + * @param string $personName + * @return $this + */ + public function setPersonName($personName) + { + $this->values['PersonName'] = $personName; + return $this; + } + + /** + * Identifies the contact person's title. + * + * @param string $title + * @return $this + */ + public function setTitle($title) + { + $this->values['Title'] = $title; + return $this; + } + + /** + * Identifies the company this contact is associated with. + * + * @param string $companyName + * @return $this + */ + public function setCompanyName($companyName) + { + $this->values['CompanyName'] = $companyName; + return $this; + } + + /** + * Identifies the phone number associated with this contact. + * + * @param string $phoneNumber + * @return $this + */ + public function setPhoneNumber($phoneNumber) + { + $this->values['PhoneNumber'] = $phoneNumber; + return $this; + } + + /** + * Identifies the phone extension associated with this contact. + * + * @param string $phoneExtension + * @return $this + */ + public function setPhoneExtension($phoneExtension) + { + $this->values['PhoneExtension'] = $phoneExtension; + return $this; + } + + /** + * Identifies a toll free number, if any, associated with this contact. + * + * @param string $tollFreePhoneNumber + * @return $this + */ + public function setTollFreePhoneNumber($tollFreePhoneNumber) + { + $this->values['TollFreePhoneNumber'] = $tollFreePhoneNumber; + return $this; + } + + /** + * Identifies the pager number associated with this contact. + * + * @param string $pagerNumber + * @return $this + */ + public function setPagerNumber($pagerNumber) + { + $this->values['PagerNumber'] = $pagerNumber; + return $this; + } + + /** + * Identifies the fax number associated with this contact. + * + * @param string $faxNumber + * @return $this + */ + public function setFaxNumber($faxNumber) + { + $this->values['FaxNumber'] = $faxNumber; + return $this; + } + + /** + * Identifies the email address associated with this contact. + * + * @param string $eMailAddress + * @return $this + */ + public function setEMailAddress($eMailAddress) + { + $this->values['EMailAddress'] = $eMailAddress; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ContactAndAddress.php b/src/FedEx/UploadDocumentService/ComplexType/ContactAndAddress.php new file mode 100644 index 00000000..f0dc2f12 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ContactAndAddress.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property Contact $Contact + * @property Address $Address + + */ +class ContactAndAddress extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ContactAndAddress'; + + /** + * Set Contact + * + * @param Contact $contact + * @return $this + */ + public function setContact(Contact $contact) + { + $this->values['Contact'] = $contact; + return $this; + } + + /** + * Set Address + * + * @param Address $address + * @return $this + */ + public function setAddress(Address $address) + { + $this->values['Address'] = $address; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ContentRecord.php b/src/FedEx/UploadDocumentService/ComplexType/ContentRecord.php new file mode 100644 index 00000000..5dd86e9e --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ContentRecord.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $PartNumber + * @property string $ItemNumber + * @property int $ReceivedQuantity + * @property string $Description + + */ +class ContentRecord extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ContentRecord'; + + /** + * Set PartNumber + * + * @param string $partNumber + * @return $this + */ + public function setPartNumber($partNumber) + { + $this->values['PartNumber'] = $partNumber; + return $this; + } + + /** + * Set ItemNumber + * + * @param string $itemNumber + * @return $this + */ + public function setItemNumber($itemNumber) + { + $this->values['ItemNumber'] = $itemNumber; + return $this; + } + + /** + * Set ReceivedQuantity + * + * @param int $receivedQuantity + * @return $this + */ + public function setReceivedQuantity($receivedQuantity) + { + $this->values['ReceivedQuantity'] = $receivedQuantity; + return $this; + } + + /** + * Set Description + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CreditCard.php b/src/FedEx/UploadDocumentService/ComplexType/CreditCard.php new file mode 100644 index 00000000..71eb570a --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CreditCard.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Number + * @property \FedEx\UploadDocumentService\SimpleType\CreditCardType|string $CreditCardType + * @property string $ExpirationDate + * @property string $LastAuthenticationByFedexDate + * @property string $VerificationCode + * @property ParsedContactAndAddress $CreditCardHolder + * @property string[] $TrackData + + */ +class CreditCard extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CreditCard'; + + /** + * Set Number + * + * @param string $number + * @return $this + */ + public function setNumber($number) + { + $this->values['Number'] = $number; + return $this; + } + + /** + * Set CreditCardType + * + * @param \FedEx\UploadDocumentService\SimpleType\CreditCardType|string $creditCardType + * @return $this + */ + public function setCreditCardType($creditCardType) + { + $this->values['CreditCardType'] = $creditCardType; + return $this; + } + + /** + * Must be in one of the following formats: YYMM, YYYYMM, or YYYYMMDD. + * + * @param string $expirationDate + * @return $this + */ + public function setExpirationDate($expirationDate) + { + $this->values['ExpirationDate'] = $expirationDate; + return $this; + } + + /** + * Date when the credit card was last used in a FedEx online transaction. + * + * @param string $lastAuthenticationByFedexDate + * @return $this + */ + public function setLastAuthenticationByFedexDate($lastAuthenticationByFedexDate) + { + $this->values['LastAuthenticationByFedexDate'] = $lastAuthenticationByFedexDate; + return $this; + } + + /** + * Set VerificationCode + * + * @param string $verificationCode + * @return $this + */ + public function setVerificationCode($verificationCode) + { + $this->values['VerificationCode'] = $verificationCode; + return $this; + } + + /** + * Set CreditCardHolder + * + * @param ParsedContactAndAddress $creditCardHolder + * @return $this + */ + public function setCreditCardHolder(ParsedContactAndAddress $creditCardHolder) + { + $this->values['CreditCardHolder'] = $creditCardHolder; + return $this; + } + + /** + * This field contains the track data from the credit card stripe. + * + * @param string $trackData + * @return $this + */ + public function setTrackData($trackData) + { + $this->values['TrackData'] = $trackData; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CreditCardTransactionAttributesDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CreditCardTransactionAttributesDetail.php new file mode 100644 index 00000000..8c5ca80d --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CreditCardTransactionAttributesDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\CreditCardTransactionAttributeType|string[] $Types + + */ +class CreditCardTransactionAttributesDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CreditCardTransactionAttributesDetail'; + + /** + * Set Types + * + * @param \FedEx\UploadDocumentService\SimpleType\CreditCardTransactionAttributeType[]|string[] $types + * @return $this + */ + public function setTypes(array $types) + { + $this->values['Types'] = $types; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CreditCardTransactionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CreditCardTransactionDetail.php new file mode 100644 index 00000000..d591eb2e --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CreditCardTransactionDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $AuthorizationId + * @property \FedEx\UploadDocumentService\SimpleType\CreditCardAuthorizationType|string $AuthorizationType + * @property \FedEx\UploadDocumentService\SimpleType\CreditCardSettlementScheduleType|string $SettlementScheduleType + * @property CreditFraudDetectionDetail $FraudDetectionDetail + * @property string $PayorAuthenticationCode + * @property string $PayorAuthenticationSessionId + * @property CreditCardTransactionAttributesDetail $AttributesDetail + + */ +class CreditCardTransactionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CreditCardTransactionDetail'; + + /** + * Set AuthorizationId + * + * @param string $authorizationId + * @return $this + */ + public function setAuthorizationId($authorizationId) + { + $this->values['AuthorizationId'] = $authorizationId; + return $this; + } + + /** + * Set AuthorizationType + * + * @param \FedEx\UploadDocumentService\SimpleType\CreditCardAuthorizationType|string $authorizationType + * @return $this + */ + public function setAuthorizationType($authorizationType) + { + $this->values['AuthorizationType'] = $authorizationType; + return $this; + } + + /** + * Set SettlementScheduleType + * + * @param \FedEx\UploadDocumentService\SimpleType\CreditCardSettlementScheduleType|string $settlementScheduleType + * @return $this + */ + public function setSettlementScheduleType($settlementScheduleType) + { + $this->values['SettlementScheduleType'] = $settlementScheduleType; + return $this; + } + + /** + * Set FraudDetectionDetail + * + * @param CreditFraudDetectionDetail $fraudDetectionDetail + * @return $this + */ + public function setFraudDetectionDetail(CreditFraudDetectionDetail $fraudDetectionDetail) + { + $this->values['FraudDetectionDetail'] = $fraudDetectionDetail; + return $this; + } + + /** + * Specifies a secure code used for payor authentication in the credit card transaction. + * + * @param string $payorAuthenticationCode + * @return $this + */ + public function setPayorAuthenticationCode($payorAuthenticationCode) + { + $this->values['PayorAuthenticationCode'] = $payorAuthenticationCode; + return $this; + } + + /** + * Set PayorAuthenticationSessionId + * + * @param string $payorAuthenticationSessionId + * @return $this + */ + public function setPayorAuthenticationSessionId($payorAuthenticationSessionId) + { + $this->values['PayorAuthenticationSessionId'] = $payorAuthenticationSessionId; + return $this; + } + + /** + * Specifies details about the credit card transaction that drive decisions about credit card processing. + * + * @param CreditCardTransactionAttributesDetail $attributesDetail + * @return $this + */ + public function setAttributesDetail(CreditCardTransactionAttributesDetail $attributesDetail) + { + $this->values['AttributesDetail'] = $attributesDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CreditFraudDetectionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CreditFraudDetectionDetail.php new file mode 100644 index 00000000..8ec48125 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CreditFraudDetectionDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $IpAddress + * @property boolean $ClientCookiesEnabled + * @property string $DevicePrint + + */ +class CreditFraudDetectionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CreditFraudDetectionDetail'; + + /** + * Set IpAddress + * + * @param string $ipAddress + * @return $this + */ + public function setIpAddress($ipAddress) + { + $this->values['IpAddress'] = $ipAddress; + return $this; + } + + /** + * Set ClientCookiesEnabled + * + * @param boolean $clientCookiesEnabled + * @return $this + */ + public function setClientCookiesEnabled($clientCookiesEnabled) + { + $this->values['ClientCookiesEnabled'] = $clientCookiesEnabled; + return $this; + } + + /** + * Set DevicePrint + * + * @param string $devicePrint + * @return $this + */ + public function setDevicePrint($devicePrint) + { + $this->values['DevicePrint'] = $devicePrint; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CurrencyExchangeRate.php b/src/FedEx/UploadDocumentService/ComplexType/CurrencyExchangeRate.php new file mode 100644 index 00000000..cba83972 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CurrencyExchangeRate.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $FromCurrency + * @property string $IntoCurrency + * @property float $Rate + + */ +class CurrencyExchangeRate extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CurrencyExchangeRate'; + + /** + * The currency code for the original (converted FROM) currency. + * + * @param string $fromCurrency + * @return $this + */ + public function setFromCurrency($fromCurrency) + { + $this->values['FromCurrency'] = $fromCurrency; + return $this; + } + + /** + * The currency code for the final (converted INTO) currency. + * + * @param string $intoCurrency + * @return $this + */ + public function setIntoCurrency($intoCurrency) + { + $this->values['IntoCurrency'] = $intoCurrency; + return $this; + } + + /** + * Multiplier used to convert fromCurrency units to intoCurrency units. + * + * @param float $rate + * @return $this + */ + public function setRate($rate) + { + $this->values['Rate'] = $rate; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomDeliveryWindowDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CustomDeliveryWindowDetail.php new file mode 100644 index 00000000..bfaead4f --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomDeliveryWindowDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\CustomDeliveryWindowType|string $Type + * @property string $RequestTime + * @property DateRange $RequestRange + * @property string $RequestDate + + */ +class CustomDeliveryWindowDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomDeliveryWindowDetail'; + + /** + * Indicates the type of custom delivery being requested. + * + * @param \FedEx\UploadDocumentService\SimpleType\CustomDeliveryWindowType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Time by which delivery is requested. + * + * @param string $requestTime + * @return $this + */ + public function setRequestTime($requestTime) + { + $this->values['RequestTime'] = $requestTime; + return $this; + } + + /** + * Range of dates for custom delivery request; only used if type is BETWEEN. + * + * @param DateRange $requestRange + * @return $this + */ + public function setRequestRange(DateRange $requestRange) + { + $this->values['RequestRange'] = $requestRange; + return $this; + } + + /** + * Date for custom delivery request; only used for types of ON, BETWEEN, or AFTER. + * + * @param string $requestDate + * @return $this + */ + public function setRequestDate($requestDate) + { + $this->values['RequestDate'] = $requestDate; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomDiscountExclusionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CustomDiscountExclusionDetail.php new file mode 100644 index 00000000..4d35009b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomDiscountExclusionDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\RateDiscountType|string[] $ExcludedTypes + + */ +class CustomDiscountExclusionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomDiscountExclusionDetail'; + + /** + * Types of discounts that are excluded. + * + * @param \FedEx\UploadDocumentService\SimpleType\RateDiscountType[]|string[] $excludedTypes + * @return $this + */ + public function setExcludedTypes(array $excludedTypes) + { + $this->values['ExcludedTypes'] = $excludedTypes; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomDocumentDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CustomDocumentDetail.php new file mode 100644 index 00000000..a8135032 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomDocumentDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentFormat $Format + * @property \FedEx\UploadDocumentService\SimpleType\LabelPrintingOrientationType|string $LabelPrintingOrientation + * @property \FedEx\UploadDocumentService\SimpleType\LabelRotationType|string $LabelRotation + * @property string $SpecificationId + * @property string $CustomDocumentIdentifier + * @property DocTabContent $DocTabContent + * @property CustomLabelDetail $CustomContent + + */ +class CustomDocumentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomDocumentDetail'; + + /** + * Common information controlling document production. + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Applicable only to documents produced on thermal printers with roll stock. + * + * @param \FedEx\UploadDocumentService\SimpleType\LabelPrintingOrientationType|string $labelPrintingOrientation + * @return $this + */ + public function setLabelPrintingOrientation($labelPrintingOrientation) + { + $this->values['LabelPrintingOrientation'] = $labelPrintingOrientation; + return $this; + } + + /** + * Applicable only to documents produced on thermal printers with roll stock. + * + * @param \FedEx\UploadDocumentService\SimpleType\LabelRotationType|string $labelRotation + * @return $this + */ + public function setLabelRotation($labelRotation) + { + $this->values['LabelRotation'] = $labelRotation; + return $this; + } + + /** + * Identifies the formatting specification used to construct this custom document. + * + * @param string $specificationId + * @return $this + */ + public function setSpecificationId($specificationId) + { + $this->values['SpecificationId'] = $specificationId; + return $this; + } + + /** + * Identifies the individual document specified by the client. + * + * @param string $customDocumentIdentifier + * @return $this + */ + public function setCustomDocumentIdentifier($customDocumentIdentifier) + { + $this->values['CustomDocumentIdentifier'] = $customDocumentIdentifier; + return $this; + } + + /** + * If provided, thermal documents will include specified doc tab content. If omitted, document will be produced without doc tab content. + * + * @param DocTabContent $docTabContent + * @return $this + */ + public function setDocTabContent(DocTabContent $docTabContent) + { + $this->values['DocTabContent'] = $docTabContent; + return $this; + } + + /** + * Set CustomContent + * + * @param CustomLabelDetail $customContent + * @return $this + */ + public function setCustomContent(CustomLabelDetail $customContent) + { + $this->values['CustomContent'] = $customContent; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomLabelBarcodeEntry.php b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelBarcodeEntry.php new file mode 100644 index 00000000..5e55bac1 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelBarcodeEntry.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property CustomLabelPosition $Position + * @property string $Format + * @property string[] $DataFields + * @property int $BarHeight + * @property int $ThinBarWidth + * @property \FedEx\UploadDocumentService\SimpleType\BarcodeSymbologyType|string $BarcodeSymbology + + */ +class CustomLabelBarcodeEntry extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomLabelBarcodeEntry'; + + /** + * Set Position + * + * @param CustomLabelPosition $position + * @return $this + */ + public function setPosition(CustomLabelPosition $position) + { + $this->values['Position'] = $position; + return $this; + } + + /** + * Set Format + * + * @param string $format + * @return $this + */ + public function setFormat($format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set DataFields + * + * @param string $dataFields + * @return $this + */ + public function setDataFields($dataFields) + { + $this->values['DataFields'] = $dataFields; + return $this; + } + + /** + * Set BarHeight + * + * @param int $barHeight + * @return $this + */ + public function setBarHeight($barHeight) + { + $this->values['BarHeight'] = $barHeight; + return $this; + } + + /** + * Width of thinnest bar/space element in the barcode. + * + * @param int $thinBarWidth + * @return $this + */ + public function setThinBarWidth($thinBarWidth) + { + $this->values['ThinBarWidth'] = $thinBarWidth; + return $this; + } + + /** + * Set BarcodeSymbology + * + * @param \FedEx\UploadDocumentService\SimpleType\BarcodeSymbologyType|string $barcodeSymbology + * @return $this + */ + public function setBarcodeSymbology($barcodeSymbology) + { + $this->values['BarcodeSymbology'] = $barcodeSymbology; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomLabelBoxEntry.php b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelBoxEntry.php new file mode 100644 index 00000000..3c30711c --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelBoxEntry.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property CustomLabelPosition $TopLeftCorner + * @property CustomLabelPosition $BottomRightCorner + + */ +class CustomLabelBoxEntry extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomLabelBoxEntry'; + + /** + * Set TopLeftCorner + * + * @param CustomLabelPosition $topLeftCorner + * @return $this + */ + public function setTopLeftCorner(CustomLabelPosition $topLeftCorner) + { + $this->values['TopLeftCorner'] = $topLeftCorner; + return $this; + } + + /** + * Set BottomRightCorner + * + * @param CustomLabelPosition $bottomRightCorner + * @return $this + */ + public function setBottomRightCorner(CustomLabelPosition $bottomRightCorner) + { + $this->values['BottomRightCorner'] = $bottomRightCorner; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomLabelDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelDetail.php new file mode 100644 index 00000000..e699b3a4 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\CustomLabelCoordinateUnits|string $CoordinateUnits + * @property CustomLabelTextEntry[] $TextEntries + * @property CustomLabelGraphicEntry[] $GraphicEntries + * @property CustomLabelBoxEntry[] $BoxEntries + * @property CustomLabelTextBoxEntry[] $TextBoxEntries + * @property CustomLabelBarcodeEntry[] $BarcodeEntries + + */ +class CustomLabelDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomLabelDetail'; + + /** + * Set CoordinateUnits + * + * @param \FedEx\UploadDocumentService\SimpleType\CustomLabelCoordinateUnits|string $coordinateUnits + * @return $this + */ + public function setCoordinateUnits($coordinateUnits) + { + $this->values['CoordinateUnits'] = $coordinateUnits; + return $this; + } + + /** + * Set TextEntries + * + * @param CustomLabelTextEntry[] $textEntries + * @return $this + */ + public function setTextEntries(array $textEntries) + { + $this->values['TextEntries'] = $textEntries; + return $this; + } + + /** + * Set GraphicEntries + * + * @param CustomLabelGraphicEntry[] $graphicEntries + * @return $this + */ + public function setGraphicEntries(array $graphicEntries) + { + $this->values['GraphicEntries'] = $graphicEntries; + return $this; + } + + /** + * Set BoxEntries + * + * @param CustomLabelBoxEntry[] $boxEntries + * @return $this + */ + public function setBoxEntries(array $boxEntries) + { + $this->values['BoxEntries'] = $boxEntries; + return $this; + } + + /** + * Set TextBoxEntries + * + * @param CustomLabelTextBoxEntry[] $textBoxEntries + * @return $this + */ + public function setTextBoxEntries(array $textBoxEntries) + { + $this->values['TextBoxEntries'] = $textBoxEntries; + return $this; + } + + /** + * Set BarcodeEntries + * + * @param CustomLabelBarcodeEntry[] $barcodeEntries + * @return $this + */ + public function setBarcodeEntries(array $barcodeEntries) + { + $this->values['BarcodeEntries'] = $barcodeEntries; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomLabelGraphicEntry.php b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelGraphicEntry.php new file mode 100644 index 00000000..9bc685ec --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelGraphicEntry.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property CustomLabelPosition $Position + * @property string $PrinterGraphicId + * @property string $FileGraphicFullName + + */ +class CustomLabelGraphicEntry extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomLabelGraphicEntry'; + + /** + * Set Position + * + * @param CustomLabelPosition $position + * @return $this + */ + public function setPosition(CustomLabelPosition $position) + { + $this->values['Position'] = $position; + return $this; + } + + /** + * Printer-specific index of graphic image to be printed. + * + * @param string $printerGraphicId + * @return $this + */ + public function setPrinterGraphicId($printerGraphicId) + { + $this->values['PrinterGraphicId'] = $printerGraphicId; + return $this; + } + + /** + * Fully-qualified path and file name for graphic image to be printed. + * + * @param string $fileGraphicFullName + * @return $this + */ + public function setFileGraphicFullName($fileGraphicFullName) + { + $this->values['FileGraphicFullName'] = $fileGraphicFullName; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomLabelPosition.php b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelPosition.php new file mode 100644 index 00000000..4def78c9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelPosition.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $X + * @property int $Y + + */ +class CustomLabelPosition extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomLabelPosition'; + + /** + * Horizontal position, relative to left edge of custom area. + * + * @param int $x + * @return $this + */ + public function setX($x) + { + $this->values['X'] = $x; + return $this; + } + + /** + * Vertical position, relative to top edge of custom area. + * + * @param int $y + * @return $this + */ + public function setY($y) + { + $this->values['Y'] = $y; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomLabelTextBoxEntry.php b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelTextBoxEntry.php new file mode 100644 index 00000000..bd150c4e --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelTextBoxEntry.php @@ -0,0 +1,140 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property CustomLabelPosition $TopLeftCorner + * @property CustomLabelPosition $BottomRightCorner + * @property CustomLabelPosition $Position + * @property string $Format + * @property string[] $DataFields + * @property string $ThermalFontId + * @property string $FontName + * @property int $FontSize + * @property \FedEx\UploadDocumentService\SimpleType\RotationType|string $Rotation + + */ +class CustomLabelTextBoxEntry extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomLabelTextBoxEntry'; + + /** + * Set TopLeftCorner + * + * @param CustomLabelPosition $topLeftCorner + * @return $this + */ + public function setTopLeftCorner(CustomLabelPosition $topLeftCorner) + { + $this->values['TopLeftCorner'] = $topLeftCorner; + return $this; + } + + /** + * Set BottomRightCorner + * + * @param CustomLabelPosition $bottomRightCorner + * @return $this + */ + public function setBottomRightCorner(CustomLabelPosition $bottomRightCorner) + { + $this->values['BottomRightCorner'] = $bottomRightCorner; + return $this; + } + + /** + * Set Position + * + * @param CustomLabelPosition $position + * @return $this + */ + public function setPosition(CustomLabelPosition $position) + { + $this->values['Position'] = $position; + return $this; + } + + /** + * Set Format + * + * @param string $format + * @return $this + */ + public function setFormat($format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set DataFields + * + * @param string $dataFields + * @return $this + */ + public function setDataFields($dataFields) + { + $this->values['DataFields'] = $dataFields; + return $this; + } + + /** + * Printer-specific font name for use with thermal printer labels. + * + * @param string $thermalFontId + * @return $this + */ + public function setThermalFontId($thermalFontId) + { + $this->values['ThermalFontId'] = $thermalFontId; + return $this; + } + + /** + * Generic font name for use with plain paper labels. + * + * @param string $fontName + * @return $this + */ + public function setFontName($fontName) + { + $this->values['FontName'] = $fontName; + return $this; + } + + /** + * Generic font size for use with plain paper labels. + * + * @param int $fontSize + * @return $this + */ + public function setFontSize($fontSize) + { + $this->values['FontSize'] = $fontSize; + return $this; + } + + /** + * Set Rotation + * + * @param \FedEx\UploadDocumentService\SimpleType\RotationType|string $rotation + * @return $this + */ + public function setRotation($rotation) + { + $this->values['Rotation'] = $rotation; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomLabelTextEntry.php b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelTextEntry.php new file mode 100644 index 00000000..bdec5441 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomLabelTextEntry.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property CustomLabelPosition $Position + * @property string $Format + * @property string[] $DataFields + * @property string $ThermalFontId + * @property string $FontName + * @property int $FontSize + * @property \FedEx\UploadDocumentService\SimpleType\RotationType|string $Rotation + + */ +class CustomLabelTextEntry extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomLabelTextEntry'; + + /** + * Set Position + * + * @param CustomLabelPosition $position + * @return $this + */ + public function setPosition(CustomLabelPosition $position) + { + $this->values['Position'] = $position; + return $this; + } + + /** + * Set Format + * + * @param string $format + * @return $this + */ + public function setFormat($format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set DataFields + * + * @param string $dataFields + * @return $this + */ + public function setDataFields($dataFields) + { + $this->values['DataFields'] = $dataFields; + return $this; + } + + /** + * Printer-specific font name for use with thermal printer labels. + * + * @param string $thermalFontId + * @return $this + */ + public function setThermalFontId($thermalFontId) + { + $this->values['ThermalFontId'] = $thermalFontId; + return $this; + } + + /** + * Generic font name for use with plain paper labels. + * + * @param string $fontName + * @return $this + */ + public function setFontName($fontName) + { + $this->values['FontName'] = $fontName; + return $this; + } + + /** + * Generic font size for use with plain paper labels. + * + * @param int $fontSize + * @return $this + */ + public function setFontSize($fontSize) + { + $this->values['FontSize'] = $fontSize; + return $this; + } + + /** + * Set Rotation + * + * @param \FedEx\UploadDocumentService\SimpleType\RotationType|string $rotation + * @return $this + */ + public function setRotation($rotation) + { + $this->values['Rotation'] = $rotation; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomRatingOptionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CustomRatingOptionDetail.php new file mode 100644 index 00000000..9dffe3f4 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomRatingOptionDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\CustomRatingOptionType|string[] $Options + * @property CustomDiscountExclusionDetail $CustomDiscountExclusionDetail + + */ +class CustomRatingOptionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomRatingOptionDetail'; + + /** + * Set Options + * + * @param \FedEx\UploadDocumentService\SimpleType\CustomRatingOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } + + /** + * Set CustomDiscountExclusionDetail + * + * @param CustomDiscountExclusionDetail $customDiscountExclusionDetail + * @return $this + */ + public function setCustomDiscountExclusionDetail(CustomDiscountExclusionDetail $customDiscountExclusionDetail) + { + $this->values['CustomDiscountExclusionDetail'] = $customDiscountExclusionDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomTransitTimeDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CustomTransitTimeDetail.php new file mode 100644 index 00000000..2f051e5a --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomTransitTimeDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Key + + */ +class CustomTransitTimeDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomTransitTimeDetail'; + + /** + * Identifies options to be applied. + * + * @param string $key + * @return $this + */ + public function setKey($key) + { + $this->values['Key'] = $key; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomerImageUsage.php b/src/FedEx/UploadDocumentService/ComplexType/CustomerImageUsage.php new file mode 100644 index 00000000..5f15f5aa --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomerImageUsage.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\CustomerImageUsageType|string $Type + * @property \FedEx\UploadDocumentService\SimpleType\ImageId|string $Id + * @property string $InternalId + * @property \FedEx\UploadDocumentService\SimpleType\InternalImageType|string $InternalImageType + + */ +class CustomerImageUsage extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerImageUsage'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\CustomerImageUsageType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set Id + * + * @param \FedEx\UploadDocumentService\SimpleType\ImageId|string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Internal Id used by INET to identify customer provided images during documents generation. Ex COO etc ... + * + * @param string $internalId + * @return $this + */ + public function setInternalId($internalId) + { + $this->values['InternalId'] = $internalId; + return $this; + } + + /** + * Internal image type used by INET to identify customer provided images during documents generation. Ex COO etc .. + * + * @param \FedEx\UploadDocumentService\SimpleType\InternalImageType|string $internalImageType + * @return $this + */ + public function setInternalImageType($internalImageType) + { + $this->values['InternalImageType'] = $internalImageType; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomerProvidedImage.php b/src/FedEx/UploadDocumentService/ComplexType/CustomerProvidedImage.php new file mode 100644 index 00000000..8f310da5 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomerProvidedImage.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Image + * @property ImageReferenceDetail $ImageReferenceDetail + + */ +class CustomerProvidedImage extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerProvidedImage'; + + /** + * Set Image + * + * @param string $image + * @return $this + */ + public function setImage($image) + { + $this->values['Image'] = $image; + return $this; + } + + /** + * Set ImageReferenceDetail + * + * @param ImageReferenceDetail $imageReferenceDetail + * @return $this + */ + public function setImageReferenceDetail(ImageReferenceDetail $imageReferenceDetail) + { + $this->values['ImageReferenceDetail'] = $imageReferenceDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomerReference.php b/src/FedEx/UploadDocumentService/ComplexType/CustomerReference.php new file mode 100644 index 00000000..cbb9a9e4 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomerReference.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\CustomerReferenceType|string $CustomerReferenceType + * @property string $Value + + */ +class CustomerReference extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerReference'; + + /** + * Set CustomerReferenceType + * + * @param \FedEx\UploadDocumentService\SimpleType\CustomerReferenceType|string $customerReferenceType + * @return $this + */ + public function setCustomerReferenceType($customerReferenceType) + { + $this->values['CustomerReferenceType'] = $customerReferenceType; + return $this; + } + + /** + * Set Value + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomerSpecifiedLabelDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CustomerSpecifiedLabelDetail.php new file mode 100644 index 00000000..687dd3eb --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomerSpecifiedLabelDetail.php @@ -0,0 +1,153 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property DocTabContent $DocTabContent + * @property \FedEx\UploadDocumentService\SimpleType\RelativeVerticalPositionType|string $CustomContentPosition + * @property CustomLabelDetail $CustomContent + * @property ConfigurableLabelReferenceEntry[] $ConfigurableReferenceEntries + * @property \FedEx\UploadDocumentService\SimpleType\LabelMaskableDataType|string[] $MaskedData + * @property \FedEx\UploadDocumentService\SimpleType\SecondaryBarcodeType|string $SecondaryBarcode + * @property Localization $TermsAndConditionsLocalization + * @property RegulatoryLabelContentDetail[] $RegulatoryLabels + * @property AdditionalLabelsDetail[] $AdditionalLabels + * @property int $AirWaybillSuppressionCount + + */ +class CustomerSpecifiedLabelDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerSpecifiedLabelDetail'; + + /** + * If omitted, no doc tab will be produced (i.e. default is former NONE type). + * + * @param DocTabContent $docTabContent + * @return $this + */ + public function setDocTabContent(DocTabContent $docTabContent) + { + $this->values['DocTabContent'] = $docTabContent; + return $this; + } + + /** + * Controls the position of the customer specified content relative to the FedEx portion. + * + * @param \FedEx\UploadDocumentService\SimpleType\RelativeVerticalPositionType|string $customContentPosition + * @return $this + */ + public function setCustomContentPosition($customContentPosition) + { + $this->values['CustomContentPosition'] = $customContentPosition; + return $this; + } + + /** + * Set CustomContent + * + * @param CustomLabelDetail $customContent + * @return $this + */ + public function setCustomContent(CustomLabelDetail $customContent) + { + $this->values['CustomContent'] = $customContent; + return $this; + } + + /** + * Set ConfigurableReferenceEntries + * + * @param ConfigurableLabelReferenceEntry[] $configurableReferenceEntries + * @return $this + */ + public function setConfigurableReferenceEntries(array $configurableReferenceEntries) + { + $this->values['ConfigurableReferenceEntries'] = $configurableReferenceEntries; + return $this; + } + + /** + * Controls which data/sections will be suppressed. + * + * @param \FedEx\UploadDocumentService\SimpleType\LabelMaskableDataType[]|string[] $maskedData + * @return $this + */ + public function setMaskedData(array $maskedData) + { + $this->values['MaskedData'] = $maskedData; + return $this; + } + + /** + * For customers producing their own Ground labels, this field specifies which secondary barcode will be printed on the label; so that the primary barcode produced by FedEx has the correct SCNC. + * + * @param \FedEx\UploadDocumentService\SimpleType\SecondaryBarcodeType|string $secondaryBarcode + * @return $this + */ + public function setSecondaryBarcode($secondaryBarcode) + { + $this->values['SecondaryBarcode'] = $secondaryBarcode; + return $this; + } + + /** + * Set TermsAndConditionsLocalization + * + * @param Localization $termsAndConditionsLocalization + * @return $this + */ + public function setTermsAndConditionsLocalization(Localization $termsAndConditionsLocalization) + { + $this->values['TermsAndConditionsLocalization'] = $termsAndConditionsLocalization; + return $this; + } + + /** + * Set RegulatoryLabels + * + * @param RegulatoryLabelContentDetail[] $regulatoryLabels + * @return $this + */ + public function setRegulatoryLabels(array $regulatoryLabels) + { + $this->values['RegulatoryLabels'] = $regulatoryLabels; + return $this; + } + + /** + * Controls the number of additional copies of supplemental labels. + * + * @param AdditionalLabelsDetail[] $additionalLabels + * @return $this + */ + public function setAdditionalLabels(array $additionalLabels) + { + $this->values['AdditionalLabels'] = $additionalLabels; + return $this; + } + + /** + * This value reduces the default quantity of destination/consignee air waybill labels. A value of zero indicates no change to default. A minimum of one copy will always be produced. + * + * @param int $airWaybillSuppressionCount + * @return $this + */ + public function setAirWaybillSuppressionCount($airWaybillSuppressionCount) + { + $this->values['AirWaybillSuppressionCount'] = $airWaybillSuppressionCount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomsClearanceDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CustomsClearanceDetail.php new file mode 100644 index 00000000..385d175b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomsClearanceDetail.php @@ -0,0 +1,231 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property BrokerDetail[] $Brokers + * @property \FedEx\UploadDocumentService\SimpleType\ClearanceBrokerageType|string $ClearanceBrokerage + * @property CustomsOptionDetail $CustomsOptions + * @property Party $ImporterOfRecord + * @property RecipientCustomsId $RecipientCustomsId + * @property Payment $DutiesPayment + * @property \FedEx\UploadDocumentService\SimpleType\InternationalDocumentContentType|string $DocumentContent + * @property Money $CustomsValue + * @property \FedEx\UploadDocumentService\SimpleType\FreightOnValueType|string $FreightOnValue + * @property Money $InsuranceCharges + * @property boolean $PartiesToTransactionAreRelated + * @property CommercialInvoice $CommercialInvoice + * @property Commodity[] $Commodities + * @property ExportDetail $ExportDetail + * @property \FedEx\UploadDocumentService\SimpleType\RegulatoryControlType|string[] $RegulatoryControls + * @property CustomsDeclarationStatementDetail $DeclarationStatementDetail + + */ +class CustomsClearanceDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomsClearanceDetail'; + + /** + * Set Brokers + * + * @param BrokerDetail[] $brokers + * @return $this + */ + public function setBrokers(array $brokers) + { + $this->values['Brokers'] = $brokers; + return $this; + } + + /** + * Interacts both with properties of the shipment and contractual relationship with the shipper. + * + * @param \FedEx\UploadDocumentService\SimpleType\ClearanceBrokerageType|string $clearanceBrokerage + * @return $this + */ + public function setClearanceBrokerage($clearanceBrokerage) + { + $this->values['ClearanceBrokerage'] = $clearanceBrokerage; + return $this; + } + + /** + * Set CustomsOptions + * + * @param CustomsOptionDetail $customsOptions + * @return $this + */ + public function setCustomsOptions(CustomsOptionDetail $customsOptions) + { + $this->values['CustomsOptions'] = $customsOptions; + return $this; + } + + /** + * Set ImporterOfRecord + * + * @param Party $importerOfRecord + * @return $this + */ + public function setImporterOfRecord(Party $importerOfRecord) + { + $this->values['ImporterOfRecord'] = $importerOfRecord; + return $this; + } + + /** + * Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. + * + * @param RecipientCustomsId $recipientCustomsId + * @return $this + */ + public function setRecipientCustomsId(RecipientCustomsId $recipientCustomsId) + { + $this->values['RecipientCustomsId'] = $recipientCustomsId; + return $this; + } + + /** + * Set DutiesPayment + * + * @param Payment $dutiesPayment + * @return $this + */ + public function setDutiesPayment(Payment $dutiesPayment) + { + $this->values['DutiesPayment'] = $dutiesPayment; + return $this; + } + + /** + * Set DocumentContent + * + * @param \FedEx\UploadDocumentService\SimpleType\InternationalDocumentContentType|string $documentContent + * @return $this + */ + public function setDocumentContent($documentContent) + { + $this->values['DocumentContent'] = $documentContent; + return $this; + } + + /** + * This represents the total commodity value of the shipment plus the charges required by the destination country. + * + * @param Money $customsValue + * @return $this + */ + public function setCustomsValue(Money $customsValue) + { + $this->values['CustomsValue'] = $customsValue; + return $this; + } + + /** + * Identifies responsibilities with respect to loss, damage, etc. + * + * @param \FedEx\UploadDocumentService\SimpleType\FreightOnValueType|string $freightOnValue + * @return $this + */ + public function setFreightOnValue($freightOnValue) + { + $this->values['FreightOnValue'] = $freightOnValue; + return $this; + } + + /** + * Documents amount paid to third party for coverage of shipment content. + * + * @param Money $insuranceCharges + * @return $this + */ + public function setInsuranceCharges(Money $insuranceCharges) + { + $this->values['InsuranceCharges'] = $insuranceCharges; + return $this; + } + + /** + * Set PartiesToTransactionAreRelated + * + * @param boolean $partiesToTransactionAreRelated + * @return $this + */ + public function setPartiesToTransactionAreRelated($partiesToTransactionAreRelated) + { + $this->values['PartiesToTransactionAreRelated'] = $partiesToTransactionAreRelated; + return $this; + } + + /** + * Set CommercialInvoice + * + * @param CommercialInvoice $commercialInvoice + * @return $this + */ + public function setCommercialInvoice(CommercialInvoice $commercialInvoice) + { + $this->values['CommercialInvoice'] = $commercialInvoice; + return $this; + } + + /** + * Set Commodities + * + * @param Commodity[] $commodities + * @return $this + */ + public function setCommodities(array $commodities) + { + $this->values['Commodities'] = $commodities; + return $this; + } + + /** + * Set ExportDetail + * + * @param ExportDetail $exportDetail + * @return $this + */ + public function setExportDetail(ExportDetail $exportDetail) + { + $this->values['ExportDetail'] = $exportDetail; + return $this; + } + + /** + * Set RegulatoryControls + * + * @param \FedEx\UploadDocumentService\SimpleType\RegulatoryControlType[]|string[] $regulatoryControls + * @return $this + */ + public function setRegulatoryControls(array $regulatoryControls) + { + $this->values['RegulatoryControls'] = $regulatoryControls; + return $this; + } + + /** + * Set DeclarationStatementDetail + * + * @param CustomsDeclarationStatementDetail $declarationStatementDetail + * @return $this + */ + public function setDeclarationStatementDetail(CustomsDeclarationStatementDetail $declarationStatementDetail) + { + $this->values['DeclarationStatementDetail'] = $declarationStatementDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomsDeclarationStatementDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CustomsDeclarationStatementDetail.php new file mode 100644 index 00000000..c25f8d10 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomsDeclarationStatementDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\CustomsDeclarationStatementType|string[] $Types + + */ +class CustomsDeclarationStatementDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomsDeclarationStatementDetail'; + + /** + * This indicates the different statements, declarations, acts, and/or certifications that apply to this shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\CustomsDeclarationStatementType[]|string[] $types + * @return $this + */ + public function setTypes(array $types) + { + $this->values['Types'] = $types; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/CustomsOptionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/CustomsOptionDetail.php new file mode 100644 index 00000000..eb984bbb --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/CustomsOptionDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\CustomsOptionType|string $Type + * @property string $Description + + */ +class CustomsOptionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomsOptionDetail'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\CustomsOptionType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Specifies additional description about customs options. This is a required field when the customs options type is "OTHER". + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsContainer.php b/src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsContainer.php new file mode 100644 index 00000000..2e366cf4 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsContainer.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\HazardousContainerPackingType|string $PackingType + * @property string $ContainerType + * @property \FedEx\UploadDocumentService\SimpleType\RadioactiveContainerClassType|string $RadioactiveContainerClass + * @property int $NumberOfContainers + * @property HazardousCommodityContent[] $HazardousCommodities + + */ +class DangerousGoodsContainer extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DangerousGoodsContainer'; + + /** + * Indicates whether there are additional inner receptacles within this container. + * + * @param \FedEx\UploadDocumentService\SimpleType\HazardousContainerPackingType|string $packingType + * @return $this + */ + public function setPackingType($packingType) + { + $this->values['PackingType'] = $packingType; + return $this; + } + + /** + * Indicates the type of this dangerous goods container, as specified by the IATA packing instructions. For example, steel cylinder, fiberboard box, plastic jerrican and steel drum. + * + * @param string $containerType + * @return $this + */ + public function setContainerType($containerType) + { + $this->values['ContainerType'] = $containerType; + return $this; + } + + /** + * Indicates the packaging type of the container used to package the radioactive materials. + * + * @param \FedEx\UploadDocumentService\SimpleType\RadioactiveContainerClassType|string $radioactiveContainerClass + * @return $this + */ + public function setRadioactiveContainerClass($radioactiveContainerClass) + { + $this->values['RadioactiveContainerClass'] = $radioactiveContainerClass; + return $this; + } + + /** + * Indicates the number of occurrences of this container with identical dangerous goods configuration. + * + * @param int $numberOfContainers + * @return $this + */ + public function setNumberOfContainers($numberOfContainers) + { + $this->values['NumberOfContainers'] = $numberOfContainers; + return $this; + } + + /** + * Documents the kinds and quantities of all hazardous commodities in the current container. + * + * @param HazardousCommodityContent[] $hazardousCommodities + * @return $this + */ + public function setHazardousCommodities(array $hazardousCommodities) + { + $this->values['HazardousCommodities'] = $hazardousCommodities; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsDetail.php b/src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsDetail.php new file mode 100644 index 00000000..a94c4b03 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsDetail.php @@ -0,0 +1,244 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $UploadedTrackingNumber + * @property \FedEx\UploadDocumentService\SimpleType\HazardousCommodityRegulationType|string $Regulation + * @property \FedEx\UploadDocumentService\SimpleType\DangerousGoodsAccessibilityType|string $Accessibility + * @property boolean $CargoAircraftOnly + * @property \FedEx\UploadDocumentService\SimpleType\DangerousGoodsDescriptorType|string[] $DangerousGoodsDescriptors + * @property \FedEx\UploadDocumentService\SimpleType\HazardousCommodityOptionType|string[] $Options + * @property \FedEx\UploadDocumentService\SimpleType\DangerousGoodsPackingOptionType|string $PackingOption + * @property string $ReferenceId + * @property DangerousGoodsContainer[] $Containers + * @property HazardousCommodityPackagingDetail $Packaging + * @property DangerousGoodsSignatory $Signatory + * @property string $EmergencyContactNumber + * @property string $Offeror + * @property Contact $InfectiousSubstanceResponsibleContact + * @property string $AdditionalHandling + * @property RadioactivityDetail $RadioactivityDetail + * @property DocumentLineItem[] $RegulatoryLineItems + + */ +class DangerousGoodsDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DangerousGoodsDetail'; + + /** + * This field is used to identify an instance of an uploaded dangerous goods handling unit. + * + * @param string $uploadedTrackingNumber + * @return $this + */ + public function setUploadedTrackingNumber($uploadedTrackingNumber) + { + $this->values['UploadedTrackingNumber'] = $uploadedTrackingNumber; + return $this; + } + + /** + * Set Regulation + * + * @param \FedEx\UploadDocumentService\SimpleType\HazardousCommodityRegulationType|string $regulation + * @return $this + */ + public function setRegulation($regulation) + { + $this->values['Regulation'] = $regulation; + return $this; + } + + /** + * Set Accessibility + * + * @param \FedEx\UploadDocumentService\SimpleType\DangerousGoodsAccessibilityType|string $accessibility + * @return $this + */ + public function setAccessibility($accessibility) + { + $this->values['Accessibility'] = $accessibility; + return $this; + } + + /** + * Shipment is packaged/documented for movement ONLY on cargo aircraft. + * + * @param boolean $cargoAircraftOnly + * @return $this + */ + public function setCargoAircraftOnly($cargoAircraftOnly) + { + $this->values['CargoAircraftOnly'] = $cargoAircraftOnly; + return $this; + } + + /** + * Indicates the characteristics of the package inferred from the dangerous goods commodity data. + * + * @param \FedEx\UploadDocumentService\SimpleType\DangerousGoodsDescriptorType[]|string[] $dangerousGoodsDescriptors + * @return $this + */ + public function setDangerousGoodsDescriptors(array $dangerousGoodsDescriptors) + { + $this->values['DangerousGoodsDescriptors'] = $dangerousGoodsDescriptors; + return $this; + } + + /** + * Indicates which kinds of hazardous content are in the current package. + * + * @param \FedEx\UploadDocumentService\SimpleType\HazardousCommodityOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } + + /** + * Indicates whether there is additional customer provided packaging enclosing the approved dangerous goods containers. + * + * @param \FedEx\UploadDocumentService\SimpleType\DangerousGoodsPackingOptionType|string $packingOption + * @return $this + */ + public function setPackingOption($packingOption) + { + $this->values['PackingOption'] = $packingOption; + return $this; + } + + /** + * Identifies the configuration of this dangerous goods package. The common configuration is represented at the shipment level. + * + * @param string $referenceId + * @return $this + */ + public function setReferenceId($referenceId) + { + $this->values['ReferenceId'] = $referenceId; + return $this; + } + + /** + * Indicates one or more containers used to pack dangerous goods commodities. + * + * @param DangerousGoodsContainer[] $containers + * @return $this + */ + public function setContainers(array $containers) + { + $this->values['Containers'] = $containers; + return $this; + } + + /** + * Description of the packaging of this commodity, suitable for use on OP-900 and OP-950 forms. + * + * @param HazardousCommodityPackagingDetail $packaging + * @return $this + */ + public function setPackaging(HazardousCommodityPackagingDetail $packaging) + { + $this->values['Packaging'] = $packaging; + return $this; + } + + /** + * Name, title and place of the signatory for this shipment. + * + * @param DangerousGoodsSignatory $signatory + * @return $this + */ + public function setSignatory(DangerousGoodsSignatory $signatory) + { + $this->values['Signatory'] = $signatory; + return $this; + } + + /** + * Telephone number to use for contact in the event of an emergency. + * + * @param string $emergencyContactNumber + * @return $this + */ + public function setEmergencyContactNumber($emergencyContactNumber) + { + $this->values['EmergencyContactNumber'] = $emergencyContactNumber; + return $this; + } + + /** + * Offeror's name or contract number, per DOT regulation. + * + * @param string $offeror + * @return $this + */ + public function setOfferor($offeror) + { + $this->values['Offeror'] = $offeror; + return $this; + } + + /** + * Specifies the contact of the party responsible for handling the infectious substances, if any, in the dangerous goods shipment. + * + * @param Contact $infectiousSubstanceResponsibleContact + * @return $this + */ + public function setInfectiousSubstanceResponsibleContact(Contact $infectiousSubstanceResponsibleContact) + { + $this->values['InfectiousSubstanceResponsibleContact'] = $infectiousSubstanceResponsibleContact; + return $this; + } + + /** + * Specifies additional handling information for the current package. + * + * @param string $additionalHandling + * @return $this + */ + public function setAdditionalHandling($additionalHandling) + { + $this->values['AdditionalHandling'] = $additionalHandling; + return $this; + } + + /** + * Specifies the radioactivity detail for the current package, if the package contains radioactive materials. + * + * @param RadioactivityDetail $radioactivityDetail + * @return $this + */ + public function setRadioactivityDetail(RadioactivityDetail $radioactivityDetail) + { + $this->values['RadioactivityDetail'] = $radioactivityDetail; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: Describes the regulatory data elements required to move the package. + * + * @param DocumentLineItem[] $regulatoryLineItems + * @return $this + */ + public function setRegulatoryLineItems(array $regulatoryLineItems) + { + $this->values['RegulatoryLineItems'] = $regulatoryLineItems; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsShippersDeclarationDetail.php b/src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsShippersDeclarationDetail.php new file mode 100644 index 00000000..bbc3563c --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsShippersDeclarationDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentFormat $Format + * @property CustomerImageUsage[] $CustomerImageUsages + + */ +class DangerousGoodsShippersDeclarationDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DangerousGoodsShippersDeclarationDetail'; + + /** + * Specifies characteristics of a shipping document to be produced. + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Specifies the usage and identification of customer supplied images to be used on this document. + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsSignatory.php b/src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsSignatory.php new file mode 100644 index 00000000..6fe4ce49 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DangerousGoodsSignatory.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $ContactName + * @property string $Title + * @property string $Place + + */ +class DangerousGoodsSignatory extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DangerousGoodsSignatory'; + + /** + * Set ContactName + * + * @param string $contactName + * @return $this + */ + public function setContactName($contactName) + { + $this->values['ContactName'] = $contactName; + return $this; + } + + /** + * Set Title + * + * @param string $title + * @return $this + */ + public function setTitle($title) + { + $this->values['Title'] = $title; + return $this; + } + + /** + * Indicates the place where the form is signed. + * + * @param string $place + * @return $this + */ + public function setPlace($place) + { + $this->values['Place'] = $place; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DateRange.php b/src/FedEx/UploadDocumentService/ComplexType/DateRange.php new file mode 100644 index 00000000..04094453 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DateRange.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Begins + * @property string $Ends + + */ +class DateRange extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DateRange'; + + /** + * Set Begins + * + * @param string $begins + * @return $this + */ + public function setBegins($begins) + { + $this->values['Begins'] = $begins; + return $this; + } + + /** + * Set Ends + * + * @param string $ends + * @return $this + */ + public function setEnds($ends) + { + $this->values['Ends'] = $ends; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DeletionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/DeletionDetail.php new file mode 100644 index 00000000..fac01544 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DeletionDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\DeleteRecordedShipmentRequestServiceLevel|string $DeleteStatus + + */ +class DeletionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DeletionDetail'; + + /** + * Set DeleteStatus + * + * @param \FedEx\UploadDocumentService\SimpleType\DeleteRecordedShipmentRequestServiceLevel|string $deleteStatus + * @return $this + */ + public function setDeleteStatus($deleteStatus) + { + $this->values['DeleteStatus'] = $deleteStatus; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DeliveryOnInvoiceAcceptanceDetail.php b/src/FedEx/UploadDocumentService/ComplexType/DeliveryOnInvoiceAcceptanceDetail.php new file mode 100644 index 00000000..19b9ae9f --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DeliveryOnInvoiceAcceptanceDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property Party $Recipient + * @property TrackingId $TrackingId + + */ +class DeliveryOnInvoiceAcceptanceDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DeliveryOnInvoiceAcceptanceDetail'; + + /** + * Set Recipient + * + * @param Party $recipient + * @return $this + */ + public function setRecipient(Party $recipient) + { + $this->values['Recipient'] = $recipient; + return $this; + } + + /** + * Specifies the tracking id for the return, if preassigned. + * + * @param TrackingId $trackingId + * @return $this + */ + public function setTrackingId(TrackingId $trackingId) + { + $this->values['TrackingId'] = $trackingId; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DestinationControlDetail.php b/src/FedEx/UploadDocumentService/ComplexType/DestinationControlDetail.php new file mode 100644 index 00000000..303a7a29 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DestinationControlDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\DestinationControlStatementType|string[] $StatementTypes + * @property string $DestinationCountries + * @property string $EndUser + + */ +class DestinationControlDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DestinationControlDetail'; + + /** + * Set StatementTypes + * + * @param \FedEx\UploadDocumentService\SimpleType\DestinationControlStatementType[]|string[] $statementTypes + * @return $this + */ + public function setStatementTypes(array $statementTypes) + { + $this->values['StatementTypes'] = $statementTypes; + return $this; + } + + /** + * Comma-separated list of up to four country codes, required for DEPARTMENT_OF_STATE statement. + * + * @param string $destinationCountries + * @return $this + */ + public function setDestinationCountries($destinationCountries) + { + $this->values['DestinationCountries'] = $destinationCountries; + return $this; + } + + /** + * Name of end user, required for DEPARTMENT_OF_STATE statement. + * + * @param string $endUser + * @return $this + */ + public function setEndUser($endUser) + { + $this->values['EndUser'] = $endUser; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DetentionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/DetentionDetail.php new file mode 100644 index 00000000..ff632fd3 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DetentionDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Duration + + */ +class DetentionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DetentionDetail'; + + /** + * Amount of time involved in the detention. + * + * @param string $duration + * @return $this + */ + public function setDuration($duration) + { + $this->values['Duration'] = $duration; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Dimensions.php b/src/FedEx/UploadDocumentService/ComplexType/Dimensions.php new file mode 100644 index 00000000..a8f83648 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Dimensions.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $Length + * @property int $Width + * @property int $Height + * @property \FedEx\UploadDocumentService\SimpleType\LinearUnits|string $Units + + */ +class Dimensions extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Dimensions'; + + /** + * Set Length + * + * @param int $length + * @return $this + */ + public function setLength($length) + { + $this->values['Length'] = $length; + return $this; + } + + /** + * Set Width + * + * @param int $width + * @return $this + */ + public function setWidth($width) + { + $this->values['Width'] = $width; + return $this; + } + + /** + * Set Height + * + * @param int $height + * @return $this + */ + public function setHeight($height) + { + $this->values['Height'] = $height; + return $this; + } + + /** + * Set Units + * + * @param \FedEx\UploadDocumentService\SimpleType\LinearUnits|string $units + * @return $this + */ + public function setUnits($units) + { + $this->values['Units'] = $units; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DocTabContent.php b/src/FedEx/UploadDocumentService/ComplexType/DocTabContent.php new file mode 100644 index 00000000..ce9b95a7 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DocTabContent.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\DocTabContentType|string $DocTabContentType + * @property DocTabContentZone001 $Zone001 + * @property DocTabContentBarcoded $Barcoded + + */ +class DocTabContent extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DocTabContent'; + + /** + * Set DocTabContentType + * + * @param \FedEx\UploadDocumentService\SimpleType\DocTabContentType|string $docTabContentType + * @return $this + */ + public function setDocTabContentType($docTabContentType) + { + $this->values['DocTabContentType'] = $docTabContentType; + return $this; + } + + /** + * Set Zone001 + * + * @param DocTabContentZone001 $zone001 + * @return $this + */ + public function setZone001(DocTabContentZone001 $zone001) + { + $this->values['Zone001'] = $zone001; + return $this; + } + + /** + * Set Barcoded + * + * @param DocTabContentBarcoded $barcoded + * @return $this + */ + public function setBarcoded(DocTabContentBarcoded $barcoded) + { + $this->values['Barcoded'] = $barcoded; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DocTabContentBarcoded.php b/src/FedEx/UploadDocumentService/ComplexType/DocTabContentBarcoded.php new file mode 100644 index 00000000..f76865ac --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DocTabContentBarcoded.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\BarcodeSymbologyType|string $Symbology + * @property DocTabZoneSpecification $Specification + + */ +class DocTabContentBarcoded extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DocTabContentBarcoded'; + + /** + * Set Symbology + * + * @param \FedEx\UploadDocumentService\SimpleType\BarcodeSymbologyType|string $symbology + * @return $this + */ + public function setSymbology($symbology) + { + $this->values['Symbology'] = $symbology; + return $this; + } + + /** + * Set Specification + * + * @param DocTabZoneSpecification $specification + * @return $this + */ + public function setSpecification(DocTabZoneSpecification $specification) + { + $this->values['Specification'] = $specification; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DocTabContentZone001.php b/src/FedEx/UploadDocumentService/ComplexType/DocTabContentZone001.php new file mode 100644 index 00000000..6a3d1312 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DocTabContentZone001.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property DocTabZoneSpecification[] $DocTabZoneSpecifications + + */ +class DocTabContentZone001 extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DocTabContentZone001'; + + /** + * Set DocTabZoneSpecifications + * + * @param DocTabZoneSpecification[] $docTabZoneSpecifications + * @return $this + */ + public function setDocTabZoneSpecifications(array $docTabZoneSpecifications) + { + $this->values['DocTabZoneSpecifications'] = $docTabZoneSpecifications; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DocTabZoneSpecification.php b/src/FedEx/UploadDocumentService/ComplexType/DocTabZoneSpecification.php new file mode 100644 index 00000000..485a4020 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DocTabZoneSpecification.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $ZoneNumber + * @property string $Header + * @property string $DataField + * @property string $LiteralValue + * @property \FedEx\UploadDocumentService\SimpleType\DocTabZoneJustificationType|string $Justification + + */ +class DocTabZoneSpecification extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DocTabZoneSpecification'; + + /** + * Set ZoneNumber + * + * @param int $zoneNumber + * @return $this + */ + public function setZoneNumber($zoneNumber) + { + $this->values['ZoneNumber'] = $zoneNumber; + return $this; + } + + /** + * Set Header + * + * @param string $header + * @return $this + */ + public function setHeader($header) + { + $this->values['Header'] = $header; + return $this; + } + + /** + * Set DataField + * + * @param string $dataField + * @return $this + */ + public function setDataField($dataField) + { + $this->values['DataField'] = $dataField; + return $this; + } + + /** + * Set LiteralValue + * + * @param string $literalValue + * @return $this + */ + public function setLiteralValue($literalValue) + { + $this->values['LiteralValue'] = $literalValue; + return $this; + } + + /** + * Set Justification + * + * @param \FedEx\UploadDocumentService\SimpleType\DocTabZoneJustificationType|string $justification + * @return $this + */ + public function setJustification($justification) + { + $this->values['Justification'] = $justification; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DocumentFormatOptionsRequested.php b/src/FedEx/UploadDocumentService/ComplexType/DocumentFormatOptionsRequested.php new file mode 100644 index 00000000..98aa9d1d --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DocumentFormatOptionsRequested.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\DocumentFormatOptionType|string[] $Options + + */ +class DocumentFormatOptionsRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DocumentFormatOptionsRequested'; + + /** + * Set Options + * + * @param \FedEx\UploadDocumentService\SimpleType\DocumentFormatOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/DocumentLineItem.php b/src/FedEx/UploadDocumentService/ComplexType/DocumentLineItem.php new file mode 100644 index 00000000..eada0c04 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/DocumentLineItem.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property KeyValueDetail[] $Values + + */ +class DocumentLineItem extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DocumentLineItem'; + + /** + * Set Values + * + * @param KeyValueDetail[] $values + * @return $this + */ + public function setValues(array $values) + { + $this->values['Values'] = $values; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/EMailDetail.php b/src/FedEx/UploadDocumentService/ComplexType/EMailDetail.php new file mode 100644 index 00000000..47887f68 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/EMailDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $EmailAddress + * @property string $Name + + */ +class EMailDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EMailDetail'; + + /** + * Set EmailAddress + * + * @param string $emailAddress + * @return $this + */ + public function setEmailAddress($emailAddress) + { + $this->values['EmailAddress'] = $emailAddress; + return $this; + } + + /** + * Specifies the name associated with the email address. + * + * @param string $name + * @return $this + */ + public function setName($name) + { + $this->values['Name'] = $name; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/EMailLabelDetail.php b/src/FedEx/UploadDocumentService/ComplexType/EMailLabelDetail.php new file mode 100644 index 00000000..76183ac9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/EMailLabelDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Message + * @property EMailRecipient[] $Recipients + + */ +class EMailLabelDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EMailLabelDetail'; + + /** + * Content of the email message. + * + * @param string $message + * @return $this + */ + public function setMessage($message) + { + $this->values['Message'] = $message; + return $this; + } + + /** + * Set Recipients + * + * @param EMailRecipient[] $recipients + * @return $this + */ + public function setRecipients(array $recipients) + { + $this->values['Recipients'] = $recipients; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/EMailRecipient.php b/src/FedEx/UploadDocumentService/ComplexType/EMailRecipient.php new file mode 100644 index 00000000..b3b8bdee --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/EMailRecipient.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $EmailAddress + * @property \FedEx\UploadDocumentService\SimpleType\AccessorRoleType|string $Role + * @property EmailOptionsRequested $OptionsRequested + * @property Localization $Localization + + */ +class EMailRecipient extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EMailRecipient'; + + /** + * EMail address of the recipient. + * + * @param string $emailAddress + * @return $this + */ + public function setEmailAddress($emailAddress) + { + $this->values['EmailAddress'] = $emailAddress; + return $this; + } + + /** + * The relationship that the customer has to the pending shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\AccessorRoleType|string $role + * @return $this + */ + public function setRole($role) + { + $this->values['Role'] = $role; + return $this; + } + + /** + * Specifies how the email notification for the pending shipment need to be processed. + * + * @param EmailOptionsRequested $optionsRequested + * @return $this + */ + public function setOptionsRequested(EmailOptionsRequested $optionsRequested) + { + $this->values['OptionsRequested'] = $optionsRequested; + return $this; + } + + /** + * Localization and language details specified by the recipient of the EMail. + * + * @param Localization $localization + * @return $this + */ + public function setLocalization(Localization $localization) + { + $this->values['Localization'] = $localization; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/EPaymentDetail.php b/src/FedEx/UploadDocumentService/ComplexType/EPaymentDetail.php new file mode 100644 index 00000000..22514371 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/EPaymentDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Id + * @property \FedEx\UploadDocumentService\SimpleType\EPaymentProcessorType|string $EPaymentProcessor + * @property \FedEx\UploadDocumentService\SimpleType\EPaymentModeType|string $EPaymentMode + * @property string $MaskedCreditCard + * @property \FedEx\UploadDocumentService\SimpleType\CreditCardType|string $CreditCardType + * @property string $CreditCardExpirationDate + * @property Money $Amount + + */ +class EPaymentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EPaymentDetail'; + + /** + * Set Id + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Set EPaymentProcessor + * + * @param \FedEx\UploadDocumentService\SimpleType\EPaymentProcessorType|string $ePaymentProcessor + * @return $this + */ + public function setEPaymentProcessor($ePaymentProcessor) + { + $this->values['EPaymentProcessor'] = $ePaymentProcessor; + return $this; + } + + /** + * Set EPaymentMode + * + * @param \FedEx\UploadDocumentService\SimpleType\EPaymentModeType|string $ePaymentMode + * @return $this + */ + public function setEPaymentMode($ePaymentMode) + { + $this->values['EPaymentMode'] = $ePaymentMode; + return $this; + } + + /** + * Set MaskedCreditCard + * + * @param string $maskedCreditCard + * @return $this + */ + public function setMaskedCreditCard($maskedCreditCard) + { + $this->values['MaskedCreditCard'] = $maskedCreditCard; + return $this; + } + + /** + * Set CreditCardType + * + * @param \FedEx\UploadDocumentService\SimpleType\CreditCardType|string $creditCardType + * @return $this + */ + public function setCreditCardType($creditCardType) + { + $this->values['CreditCardType'] = $creditCardType; + return $this; + } + + /** + * Set CreditCardExpirationDate + * + * @param string $creditCardExpirationDate + * @return $this + */ + public function setCreditCardExpirationDate($creditCardExpirationDate) + { + $this->values['CreditCardExpirationDate'] = $creditCardExpirationDate; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/EdtCommodityTax.php b/src/FedEx/UploadDocumentService/ComplexType/EdtCommodityTax.php new file mode 100644 index 00000000..9962bad0 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/EdtCommodityTax.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $HarmonizedCode + * @property EdtTaxDetail[] $Taxes + * @property Money $Total + + */ +class EdtCommodityTax extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EdtCommodityTax'; + + /** + * Set HarmonizedCode + * + * @param string $harmonizedCode + * @return $this + */ + public function setHarmonizedCode($harmonizedCode) + { + $this->values['HarmonizedCode'] = $harmonizedCode; + return $this; + } + + /** + * Set Taxes + * + * @param EdtTaxDetail[] $taxes + * @return $this + */ + public function setTaxes(array $taxes) + { + $this->values['Taxes'] = $taxes; + return $this; + } + + /** + * Set Total + * + * @param Money $total + * @return $this + */ + public function setTotal(Money $total) + { + $this->values['Total'] = $total; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/EdtExciseCondition.php b/src/FedEx/UploadDocumentService/ComplexType/EdtExciseCondition.php new file mode 100644 index 00000000..3eb481d9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/EdtExciseCondition.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Category + * @property string $Value + + */ +class EdtExciseCondition extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EdtExciseCondition'; + + /** + * Set Category + * + * @param string $category + * @return $this + */ + public function setCategory($category) + { + $this->values['Category'] = $category; + return $this; + } + + /** + * Customer-declared value, with data type and legal values depending on excise condition, used in defining the taxable value of the item. + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/EdtTaxDetail.php b/src/FedEx/UploadDocumentService/ComplexType/EdtTaxDetail.php new file mode 100644 index 00000000..be7144b3 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/EdtTaxDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\EdtTaxType|string $TaxType + * @property string $EffectiveDate + * @property string $Name + * @property Money $TaxableValue + * @property string $Description + * @property string $Formula + * @property Money $Amount + + */ +class EdtTaxDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EdtTaxDetail'; + + /** + * Set TaxType + * + * @param \FedEx\UploadDocumentService\SimpleType\EdtTaxType|string $taxType + * @return $this + */ + public function setTaxType($taxType) + { + $this->values['TaxType'] = $taxType; + return $this; + } + + /** + * Set EffectiveDate + * + * @param string $effectiveDate + * @return $this + */ + public function setEffectiveDate($effectiveDate) + { + $this->values['EffectiveDate'] = $effectiveDate; + return $this; + } + + /** + * Set Name + * + * @param string $name + * @return $this + */ + public function setName($name) + { + $this->values['Name'] = $name; + return $this; + } + + /** + * Set TaxableValue + * + * @param Money $taxableValue + * @return $this + */ + public function setTaxableValue(Money $taxableValue) + { + $this->values['TaxableValue'] = $taxableValue; + return $this; + } + + /** + * Set Description + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set Formula + * + * @param string $formula + * @return $this + */ + public function setFormula($formula) + { + $this->values['Formula'] = $formula; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/EmailOptionsRequested.php b/src/FedEx/UploadDocumentService/ComplexType/EmailOptionsRequested.php new file mode 100644 index 00000000..0ae02d8f --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/EmailOptionsRequested.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\EmailOptionType|string[] $Options + + */ +class EmailOptionsRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EmailOptionsRequested'; + + /** + * Set Options + * + * @param \FedEx\UploadDocumentService\SimpleType\EmailOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/EtdDetail.php b/src/FedEx/UploadDocumentService/ComplexType/EtdDetail.php new file mode 100644 index 00000000..f13b6a49 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/EtdDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\EtdConfirmationType|string $Confirmation + * @property \FedEx\UploadDocumentService\SimpleType\EtdAttributeType|string[] $Attributes + * @property \FedEx\UploadDocumentService\SimpleType\RequestedShippingDocumentType|string[] $RequestedDocumentCopies + * @property UploadDocumentDetail[] $Documents + * @property UploadDocumentReferenceDetail[] $DocumentReferences + + */ +class EtdDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EtdDetail'; + + /** + * Specifies client's intent for whether all documents must be confirmed before shipment processing. + * + * @param \FedEx\UploadDocumentService\SimpleType\EtdConfirmationType|string $confirmation + * @return $this + */ + public function setConfirmation($confirmation) + { + $this->values['Confirmation'] = $confirmation; + return $this; + } + + /** + * Set Attributes + * + * @param \FedEx\UploadDocumentService\SimpleType\EtdAttributeType[]|string[] $attributes + * @return $this + */ + public function setAttributes(array $attributes) + { + $this->values['Attributes'] = $attributes; + return $this; + } + + /** + * Indicates the types of shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data. + * + * @param \FedEx\UploadDocumentService\SimpleType\RequestedShippingDocumentType[]|string[] $requestedDocumentCopies + * @return $this + */ + public function setRequestedDocumentCopies(array $requestedDocumentCopies) + { + $this->values['RequestedDocumentCopies'] = $requestedDocumentCopies; + return $this; + } + + /** + * Set Documents + * + * @param UploadDocumentDetail[] $documents + * @return $this + */ + public function setDocuments(array $documents) + { + $this->values['Documents'] = $documents; + return $this; + } + + /** + * Set DocumentReferences + * + * @param UploadDocumentReferenceDetail[] $documentReferences + * @return $this + */ + public function setDocumentReferences(array $documentReferences) + { + $this->values['DocumentReferences'] = $documentReferences; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ExportDeclarationDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ExportDeclarationDetail.php new file mode 100644 index 00000000..75d201bb --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ExportDeclarationDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentFormat $DocumentFormat + * @property CustomerImageUsage[] $CustomerImageUsages + + */ +class ExportDeclarationDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ExportDeclarationDetail'; + + /** + * Specifies characteristics of a shipping document to be produced. + * + * @param ShippingDocumentFormat $documentFormat + * @return $this + */ + public function setDocumentFormat(ShippingDocumentFormat $documentFormat) + { + $this->values['DocumentFormat'] = $documentFormat; + return $this; + } + + /** + * Specifies the usage and identification of customer supplied images to be used on this document. + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ExportDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ExportDetail.php new file mode 100644 index 00000000..8c43819f --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ExportDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\B13AFilingOptionType|string $B13AFilingOption + * @property string $ExportComplianceStatement + * @property string $PermitNumber + * @property DestinationControlDetail $DestinationControlDetail + + */ +class ExportDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ExportDetail'; + + /** + * Set B13AFilingOption + * + * @param \FedEx\UploadDocumentService\SimpleType\B13AFilingOptionType|string $b13AFilingOption + * @return $this + */ + public function setB13AFilingOption($b13AFilingOption) + { + $this->values['B13AFilingOption'] = $b13AFilingOption; + return $this; + } + + /** + * General field for exporting-country-specific export data (e.g. B13A for CA, FTSR Exemption or AES Citation for US). + * + * @param string $exportComplianceStatement + * @return $this + */ + public function setExportComplianceStatement($exportComplianceStatement) + { + $this->values['ExportComplianceStatement'] = $exportComplianceStatement; + return $this; + } + + /** + * Set PermitNumber + * + * @param string $permitNumber + * @return $this + */ + public function setPermitNumber($permitNumber) + { + $this->values['PermitNumber'] = $permitNumber; + return $this; + } + + /** + * Set DestinationControlDetail + * + * @param DestinationControlDetail $destinationControlDetail + * @return $this + */ + public function setDestinationControlDetail(DestinationControlDetail $destinationControlDetail) + { + $this->values['DestinationControlDetail'] = $destinationControlDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ExpressFreightDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ExpressFreightDetail.php new file mode 100644 index 00000000..bd16b025 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ExpressFreightDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property boolean $PackingListEnclosed + * @property int $ShippersLoadAndCount + * @property string $BookingConfirmationNumber + * @property boolean $ReferenceLabelRequested + * @property ExpressFreightDetailContact $BeforeDeliveryContact + * @property ExpressFreightDetailContact $UndeliverableContact + + */ +class ExpressFreightDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ExpressFreightDetail'; + + /** + * Set PackingListEnclosed + * + * @param boolean $packingListEnclosed + * @return $this + */ + public function setPackingListEnclosed($packingListEnclosed) + { + $this->values['PackingListEnclosed'] = $packingListEnclosed; + return $this; + } + + /** + * Set ShippersLoadAndCount + * + * @param int $shippersLoadAndCount + * @return $this + */ + public function setShippersLoadAndCount($shippersLoadAndCount) + { + $this->values['ShippersLoadAndCount'] = $shippersLoadAndCount; + return $this; + } + + /** + * Set BookingConfirmationNumber + * + * @param string $bookingConfirmationNumber + * @return $this + */ + public function setBookingConfirmationNumber($bookingConfirmationNumber) + { + $this->values['BookingConfirmationNumber'] = $bookingConfirmationNumber; + return $this; + } + + /** + * Set ReferenceLabelRequested + * + * @param boolean $referenceLabelRequested + * @return $this + */ + public function setReferenceLabelRequested($referenceLabelRequested) + { + $this->values['ReferenceLabelRequested'] = $referenceLabelRequested; + return $this; + } + + /** + * Set BeforeDeliveryContact + * + * @param ExpressFreightDetailContact $beforeDeliveryContact + * @return $this + */ + public function setBeforeDeliveryContact(ExpressFreightDetailContact $beforeDeliveryContact) + { + $this->values['BeforeDeliveryContact'] = $beforeDeliveryContact; + return $this; + } + + /** + * Set UndeliverableContact + * + * @param ExpressFreightDetailContact $undeliverableContact + * @return $this + */ + public function setUndeliverableContact(ExpressFreightDetailContact $undeliverableContact) + { + $this->values['UndeliverableContact'] = $undeliverableContact; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ExpressFreightDetailContact.php b/src/FedEx/UploadDocumentService/ComplexType/ExpressFreightDetailContact.php new file mode 100644 index 00000000..605670e6 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ExpressFreightDetailContact.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Name + * @property string $Phone + + */ +class ExpressFreightDetailContact extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ExpressFreightDetailContact'; + + /** + * Set Name + * + * @param string $name + * @return $this + */ + public function setName($name) + { + $this->values['Name'] = $name; + return $this; + } + + /** + * Set Phone + * + * @param string $phone + * @return $this + */ + public function setPhone($phone) + { + $this->values['Phone'] = $phone; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ExtraLaborDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ExtraLaborDetail.php new file mode 100644 index 00000000..1c548423 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ExtraLaborDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Duration + + */ +class ExtraLaborDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ExtraLaborDetail'; + + /** + * Total labor time. + * + * @param string $duration + * @return $this + */ + public function setDuration($duration) + { + $this->values['Duration'] = $duration; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/FaxDetail.php b/src/FedEx/UploadDocumentService/ComplexType/FaxDetail.php new file mode 100644 index 00000000..9ffbbbe6 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/FaxDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $PhoneNumber + + */ +class FaxDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FaxDetail'; + + /** + * Set PhoneNumber + * + * @param string $phoneNumber + * @return $this + */ + public function setPhoneNumber($phoneNumber) + { + $this->values['PhoneNumber'] = $phoneNumber; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/FlatbedTrailerDetail.php b/src/FedEx/UploadDocumentService/ComplexType/FlatbedTrailerDetail.php new file mode 100644 index 00000000..ccf54d44 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/FlatbedTrailerDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\FlatbedTrailerOption|string[] $Options + + */ +class FlatbedTrailerDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FlatbedTrailerDetail'; + + /** + * Set Options + * + * @param \FedEx\UploadDocumentService\SimpleType\FlatbedTrailerOption[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/FreightAddressLabelDetail.php b/src/FedEx/UploadDocumentService/ComplexType/FreightAddressLabelDetail.php new file mode 100644 index 00000000..93c40577 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/FreightAddressLabelDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentFormat $Format + * @property int $Copies + * @property \FedEx\UploadDocumentService\SimpleType\PageQuadrantType|string $StartingPosition + * @property DocTabContent $DocTabContent + * @property \FedEx\UploadDocumentService\SimpleType\RelativeVerticalPositionType|string $CustomContentPosition + * @property CustomLabelDetail $CustomContent + + */ +class FreightAddressLabelDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FreightAddressLabelDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Indicates the number of copies to be produced for each unique label. + * + * @param int $copies + * @return $this + */ + public function setCopies($copies) + { + $this->values['Copies'] = $copies; + return $this; + } + + /** + * Specifies the quadrant of the page on which the label printing will start. + * + * @param \FedEx\UploadDocumentService\SimpleType\PageQuadrantType|string $startingPosition + * @return $this + */ + public function setStartingPosition($startingPosition) + { + $this->values['StartingPosition'] = $startingPosition; + return $this; + } + + /** + * If omitted, no doc tab will be produced (i.e. default = former NONE type). + * + * @param DocTabContent $docTabContent + * @return $this + */ + public function setDocTabContent(DocTabContent $docTabContent) + { + $this->values['DocTabContent'] = $docTabContent; + return $this; + } + + /** + * Controls the position of the customer specified content relative to the FedEx portion. + * + * @param \FedEx\UploadDocumentService\SimpleType\RelativeVerticalPositionType|string $customContentPosition + * @return $this + */ + public function setCustomContentPosition($customContentPosition) + { + $this->values['CustomContentPosition'] = $customContentPosition; + return $this; + } + + /** + * Set CustomContent + * + * @param CustomLabelDetail $customContent + * @return $this + */ + public function setCustomContent(CustomLabelDetail $customContent) + { + $this->values['CustomContent'] = $customContent; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/FreightBaseCharge.php b/src/FedEx/UploadDocumentService/ComplexType/FreightBaseCharge.php new file mode 100644 index 00000000..c7a972d7 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/FreightBaseCharge.php @@ -0,0 +1,127 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\FreightClassType|string $FreightClass + * @property \FedEx\UploadDocumentService\SimpleType\FreightClassType|string $RatedAsClass + * @property string $NmfcCode + * @property string $Description + * @property Weight $Weight + * @property Money $ChargeRate + * @property \FedEx\UploadDocumentService\SimpleType\FreightChargeBasisType|string $ChargeBasis + * @property Money $ExtendedAmount + + */ +class FreightBaseCharge extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FreightBaseCharge'; + + /** + * Freight class for this line item. + * + * @param \FedEx\UploadDocumentService\SimpleType\FreightClassType|string $freightClass + * @return $this + */ + public function setFreightClass($freightClass) + { + $this->values['FreightClass'] = $freightClass; + return $this; + } + + /** + * Effective freight class used for rating this line item. + * + * @param \FedEx\UploadDocumentService\SimpleType\FreightClassType|string $ratedAsClass + * @return $this + */ + public function setRatedAsClass($ratedAsClass) + { + $this->values['RatedAsClass'] = $ratedAsClass; + return $this; + } + + /** + * NMFC Code for commodity. + * + * @param string $nmfcCode + * @return $this + */ + public function setNmfcCode($nmfcCode) + { + $this->values['NmfcCode'] = $nmfcCode; + return $this; + } + + /** + * Customer-provided description for this commodity or class line. + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Weight for this commodity or class line. + * + * @param Weight $weight + * @return $this + */ + public function setWeight(Weight $weight) + { + $this->values['Weight'] = $weight; + return $this; + } + + /** + * Rate or factor applied to this line item. + * + * @param Money $chargeRate + * @return $this + */ + public function setChargeRate(Money $chargeRate) + { + $this->values['ChargeRate'] = $chargeRate; + return $this; + } + + /** + * Identifies the manner in which the chargeRate for this line item was applied. + * + * @param \FedEx\UploadDocumentService\SimpleType\FreightChargeBasisType|string $chargeBasis + * @return $this + */ + public function setChargeBasis($chargeBasis) + { + $this->values['ChargeBasis'] = $chargeBasis; + return $this; + } + + /** + * The net or extended charge for this line item. + * + * @param Money $extendedAmount + * @return $this + */ + public function setExtendedAmount(Money $extendedAmount) + { + $this->values['ExtendedAmount'] = $extendedAmount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/FreightBillOfLadingDetail.php b/src/FedEx/UploadDocumentService/ComplexType/FreightBillOfLadingDetail.php new file mode 100644 index 00000000..c053a89a --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/FreightBillOfLadingDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentFormat $Format + + */ +class FreightBillOfLadingDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FreightBillOfLadingDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/FreightGuaranteeDetail.php b/src/FedEx/UploadDocumentService/ComplexType/FreightGuaranteeDetail.php new file mode 100644 index 00000000..9ea02039 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/FreightGuaranteeDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\FreightGuaranteeType|string $Type + * @property string $Date + * @property string $Time + + */ +class FreightGuaranteeDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FreightGuaranteeDetail'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\FreightGuaranteeType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Date for all Freight guarantee types. + * + * @param string $date + * @return $this + */ + public function setDate($date) + { + $this->values['Date'] = $date; + return $this; + } + + /** + * Time for GUARANTEED_TIME only. + * + * @param string $time + * @return $this + */ + public function setTime($time) + { + $this->values['Time'] = $time; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/FreightRateDetail.php b/src/FedEx/UploadDocumentService/ComplexType/FreightRateDetail.php new file mode 100644 index 00000000..1c66c2ae --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/FreightRateDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $QuoteNumber + * @property \FedEx\UploadDocumentService\SimpleType\FreightRateQuoteType|string $QuoteType + * @property \FedEx\UploadDocumentService\SimpleType\FreightBaseChargeCalculationType|string $BaseChargeCalculation + * @property FreightBaseCharge[] $BaseCharges + * @property FreightRateNotation[] $Notations + + */ +class FreightRateDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FreightRateDetail'; + + /** + * A unique identifier for a specific rate quotation. + * + * @param string $quoteNumber + * @return $this + */ + public function setQuoteNumber($quoteNumber) + { + $this->values['QuoteNumber'] = $quoteNumber; + return $this; + } + + /** + * Specifies whether the rate quote was automated or manual. + * + * @param \FedEx\UploadDocumentService\SimpleType\FreightRateQuoteType|string $quoteType + * @return $this + */ + public function setQuoteType($quoteType) + { + $this->values['QuoteType'] = $quoteType; + return $this; + } + + /** + * Specifies how total base charge is determined. + * + * @param \FedEx\UploadDocumentService\SimpleType\FreightBaseChargeCalculationType|string $baseChargeCalculation + * @return $this + */ + public function setBaseChargeCalculation($baseChargeCalculation) + { + $this->values['BaseChargeCalculation'] = $baseChargeCalculation; + return $this; + } + + /** + * Freight charges which accumulate to the total base charge for the shipment. + * + * @param FreightBaseCharge[] $baseCharges + * @return $this + */ + public function setBaseCharges(array $baseCharges) + { + $this->values['BaseCharges'] = $baseCharges; + return $this; + } + + /** + * Human-readable descriptions of additional information on this shipment rating. + * + * @param FreightRateNotation[] $notations + * @return $this + */ + public function setNotations(array $notations) + { + $this->values['Notations'] = $notations; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/FreightRateNotation.php b/src/FedEx/UploadDocumentService/ComplexType/FreightRateNotation.php new file mode 100644 index 00000000..496f4fea --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/FreightRateNotation.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Code + * @property string $Description + + */ +class FreightRateNotation extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FreightRateNotation'; + + /** + * Unique identifier for notation. + * + * @param string $code + * @return $this + */ + public function setCode($code) + { + $this->values['Code'] = $code; + return $this; + } + + /** + * Human-readable explanation of notation. + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/FreightShipmentDetail.php b/src/FedEx/UploadDocumentService/ComplexType/FreightShipmentDetail.php new file mode 100644 index 00000000..2d018687 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/FreightShipmentDetail.php @@ -0,0 +1,270 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $FedExFreightAccountNumber + * @property ContactAndAddress $FedExFreightBillingContactAndAddress + * @property Party $AlternateBilling + * @property PrintedReference[] $PrintedReferences + * @property \FedEx\UploadDocumentService\SimpleType\FreightShipmentRoleType|string $Role + * @property \FedEx\UploadDocumentService\SimpleType\FreightCollectTermsType|string $CollectTermsType + * @property Money $DeclaredValuePerUnit + * @property string $DeclaredValueUnits + * @property LiabilityCoverageDetail $LiabilityCoverageDetail + * @property string[] $Coupons + * @property int $TotalHandlingUnits + * @property float $ClientDiscountPercent + * @property Weight $PalletWeight + * @property Dimensions $ShipmentDimensions + * @property string $Comment + * @property FreightSpecialServicePayment[] $SpecialServicePayments + * @property string $HazardousMaterialsEmergencyContactNumber + * @property string $HazardousMaterialsOfferor + * @property FreightShipmentLineItem[] $LineItems + + */ +class FreightShipmentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FreightShipmentDetail'; + + /** + * Account number used with FEDEX_FREIGHT service. + * + * @param string $fedExFreightAccountNumber + * @return $this + */ + public function setFedExFreightAccountNumber($fedExFreightAccountNumber) + { + $this->values['FedExFreightAccountNumber'] = $fedExFreightAccountNumber; + return $this; + } + + /** + * Used for validating FedEx Freight account number and (optionally) identifying third party payment on the bill of lading. + * + * @param ContactAndAddress $fedExFreightBillingContactAndAddress + * @return $this + */ + public function setFedExFreightBillingContactAndAddress(ContactAndAddress $fedExFreightBillingContactAndAddress) + { + $this->values['FedExFreightBillingContactAndAddress'] = $fedExFreightBillingContactAndAddress; + return $this; + } + + /** + * Used in connection with "Send Bill To" (SBT) identification of customer's account used for billing. + * + * @param Party $alternateBilling + * @return $this + */ + public function setAlternateBilling(Party $alternateBilling) + { + $this->values['AlternateBilling'] = $alternateBilling; + return $this; + } + + /** + * Identification values to be printed during creation of a Freight bill of lading. + * + * @param PrintedReference[] $printedReferences + * @return $this + */ + public function setPrintedReferences(array $printedReferences) + { + $this->values['PrintedReferences'] = $printedReferences; + return $this; + } + + /** + * Indicates the role of the party submitting the transaction. + * + * @param \FedEx\UploadDocumentService\SimpleType\FreightShipmentRoleType|string $role + * @return $this + */ + public function setRole($role) + { + $this->values['Role'] = $role; + return $this; + } + + /** + * Designates the terms of the "collect" payment for a Freight Shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\FreightCollectTermsType|string $collectTermsType + * @return $this + */ + public function setCollectTermsType($collectTermsType) + { + $this->values['CollectTermsType'] = $collectTermsType; + return $this; + } + + /** + * Identifies the declared value for the shipment + * + * @param Money $declaredValuePerUnit + * @return $this + */ + public function setDeclaredValuePerUnit(Money $declaredValuePerUnit) + { + $this->values['DeclaredValuePerUnit'] = $declaredValuePerUnit; + return $this; + } + + /** + * Identifies the declared value units corresponding to the above defined declared value + * + * @param string $declaredValueUnits + * @return $this + */ + public function setDeclaredValueUnits($declaredValueUnits) + { + $this->values['DeclaredValueUnits'] = $declaredValueUnits; + return $this; + } + + /** + * Set LiabilityCoverageDetail + * + * @param LiabilityCoverageDetail $liabilityCoverageDetail + * @return $this + */ + public function setLiabilityCoverageDetail(LiabilityCoverageDetail $liabilityCoverageDetail) + { + $this->values['LiabilityCoverageDetail'] = $liabilityCoverageDetail; + return $this; + } + + /** + * Identifiers for promotional discounts offered to customers. + * + * @param string $coupons + * @return $this + */ + public function setCoupons($coupons) + { + $this->values['Coupons'] = $coupons; + return $this; + } + + /** + * Total number of individual handling units in the entire shipment (for unit pricing). + * + * @param int $totalHandlingUnits + * @return $this + */ + public function setTotalHandlingUnits($totalHandlingUnits) + { + $this->values['TotalHandlingUnits'] = $totalHandlingUnits; + return $this; + } + + /** + * Estimated discount rate provided by client for unsecured rate quote. + * + * @param float $clientDiscountPercent + * @return $this + */ + public function setClientDiscountPercent($clientDiscountPercent) + { + $this->values['ClientDiscountPercent'] = $clientDiscountPercent; + return $this; + } + + /** + * Total weight of pallets used in shipment. + * + * @param Weight $palletWeight + * @return $this + */ + public function setPalletWeight(Weight $palletWeight) + { + $this->values['PalletWeight'] = $palletWeight; + return $this; + } + + /** + * Overall shipment dimensions. + * + * @param Dimensions $shipmentDimensions + * @return $this + */ + public function setShipmentDimensions(Dimensions $shipmentDimensions) + { + $this->values['ShipmentDimensions'] = $shipmentDimensions; + return $this; + } + + /** + * Description for the shipment. + * + * @param string $comment + * @return $this + */ + public function setComment($comment) + { + $this->values['Comment'] = $comment; + return $this; + } + + /** + * Specifies which party will pay surcharges for any special services which support split billing. + * + * @param FreightSpecialServicePayment[] $specialServicePayments + * @return $this + */ + public function setSpecialServicePayments(array $specialServicePayments) + { + $this->values['SpecialServicePayments'] = $specialServicePayments; + return $this; + } + + /** + * Must be populated if any line items contain hazardous materials. + * + * @param string $hazardousMaterialsEmergencyContactNumber + * @return $this + */ + public function setHazardousMaterialsEmergencyContactNumber($hazardousMaterialsEmergencyContactNumber) + { + $this->values['HazardousMaterialsEmergencyContactNumber'] = $hazardousMaterialsEmergencyContactNumber; + return $this; + } + + /** + * Set HazardousMaterialsOfferor + * + * @param string $hazardousMaterialsOfferor + * @return $this + */ + public function setHazardousMaterialsOfferor($hazardousMaterialsOfferor) + { + $this->values['HazardousMaterialsOfferor'] = $hazardousMaterialsOfferor; + return $this; + } + + /** + * Details of the commodities in the shipment. + * + * @param FreightShipmentLineItem[] $lineItems + * @return $this + */ + public function setLineItems(array $lineItems) + { + $this->values['LineItems'] = $lineItems; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/FreightShipmentLineItem.php b/src/FedEx/UploadDocumentService/ComplexType/FreightShipmentLineItem.php new file mode 100644 index 00000000..60bb4caa --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/FreightShipmentLineItem.php @@ -0,0 +1,218 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Id + * @property \FedEx\UploadDocumentService\SimpleType\FreightClassType|string $FreightClass + * @property boolean $ClassProvidedByCustomer + * @property string $BillingMaskName + * @property LiabilityCoverageDetail $LiabilityCoverageDetail + * @property int $HandlingUnits + * @property \FedEx\UploadDocumentService\SimpleType\PhysicalPackagingType|string $Packaging + * @property int $Pieces + * @property string $NmfcCode + * @property \FedEx\UploadDocumentService\SimpleType\HazardousCommodityOptionType|string $HazardousMaterials + * @property string $PurchaseOrderNumber + * @property string $Description + * @property Weight $Weight + * @property Dimensions $Dimensions + * @property Volume $Volume + + */ +class FreightShipmentLineItem extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FreightShipmentLineItem'; + + /** + * A unique identifier assigned to this line item. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Freight class for this line item. + * + * @param \FedEx\UploadDocumentService\SimpleType\FreightClassType|string $freightClass + * @return $this + */ + public function setFreightClass($freightClass) + { + $this->values['FreightClass'] = $freightClass; + return $this; + } + + /** + * FEDEX INTERNAL USE ONLY: for FedEx system that estimate freight class from customer-provided dimensions and weight. + * + * @param boolean $classProvidedByCustomer + * @return $this + */ + public function setClassProvidedByCustomer($classProvidedByCustomer) + { + $this->values['ClassProvidedByCustomer'] = $classProvidedByCustomer; + return $this; + } + + /** + * Identifies billing mask, if used to populate this line item. + * + * @param string $billingMaskName + * @return $this + */ + public function setBillingMaskName($billingMaskName) + { + $this->values['BillingMaskName'] = $billingMaskName; + return $this; + } + + /** + * Specifies line item level liability coverage. + * + * @param LiabilityCoverageDetail $liabilityCoverageDetail + * @return $this + */ + public function setLiabilityCoverageDetail(LiabilityCoverageDetail $liabilityCoverageDetail) + { + $this->values['LiabilityCoverageDetail'] = $liabilityCoverageDetail; + return $this; + } + + /** + * Number of individual handling units to which this line applies. (NOTE: Total of line-item-level handling units may not balance to shipment-level total handling units.) + * + * @param int $handlingUnits + * @return $this + */ + public function setHandlingUnits($handlingUnits) + { + $this->values['HandlingUnits'] = $handlingUnits; + return $this; + } + + /** + * Specification of handling-unit packaging for this commodity or class line. + * + * @param \FedEx\UploadDocumentService\SimpleType\PhysicalPackagingType|string $packaging + * @return $this + */ + public function setPackaging($packaging) + { + $this->values['Packaging'] = $packaging; + return $this; + } + + /** + * Number of pieces for this commodity or class line. + * + * @param int $pieces + * @return $this + */ + public function setPieces($pieces) + { + $this->values['Pieces'] = $pieces; + return $this; + } + + /** + * NMFC Code for commodity. + * + * @param string $nmfcCode + * @return $this + */ + public function setNmfcCode($nmfcCode) + { + $this->values['NmfcCode'] = $nmfcCode; + return $this; + } + + /** + * Indicates the kind of hazardous material content in this line item. + * + * @param \FedEx\UploadDocumentService\SimpleType\HazardousCommodityOptionType|string $hazardousMaterials + * @return $this + */ + public function setHazardousMaterials($hazardousMaterials) + { + $this->values['HazardousMaterials'] = $hazardousMaterials; + return $this; + } + + /** + * For printed reference per line item. + * + * @param string $purchaseOrderNumber + * @return $this + */ + public function setPurchaseOrderNumber($purchaseOrderNumber) + { + $this->values['PurchaseOrderNumber'] = $purchaseOrderNumber; + return $this; + } + + /** + * Customer-provided description for this commodity or class line. + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Weight for this commodity or class line. + * + * @param Weight $weight + * @return $this + */ + public function setWeight(Weight $weight) + { + $this->values['Weight'] = $weight; + return $this; + } + + /** + * Set Dimensions + * + * @param Dimensions $dimensions + * @return $this + */ + public function setDimensions(Dimensions $dimensions) + { + $this->values['Dimensions'] = $dimensions; + return $this; + } + + /** + * Volume (cubic measure) for this commodity or class line. + * + * @param Volume $volume + * @return $this + */ + public function setVolume(Volume $volume) + { + $this->values['Volume'] = $volume; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/FreightSpecialServicePayment.php b/src/FedEx/UploadDocumentService/ComplexType/FreightSpecialServicePayment.php new file mode 100644 index 00000000..9cfe8913 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/FreightSpecialServicePayment.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $SpecialService + * @property \FedEx\UploadDocumentService\SimpleType\FreightShipmentRoleType|string $PaymentType + + */ +class FreightSpecialServicePayment extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FreightSpecialServicePayment'; + + /** + * Identifies the special service. + * + * @param string $specialService + * @return $this + */ + public function setSpecialService($specialService) + { + $this->values['SpecialService'] = $specialService; + return $this; + } + + /** + * Indicates who will pay for the special service. + * + * @param \FedEx\UploadDocumentService\SimpleType\FreightShipmentRoleType|string $paymentType + * @return $this + */ + public function setPaymentType($paymentType) + { + $this->values['PaymentType'] = $paymentType; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/GeneralAgencyAgreementDetail.php b/src/FedEx/UploadDocumentService/ComplexType/GeneralAgencyAgreementDetail.php new file mode 100644 index 00000000..843f48a6 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/GeneralAgencyAgreementDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentFormat $Format + + */ +class GeneralAgencyAgreementDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'GeneralAgencyAgreementDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityContent.php b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityContent.php new file mode 100644 index 00000000..19cdb13d --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityContent.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property HazardousCommodityDescription $Description + * @property HazardousCommodityQuantityDetail $Quantity + * @property HazardousCommodityInnerReceptacleDetail[] $InnerReceptacles + * @property HazardousCommodityOptionDetail $Options + * @property RadionuclideDetail $RadionuclideDetail + * @property NetExplosiveDetail $NetExplosiveDetail + + */ +class HazardousCommodityContent extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'HazardousCommodityContent'; + + /** + * Identifies and describes an individual hazardous commodity. + * + * @param HazardousCommodityDescription $description + * @return $this + */ + public function setDescription(HazardousCommodityDescription $description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Specifies the amount of the commodity in alternate units. + * + * @param HazardousCommodityQuantityDetail $quantity + * @return $this + */ + public function setQuantity(HazardousCommodityQuantityDetail $quantity) + { + $this->values['Quantity'] = $quantity; + return $this; + } + + /** + * This describes the inner receptacle details for a hazardous commodity within the dangerous goods container. + * + * @param HazardousCommodityInnerReceptacleDetail[] $innerReceptacles + * @return $this + */ + public function setInnerReceptacles(array $innerReceptacles) + { + $this->values['InnerReceptacles'] = $innerReceptacles; + return $this; + } + + /** + * Customer-provided specifications for handling individual commodities. + * + * @param HazardousCommodityOptionDetail $options + * @return $this + */ + public function setOptions(HazardousCommodityOptionDetail $options) + { + $this->values['Options'] = $options; + return $this; + } + + /** + * Specifies the details of any radio active materials within the commodity. + * + * @param RadionuclideDetail $radionuclideDetail + * @return $this + */ + public function setRadionuclideDetail(RadionuclideDetail $radionuclideDetail) + { + $this->values['RadionuclideDetail'] = $radionuclideDetail; + return $this; + } + + /** + * The total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. + * + * @param NetExplosiveDetail $netExplosiveDetail + * @return $this + */ + public function setNetExplosiveDetail(NetExplosiveDetail $netExplosiveDetail) + { + $this->values['NetExplosiveDetail'] = $netExplosiveDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityDescription.php b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityDescription.php new file mode 100644 index 00000000..965e57cd --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityDescription.php @@ -0,0 +1,192 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Id + * @property int $SequenceNumber + * @property \FedEx\UploadDocumentService\SimpleType\HazardousCommodityPackingGroupType|string $PackingGroup + * @property HazardousCommodityPackingDetail $PackingDetails + * @property boolean $ReportableQuantity + * @property string $ProperShippingName + * @property string $TechnicalName + * @property float $Percentage + * @property string $HazardClass + * @property string[] $SubsidiaryClasses + * @property string $LabelText + * @property \FedEx\UploadDocumentService\SimpleType\HazardousCommodityDescriptionProcessingOptionType|string[] $ProcessingOptions + * @property string $Authorization + + */ +class HazardousCommodityDescription extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'HazardousCommodityDescription'; + + /** + * Regulatory identifier for a commodity (e.g. "UN ID" value). + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. + * + * @param int $sequenceNumber + * @return $this + */ + public function setSequenceNumber($sequenceNumber) + { + $this->values['SequenceNumber'] = $sequenceNumber; + return $this; + } + + /** + * Set PackingGroup + * + * @param \FedEx\UploadDocumentService\SimpleType\HazardousCommodityPackingGroupType|string $packingGroup + * @return $this + */ + public function setPackingGroup($packingGroup) + { + $this->values['PackingGroup'] = $packingGroup; + return $this; + } + + /** + * Set PackingDetails + * + * @param HazardousCommodityPackingDetail $packingDetails + * @return $this + */ + public function setPackingDetails(HazardousCommodityPackingDetail $packingDetails) + { + $this->values['PackingDetails'] = $packingDetails; + return $this; + } + + /** + * Set ReportableQuantity + * + * @param boolean $reportableQuantity + * @return $this + */ + public function setReportableQuantity($reportableQuantity) + { + $this->values['ReportableQuantity'] = $reportableQuantity; + return $this; + } + + /** + * Set ProperShippingName + * + * @param string $properShippingName + * @return $this + */ + public function setProperShippingName($properShippingName) + { + $this->values['ProperShippingName'] = $properShippingName; + return $this; + } + + /** + * Set TechnicalName + * + * @param string $technicalName + * @return $this + */ + public function setTechnicalName($technicalName) + { + $this->values['TechnicalName'] = $technicalName; + return $this; + } + + /** + * Set Percentage + * + * @param float $percentage + * @return $this + */ + public function setPercentage($percentage) + { + $this->values['Percentage'] = $percentage; + return $this; + } + + /** + * Set HazardClass + * + * @param string $hazardClass + * @return $this + */ + public function setHazardClass($hazardClass) + { + $this->values['HazardClass'] = $hazardClass; + return $this; + } + + /** + * Set SubsidiaryClasses + * + * @param string $subsidiaryClasses + * @return $this + */ + public function setSubsidiaryClasses($subsidiaryClasses) + { + $this->values['SubsidiaryClasses'] = $subsidiaryClasses; + return $this; + } + + /** + * Set LabelText + * + * @param string $labelText + * @return $this + */ + public function setLabelText($labelText) + { + $this->values['LabelText'] = $labelText; + return $this; + } + + /** + * Indicates any special processing options to be applied to the description of the dangerous goods commodity. + * + * @param \FedEx\UploadDocumentService\SimpleType\HazardousCommodityDescriptionProcessingOptionType[]|string[] $processingOptions + * @return $this + */ + public function setProcessingOptions(array $processingOptions) + { + $this->values['ProcessingOptions'] = $processingOptions; + return $this; + } + + /** + * Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. + * + * @param string $authorization + * @return $this + */ + public function setAuthorization($authorization) + { + $this->values['Authorization'] = $authorization; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityInnerReceptacleDetail.php b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityInnerReceptacleDetail.php new file mode 100644 index 00000000..350a804f --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityInnerReceptacleDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property HazardousCommodityQuantityDetail $Quantity + + */ +class HazardousCommodityInnerReceptacleDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'HazardousCommodityInnerReceptacleDetail'; + + /** + * This specifies the quantity contained in the inner receptacle. + * + * @param HazardousCommodityQuantityDetail $quantity + * @return $this + */ + public function setQuantity(HazardousCommodityQuantityDetail $quantity) + { + $this->values['Quantity'] = $quantity; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityOptionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityOptionDetail.php new file mode 100644 index 00000000..90b4fdc8 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityOptionDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\HazardousCommodityLabelTextOptionType|string $LabelTextOption + * @property string $CustomerSuppliedLabelText + + */ +class HazardousCommodityOptionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'HazardousCommodityOptionDetail'; + + /** + * Specifies how the customer wishes the label text to be handled for this commodity in this package. + * + * @param \FedEx\UploadDocumentService\SimpleType\HazardousCommodityLabelTextOptionType|string $labelTextOption + * @return $this + */ + public function setLabelTextOption($labelTextOption) + { + $this->values['LabelTextOption'] = $labelTextOption; + return $this; + } + + /** + * Text used in labeling the commodity under control of the labelTextOption field. + * + * @param string $customerSuppliedLabelText + * @return $this + */ + public function setCustomerSuppliedLabelText($customerSuppliedLabelText) + { + $this->values['CustomerSuppliedLabelText'] = $customerSuppliedLabelText; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityPackagingDetail.php b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityPackagingDetail.php new file mode 100644 index 00000000..d7add15a --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityPackagingDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $Count + * @property string $Units + + */ +class HazardousCommodityPackagingDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'HazardousCommodityPackagingDetail'; + + /** + * Number of units of the type below. + * + * @param int $count + * @return $this + */ + public function setCount($count) + { + $this->values['Count'] = $count; + return $this; + } + + /** + * Units in which the hazardous commodity is packaged. + * + * @param string $units + * @return $this + */ + public function setUnits($units) + { + $this->values['Units'] = $units; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityPackingDetail.php b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityPackingDetail.php new file mode 100644 index 00000000..1db6d340 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityPackingDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property boolean $CargoAircraftOnly + * @property string $PackingInstructions + + */ +class HazardousCommodityPackingDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'HazardousCommodityPackingDetail'; + + /** + * Set CargoAircraftOnly + * + * @param boolean $cargoAircraftOnly + * @return $this + */ + public function setCargoAircraftOnly($cargoAircraftOnly) + { + $this->values['CargoAircraftOnly'] = $cargoAircraftOnly; + return $this; + } + + /** + * Coded specification for how commodity is to be packed. + * + * @param string $packingInstructions + * @return $this + */ + public function setPackingInstructions($packingInstructions) + { + $this->values['PackingInstructions'] = $packingInstructions; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityQuantityDetail.php b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityQuantityDetail.php new file mode 100644 index 00000000..38d9d657 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/HazardousCommodityQuantityDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property float $Amount + * @property string $Units + * @property \FedEx\UploadDocumentService\SimpleType\HazardousCommodityQuantityType|string $QuantityType + + */ +class HazardousCommodityQuantityDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'HazardousCommodityQuantityDetail'; + + /** + * Number of units of the type below. + * + * @param float $amount + * @return $this + */ + public function setAmount($amount) + { + $this->values['Amount'] = $amount; + return $this; + } + + /** + * Units by which the hazardous commodity is measured. For IATA commodity, the units values are restricted based on regulation type. + * + * @param string $units + * @return $this + */ + public function setUnits($units) + { + $this->values['Units'] = $units; + return $this; + } + + /** + * Specifies which measure of quantity is to be validated. + * + * @param \FedEx\UploadDocumentService\SimpleType\HazardousCommodityQuantityType|string $quantityType + * @return $this + */ + public function setQuantityType($quantityType) + { + $this->values['QuantityType'] = $quantityType; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/HoldAtLocationDetail.php b/src/FedEx/UploadDocumentService/ComplexType/HoldAtLocationDetail.php new file mode 100644 index 00000000..4ba31c84 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/HoldAtLocationDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $PhoneNumber + * @property ContactAndAddress $LocationContactAndAddress + * @property \FedEx\UploadDocumentService\SimpleType\FedExLocationType|string $LocationType + * @property string $LocationTypeForDisplay + * @property string $LocationId + * @property int $LocationNumber + + */ +class HoldAtLocationDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'HoldAtLocationDetail'; + + /** + * Contact phone number for recipient of shipment. + * + * @param string $phoneNumber + * @return $this + */ + public function setPhoneNumber($phoneNumber) + { + $this->values['PhoneNumber'] = $phoneNumber; + return $this; + } + + /** + * Contact and address of FedEx facility at which shipment is to be held. + * + * @param ContactAndAddress $locationContactAndAddress + * @return $this + */ + public function setLocationContactAndAddress(ContactAndAddress $locationContactAndAddress) + { + $this->values['LocationContactAndAddress'] = $locationContactAndAddress; + return $this; + } + + /** + * Type of facility at which package/shipment is to be held. + * + * @param \FedEx\UploadDocumentService\SimpleType\FedExLocationType|string $locationType + * @return $this + */ + public function setLocationType($locationType) + { + $this->values['LocationType'] = $locationType; + return $this; + } + + /** + * Branded text associated with this location type. + * + * @param string $locationTypeForDisplay + * @return $this + */ + public function setLocationTypeForDisplay($locationTypeForDisplay) + { + $this->values['LocationTypeForDisplay'] = $locationTypeForDisplay; + return $this; + } + + /** + * Location identification (for facilities identified by an alphanumeric location code). + * + * @param string $locationId + * @return $this + */ + public function setLocationId($locationId) + { + $this->values['LocationId'] = $locationId; + return $this; + } + + /** + * Location identification (for facilities identified by an numeric location code). + * + * @param int $locationNumber + * @return $this + */ + public function setLocationNumber($locationNumber) + { + $this->values['LocationNumber'] = $locationNumber; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/HomeDeliveryPremiumDetail.php b/src/FedEx/UploadDocumentService/ComplexType/HomeDeliveryPremiumDetail.php new file mode 100644 index 00000000..2882540e --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/HomeDeliveryPremiumDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\HomeDeliveryPremiumType|string $HomeDeliveryPremiumType + * @property string $Date + * @property string $PhoneNumber + + */ +class HomeDeliveryPremiumDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'HomeDeliveryPremiumDetail'; + + /** + * Set HomeDeliveryPremiumType + * + * @param \FedEx\UploadDocumentService\SimpleType\HomeDeliveryPremiumType|string $homeDeliveryPremiumType + * @return $this + */ + public function setHomeDeliveryPremiumType($homeDeliveryPremiumType) + { + $this->values['HomeDeliveryPremiumType'] = $homeDeliveryPremiumType; + return $this; + } + + /** + * Set Date + * + * @param string $date + * @return $this + */ + public function setDate($date) + { + $this->values['Date'] = $date; + return $this; + } + + /** + * Set PhoneNumber + * + * @param string $phoneNumber + * @return $this + */ + public function setPhoneNumber($phoneNumber) + { + $this->values['PhoneNumber'] = $phoneNumber; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ImageReferenceDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ImageReferenceDetail.php new file mode 100644 index 00000000..a24e16b3 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ImageReferenceDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ImageId|string $Id + * @property string $InternalId + * @property \FedEx\UploadDocumentService\SimpleType\InternalImageType|string $InternalImageType + + */ +class ImageReferenceDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ImageReferenceDetail'; + + /** + * Set Id + * + * @param \FedEx\UploadDocumentService\SimpleType\ImageId|string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Represents the internal index used by INET to identify an image + * + * @param string $internalId + * @return $this + */ + public function setInternalId($internalId) + { + $this->values['InternalId'] = $internalId; + return $this; + } + + /** + * Represents the internal image type used by INET + * + * @param \FedEx\UploadDocumentService\SimpleType\InternalImageType|string $internalImageType + * @return $this + */ + public function setInternalImageType($internalImageType) + { + $this->values['InternalImageType'] = $internalImageType; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/InternationalControlledExportDetail.php b/src/FedEx/UploadDocumentService/ComplexType/InternationalControlledExportDetail.php new file mode 100644 index 00000000..d2951ab5 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/InternationalControlledExportDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\InternationalControlledExportType|string $Type + * @property string $ForeignTradeZoneCode + * @property string $EntryNumber + * @property string $LicenseOrPermitNumber + * @property string $LicenseOrPermitExpirationDate + + */ +class InternationalControlledExportDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'InternationalControlledExportDetail'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\InternationalControlledExportType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set ForeignTradeZoneCode + * + * @param string $foreignTradeZoneCode + * @return $this + */ + public function setForeignTradeZoneCode($foreignTradeZoneCode) + { + $this->values['ForeignTradeZoneCode'] = $foreignTradeZoneCode; + return $this; + } + + /** + * Set EntryNumber + * + * @param string $entryNumber + * @return $this + */ + public function setEntryNumber($entryNumber) + { + $this->values['EntryNumber'] = $entryNumber; + return $this; + } + + /** + * Set LicenseOrPermitNumber + * + * @param string $licenseOrPermitNumber + * @return $this + */ + public function setLicenseOrPermitNumber($licenseOrPermitNumber) + { + $this->values['LicenseOrPermitNumber'] = $licenseOrPermitNumber; + return $this; + } + + /** + * Set LicenseOrPermitExpirationDate + * + * @param string $licenseOrPermitExpirationDate + * @return $this + */ + public function setLicenseOrPermitExpirationDate($licenseOrPermitExpirationDate) + { + $this->values['LicenseOrPermitExpirationDate'] = $licenseOrPermitExpirationDate; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/InternationalDistributionSummaryDetail.php b/src/FedEx/UploadDocumentService/ComplexType/InternationalDistributionSummaryDetail.php new file mode 100644 index 00000000..57ced00e --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/InternationalDistributionSummaryDetail.php @@ -0,0 +1,179 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property Weight $TotalWeight + * @property int $TotalPackageCount + * @property int $TotalUniqueAddressCount + * @property Money $TotalCustomsValue + * @property Money $TotalInsuredValue + * @property Money $TotalFreightCharges + * @property Money $TotalInsuranceCharges + * @property Money $TotalTaxesOrMiscellaneousCharges + * @property Money $TotalHandlingCosts + * @property Money $TotalPackingCosts + * @property ShipmentDryIceDetail $DryIceDetail + * @property \FedEx\UploadDocumentService\SimpleType\DangerousGoodsAccessibilityType|string $DangerousGoodsAccessibility + + */ +class InternationalDistributionSummaryDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'InternationalDistributionSummaryDetail'; + + /** + * Set TotalWeight + * + * @param Weight $totalWeight + * @return $this + */ + public function setTotalWeight(Weight $totalWeight) + { + $this->values['TotalWeight'] = $totalWeight; + return $this; + } + + /** + * Set TotalPackageCount + * + * @param int $totalPackageCount + * @return $this + */ + public function setTotalPackageCount($totalPackageCount) + { + $this->values['TotalPackageCount'] = $totalPackageCount; + return $this; + } + + /** + * Set TotalUniqueAddressCount + * + * @param int $totalUniqueAddressCount + * @return $this + */ + public function setTotalUniqueAddressCount($totalUniqueAddressCount) + { + $this->values['TotalUniqueAddressCount'] = $totalUniqueAddressCount; + return $this; + } + + /** + * Set TotalCustomsValue + * + * @param Money $totalCustomsValue + * @return $this + */ + public function setTotalCustomsValue(Money $totalCustomsValue) + { + $this->values['TotalCustomsValue'] = $totalCustomsValue; + return $this; + } + + /** + * Set TotalInsuredValue + * + * @param Money $totalInsuredValue + * @return $this + */ + public function setTotalInsuredValue(Money $totalInsuredValue) + { + $this->values['TotalInsuredValue'] = $totalInsuredValue; + return $this; + } + + /** + * Set TotalFreightCharges + * + * @param Money $totalFreightCharges + * @return $this + */ + public function setTotalFreightCharges(Money $totalFreightCharges) + { + $this->values['TotalFreightCharges'] = $totalFreightCharges; + return $this; + } + + /** + * Set TotalInsuranceCharges + * + * @param Money $totalInsuranceCharges + * @return $this + */ + public function setTotalInsuranceCharges(Money $totalInsuranceCharges) + { + $this->values['TotalInsuranceCharges'] = $totalInsuranceCharges; + return $this; + } + + /** + * Set TotalTaxesOrMiscellaneousCharges + * + * @param Money $totalTaxesOrMiscellaneousCharges + * @return $this + */ + public function setTotalTaxesOrMiscellaneousCharges(Money $totalTaxesOrMiscellaneousCharges) + { + $this->values['TotalTaxesOrMiscellaneousCharges'] = $totalTaxesOrMiscellaneousCharges; + return $this; + } + + /** + * Set TotalHandlingCosts + * + * @param Money $totalHandlingCosts + * @return $this + */ + public function setTotalHandlingCosts(Money $totalHandlingCosts) + { + $this->values['TotalHandlingCosts'] = $totalHandlingCosts; + return $this; + } + + /** + * Set TotalPackingCosts + * + * @param Money $totalPackingCosts + * @return $this + */ + public function setTotalPackingCosts(Money $totalPackingCosts) + { + $this->values['TotalPackingCosts'] = $totalPackingCosts; + return $this; + } + + /** + * Set DryIceDetail + * + * @param ShipmentDryIceDetail $dryIceDetail + * @return $this + */ + public function setDryIceDetail(ShipmentDryIceDetail $dryIceDetail) + { + $this->values['DryIceDetail'] = $dryIceDetail; + return $this; + } + + /** + * Set DangerousGoodsAccessibility + * + * @param \FedEx\UploadDocumentService\SimpleType\DangerousGoodsAccessibilityType|string $dangerousGoodsAccessibility + * @return $this + */ + public function setDangerousGoodsAccessibility($dangerousGoodsAccessibility) + { + $this->values['DangerousGoodsAccessibility'] = $dangerousGoodsAccessibility; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/InternationalTrafficInArmsRegulationsDetail.php b/src/FedEx/UploadDocumentService/ComplexType/InternationalTrafficInArmsRegulationsDetail.php new file mode 100644 index 00000000..338d708d --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/InternationalTrafficInArmsRegulationsDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $LicenseOrExemptionNumber + + */ +class InternationalTrafficInArmsRegulationsDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'InternationalTrafficInArmsRegulationsDetail'; + + /** + * Set LicenseOrExemptionNumber + * + * @param string $licenseOrExemptionNumber + * @return $this + */ + public function setLicenseOrExemptionNumber($licenseOrExemptionNumber) + { + $this->values['LicenseOrExemptionNumber'] = $licenseOrExemptionNumber; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/KeyValueDetail.php b/src/FedEx/UploadDocumentService/ComplexType/KeyValueDetail.php new file mode 100644 index 00000000..b0833ffb --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/KeyValueDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Key + * @property string $Value + + */ +class KeyValueDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'KeyValueDetail'; + + /** + * Set Key + * + * @param string $key + * @return $this + */ + public function setKey($key) + { + $this->values['Key'] = $key; + return $this; + } + + /** + * Set Value + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/LabelSpecification.php b/src/FedEx/UploadDocumentService/ComplexType/LabelSpecification.php new file mode 100644 index 00000000..4eac62da --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/LabelSpecification.php @@ -0,0 +1,166 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property LabelSpecificationProcessingOptionsRequested $ProcessingOptionsRequested + * @property ShippingDocumentDispositionDetail[] $Dispositions + * @property \FedEx\UploadDocumentService\SimpleType\LabelFormatType|string $LabelFormatType + * @property \FedEx\UploadDocumentService\SimpleType\ShippingDocumentImageType|string $ImageType + * @property \FedEx\UploadDocumentService\SimpleType\LabelStockType|string $LabelStockType + * @property \FedEx\UploadDocumentService\SimpleType\LabelPrintingOrientationType|string $LabelPrintingOrientation + * @property \FedEx\UploadDocumentService\SimpleType\LabelRotationType|string $LabelRotation + * @property \FedEx\UploadDocumentService\SimpleType\LabelOrderType|string $LabelOrder + * @property Localization $Localization + * @property ContactAndAddress $PrintedLabelOrigin + * @property CustomerSpecifiedLabelDetail $CustomerSpecifiedDetail + + */ +class LabelSpecification extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'LabelSpecification'; + + /** + * Set ProcessingOptionsRequested + * + * @param LabelSpecificationProcessingOptionsRequested $processingOptionsRequested + * @return $this + */ + public function setProcessingOptionsRequested(LabelSpecificationProcessingOptionsRequested $processingOptionsRequested) + { + $this->values['ProcessingOptionsRequested'] = $processingOptionsRequested; + return $this; + } + + /** + * Specifies how to create, organize, and return the document. + * + * @param ShippingDocumentDispositionDetail[] $dispositions + * @return $this + */ + public function setDispositions(array $dispositions) + { + $this->values['Dispositions'] = $dispositions; + return $this; + } + + /** + * Set LabelFormatType + * + * @param \FedEx\UploadDocumentService\SimpleType\LabelFormatType|string $labelFormatType + * @return $this + */ + public function setLabelFormatType($labelFormatType) + { + $this->values['LabelFormatType'] = $labelFormatType; + return $this; + } + + /** + * Set ImageType + * + * @param \FedEx\UploadDocumentService\SimpleType\ShippingDocumentImageType|string $imageType + * @return $this + */ + public function setImageType($imageType) + { + $this->values['ImageType'] = $imageType; + return $this; + } + + /** + * Set LabelStockType + * + * @param \FedEx\UploadDocumentService\SimpleType\LabelStockType|string $labelStockType + * @return $this + */ + public function setLabelStockType($labelStockType) + { + $this->values['LabelStockType'] = $labelStockType; + return $this; + } + + /** + * Set LabelPrintingOrientation + * + * @param \FedEx\UploadDocumentService\SimpleType\LabelPrintingOrientationType|string $labelPrintingOrientation + * @return $this + */ + public function setLabelPrintingOrientation($labelPrintingOrientation) + { + $this->values['LabelPrintingOrientation'] = $labelPrintingOrientation; + return $this; + } + + /** + * Set LabelRotation + * + * @param \FedEx\UploadDocumentService\SimpleType\LabelRotationType|string $labelRotation + * @return $this + */ + public function setLabelRotation($labelRotation) + { + $this->values['LabelRotation'] = $labelRotation; + return $this; + } + + /** + * Specifies the order in which the labels are requested to be returned + * + * @param \FedEx\UploadDocumentService\SimpleType\LabelOrderType|string $labelOrder + * @return $this + */ + public function setLabelOrder($labelOrder) + { + $this->values['LabelOrder'] = $labelOrder; + return $this; + } + + /** + * Governs the language to be used in the labels generated for this shipment. + * + * @param Localization $localization + * @return $this + */ + public function setLocalization(Localization $localization) + { + $this->values['Localization'] = $localization; + return $this; + } + + /** + * Set PrintedLabelOrigin + * + * @param ContactAndAddress $printedLabelOrigin + * @return $this + */ + public function setPrintedLabelOrigin(ContactAndAddress $printedLabelOrigin) + { + $this->values['PrintedLabelOrigin'] = $printedLabelOrigin; + return $this; + } + + /** + * Set CustomerSpecifiedDetail + * + * @param CustomerSpecifiedLabelDetail $customerSpecifiedDetail + * @return $this + */ + public function setCustomerSpecifiedDetail(CustomerSpecifiedLabelDetail $customerSpecifiedDetail) + { + $this->values['CustomerSpecifiedDetail'] = $customerSpecifiedDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/LabelSpecificationProcessingOptionsRequested.php b/src/FedEx/UploadDocumentService/ComplexType/LabelSpecificationProcessingOptionsRequested.php new file mode 100644 index 00000000..4fdc2be0 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/LabelSpecificationProcessingOptionsRequested.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\LabelSpecificationProcessingOptionType|string[] $Options + + */ +class LabelSpecificationProcessingOptionsRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'LabelSpecificationProcessingOptionsRequested'; + + /** + * Set Options + * + * @param \FedEx\UploadDocumentService\SimpleType\LabelSpecificationProcessingOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/LiabilityCoverageDetail.php b/src/FedEx/UploadDocumentService/ComplexType/LiabilityCoverageDetail.php new file mode 100644 index 00000000..83965a9b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/LiabilityCoverageDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\LiabilityCoverageType|string $CoverageType + * @property Money $CoverageAmount + + */ +class LiabilityCoverageDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'LiabilityCoverageDetail'; + + /** + * Set CoverageType + * + * @param \FedEx\UploadDocumentService\SimpleType\LiabilityCoverageType|string $coverageType + * @return $this + */ + public function setCoverageType($coverageType) + { + $this->values['CoverageType'] = $coverageType; + return $this; + } + + /** + * Identifies the Liability Coverage Amount. For Jan 2010 this value represents coverage amount per pound + * + * @param Money $coverageAmount + * @return $this + */ + public function setCoverageAmount(Money $coverageAmount) + { + $this->values['CoverageAmount'] = $coverageAmount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/LicenseOrPermitDetail.php b/src/FedEx/UploadDocumentService/ComplexType/LicenseOrPermitDetail.php new file mode 100644 index 00000000..7dd5cb9f --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/LicenseOrPermitDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Number + * @property string $EffectiveDate + * @property string $ExpirationDate + + */ +class LicenseOrPermitDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'LicenseOrPermitDetail'; + + /** + * License or Permit Number. + * + * @param string $number + * @return $this + */ + public function setNumber($number) + { + $this->values['Number'] = $number; + return $this; + } + + /** + * Specifies the effective date of the license. + * + * @param string $effectiveDate + * @return $this + */ + public function setEffectiveDate($effectiveDate) + { + $this->values['EffectiveDate'] = $effectiveDate; + return $this; + } + + /** + * Specifies the expiration date of the license. + * + * @param string $expirationDate + * @return $this + */ + public function setExpirationDate($expirationDate) + { + $this->values['ExpirationDate'] = $expirationDate; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/LinearMeasure.php b/src/FedEx/UploadDocumentService/ComplexType/LinearMeasure.php new file mode 100644 index 00000000..00cc9cb9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/LinearMeasure.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property float $Value + * @property \FedEx\UploadDocumentService\SimpleType\LinearUnits|string $Units + + */ +class LinearMeasure extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'LinearMeasure'; + + /** + * The numerical quantity of this measurement. + * + * @param float $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } + + /** + * The units for this measurement. + * + * @param \FedEx\UploadDocumentService\SimpleType\LinearUnits|string $units + * @return $this + */ + public function setUnits($units) + { + $this->values['Units'] = $units; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/MarkingOrTaggingDetail.php b/src/FedEx/UploadDocumentService/ComplexType/MarkingOrTaggingDetail.php new file mode 100644 index 00000000..2c519eaa --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/MarkingOrTaggingDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $Count + + */ +class MarkingOrTaggingDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'MarkingOrTaggingDetail'; + + /** + * Number of pieces to be marked or tagged by FedEx. + * + * @param int $count + * @return $this + */ + public function setCount($count) + { + $this->values['Count'] = $count; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Measure.php b/src/FedEx/UploadDocumentService/ComplexType/Measure.php new file mode 100644 index 00000000..f5a4233a --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Measure.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property float $Quantity + * @property string $Units + + */ +class Measure extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Measure'; + + /** + * Set Quantity + * + * @param float $quantity + * @return $this + */ + public function setQuantity($quantity) + { + $this->values['Quantity'] = $quantity; + return $this; + } + + /** + * Set Units + * + * @param string $units + * @return $this + */ + public function setUnits($units) + { + $this->values['Units'] = $units; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Money.php b/src/FedEx/UploadDocumentService/ComplexType/Money.php new file mode 100644 index 00000000..bc6354e9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Money.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Currency + * @property float $Amount + + */ +class Money extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Money'; + + /** + * Set Currency + * + * @param string $currency + * @return $this + */ + public function setCurrency($currency) + { + $this->values['Currency'] = $currency; + return $this; + } + + /** + * Set Amount + * + * @param float $amount + * @return $this + */ + public function setAmount($amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/NetExplosiveDetail.php b/src/FedEx/UploadDocumentService/ComplexType/NetExplosiveDetail.php new file mode 100644 index 00000000..bba35116 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/NetExplosiveDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\NetExplosiveClassificationType|string $Type + * @property float $Amount + * @property string $Units + + */ +class NetExplosiveDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'NetExplosiveDetail'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\NetExplosiveClassificationType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set Amount + * + * @param float $amount + * @return $this + */ + public function setAmount($amount) + { + $this->values['Amount'] = $amount; + return $this; + } + + /** + * Set Units + * + * @param string $units + * @return $this + */ + public function setUnits($units) + { + $this->values['Units'] = $units; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/NonBusinessTimeDetail.php b/src/FedEx/UploadDocumentService/ComplexType/NonBusinessTimeDetail.php new file mode 100644 index 00000000..d6aa0743 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/NonBusinessTimeDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $PersonDays + * @property int $PersonHours + + */ +class NonBusinessTimeDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'NonBusinessTimeDetail'; + + /** + * Total number of person days for full non-business days. + * + * @param int $personDays + * @return $this + */ + public function setPersonDays($personDays) + { + $this->values['PersonDays'] = $personDays; + return $this; + } + + /** + * Total number of person hours (whole or partial hours) for non-business hours. + * + * @param int $personHours + * @return $this + */ + public function setPersonHours($personHours) + { + $this->values['PersonHours'] = $personHours; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/NotificationContentSpecification.php b/src/FedEx/UploadDocumentService/ComplexType/NotificationContentSpecification.php new file mode 100644 index 00000000..be9a59bf --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/NotificationContentSpecification.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\NotificationContentType|string[] $Exclusions + + */ +class NotificationContentSpecification extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'NotificationContentSpecification'; + + /** + * Set Exclusions + * + * @param \FedEx\UploadDocumentService\SimpleType\NotificationContentType[]|string[] $exclusions + * @return $this + */ + public function setExclusions(array $exclusions) + { + $this->values['Exclusions'] = $exclusions; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/NotificationDetail.php b/src/FedEx/UploadDocumentService/ComplexType/NotificationDetail.php new file mode 100644 index 00000000..e9b89464 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/NotificationDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\NotificationType|string $NotificationType + * @property EMailDetail $EmailDetail + * @property FaxDetail $FaxDetail + * @property SmsDetail $SmsDetail + * @property Localization $Localization + + */ +class NotificationDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'NotificationDetail'; + + /** + * Indicates the type of notification that will be sent. + * + * @param \FedEx\UploadDocumentService\SimpleType\NotificationType|string $notificationType + * @return $this + */ + public function setNotificationType($notificationType) + { + $this->values['NotificationType'] = $notificationType; + return $this; + } + + /** + * Specifies the email notification details. + * + * @param EMailDetail $emailDetail + * @return $this + */ + public function setEmailDetail(EMailDetail $emailDetail) + { + $this->values['EmailDetail'] = $emailDetail; + return $this; + } + + /** + * Specifies the fax notification details. + * + * @param FaxDetail $faxDetail + * @return $this + */ + public function setFaxDetail(FaxDetail $faxDetail) + { + $this->values['FaxDetail'] = $faxDetail; + return $this; + } + + /** + * Specifies the SMS notification details. + * + * @param SmsDetail $smsDetail + * @return $this + */ + public function setSmsDetail(SmsDetail $smsDetail) + { + $this->values['SmsDetail'] = $smsDetail; + return $this; + } + + /** + * Specifies the localization for this notification. + * + * @param Localization $localization + * @return $this + */ + public function setLocalization(Localization $localization) + { + $this->values['Localization'] = $localization; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/OfferingIdentifierDetail.php b/src/FedEx/UploadDocumentService/ComplexType/OfferingIdentifierDetail.php new file mode 100644 index 00000000..d684aba2 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/OfferingIdentifierDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Id + * @property string $Type + * @property string $Code + + */ +class OfferingIdentifierDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'OfferingIdentifierDetail'; + + /** + * Unique identifier for this offering. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Specifies values like PRIORITY_OVERNIGHT, FEDEX_ENVELOPE, PRIORITY_ALERT, and other values typically used to identify various offerings in transactions. + * + * @param string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Specifies the two character code used for operationalization of this offering. + * + * @param string $code + * @return $this + */ + public function setCode($code) + { + $this->values['Code'] = $code; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Op900Detail.php b/src/FedEx/UploadDocumentService/ComplexType/Op900Detail.php new file mode 100644 index 00000000..812e7346 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Op900Detail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentFormat $Format + * @property \FedEx\UploadDocumentService\SimpleType\CustomerReferenceType|string $Reference + * @property CustomerImageUsage[] $CustomerImageUsages + * @property string $SignatureName + + */ +class Op900Detail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Op900Detail'; + + /** + * Specifies characteristics of a shipping document to be produced. + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Identifies which reference type (from the package's customer references) is to be used as the source for the reference on this OP-900. + * + * @param \FedEx\UploadDocumentService\SimpleType\CustomerReferenceType|string $reference + * @return $this + */ + public function setReference($reference) + { + $this->values['Reference'] = $reference; + return $this; + } + + /** + * Specifies the usage and identification of customer supplied images to be used on this document. + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } + + /** + * Data field to be used when a name is to be printed in the document instead of (or in addition to) a signature image. + * + * @param string $signatureName + * @return $this + */ + public function setSignatureName($signatureName) + { + $this->values['SignatureName'] = $signatureName; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/OperationalInstruction.php b/src/FedEx/UploadDocumentService/ComplexType/OperationalInstruction.php new file mode 100644 index 00000000..0bdccb75 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/OperationalInstruction.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $Number + * @property string $Content + + */ +class OperationalInstruction extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'OperationalInstruction'; + + /** + * Position of operational instruction element. + * + * @param int $number + * @return $this + */ + public function setNumber($number) + { + $this->values['Number'] = $number; + return $this; + } + + /** + * Content corresponding to the operational instruction. + * + * @param string $content + * @return $this + */ + public function setContent($content) + { + $this->values['Content'] = $content; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PackageBarcodes.php b/src/FedEx/UploadDocumentService/ComplexType/PackageBarcodes.php new file mode 100644 index 00000000..0bc21dd5 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PackageBarcodes.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property BinaryBarcode[] $BinaryBarcodes + * @property StringBarcode[] $StringBarcodes + + */ +class PackageBarcodes extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PackageBarcodes'; + + /** + * Binary-style barcodes for this package. + * + * @param BinaryBarcode[] $binaryBarcodes + * @return $this + */ + public function setBinaryBarcodes(array $binaryBarcodes) + { + $this->values['BinaryBarcodes'] = $binaryBarcodes; + return $this; + } + + /** + * String-style barcodes for this package. + * + * @param StringBarcode[] $stringBarcodes + * @return $this + */ + public function setStringBarcodes(array $stringBarcodes) + { + $this->values['StringBarcodes'] = $stringBarcodes; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PackageOperationalDetail.php b/src/FedEx/UploadDocumentService/ComplexType/PackageOperationalDetail.php new file mode 100644 index 00000000..fc532c1b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PackageOperationalDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $AstraHandlingText + * @property OperationalInstruction[] $OperationalInstructions + * @property PackageBarcodes $Barcodes + * @property string $GroundServiceCode + + */ +class PackageOperationalDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PackageOperationalDetail'; + + /** + * Human-readable text for pre-January 2011 clients. + * + * @param string $astraHandlingText + * @return $this + */ + public function setAstraHandlingText($astraHandlingText) + { + $this->values['AstraHandlingText'] = $astraHandlingText; + return $this; + } + + /** + * Human-readable content for use on a label. + * + * @param OperationalInstruction[] $operationalInstructions + * @return $this + */ + public function setOperationalInstructions(array $operationalInstructions) + { + $this->values['OperationalInstructions'] = $operationalInstructions; + return $this; + } + + /** + * The operational barcodes pertaining to the current package. + * + * @param PackageBarcodes $barcodes + * @return $this + */ + public function setBarcodes(PackageBarcodes $barcodes) + { + $this->values['Barcodes'] = $barcodes; + return $this; + } + + /** + * The FedEx internal code that represents the service and/or features of service for the current package moving under a FedEx Ground service. + * + * @param string $groundServiceCode + * @return $this + */ + public function setGroundServiceCode($groundServiceCode) + { + $this->values['GroundServiceCode'] = $groundServiceCode; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PackageRateDetail.php b/src/FedEx/UploadDocumentService/ComplexType/PackageRateDetail.php new file mode 100644 index 00000000..0ff75d21 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PackageRateDetail.php @@ -0,0 +1,270 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ReturnedRateType|string $RateType + * @property \FedEx\UploadDocumentService\SimpleType\RatedWeightMethod|string $RatedWeightMethod + * @property \FedEx\UploadDocumentService\SimpleType\MinimumChargeType|string $MinimumChargeType + * @property Weight $BillingWeight + * @property Weight $DimWeight + * @property Weight $OversizeWeight + * @property Money $BaseCharge + * @property Money $TotalFreightDiscounts + * @property Money $NetFreight + * @property Money $TotalSurcharges + * @property Money $NetFedExCharge + * @property Money $TotalTaxes + * @property Money $NetCharge + * @property Money $TotalRebates + * @property RateDiscount[] $FreightDiscounts + * @property Rebate[] $Rebates + * @property Surcharge[] $Surcharges + * @property Tax[] $Taxes + * @property VariableHandlingCharges $VariableHandlingCharges + + */ +class PackageRateDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PackageRateDetail'; + + /** + * Type used for this specific set of rate data. + * + * @param \FedEx\UploadDocumentService\SimpleType\ReturnedRateType|string $rateType + * @return $this + */ + public function setRateType($rateType) + { + $this->values['RateType'] = $rateType; + return $this; + } + + /** + * Indicates which weight was used. + * + * @param \FedEx\UploadDocumentService\SimpleType\RatedWeightMethod|string $ratedWeightMethod + * @return $this + */ + public function setRatedWeightMethod($ratedWeightMethod) + { + $this->values['RatedWeightMethod'] = $ratedWeightMethod; + return $this; + } + + /** + * INTERNAL FEDEX USE ONLY. + * + * @param \FedEx\UploadDocumentService\SimpleType\MinimumChargeType|string $minimumChargeType + * @return $this + */ + public function setMinimumChargeType($minimumChargeType) + { + $this->values['MinimumChargeType'] = $minimumChargeType; + return $this; + } + + /** + * Set BillingWeight + * + * @param Weight $billingWeight + * @return $this + */ + public function setBillingWeight(Weight $billingWeight) + { + $this->values['BillingWeight'] = $billingWeight; + return $this; + } + + /** + * The dimensional weight of this package (if greater than actual). + * + * @param Weight $dimWeight + * @return $this + */ + public function setDimWeight(Weight $dimWeight) + { + $this->values['DimWeight'] = $dimWeight; + return $this; + } + + /** + * The oversize weight of this package (if the package is oversize). + * + * @param Weight $oversizeWeight + * @return $this + */ + public function setOversizeWeight(Weight $oversizeWeight) + { + $this->values['OversizeWeight'] = $oversizeWeight; + return $this; + } + + /** + * The transportation charge only (prior to any discounts applied) for this package. + * + * @param Money $baseCharge + * @return $this + */ + public function setBaseCharge(Money $baseCharge) + { + $this->values['BaseCharge'] = $baseCharge; + return $this; + } + + /** + * The sum of all discounts on this package. + * + * @param Money $totalFreightDiscounts + * @return $this + */ + public function setTotalFreightDiscounts(Money $totalFreightDiscounts) + { + $this->values['TotalFreightDiscounts'] = $totalFreightDiscounts; + return $this; + } + + /** + * This package's baseCharge - totalFreightDiscounts. + * + * @param Money $netFreight + * @return $this + */ + public function setNetFreight(Money $netFreight) + { + $this->values['NetFreight'] = $netFreight; + return $this; + } + + /** + * The sum of all surcharges on this package. + * + * @param Money $totalSurcharges + * @return $this + */ + public function setTotalSurcharges(Money $totalSurcharges) + { + $this->values['TotalSurcharges'] = $totalSurcharges; + return $this; + } + + /** + * This package's netFreight + totalSurcharges (not including totalTaxes). + * + * @param Money $netFedExCharge + * @return $this + */ + public function setNetFedExCharge(Money $netFedExCharge) + { + $this->values['NetFedExCharge'] = $netFedExCharge; + return $this; + } + + /** + * The sum of all taxes on this package. + * + * @param Money $totalTaxes + * @return $this + */ + public function setTotalTaxes(Money $totalTaxes) + { + $this->values['TotalTaxes'] = $totalTaxes; + return $this; + } + + /** + * This package's netFreight + totalSurcharges + totalTaxes. + * + * @param Money $netCharge + * @return $this + */ + public function setNetCharge(Money $netCharge) + { + $this->values['NetCharge'] = $netCharge; + return $this; + } + + /** + * Set TotalRebates + * + * @param Money $totalRebates + * @return $this + */ + public function setTotalRebates(Money $totalRebates) + { + $this->values['TotalRebates'] = $totalRebates; + return $this; + } + + /** + * All rate discounts that apply to this package. + * + * @param RateDiscount[] $freightDiscounts + * @return $this + */ + public function setFreightDiscounts(array $freightDiscounts) + { + $this->values['FreightDiscounts'] = $freightDiscounts; + return $this; + } + + /** + * All rebates that apply to this package. + * + * @param Rebate[] $rebates + * @return $this + */ + public function setRebates(array $rebates) + { + $this->values['Rebates'] = $rebates; + return $this; + } + + /** + * All surcharges that apply to this package (either because of characteristics of the package itself, or because it is carrying per-shipment surcharges for the shipment of which it is a part). + * + * @param Surcharge[] $surcharges + * @return $this + */ + public function setSurcharges(array $surcharges) + { + $this->values['Surcharges'] = $surcharges; + return $this; + } + + /** + * All taxes applicable (or distributed to) this package. + * + * @param Tax[] $taxes + * @return $this + */ + public function setTaxes(array $taxes) + { + $this->values['Taxes'] = $taxes; + return $this; + } + + /** + * Set VariableHandlingCharges + * + * @param VariableHandlingCharges $variableHandlingCharges + * @return $this + */ + public function setVariableHandlingCharges(VariableHandlingCharges $variableHandlingCharges) + { + $this->values['VariableHandlingCharges'] = $variableHandlingCharges; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PackageRating.php b/src/FedEx/UploadDocumentService/ComplexType/PackageRating.php new file mode 100644 index 00000000..90ced686 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PackageRating.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ReturnedRateType|string $ActualRateType + * @property Money $EffectiveNetDiscount + * @property PackageRateDetail[] $PackageRateDetails + + */ +class PackageRating extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PackageRating'; + + /** + * This rate type identifies which entry in the following array is considered as presenting the "actual" rates for the package. + * + * @param \FedEx\UploadDocumentService\SimpleType\ReturnedRateType|string $actualRateType + * @return $this + */ + public function setActualRateType($actualRateType) + { + $this->values['ActualRateType'] = $actualRateType; + return $this; + } + + /** + * The "list" net charge minus "actual" net charge. + * + * @param Money $effectiveNetDiscount + * @return $this + */ + public function setEffectiveNetDiscount(Money $effectiveNetDiscount) + { + $this->values['EffectiveNetDiscount'] = $effectiveNetDiscount; + return $this; + } + + /** + * Each element of this field provides package-level rate data for a specific rate type. + * + * @param PackageRateDetail[] $packageRateDetails + * @return $this + */ + public function setPackageRateDetails(array $packageRateDetails) + { + $this->values['PackageRateDetails'] = $packageRateDetails; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PackageSpecialHandlingDetail.php b/src/FedEx/UploadDocumentService/ComplexType/PackageSpecialHandlingDetail.php new file mode 100644 index 00000000..b3811b4b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PackageSpecialHandlingDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\PackagePackedByType|string $PackedBy + * @property \FedEx\UploadDocumentService\SimpleType\DamageStatusType|string $DamageKnown + * @property \FedEx\UploadDocumentService\SimpleType\InspectionStatusType|string $InspectionStatus + + */ +class PackageSpecialHandlingDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PackageSpecialHandlingDetail'; + + /** + * Indicates the party who packed the package. + * + * @param \FedEx\UploadDocumentService\SimpleType\PackagePackedByType|string $packedBy + * @return $this + */ + public function setPackedBy($packedBy) + { + $this->values['PackedBy'] = $packedBy; + return $this; + } + + /** + * Specifies whether any damange to the contents of the package was known. + * + * @param \FedEx\UploadDocumentService\SimpleType\DamageStatusType|string $damageKnown + * @return $this + */ + public function setDamageKnown($damageKnown) + { + $this->values['DamageKnown'] = $damageKnown; + return $this; + } + + /** + * Specifies whether the package contents were inspected by the agent. + * + * @param \FedEx\UploadDocumentService\SimpleType\InspectionStatusType|string $inspectionStatus + * @return $this + */ + public function setInspectionStatus($inspectionStatus) + { + $this->values['InspectionStatus'] = $inspectionStatus; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PackageSpecialServicesRequested.php b/src/FedEx/UploadDocumentService/ComplexType/PackageSpecialServicesRequested.php new file mode 100644 index 00000000..10c79f05 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PackageSpecialServicesRequested.php @@ -0,0 +1,140 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string[] $SpecialServiceTypes + * @property CodDetail $CodDetail + * @property DangerousGoodsDetail $DangerousGoodsDetail + * @property BatteryClassificationDetail[] $BatteryDetails + * @property Weight $DryIceWeight + * @property SignatureOptionDetail $SignatureOptionDetail + * @property int $PieceCountVerificationBoxCount + * @property PriorityAlertDetail $PriorityAlertDetail + * @property AlcoholDetail $AlcoholDetail + + */ +class PackageSpecialServicesRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PackageSpecialServicesRequested'; + + /** + * Indicates the package special service types that are requested on this shipment. For a list of the valid package special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. + * + * @param string $specialServiceTypes + * @return $this + */ + public function setSpecialServiceTypes($specialServiceTypes) + { + $this->values['SpecialServiceTypes'] = $specialServiceTypes; + return $this; + } + + /** + * For use with FedEx Ground services only; COD must be present in shipment's special services. + * + * @param CodDetail $codDetail + * @return $this + */ + public function setCodDetail(CodDetail $codDetail) + { + $this->values['CodDetail'] = $codDetail; + return $this; + } + + /** + * Set DangerousGoodsDetail + * + * @param DangerousGoodsDetail $dangerousGoodsDetail + * @return $this + */ + public function setDangerousGoodsDetail(DangerousGoodsDetail $dangerousGoodsDetail) + { + $this->values['DangerousGoodsDetail'] = $dangerousGoodsDetail; + return $this; + } + + /** + * Provides details about the batteries or cells that are contained within this specific package. + * + * @param BatteryClassificationDetail[] $batteryDetails + * @return $this + */ + public function setBatteryDetails(array $batteryDetails) + { + $this->values['BatteryDetails'] = $batteryDetails; + return $this; + } + + /** + * Set DryIceWeight + * + * @param Weight $dryIceWeight + * @return $this + */ + public function setDryIceWeight(Weight $dryIceWeight) + { + $this->values['DryIceWeight'] = $dryIceWeight; + return $this; + } + + /** + * Set SignatureOptionDetail + * + * @param SignatureOptionDetail $signatureOptionDetail + * @return $this + */ + public function setSignatureOptionDetail(SignatureOptionDetail $signatureOptionDetail) + { + $this->values['SignatureOptionDetail'] = $signatureOptionDetail; + return $this; + } + + /** + * Set PieceCountVerificationBoxCount + * + * @param int $pieceCountVerificationBoxCount + * @return $this + */ + public function setPieceCountVerificationBoxCount($pieceCountVerificationBoxCount) + { + $this->values['PieceCountVerificationBoxCount'] = $pieceCountVerificationBoxCount; + return $this; + } + + /** + * Set PriorityAlertDetail + * + * @param PriorityAlertDetail $priorityAlertDetail + * @return $this + */ + public function setPriorityAlertDetail(PriorityAlertDetail $priorityAlertDetail) + { + $this->values['PriorityAlertDetail'] = $priorityAlertDetail; + return $this; + } + + /** + * Set AlcoholDetail + * + * @param AlcoholDetail $alcoholDetail + * @return $this + */ + public function setAlcoholDetail(AlcoholDetail $alcoholDetail) + { + $this->values['AlcoholDetail'] = $alcoholDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PackageStatusDetail.php b/src/FedEx/UploadDocumentService/ComplexType/PackageStatusDetail.php new file mode 100644 index 00000000..049ca359 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PackageStatusDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\PackageLineItemStatusType|string[] $Status + * @property DeletionDetail $DeletionDetail + + */ +class PackageStatusDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PackageStatusDetail'; + + /** + * Set Status + * + * @param \FedEx\UploadDocumentService\SimpleType\PackageLineItemStatusType[]|string[] $status + * @return $this + */ + public function setStatus(array $status) + { + $this->values['Status'] = $status; + return $this; + } + + /** + * Set DeletionDetail + * + * @param DeletionDetail $deletionDetail + * @return $this + */ + public function setDeletionDetail(DeletionDetail $deletionDetail) + { + $this->values['DeletionDetail'] = $deletionDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PackagingDescription.php b/src/FedEx/UploadDocumentService/ComplexType/PackagingDescription.php new file mode 100644 index 00000000..12e1838b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PackagingDescription.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $PackagingId + * @property string $PackagingType + * @property string $Code + * @property ProductName[] $Names + * @property string $Description + * @property string $AstraDescription + + */ +class PackagingDescription extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PackagingDescription'; + + /** + * FOR FEDEX INTERNAL USE ONLY: Designates the packaging ID. + * + * @param string $packagingId + * @return $this + */ + public function setPackagingId($packagingId) + { + $this->values['PackagingId'] = $packagingId; + return $this; + } + + /** + * Set PackagingType + * + * @param string $packagingType + * @return $this + */ + public function setPackagingType($packagingType) + { + $this->values['PackagingType'] = $packagingType; + return $this; + } + + /** + * Set Code + * + * @param string $code + * @return $this + */ + public function setCode($code) + { + $this->values['Code'] = $code; + return $this; + } + + /** + * Branded, translated, and/or localized names for this packaging. + * + * @param ProductName[] $names + * @return $this + */ + public function setNames(array $names) + { + $this->values['Names'] = $names; + return $this; + } + + /** + * Set Description + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set AstraDescription + * + * @param string $astraDescription + * @return $this + */ + public function setAstraDescription($astraDescription) + { + $this->values['AstraDescription'] = $astraDescription; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PalletShrinkwrapDetail.php b/src/FedEx/UploadDocumentService/ComplexType/PalletShrinkwrapDetail.php new file mode 100644 index 00000000..3915203b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PalletShrinkwrapDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $PalletCount + + */ +class PalletShrinkwrapDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PalletShrinkwrapDetail'; + + /** + * Number of pallets to be shrinkwrapped. + * + * @param int $palletCount + * @return $this + */ + public function setPalletCount($palletCount) + { + $this->values['PalletCount'] = $palletCount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PalletsProvidedDetail.php b/src/FedEx/UploadDocumentService/ComplexType/PalletsProvidedDetail.php new file mode 100644 index 00000000..d8b23992 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PalletsProvidedDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $PalletCount + + */ +class PalletsProvidedDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PalletsProvidedDetail'; + + /** + * Number of pallets to be provided. + * + * @param int $palletCount + * @return $this + */ + public function setPalletCount($palletCount) + { + $this->values['PalletCount'] = $palletCount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ParsedContact.php b/src/FedEx/UploadDocumentService/ComplexType/ParsedContact.php new file mode 100644 index 00000000..93c75f65 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ParsedContact.php @@ -0,0 +1,153 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ParsedPersonName $PersonName + * @property string $Title + * @property string $CompanyName + * @property string $PhoneNumberCountryCode + * @property string $PhoneNumberAreaCode + * @property string $PhoneNumber + * @property string $PhoneExtension + * @property string $PagerNumber + * @property string $FaxNumber + * @property string $EMailAddress + + */ +class ParsedContact extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ParsedContact'; + + /** + * Set PersonName + * + * @param ParsedPersonName $personName + * @return $this + */ + public function setPersonName(ParsedPersonName $personName) + { + $this->values['PersonName'] = $personName; + return $this; + } + + /** + * Set Title + * + * @param string $title + * @return $this + */ + public function setTitle($title) + { + $this->values['Title'] = $title; + return $this; + } + + /** + * Set CompanyName + * + * @param string $companyName + * @return $this + */ + public function setCompanyName($companyName) + { + $this->values['CompanyName'] = $companyName; + return $this; + } + + /** + * Specifies the country code to be dialled when calling the phone number listed as a part of the contact. + * + * @param string $phoneNumberCountryCode + * @return $this + */ + public function setPhoneNumberCountryCode($phoneNumberCountryCode) + { + $this->values['PhoneNumberCountryCode'] = $phoneNumberCountryCode; + return $this; + } + + /** + * Specifies the area code of the phone number listed as a part of the contact. + * + * @param string $phoneNumberAreaCode + * @return $this + */ + public function setPhoneNumberAreaCode($phoneNumberAreaCode) + { + $this->values['PhoneNumberAreaCode'] = $phoneNumberAreaCode; + return $this; + } + + /** + * Set PhoneNumber + * + * @param string $phoneNumber + * @return $this + */ + public function setPhoneNumber($phoneNumber) + { + $this->values['PhoneNumber'] = $phoneNumber; + return $this; + } + + /** + * Set PhoneExtension + * + * @param string $phoneExtension + * @return $this + */ + public function setPhoneExtension($phoneExtension) + { + $this->values['PhoneExtension'] = $phoneExtension; + return $this; + } + + /** + * Set PagerNumber + * + * @param string $pagerNumber + * @return $this + */ + public function setPagerNumber($pagerNumber) + { + $this->values['PagerNumber'] = $pagerNumber; + return $this; + } + + /** + * Set FaxNumber + * + * @param string $faxNumber + * @return $this + */ + public function setFaxNumber($faxNumber) + { + $this->values['FaxNumber'] = $faxNumber; + return $this; + } + + /** + * Set EMailAddress + * + * @param string $eMailAddress + * @return $this + */ + public function setEMailAddress($eMailAddress) + { + $this->values['EMailAddress'] = $eMailAddress; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ParsedContactAndAddress.php b/src/FedEx/UploadDocumentService/ComplexType/ParsedContactAndAddress.php new file mode 100644 index 00000000..0030f2ec --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ParsedContactAndAddress.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ParsedContact $Contact + * @property Address $Address + + */ +class ParsedContactAndAddress extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ParsedContactAndAddress'; + + /** + * Set Contact + * + * @param ParsedContact $contact + * @return $this + */ + public function setContact(ParsedContact $contact) + { + $this->values['Contact'] = $contact; + return $this; + } + + /** + * Set Address + * + * @param Address $address + * @return $this + */ + public function setAddress(Address $address) + { + $this->values['Address'] = $address; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ParsedPersonName.php b/src/FedEx/UploadDocumentService/ComplexType/ParsedPersonName.php new file mode 100644 index 00000000..7a6d0416 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ParsedPersonName.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Prefix + * @property string $Title + * @property string $FirstName + * @property string $MiddleName + * @property string $LastName + * @property string $Suffix + + */ +class ParsedPersonName extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ParsedPersonName'; + + /** + * Specifies the salutation part of the name, if any is specified. Examples of prefix: Sir, Madam, Monsieur. + * + * @param string $prefix + * @return $this + */ + public function setPrefix($prefix) + { + $this->values['Prefix'] = $prefix; + return $this; + } + + /** + * Specifies the professional title in the person name, if any is specified. + * + * @param string $title + * @return $this + */ + public function setTitle($title) + { + $this->values['Title'] = $title; + return $this; + } + + /** + * Set FirstName + * + * @param string $firstName + * @return $this + */ + public function setFirstName($firstName) + { + $this->values['FirstName'] = $firstName; + return $this; + } + + /** + * Set MiddleName + * + * @param string $middleName + * @return $this + */ + public function setMiddleName($middleName) + { + $this->values['MiddleName'] = $middleName; + return $this; + } + + /** + * Set LastName + * + * @param string $lastName + * @return $this + */ + public function setLastName($lastName) + { + $this->values['LastName'] = $lastName; + return $this; + } + + /** + * Identifies the contact person's name suffix. + * + * @param string $suffix + * @return $this + */ + public function setSuffix($suffix) + { + $this->values['Suffix'] = $suffix; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Party.php b/src/FedEx/UploadDocumentService/ComplexType/Party.php new file mode 100644 index 00000000..5dd2acda --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Party.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $AccountNumber + * @property TaxpayerIdentification[] $Tins + * @property Contact $Contact + * @property Address $Address + + */ +class Party extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Party'; + + /** + * Set AccountNumber + * + * @param string $accountNumber + * @return $this + */ + public function setAccountNumber($accountNumber) + { + $this->values['AccountNumber'] = $accountNumber; + return $this; + } + + /** + * Set Tins + * + * @param TaxpayerIdentification[] $tins + * @return $this + */ + public function setTins(array $tins) + { + $this->values['Tins'] = $tins; + return $this; + } + + /** + * Set Contact + * + * @param Contact $contact + * @return $this + */ + public function setContact(Contact $contact) + { + $this->values['Contact'] = $contact; + return $this; + } + + /** + * Set Address + * + * @param Address $address + * @return $this + */ + public function setAddress(Address $address) + { + $this->values['Address'] = $address; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Payment.php b/src/FedEx/UploadDocumentService/ComplexType/Payment.php new file mode 100644 index 00000000..1bf01155 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Payment.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\PaymentType|string $PaymentType + * @property Payor $Payor + * @property EPaymentDetail $EPaymentDetail + * @property CreditCard $CreditCard + * @property CreditCardTransactionDetail $CreditCardTransactionDetail + * @property Money $Amount + + */ +class Payment extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Payment'; + + /** + * Set PaymentType + * + * @param \FedEx\UploadDocumentService\SimpleType\PaymentType|string $paymentType + * @return $this + */ + public function setPaymentType($paymentType) + { + $this->values['PaymentType'] = $paymentType; + return $this; + } + + /** + * Set Payor + * + * @param Payor $payor + * @return $this + */ + public function setPayor(Payor $payor) + { + $this->values['Payor'] = $payor; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY + * + * @param EPaymentDetail $ePaymentDetail + * @return $this + */ + public function setEPaymentDetail(EPaymentDetail $ePaymentDetail) + { + $this->values['EPaymentDetail'] = $ePaymentDetail; + return $this; + } + + /** + * Set CreditCard + * + * @param CreditCard $creditCard + * @return $this + */ + public function setCreditCard(CreditCard $creditCard) + { + $this->values['CreditCard'] = $creditCard; + return $this; + } + + /** + * Set CreditCardTransactionDetail + * + * @param CreditCardTransactionDetail $creditCardTransactionDetail + * @return $this + */ + public function setCreditCardTransactionDetail(CreditCardTransactionDetail $creditCardTransactionDetail) + { + $this->values['CreditCardTransactionDetail'] = $creditCardTransactionDetail; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Payor.php b/src/FedEx/UploadDocumentService/ComplexType/Payor.php new file mode 100644 index 00000000..06556a21 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Payor.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property Party $ResponsibleParty + * @property AssociatedAccount[] $AssociatedAccounts + + */ +class Payor extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Payor'; + + /** + * Set ResponsibleParty + * + * @param Party $responsibleParty + * @return $this + */ + public function setResponsibleParty(Party $responsibleParty) + { + $this->values['ResponsibleParty'] = $responsibleParty; + return $this; + } + + /** + * Set AssociatedAccounts + * + * @param AssociatedAccount[] $associatedAccounts + * @return $this + */ + public function setAssociatedAccounts(array $associatedAccounts) + { + $this->values['AssociatedAccounts'] = $associatedAccounts; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PendingShipmentAccessDetail.php b/src/FedEx/UploadDocumentService/ComplexType/PendingShipmentAccessDetail.php new file mode 100644 index 00000000..279ba00d --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PendingShipmentAccessDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property PendingShipmentAccessorDetail[] $AccessorDetails + + */ +class PendingShipmentAccessDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PendingShipmentAccessDetail'; + + /** + * Set AccessorDetails + * + * @param PendingShipmentAccessorDetail[] $accessorDetails + * @return $this + */ + public function setAccessorDetails(array $accessorDetails) + { + $this->values['AccessorDetails'] = $accessorDetails; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PendingShipmentAccessorDetail.php b/src/FedEx/UploadDocumentService/ComplexType/PendingShipmentAccessorDetail.php new file mode 100644 index 00000000..7b32fac1 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PendingShipmentAccessorDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\AccessorRoleType|string $Role + * @property string $UserId + * @property string $Password + * @property string $EmailLabelUrl + + */ +class PendingShipmentAccessorDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PendingShipmentAccessorDetail'; + + /** + * Specifies the role of the user who is trying to access the pending shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\AccessorRoleType|string $role + * @return $this + */ + public function setRole($role) + { + $this->values['Role'] = $role; + return $this; + } + + /** + * Set UserId + * + * @param string $userId + * @return $this + */ + public function setUserId($userId) + { + $this->values['UserId'] = $userId; + return $this; + } + + /** + * Set Password + * + * @param string $password + * @return $this + */ + public function setPassword($password) + { + $this->values['Password'] = $password; + return $this; + } + + /** + * Set EmailLabelUrl + * + * @param string $emailLabelUrl + * @return $this + */ + public function setEmailLabelUrl($emailLabelUrl) + { + $this->values['EmailLabelUrl'] = $emailLabelUrl; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PendingShipmentDetail.php b/src/FedEx/UploadDocumentService/ComplexType/PendingShipmentDetail.php new file mode 100644 index 00000000..6ddf4174 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PendingShipmentDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\PendingShipmentType|string $Type + * @property string $ExpirationDate + * @property EMailLabelDetail $EmailLabelDetail + * @property PendingShipmentProcessingOptionsRequested $ProcessingOptions + * @property RecommendedDocumentSpecification $RecommendedDocumentSpecification + * @property UploadDocumentReferenceDetail[] $DocumentReferences + + */ +class PendingShipmentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PendingShipmentDetail'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\PendingShipmentType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Date after which the pending shipment will no longer be available for completion. + * + * @param string $expirationDate + * @return $this + */ + public function setExpirationDate($expirationDate) + { + $this->values['ExpirationDate'] = $expirationDate; + return $this; + } + + /** + * Only used with type of EMAIL. + * + * @param EMailLabelDetail $emailLabelDetail + * @return $this + */ + public function setEmailLabelDetail(EMailLabelDetail $emailLabelDetail) + { + $this->values['EmailLabelDetail'] = $emailLabelDetail; + return $this; + } + + /** + * Set ProcessingOptions + * + * @param PendingShipmentProcessingOptionsRequested $processingOptions + * @return $this + */ + public function setProcessingOptions(PendingShipmentProcessingOptionsRequested $processingOptions) + { + $this->values['ProcessingOptions'] = $processingOptions; + return $this; + } + + /** + * These are documents that are recommended to be included with the shipment. + * + * @param RecommendedDocumentSpecification $recommendedDocumentSpecification + * @return $this + */ + public function setRecommendedDocumentSpecification(RecommendedDocumentSpecification $recommendedDocumentSpecification) + { + $this->values['RecommendedDocumentSpecification'] = $recommendedDocumentSpecification; + return $this; + } + + /** + * Upload document details provided by the initator of the shipment. + * + * @param UploadDocumentReferenceDetail[] $documentReferences + * @return $this + */ + public function setDocumentReferences(array $documentReferences) + { + $this->values['DocumentReferences'] = $documentReferences; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PendingShipmentProcessingOptionsRequested.php b/src/FedEx/UploadDocumentService/ComplexType/PendingShipmentProcessingOptionsRequested.php new file mode 100644 index 00000000..6a5d5ec9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PendingShipmentProcessingOptionsRequested.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\PendingShipmentProcessingOptionType|string[] $Options + + */ +class PendingShipmentProcessingOptionsRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PendingShipmentProcessingOptionsRequested'; + + /** + * Set Options + * + * @param \FedEx\UploadDocumentService\SimpleType\PendingShipmentProcessingOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PickupDetail.php b/src/FedEx/UploadDocumentService/ComplexType/PickupDetail.php new file mode 100644 index 00000000..5ad91591 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PickupDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $ReadyDateTime + * @property string $LatestPickupDateTime + * @property string $CourierInstructions + * @property \FedEx\UploadDocumentService\SimpleType\PickupRequestType|string $RequestType + * @property \FedEx\UploadDocumentService\SimpleType\PickupRequestSourceType|string $RequestSource + + */ +class PickupDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PickupDetail'; + + /** + * Set ReadyDateTime + * + * @param string $readyDateTime + * @return $this + */ + public function setReadyDateTime($readyDateTime) + { + $this->values['ReadyDateTime'] = $readyDateTime; + return $this; + } + + /** + * Set LatestPickupDateTime + * + * @param string $latestPickupDateTime + * @return $this + */ + public function setLatestPickupDateTime($latestPickupDateTime) + { + $this->values['LatestPickupDateTime'] = $latestPickupDateTime; + return $this; + } + + /** + * Set CourierInstructions + * + * @param string $courierInstructions + * @return $this + */ + public function setCourierInstructions($courierInstructions) + { + $this->values['CourierInstructions'] = $courierInstructions; + return $this; + } + + /** + * Set RequestType + * + * @param \FedEx\UploadDocumentService\SimpleType\PickupRequestType|string $requestType + * @return $this + */ + public function setRequestType($requestType) + { + $this->values['RequestType'] = $requestType; + return $this; + } + + /** + * Set RequestSource + * + * @param \FedEx\UploadDocumentService\SimpleType\PickupRequestSourceType|string $requestSource + * @return $this + */ + public function setRequestSource($requestSource) + { + $this->values['RequestSource'] = $requestSource; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PrintedReference.php b/src/FedEx/UploadDocumentService/ComplexType/PrintedReference.php new file mode 100644 index 00000000..ebbf6f24 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PrintedReference.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\PrintedReferenceType|string $Type + * @property string $Value + + */ +class PrintedReference extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PrintedReference'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\PrintedReferenceType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set Value + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/PriorityAlertDetail.php b/src/FedEx/UploadDocumentService/ComplexType/PriorityAlertDetail.php new file mode 100644 index 00000000..170335fb --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/PriorityAlertDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\PriorityAlertEnhancementType|string[] $EnhancementTypes + * @property string[] $Content + + */ +class PriorityAlertDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PriorityAlertDetail'; + + /** + * Set EnhancementTypes + * + * @param \FedEx\UploadDocumentService\SimpleType\PriorityAlertEnhancementType[]|string[] $enhancementTypes + * @return $this + */ + public function setEnhancementTypes(array $enhancementTypes) + { + $this->values['EnhancementTypes'] = $enhancementTypes; + return $this; + } + + /** + * Set Content + * + * @param string $content + * @return $this + */ + public function setContent($content) + { + $this->values['Content'] = $content; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ProductName.php b/src/FedEx/UploadDocumentService/ComplexType/ProductName.php new file mode 100644 index 00000000..038ec01a --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ProductName.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Type + * @property string $Encoding + * @property string $Value + + */ +class ProductName extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ProductName'; + + /** + * The type of name (long, medium, short, etc.) to which this value refers. + * + * @param string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * The character encoding used to represent this product name. For example, UTF-8. + * + * @param string $encoding + * @return $this + */ + public function setEncoding($encoding) + { + $this->values['Encoding'] = $encoding; + return $this; + } + + /** + * Set Value + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/RadioactivityDetail.php b/src/FedEx/UploadDocumentService/ComplexType/RadioactivityDetail.php new file mode 100644 index 00000000..a125bc8d --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/RadioactivityDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property float $TransportIndex + * @property float $SurfaceReading + * @property float $CriticalitySafetyIndex + * @property Dimensions $Dimensions + + */ +class RadioactivityDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RadioactivityDetail'; + + /** + * Set TransportIndex + * + * @param float $transportIndex + * @return $this + */ + public function setTransportIndex($transportIndex) + { + $this->values['TransportIndex'] = $transportIndex; + return $this; + } + + /** + * Set SurfaceReading + * + * @param float $surfaceReading + * @return $this + */ + public function setSurfaceReading($surfaceReading) + { + $this->values['SurfaceReading'] = $surfaceReading; + return $this; + } + + /** + * Set CriticalitySafetyIndex + * + * @param float $criticalitySafetyIndex + * @return $this + */ + public function setCriticalitySafetyIndex($criticalitySafetyIndex) + { + $this->values['CriticalitySafetyIndex'] = $criticalitySafetyIndex; + return $this; + } + + /** + * Set Dimensions + * + * @param Dimensions $dimensions + * @return $this + */ + public function setDimensions(Dimensions $dimensions) + { + $this->values['Dimensions'] = $dimensions; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/RadionuclideActivity.php b/src/FedEx/UploadDocumentService/ComplexType/RadionuclideActivity.php new file mode 100644 index 00000000..273b2f6c --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/RadionuclideActivity.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property float $Value + * @property \FedEx\UploadDocumentService\SimpleType\RadioactivityUnitOfMeasure|string $UnitOfMeasure + + */ +class RadionuclideActivity extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RadionuclideActivity'; + + /** + * Set Value + * + * @param float $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } + + /** + * Set UnitOfMeasure + * + * @param \FedEx\UploadDocumentService\SimpleType\RadioactivityUnitOfMeasure|string $unitOfMeasure + * @return $this + */ + public function setUnitOfMeasure($unitOfMeasure) + { + $this->values['UnitOfMeasure'] = $unitOfMeasure; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/RadionuclideDetail.php b/src/FedEx/UploadDocumentService/ComplexType/RadionuclideDetail.php new file mode 100644 index 00000000..c7ba2ef1 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/RadionuclideDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Radionuclide + * @property RadionuclideActivity $Activity + * @property boolean $ExceptedPackagingIsReportableQuantity + * @property \FedEx\UploadDocumentService\SimpleType\PhysicalFormType|string $PhysicalForm + * @property string $ChemicalForm + + */ +class RadionuclideDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RadionuclideDetail'; + + /** + * Set Radionuclide + * + * @param string $radionuclide + * @return $this + */ + public function setRadionuclide($radionuclide) + { + $this->values['Radionuclide'] = $radionuclide; + return $this; + } + + /** + * Set Activity + * + * @param RadionuclideActivity $activity + * @return $this + */ + public function setActivity(RadionuclideActivity $activity) + { + $this->values['Activity'] = $activity; + return $this; + } + + /** + * Indicates whether packaging type "EXCEPTED" or "EXCEPTED_PACKAGE" is for radioactive material in reportable quantity. + * + * @param boolean $exceptedPackagingIsReportableQuantity + * @return $this + */ + public function setExceptedPackagingIsReportableQuantity($exceptedPackagingIsReportableQuantity) + { + $this->values['ExceptedPackagingIsReportableQuantity'] = $exceptedPackagingIsReportableQuantity; + return $this; + } + + /** + * Set PhysicalForm + * + * @param \FedEx\UploadDocumentService\SimpleType\PhysicalFormType|string $physicalForm + * @return $this + */ + public function setPhysicalForm($physicalForm) + { + $this->values['PhysicalForm'] = $physicalForm; + return $this; + } + + /** + * Set ChemicalForm + * + * @param string $chemicalForm + * @return $this + */ + public function setChemicalForm($chemicalForm) + { + $this->values['ChemicalForm'] = $chemicalForm; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/RateDiscount.php b/src/FedEx/UploadDocumentService/ComplexType/RateDiscount.php new file mode 100644 index 00000000..d91f19ca --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/RateDiscount.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\RateDiscountType|string $RateDiscountType + * @property string $Description + * @property Money $Amount + * @property float $Percent + + */ +class RateDiscount extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RateDiscount'; + + /** + * Set RateDiscountType + * + * @param \FedEx\UploadDocumentService\SimpleType\RateDiscountType|string $rateDiscountType + * @return $this + */ + public function setRateDiscountType($rateDiscountType) + { + $this->values['RateDiscountType'] = $rateDiscountType; + return $this; + } + + /** + * Set Description + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } + + /** + * Set Percent + * + * @param float $percent + * @return $this + */ + public function setPercent($percent) + { + $this->values['Percent'] = $percent; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Rebate.php b/src/FedEx/UploadDocumentService/ComplexType/Rebate.php new file mode 100644 index 00000000..3b42f607 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Rebate.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\RebateType|string $RebateType + * @property string $Description + * @property Money $Amount + * @property float $Percent + + */ +class Rebate extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Rebate'; + + /** + * Set RebateType + * + * @param \FedEx\UploadDocumentService\SimpleType\RebateType|string $rebateType + * @return $this + */ + public function setRebateType($rebateType) + { + $this->values['RebateType'] = $rebateType; + return $this; + } + + /** + * Set Description + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } + + /** + * Set Percent + * + * @param float $percent + * @return $this + */ + public function setPercent($percent) + { + $this->values['Percent'] = $percent; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/RecipientCustomsId.php b/src/FedEx/UploadDocumentService/ComplexType/RecipientCustomsId.php new file mode 100644 index 00000000..3b399a17 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/RecipientCustomsId.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\RecipientCustomsIdType|string $Type + * @property string $Value + + */ +class RecipientCustomsId extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RecipientCustomsId'; + + /** + * Specifies the kind of identification being used. + * + * @param \FedEx\UploadDocumentService\SimpleType\RecipientCustomsIdType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Contains the actual ID value, of the type specified above. + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/RecommendedDocumentSpecification.php b/src/FedEx/UploadDocumentService/ComplexType/RecommendedDocumentSpecification.php new file mode 100644 index 00000000..35c47a34 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/RecommendedDocumentSpecification.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\RecommendedDocumentType|string[] $Types + + */ +class RecommendedDocumentSpecification extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RecommendedDocumentSpecification'; + + /** + * Set Types + * + * @param \FedEx\UploadDocumentService\SimpleType\RecommendedDocumentType[]|string[] $types + * @return $this + */ + public function setTypes(array $types) + { + $this->values['Types'] = $types; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/RegulatoryLabelContentDetail.php b/src/FedEx/UploadDocumentService/ComplexType/RegulatoryLabelContentDetail.php new file mode 100644 index 00000000..31d41b34 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/RegulatoryLabelContentDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\RegulatoryLabelType|string $Type + * @property \FedEx\UploadDocumentService\SimpleType\CustomerSpecifiedLabelGenerationOptionType|string[] $GenerationOptions + + */ +class RegulatoryLabelContentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RegulatoryLabelContentDetail'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\RegulatoryLabelType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Specifies how the customer requested the regulatory label to be generated. + * + * @param \FedEx\UploadDocumentService\SimpleType\CustomerSpecifiedLabelGenerationOptionType[]|string[] $generationOptions + * @return $this + */ + public function setGenerationOptions(array $generationOptions) + { + $this->values['GenerationOptions'] = $generationOptions; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/RequestedDistributionLocation.php b/src/FedEx/UploadDocumentService/ComplexType/RequestedDistributionLocation.php new file mode 100644 index 00000000..b8a0a6ee --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/RequestedDistributionLocation.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Id + * @property \FedEx\UploadDocumentService\SimpleType\FedExDistributionLocationType|string $Type + * @property string $LocationId + * @property int $LocationNumber + * @property ContactAndAddress $LocationContactAndAddress + * @property string $ClearanceNumber + * @property ShipmentInclusionSpecification[] $InclusionSpecifications + + */ +class RequestedDistributionLocation extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RequestedDistributionLocation'; + + /** + * This is a customer-specified or system-assigned identifier that uniquely identifies the specific distibution location within a collection of distribution locations. This is not the same as the FedEx locationId or locationNumber. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Identifies whether the distirbution location is a FedEx Express Station or a FedEx Ground Terminal. + * + * @param \FedEx\UploadDocumentService\SimpleType\FedExDistributionLocationType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set LocationId + * + * @param string $locationId + * @return $this + */ + public function setLocationId($locationId) + { + $this->values['LocationId'] = $locationId; + return $this; + } + + /** + * Set LocationNumber + * + * @param int $locationNumber + * @return $this + */ + public function setLocationNumber($locationNumber) + { + $this->values['LocationNumber'] = $locationNumber; + return $this; + } + + /** + * Set LocationContactAndAddress + * + * @param ContactAndAddress $locationContactAndAddress + * @return $this + */ + public function setLocationContactAndAddress(ContactAndAddress $locationContactAndAddress) + { + $this->values['LocationContactAndAddress'] = $locationContactAndAddress; + return $this; + } + + /** + * This specifies the clearance number (e.g.- PAPS number for US imports) associated with the distribution location. + * + * @param string $clearanceNumber + * @return $this + */ + public function setClearanceNumber($clearanceNumber) + { + $this->values['ClearanceNumber'] = $clearanceNumber; + return $this; + } + + /** + * Specifies which kinds of shipments will be processed by this distribution location. + * + * @param ShipmentInclusionSpecification[] $inclusionSpecifications + * @return $this + */ + public function setInclusionSpecifications(array $inclusionSpecifications) + { + $this->values['InclusionSpecifications'] = $inclusionSpecifications; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/RequestedPackageLineItem.php b/src/FedEx/UploadDocumentService/ComplexType/RequestedPackageLineItem.php new file mode 100644 index 00000000..c6fe58e6 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/RequestedPackageLineItem.php @@ -0,0 +1,283 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $SequenceNumber + * @property int $GroupNumber + * @property int $GroupPackageCount + * @property PackageStatusDetail $StatusDetail + * @property TrackingId[] $TrackingIds + * @property VariableHandlingChargeDetail $VariableHandlingChargeDetail + * @property Money $InsuredValue + * @property Weight $Weight + * @property \FedEx\UploadDocumentService\SimpleType\WeightSource|string $WeightSource + * @property Dimensions $Dimensions + * @property \FedEx\UploadDocumentService\SimpleType\PhysicalPackagingType|string $PhysicalPackaging + * @property AssociatedFreightLineItemDetail[] $AssociatedFreightLineItems + * @property string $ItemDescription + * @property string $ItemDescriptionForClearance + * @property CustomerReference[] $CustomerReferences + * @property PackageSpecialServicesRequested $SpecialServicesRequested + * @property PackageSpecialHandlingDetail $SpecialHandlingDetail + * @property ContentRecord[] $ContentRecords + * @property Commodity[] $Commodities + * @property ShipperConveyanceDetail $ConveyanceDetail + + */ +class RequestedPackageLineItem extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RequestedPackageLineItem'; + + /** + * A unique identifier of each requested package line item. + * + * @param int $sequenceNumber + * @return $this + */ + public function setSequenceNumber($sequenceNumber) + { + $this->values['SequenceNumber'] = $sequenceNumber; + return $this; + } + + /** + * An identifier of each group of identical packages. + * + * @param int $groupNumber + * @return $this + */ + public function setGroupNumber($groupNumber) + { + $this->values['GroupNumber'] = $groupNumber; + return $this; + } + + /** + * Used as the number or count of identical packages in a group. + * + * @param int $groupPackageCount + * @return $this + */ + public function setGroupPackageCount($groupPackageCount) + { + $this->values['GroupPackageCount'] = $groupPackageCount; + return $this; + } + + /** + * Set StatusDetail + * + * @param PackageStatusDetail $statusDetail + * @return $this + */ + public function setStatusDetail(PackageStatusDetail $statusDetail) + { + $this->values['StatusDetail'] = $statusDetail; + return $this; + } + + /** + * Only used when clients are assigning a tracking number to this package. Should not be used when groupPackageCount is greater than one. + * + * @param TrackingId[] $trackingIds + * @return $this + */ + public function setTrackingIds(array $trackingIds) + { + $this->values['TrackingIds'] = $trackingIds; + return $this; + } + + /** + * Set VariableHandlingChargeDetail + * + * @param VariableHandlingChargeDetail $variableHandlingChargeDetail + * @return $this + */ + public function setVariableHandlingChargeDetail(VariableHandlingChargeDetail $variableHandlingChargeDetail) + { + $this->values['VariableHandlingChargeDetail'] = $variableHandlingChargeDetail; + return $this; + } + + /** + * Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. + * + * @param Money $insuredValue + * @return $this + */ + public function setInsuredValue(Money $insuredValue) + { + $this->values['InsuredValue'] = $insuredValue; + return $this; + } + + /** + * Represents the gross weight of the package line item. + * + * @param Weight $weight + * @return $this + */ + public function setWeight(Weight $weight) + { + $this->values['Weight'] = $weight; + return $this; + } + + /** + * FEDEX INTERNAL USE ONLY. + * + * @param \FedEx\UploadDocumentService\SimpleType\WeightSource|string $weightSource + * @return $this + */ + public function setWeightSource($weightSource) + { + $this->values['WeightSource'] = $weightSource; + return $this; + } + + /** + * Set Dimensions + * + * @param Dimensions $dimensions + * @return $this + */ + public function setDimensions(Dimensions $dimensions) + { + $this->values['Dimensions'] = $dimensions; + return $this; + } + + /** + * Provides additional detail on how the customer has physically packaged this item. As of June 2009, required for packages moving under international and SmartPost services. + * + * @param \FedEx\UploadDocumentService\SimpleType\PhysicalPackagingType|string $physicalPackaging + * @return $this + */ + public function setPhysicalPackaging($physicalPackaging) + { + $this->values['PhysicalPackaging'] = $physicalPackaging; + return $this; + } + + /** + * Set AssociatedFreightLineItems + * + * @param AssociatedFreightLineItemDetail[] $associatedFreightLineItems + * @return $this + */ + public function setAssociatedFreightLineItems(array $associatedFreightLineItems) + { + $this->values['AssociatedFreightLineItems'] = $associatedFreightLineItems; + return $this; + } + + /** + * Human-readable text describing the package. + * + * @param string $itemDescription + * @return $this + */ + public function setItemDescription($itemDescription) + { + $this->values['ItemDescription'] = $itemDescription; + return $this; + } + + /** + * Human-readable text describing the contents of the package to be used for clearance purposes. + * + * @param string $itemDescriptionForClearance + * @return $this + */ + public function setItemDescriptionForClearance($itemDescriptionForClearance) + { + $this->values['ItemDescriptionForClearance'] = $itemDescriptionForClearance; + return $this; + } + + /** + * Set CustomerReferences + * + * @param CustomerReference[] $customerReferences + * @return $this + */ + public function setCustomerReferences(array $customerReferences) + { + $this->values['CustomerReferences'] = $customerReferences; + return $this; + } + + /** + * Set SpecialServicesRequested + * + * @param PackageSpecialServicesRequested $specialServicesRequested + * @return $this + */ + public function setSpecialServicesRequested(PackageSpecialServicesRequested $specialServicesRequested) + { + $this->values['SpecialServicesRequested'] = $specialServicesRequested; + return $this; + } + + /** + * Set SpecialHandlingDetail + * + * @param PackageSpecialHandlingDetail $specialHandlingDetail + * @return $this + */ + public function setSpecialHandlingDetail(PackageSpecialHandlingDetail $specialHandlingDetail) + { + $this->values['SpecialHandlingDetail'] = $specialHandlingDetail; + return $this; + } + + /** + * Details the contents of the package. + * + * @param ContentRecord[] $contentRecords + * @return $this + */ + public function setContentRecords(array $contentRecords) + { + $this->values['ContentRecords'] = $contentRecords; + return $this; + } + + /** + * Set Commodities + * + * @param Commodity[] $commodities + * @return $this + */ + public function setCommodities(array $commodities) + { + $this->values['Commodities'] = $commodities; + return $this; + } + + /** + * Set ConveyanceDetail + * + * @param ShipperConveyanceDetail $conveyanceDetail + * @return $this + */ + public function setConveyanceDetail(ShipperConveyanceDetail $conveyanceDetail) + { + $this->values['ConveyanceDetail'] = $conveyanceDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/RequestedShipment.php b/src/FedEx/UploadDocumentService/ComplexType/RequestedShipment.php new file mode 100644 index 00000000..6a20d0f5 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/RequestedShipment.php @@ -0,0 +1,556 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $ShipTimestamp + * @property \FedEx\UploadDocumentService\SimpleType\DropoffType|string $DropoffType + * @property string $ServiceType + * @property string $PackagingType + * @property string $ShippingCycle + * @property ShipmentManifestDetail $ManifestDetail + * @property ShipmentVariationOptionDetail[] $VariationOptions + * @property Weight $TotalWeight + * @property Money $TotalInsuredValue + * @property Dimensions $TotalDimensions + * @property string $PreferredCurrency + * @property ShipmentAuthorizationDetail $ShipmentAuthorizationDetail + * @property Party $Shipper + * @property Party $Recipient + * @property string $RecipientLocationNumber + * @property ContactAndAddress $Origin + * @property Party $SoldTo + * @property Payment $ShippingChargesPayment + * @property ShipmentSpecialServicesRequested $SpecialServicesRequested + * @property ShipmentProcessingOptionsRequested $ProcessingOptionsRequested + * @property ExpressFreightDetail $ExpressFreightDetail + * @property FreightShipmentDetail $FreightShipmentDetail + * @property ShipmentConsolidationDetail $ConsolidationDetail + * @property string $DeliveryInstructions + * @property VariableHandlingChargeDetail $VariableHandlingChargeDetail + * @property CustomsClearanceDetail $CustomsClearanceDetail + * @property PickupDetail $PickupDetail + * @property SmartPostShipmentDetail $SmartPostDetail + * @property boolean $BlockInsightVisibility + * @property \FedEx\UploadDocumentService\SimpleType\ErrorLabelBehaviorType|string $ErrorLabelBehavior + * @property LabelSpecification $LabelSpecification + * @property ShippingDocumentSpecification $ShippingDocumentSpecification + * @property \FedEx\UploadDocumentService\SimpleType\RateRequestType|string[] $RateRequestTypes + * @property \FedEx\UploadDocumentService\SimpleType\ReturnedRateType|string $CustomerSelectedActualRateType + * @property \FedEx\UploadDocumentService\SimpleType\EdtRequestType|string $EdtRequestType + * @property CustomRatingOptionDetail $CustomRatingOptionDetail + * @property TrackingId $MasterTrackingId + * @property int $PackageCount + * @property \FedEx\UploadDocumentService\SimpleType\ShipmentOnlyFieldsType|string[] $ShipmentOnlyFields + * @property ShipmentConfigurationData $ConfigurationData + * @property RequestedPackageLineItem[] $RequestedPackageLineItems + + */ +class RequestedShipment extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RequestedShipment'; + + /** + * Set ShipTimestamp + * + * @param string $shipTimestamp + * @return $this + */ + public function setShipTimestamp($shipTimestamp) + { + $this->values['ShipTimestamp'] = $shipTimestamp; + return $this; + } + + /** + * Set DropoffType + * + * @param \FedEx\UploadDocumentService\SimpleType\DropoffType|string $dropoffType + * @return $this + */ + public function setDropoffType($dropoffType) + { + $this->values['DropoffType'] = $dropoffType; + return $this; + } + + /** + * This field contains the service type values, like PRIORITY_OVERNIGHT and FEDEX_GROUND. + * + * @param string $serviceType + * @return $this + */ + public function setServiceType($serviceType) + { + $this->values['ServiceType'] = $serviceType; + return $this; + } + + /** + * This field contains the packaging type values, like YOUR_PACKAGING and FEDEX_ENVELOPE. + * + * @param string $packagingType + * @return $this + */ + public function setPackagingType($packagingType) + { + $this->values['PackagingType'] = $packagingType; + return $this; + } + + /** + * The client's shipping cycle to which this shipment belongs. + * + * @param string $shippingCycle + * @return $this + */ + public function setShippingCycle($shippingCycle) + { + $this->values['ShippingCycle'] = $shippingCycle; + return $this; + } + + /** + * This specifies information related to the manifest associated with the shipment. + * + * @param ShipmentManifestDetail $manifestDetail + * @return $this + */ + public function setManifestDetail(ShipmentManifestDetail $manifestDetail) + { + $this->values['ManifestDetail'] = $manifestDetail; + return $this; + } + + /** + * The shipment variations for the current shipment expressed in key-value pairs. + * + * @param ShipmentVariationOptionDetail[] $variationOptions + * @return $this + */ + public function setVariationOptions(array $variationOptions) + { + $this->values['VariationOptions'] = $variationOptions; + return $this; + } + + /** + * Set TotalWeight + * + * @param Weight $totalWeight + * @return $this + */ + public function setTotalWeight(Weight $totalWeight) + { + $this->values['TotalWeight'] = $totalWeight; + return $this; + } + + /** + * Specifies the total declared value for carriage of the shipment. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the shipment. + * + * @param Money $totalInsuredValue + * @return $this + */ + public function setTotalInsuredValue(Money $totalInsuredValue) + { + $this->values['TotalInsuredValue'] = $totalInsuredValue; + return $this; + } + + /** + * Set TotalDimensions + * + * @param Dimensions $totalDimensions + * @return $this + */ + public function setTotalDimensions(Dimensions $totalDimensions) + { + $this->values['TotalDimensions'] = $totalDimensions; + return $this; + } + + /** + * This attribute indicates the currency the caller requests to have used in all returned monetary values (when a choice is possible). + * + * @param string $preferredCurrency + * @return $this + */ + public function setPreferredCurrency($preferredCurrency) + { + $this->values['PreferredCurrency'] = $preferredCurrency; + return $this; + } + + /** + * Specifies details about the entity responsible for the shipment. + * + * @param ShipmentAuthorizationDetail $shipmentAuthorizationDetail + * @return $this + */ + public function setShipmentAuthorizationDetail(ShipmentAuthorizationDetail $shipmentAuthorizationDetail) + { + $this->values['ShipmentAuthorizationDetail'] = $shipmentAuthorizationDetail; + return $this; + } + + /** + * Set Shipper + * + * @param Party $shipper + * @return $this + */ + public function setShipper(Party $shipper) + { + $this->values['Shipper'] = $shipper; + return $this; + } + + /** + * Set Recipient + * + * @param Party $recipient + * @return $this + */ + public function setRecipient(Party $recipient) + { + $this->values['Recipient'] = $recipient; + return $this; + } + + /** + * Set RecipientLocationNumber + * + * @param string $recipientLocationNumber + * @return $this + */ + public function setRecipientLocationNumber($recipientLocationNumber) + { + $this->values['RecipientLocationNumber'] = $recipientLocationNumber; + return $this; + } + + /** + * Physical starting address for the shipment, if different from shipper's address. + * + * @param ContactAndAddress $origin + * @return $this + */ + public function setOrigin(ContactAndAddress $origin) + { + $this->values['Origin'] = $origin; + return $this; + } + + /** + * The sold-to party is used for customs clearance; for example, in support of US import customs rules. The need for this field could vary based on whether a sold-to party was specified on a consolidation. + * + * @param Party $soldTo + * @return $this + */ + public function setSoldTo(Party $soldTo) + { + $this->values['SoldTo'] = $soldTo; + return $this; + } + + /** + * Set ShippingChargesPayment + * + * @param Payment $shippingChargesPayment + * @return $this + */ + public function setShippingChargesPayment(Payment $shippingChargesPayment) + { + $this->values['ShippingChargesPayment'] = $shippingChargesPayment; + return $this; + } + + /** + * Set SpecialServicesRequested + * + * @param ShipmentSpecialServicesRequested $specialServicesRequested + * @return $this + */ + public function setSpecialServicesRequested(ShipmentSpecialServicesRequested $specialServicesRequested) + { + $this->values['SpecialServicesRequested'] = $specialServicesRequested; + return $this; + } + + /** + * Specifies any custom processing to be applied to this shipment. + * + * @param ShipmentProcessingOptionsRequested $processingOptionsRequested + * @return $this + */ + public function setProcessingOptionsRequested(ShipmentProcessingOptionsRequested $processingOptionsRequested) + { + $this->values['ProcessingOptionsRequested'] = $processingOptionsRequested; + return $this; + } + + /** + * Set ExpressFreightDetail + * + * @param ExpressFreightDetail $expressFreightDetail + * @return $this + */ + public function setExpressFreightDetail(ExpressFreightDetail $expressFreightDetail) + { + $this->values['ExpressFreightDetail'] = $expressFreightDetail; + return $this; + } + + /** + * Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. + * + * @param FreightShipmentDetail $freightShipmentDetail + * @return $this + */ + public function setFreightShipmentDetail(FreightShipmentDetail $freightShipmentDetail) + { + $this->values['FreightShipmentDetail'] = $freightShipmentDetail; + return $this; + } + + /** + * Data applicable to shipments that are a part of a consolidation. + * + * @param ShipmentConsolidationDetail $consolidationDetail + * @return $this + */ + public function setConsolidationDetail(ShipmentConsolidationDetail $consolidationDetail) + { + $this->values['ConsolidationDetail'] = $consolidationDetail; + return $this; + } + + /** + * Used with Ground Home Delivery and Freight. + * + * @param string $deliveryInstructions + * @return $this + */ + public function setDeliveryInstructions($deliveryInstructions) + { + $this->values['DeliveryInstructions'] = $deliveryInstructions; + return $this; + } + + /** + * Set VariableHandlingChargeDetail + * + * @param VariableHandlingChargeDetail $variableHandlingChargeDetail + * @return $this + */ + public function setVariableHandlingChargeDetail(VariableHandlingChargeDetail $variableHandlingChargeDetail) + { + $this->values['VariableHandlingChargeDetail'] = $variableHandlingChargeDetail; + return $this; + } + + /** + * Customs clearance data, used for both international and intra-country shipping. + * + * @param CustomsClearanceDetail $customsClearanceDetail + * @return $this + */ + public function setCustomsClearanceDetail(CustomsClearanceDetail $customsClearanceDetail) + { + $this->values['CustomsClearanceDetail'] = $customsClearanceDetail; + return $this; + } + + /** + * For use in "process tag" transaction. + * + * @param PickupDetail $pickupDetail + * @return $this + */ + public function setPickupDetail(PickupDetail $pickupDetail) + { + $this->values['PickupDetail'] = $pickupDetail; + return $this; + } + + /** + * Specifies the characteristics of a shipment pertaining to SmartPost services. + * + * @param SmartPostShipmentDetail $smartPostDetail + * @return $this + */ + public function setSmartPostDetail(SmartPostShipmentDetail $smartPostDetail) + { + $this->values['SmartPostDetail'] = $smartPostDetail; + return $this; + } + + /** + * If true, only the shipper/payor will have visibility of this shipment. + * + * @param boolean $blockInsightVisibility + * @return $this + */ + public function setBlockInsightVisibility($blockInsightVisibility) + { + $this->values['BlockInsightVisibility'] = $blockInsightVisibility; + return $this; + } + + /** + * Specifies the client-requested response in the event of errors within shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\ErrorLabelBehaviorType|string $errorLabelBehavior + * @return $this + */ + public function setErrorLabelBehavior($errorLabelBehavior) + { + $this->values['ErrorLabelBehavior'] = $errorLabelBehavior; + return $this; + } + + /** + * Set LabelSpecification + * + * @param LabelSpecification $labelSpecification + * @return $this + */ + public function setLabelSpecification(LabelSpecification $labelSpecification) + { + $this->values['LabelSpecification'] = $labelSpecification; + return $this; + } + + /** + * Contains data used to create additional (non-label) shipping documents. + * + * @param ShippingDocumentSpecification $shippingDocumentSpecification + * @return $this + */ + public function setShippingDocumentSpecification(ShippingDocumentSpecification $shippingDocumentSpecification) + { + $this->values['ShippingDocumentSpecification'] = $shippingDocumentSpecification; + return $this; + } + + /** + * Specifies whether and what kind of rates the customer wishes to have quoted on this shipment. The reply will also be constrained by other data on the shipment and customer. + * + * @param \FedEx\UploadDocumentService\SimpleType\RateRequestType[]|string[] $rateRequestTypes + * @return $this + */ + public function setRateRequestTypes(array $rateRequestTypes) + { + $this->values['RateRequestTypes'] = $rateRequestTypes; + return $this; + } + + /** + * Specifies the type of rate the customer wishes to have used as the actual rate type. + * + * @param \FedEx\UploadDocumentService\SimpleType\ReturnedRateType|string $customerSelectedActualRateType + * @return $this + */ + public function setCustomerSelectedActualRateType($customerSelectedActualRateType) + { + $this->values['CustomerSelectedActualRateType'] = $customerSelectedActualRateType; + return $this; + } + + /** + * Specifies whether the customer wishes to have Estimated Duties and Taxes provided with the rate quotation on this shipment. Only applies with shipments moving under international services. + * + * @param \FedEx\UploadDocumentService\SimpleType\EdtRequestType|string $edtRequestType + * @return $this + */ + public function setEdtRequestType($edtRequestType) + { + $this->values['EdtRequestType'] = $edtRequestType; + return $this; + } + + /** + * Specifies the details for the custom rates. + * + * @param CustomRatingOptionDetail $customRatingOptionDetail + * @return $this + */ + public function setCustomRatingOptionDetail(CustomRatingOptionDetail $customRatingOptionDetail) + { + $this->values['CustomRatingOptionDetail'] = $customRatingOptionDetail; + return $this; + } + + /** + * Only used with multiple-transaction shipments, to identify the master package in a multi-piece shipment. + * + * @param TrackingId $masterTrackingId + * @return $this + */ + public function setMasterTrackingId(TrackingId $masterTrackingId) + { + $this->values['MasterTrackingId'] = $masterTrackingId; + return $this; + } + + /** + * The total number of packages in the entire shipment (even when the shipment spans multiple transactions.) + * + * @param int $packageCount + * @return $this + */ + public function setPackageCount($packageCount) + { + $this->values['PackageCount'] = $packageCount; + return $this; + } + + /** + * Specifies which package-level data values are provided at the shipment-level only. The package-level data values types specified here will not be provided at the package-level. + * + * @param \FedEx\UploadDocumentService\SimpleType\ShipmentOnlyFieldsType[]|string[] $shipmentOnlyFields + * @return $this + */ + public function setShipmentOnlyFields(array $shipmentOnlyFields) + { + $this->values['ShipmentOnlyFields'] = $shipmentOnlyFields; + return $this; + } + + /** + * Specifies data structures that may be re-used multiple times with s single shipment. + * + * @param ShipmentConfigurationData $configurationData + * @return $this + */ + public function setConfigurationData(ShipmentConfigurationData $configurationData) + { + $this->values['ConfigurationData'] = $configurationData; + return $this; + } + + /** + * One or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics all packages in the shipment. + * + * @param RequestedPackageLineItem[] $requestedPackageLineItems + * @return $this + */ + public function setRequestedPackageLineItems(array $requestedPackageLineItems) + { + $this->values['RequestedPackageLineItems'] = $requestedPackageLineItems; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ReturnAssociationDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ReturnAssociationDetail.php new file mode 100644 index 00000000..dc01459b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ReturnAssociationDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $TrackingNumber + * @property string $ShipDate + + */ +class ReturnAssociationDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ReturnAssociationDetail'; + + /** + * Specifies the tracking number of the master associated with the return shipment. + * + * @param string $trackingNumber + * @return $this + */ + public function setTrackingNumber($trackingNumber) + { + $this->values['TrackingNumber'] = $trackingNumber; + return $this; + } + + /** + * Set ShipDate + * + * @param string $shipDate + * @return $this + */ + public function setShipDate($shipDate) + { + $this->values['ShipDate'] = $shipDate; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ReturnEMailDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ReturnEMailDetail.php new file mode 100644 index 00000000..c62df821 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ReturnEMailDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $MerchantPhoneNumber + * @property \FedEx\UploadDocumentService\SimpleType\ReturnEMailAllowedSpecialServiceType|string[] $AllowedSpecialServices + + */ +class ReturnEMailDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ReturnEMailDetail'; + + /** + * Set MerchantPhoneNumber + * + * @param string $merchantPhoneNumber + * @return $this + */ + public function setMerchantPhoneNumber($merchantPhoneNumber) + { + $this->values['MerchantPhoneNumber'] = $merchantPhoneNumber; + return $this; + } + + /** + * Identifies the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created. Only services represented in EMailLabelAllowedSpecialServiceType will be controlled by this list. + * + * @param \FedEx\UploadDocumentService\SimpleType\ReturnEMailAllowedSpecialServiceType[]|string[] $allowedSpecialServices + * @return $this + */ + public function setAllowedSpecialServices(array $allowedSpecialServices) + { + $this->values['AllowedSpecialServices'] = $allowedSpecialServices; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ReturnInstructionsDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ReturnInstructionsDetail.php new file mode 100644 index 00000000..78950ea5 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ReturnInstructionsDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentFormat $Format + * @property string $CustomText + + */ +class ReturnInstructionsDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ReturnInstructionsDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Specifies additional customer provided text to be inserted into the return document. + * + * @param string $customText + * @return $this + */ + public function setCustomText($customText) + { + $this->values['CustomText'] = $customText; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ReturnShipmentDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ReturnShipmentDetail.php new file mode 100644 index 00000000..fad2624a --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ReturnShipmentDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ReturnType|string $ReturnType + * @property Rma $Rma + * @property ReturnEMailDetail $ReturnEMailDetail + * @property ReturnAssociationDetail $ReturnAssociation + + */ +class ReturnShipmentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ReturnShipmentDetail'; + + /** + * Set ReturnType + * + * @param \FedEx\UploadDocumentService\SimpleType\ReturnType|string $returnType + * @return $this + */ + public function setReturnType($returnType) + { + $this->values['ReturnType'] = $returnType; + return $this; + } + + /** + * Set Rma + * + * @param Rma $rma + * @return $this + */ + public function setRma(Rma $rma) + { + $this->values['Rma'] = $rma; + return $this; + } + + /** + * Set ReturnEMailDetail + * + * @param ReturnEMailDetail $returnEMailDetail + * @return $this + */ + public function setReturnEMailDetail(ReturnEMailDetail $returnEMailDetail) + { + $this->values['ReturnEMailDetail'] = $returnEMailDetail; + return $this; + } + + /** + * Set ReturnAssociation + * + * @param ReturnAssociationDetail $returnAssociation + * @return $this + */ + public function setReturnAssociation(ReturnAssociationDetail $returnAssociation) + { + $this->values['ReturnAssociation'] = $returnAssociation; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Rma.php b/src/FedEx/UploadDocumentService/ComplexType/Rma.php new file mode 100644 index 00000000..a16802c5 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Rma.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Reason + + */ +class Rma extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Rma'; + + /** + * Set Reason + * + * @param string $reason + * @return $this + */ + public function setReason($reason) + { + $this->values['Reason'] = $reason; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ServiceDescription.php b/src/FedEx/UploadDocumentService/ComplexType/ServiceDescription.php new file mode 100644 index 00000000..5f8575ad --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ServiceDescription.php @@ -0,0 +1,127 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $ServiceId + * @property string $ServiceType + * @property string $Code + * @property ProductName[] $Names + * @property string[] $OperatingOrgCodes + * @property string $ServiceCategory + * @property string $Description + * @property string $AstraDescription + + */ +class ServiceDescription extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ServiceDescription'; + + /** + * FOR FEDEX INTERNAL USE ONLY: Designates the service ID. + * + * @param string $serviceId + * @return $this + */ + public function setServiceId($serviceId) + { + $this->values['ServiceId'] = $serviceId; + return $this; + } + + /** + * Set ServiceType + * + * @param string $serviceType + * @return $this + */ + public function setServiceType($serviceType) + { + $this->values['ServiceType'] = $serviceType; + return $this; + } + + /** + * Set Code + * + * @param string $code + * @return $this + */ + public function setCode($code) + { + $this->values['Code'] = $code; + return $this; + } + + /** + * Branded, translated, and/or localized names for this service. + * + * @param ProductName[] $names + * @return $this + */ + public function setNames(array $names) + { + $this->values['Names'] = $names; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: The operating org code in a service. + * + * @param string $operatingOrgCodes + * @return $this + */ + public function setOperatingOrgCodes($operatingOrgCodes) + { + $this->values['OperatingOrgCodes'] = $operatingOrgCodes; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: This is tied to the Product EFS interface definition which will currently contain the values of 'parcel' or 'freight'. + * + * @param string $serviceCategory + * @return $this + */ + public function setServiceCategory($serviceCategory) + { + $this->values['ServiceCategory'] = $serviceCategory; + return $this; + } + + /** + * Set Description + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set AstraDescription + * + * @param string $astraDescription + * @return $this + */ + public function setAstraDescription($astraDescription) + { + $this->values['AstraDescription'] = $astraDescription; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentAssemblyDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentAssemblyDetail.php new file mode 100644 index 00000000..7c87fd05 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentAssemblyDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $PieceCount + * @property Weight $Weight + + */ +class ShipmentAssemblyDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentAssemblyDetail'; + + /** + * Number of pieces or packages to be assembled + * + * @param int $pieceCount + * @return $this + */ + public function setPieceCount($pieceCount) + { + $this->values['PieceCount'] = $pieceCount; + return $this; + } + + /** + * Total weight of pieces or packages to be assembled + * + * @param Weight $weight + * @return $this + */ + public function setWeight(Weight $weight) + { + $this->values['Weight'] = $weight; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentAuthorizationDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentAuthorizationDetail.php new file mode 100644 index 00000000..68d7d9db --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentAuthorizationDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $AccountNumber + + */ +class ShipmentAuthorizationDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentAuthorizationDetail'; + + /** + * Set AccountNumber + * + * @param string $accountNumber + * @return $this + */ + public function setAccountNumber($accountNumber) + { + $this->values['AccountNumber'] = $accountNumber; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentConfigurationData.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentConfigurationData.php new file mode 100644 index 00000000..af9e81f2 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentConfigurationData.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property DangerousGoodsDetail[] $DangerousGoodsPackageConfigurations + + */ +class ShipmentConfigurationData extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentConfigurationData'; + + /** + * Specifies the data that is common to dangerous goods packages in the shipment. This is populated when the shipment contains packages with identical dangerous goods commodities. + * + * @param DangerousGoodsDetail[] $dangerousGoodsPackageConfigurations + * @return $this + */ + public function setDangerousGoodsPackageConfigurations(array $dangerousGoodsPackageConfigurations) + { + $this->values['DangerousGoodsPackageConfigurations'] = $dangerousGoodsPackageConfigurations; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentConsolidationDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentConsolidationDetail.php new file mode 100644 index 00000000..9c0015e8 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentConsolidationDetail.php @@ -0,0 +1,140 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $RelationshipTimestamp + * @property \FedEx\UploadDocumentService\SimpleType\ConsolidationType|string $Type + * @property \FedEx\UploadDocumentService\SimpleType\ConsolidationShipmentRoleType|string $Role + * @property AssociatedTrackingId[] $AssociatedTrackingIds + * @property ConsolidationSpecialServicesRequested $SpecialServicesRequested + * @property Address $ConsolidationOriginAddress + * @property ShipmentInternationalDistributionDetail $InternationalDistributionDetail + * @property ShipmentTransborderDistributionDetail $TransborderDistributionDetail + * @property RequestedDistributionLocation[] $DistributionLocations + + */ +class ShipmentConsolidationDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentConsolidationDetail'; + + /** + * The time at which this shipment was associated with the consolidation. + * + * @param string $relationshipTimestamp + * @return $this + */ + public function setRelationshipTimestamp($relationshipTimestamp) + { + $this->values['RelationshipTimestamp'] = $relationshipTimestamp; + return $this; + } + + /** + * The type of consolidation that contains this shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\ConsolidationType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * The role this shipment plays within the consolidation. + * + * @param \FedEx\UploadDocumentService\SimpleType\ConsolidationShipmentRoleType|string $role + * @return $this + */ + public function setRole($role) + { + $this->values['Role'] = $role; + return $this; + } + + /** + * Identifies other tracking IDs related to this shipment within the same consolidation. + * + * @param AssociatedTrackingId[] $associatedTrackingIds + * @return $this + */ + public function setAssociatedTrackingIds(array $associatedTrackingIds) + { + $this->values['AssociatedTrackingIds'] = $associatedTrackingIds; + return $this; + } + + /** + * Specifies the consolidation-level special services to be performed for this shipment. + * + * @param ConsolidationSpecialServicesRequested $specialServicesRequested + * @return $this + */ + public function setSpecialServicesRequested(ConsolidationSpecialServicesRequested $specialServicesRequested) + { + $this->values['SpecialServicesRequested'] = $specialServicesRequested; + return $this; + } + + /** + * This is the origin address of the consolidation. + * + * @param Address $consolidationOriginAddress + * @return $this + */ + public function setConsolidationOriginAddress(Address $consolidationOriginAddress) + { + $this->values['ConsolidationOriginAddress'] = $consolidationOriginAddress; + return $this; + } + + /** + * Specifies attributes of a shipment within an international distribution. + * + * @param ShipmentInternationalDistributionDetail $internationalDistributionDetail + * @return $this + */ + public function setInternationalDistributionDetail(ShipmentInternationalDistributionDetail $internationalDistributionDetail) + { + $this->values['InternationalDistributionDetail'] = $internationalDistributionDetail; + return $this; + } + + /** + * Specifies attributes of a shipment within a transborder distribution. + * + * @param ShipmentTransborderDistributionDetail $transborderDistributionDetail + * @return $this + */ + public function setTransborderDistributionDetail(ShipmentTransborderDistributionDetail $transborderDistributionDetail) + { + $this->values['TransborderDistributionDetail'] = $transborderDistributionDetail; + return $this; + } + + /** + * FOR INTERNAL FEDEX USE ONLY: Identifies the distribution facility where this shipment will be de-consolidated and distributed. + * + * @param RequestedDistributionLocation[] $distributionLocations + * @return $this + */ + public function setDistributionLocations(array $distributionLocations) + { + $this->values['DistributionLocations'] = $distributionLocations; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentDryIceDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentDryIceDetail.php new file mode 100644 index 00000000..2c396ddf --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentDryIceDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $PackageCount + * @property Weight $TotalWeight + * @property ShipmentDryIceProcessingOptionsRequested $ProcessingOptions + + */ +class ShipmentDryIceDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentDryIceDetail'; + + /** + * Total number of packages in the shipment that contain dry ice. + * + * @param int $packageCount + * @return $this + */ + public function setPackageCount($packageCount) + { + $this->values['PackageCount'] = $packageCount; + return $this; + } + + /** + * Total shipment dry ice weight for all packages. + * + * @param Weight $totalWeight + * @return $this + */ + public function setTotalWeight(Weight $totalWeight) + { + $this->values['TotalWeight'] = $totalWeight; + return $this; + } + + /** + * Set ProcessingOptions + * + * @param ShipmentDryIceProcessingOptionsRequested $processingOptions + * @return $this + */ + public function setProcessingOptions(ShipmentDryIceProcessingOptionsRequested $processingOptions) + { + $this->values['ProcessingOptions'] = $processingOptions; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentDryIceProcessingOptionsRequested.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentDryIceProcessingOptionsRequested.php new file mode 100644 index 00000000..ab5a1e2d --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentDryIceProcessingOptionsRequested.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ShipmentDryIceProcessingOptionType|string[] $Options + + */ +class ShipmentDryIceProcessingOptionsRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentDryIceProcessingOptionsRequested'; + + /** + * Set Options + * + * @param \FedEx\UploadDocumentService\SimpleType\ShipmentDryIceProcessingOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentEventNotificationDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentEventNotificationDetail.php new file mode 100644 index 00000000..b730b414 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentEventNotificationDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ShipmentNotificationAggregationType|string $AggregationType + * @property string $PersonalMessage + * @property ShipmentEventNotificationSpecification[] $EventNotifications + + */ +class ShipmentEventNotificationDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentEventNotificationDetail'; + + /** + * Set AggregationType + * + * @param \FedEx\UploadDocumentService\SimpleType\ShipmentNotificationAggregationType|string $aggregationType + * @return $this + */ + public function setAggregationType($aggregationType) + { + $this->values['AggregationType'] = $aggregationType; + return $this; + } + + /** + * Set PersonalMessage + * + * @param string $personalMessage + * @return $this + */ + public function setPersonalMessage($personalMessage) + { + $this->values['PersonalMessage'] = $personalMessage; + return $this; + } + + /** + * Set EventNotifications + * + * @param ShipmentEventNotificationSpecification[] $eventNotifications + * @return $this + */ + public function setEventNotifications(array $eventNotifications) + { + $this->values['EventNotifications'] = $eventNotifications; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentEventNotificationSpecification.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentEventNotificationSpecification.php new file mode 100644 index 00000000..0d6cd193 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentEventNotificationSpecification.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ShipmentNotificationRoleType|string $Role + * @property \FedEx\UploadDocumentService\SimpleType\NotificationEventType|string[] $Events + * @property NotificationDetail $NotificationDetail + * @property ShipmentNotificationFormatSpecification $FormatSpecification + + */ +class ShipmentEventNotificationSpecification extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentEventNotificationSpecification'; + + /** + * Set Role + * + * @param \FedEx\UploadDocumentService\SimpleType\ShipmentNotificationRoleType|string $role + * @return $this + */ + public function setRole($role) + { + $this->values['Role'] = $role; + return $this; + } + + /** + * Set Events + * + * @param \FedEx\UploadDocumentService\SimpleType\NotificationEventType[]|string[] $events + * @return $this + */ + public function setEvents(array $events) + { + $this->values['Events'] = $events; + return $this; + } + + /** + * Set NotificationDetail + * + * @param NotificationDetail $notificationDetail + * @return $this + */ + public function setNotificationDetail(NotificationDetail $notificationDetail) + { + $this->values['NotificationDetail'] = $notificationDetail; + return $this; + } + + /** + * Set FormatSpecification + * + * @param ShipmentNotificationFormatSpecification $formatSpecification + * @return $this + */ + public function setFormatSpecification(ShipmentNotificationFormatSpecification $formatSpecification) + { + $this->values['FormatSpecification'] = $formatSpecification; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentInclusionSpecification.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentInclusionSpecification.php new file mode 100644 index 00000000..10d4b1f9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentInclusionSpecification.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\CarrierCodeType|string $CarrierCode + * @property \FedEx\UploadDocumentService\SimpleType\ServiceCategoryType|string $ServiceCategory + + */ +class ShipmentInclusionSpecification extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentInclusionSpecification'; + + /** + * Specifies which carrier should be included. + * + * @param \FedEx\UploadDocumentService\SimpleType\CarrierCodeType|string $carrierCode + * @return $this + */ + public function setCarrierCode($carrierCode) + { + $this->values['CarrierCode'] = $carrierCode; + return $this; + } + + /** + * Set ServiceCategory + * + * @param \FedEx\UploadDocumentService\SimpleType\ServiceCategoryType|string $serviceCategory + * @return $this + */ + public function setServiceCategory($serviceCategory) + { + $this->values['ServiceCategory'] = $serviceCategory; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentInternationalDistributionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentInternationalDistributionDetail.php new file mode 100644 index 00000000..a1aeea9d --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentInternationalDistributionDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $ClearanceFacilityLocId + * @property \FedEx\UploadDocumentService\SimpleType\DistributionClearanceType|string $ClearanceType + * @property InternationalDistributionSummaryDetail $SummaryDetail + * @property SplitPaymentSpecification $SplitPaymentSpecification + + */ +class ShipmentInternationalDistributionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentInternationalDistributionDetail'; + + /** + * Identifies the FedEx facility at which customs clearance will be performed. + * + * @param string $clearanceFacilityLocId + * @return $this + */ + public function setClearanceFacilityLocId($clearanceFacilityLocId) + { + $this->values['ClearanceFacilityLocId'] = $clearanceFacilityLocId; + return $this; + } + + /** + * Identifies the type of clearance performed at the clearance facility. + * + * @param \FedEx\UploadDocumentService\SimpleType\DistributionClearanceType|string $clearanceType + * @return $this + */ + public function setClearanceType($clearanceType) + { + $this->values['ClearanceType'] = $clearanceType; + return $this; + } + + /** + * Provides summary totals across all CRNs in a distribution. + * + * @param InternationalDistributionSummaryDetail $summaryDetail + * @return $this + */ + public function setSummaryDetail(InternationalDistributionSummaryDetail $summaryDetail) + { + $this->values['SummaryDetail'] = $summaryDetail; + return $this; + } + + /** + * Specifies how charges relating to different aspects of a shipment are to be paid. + * + * @param SplitPaymentSpecification $splitPaymentSpecification + * @return $this + */ + public function setSplitPaymentSpecification(SplitPaymentSpecification $splitPaymentSpecification) + { + $this->values['SplitPaymentSpecification'] = $splitPaymentSpecification; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentLegRateDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentLegRateDetail.php new file mode 100644 index 00000000..e8e7fd69 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentLegRateDetail.php @@ -0,0 +1,491 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $LegDescription + * @property Address $LegOrigin + * @property string $LegOriginLocationId + * @property Address $LegDestination + * @property string $LegDestinationLocationId + * @property \FedEx\UploadDocumentService\SimpleType\ReturnedRateType|string $RateType + * @property string $RateScale + * @property string $RateZone + * @property \FedEx\UploadDocumentService\SimpleType\PricingCodeType|string $PricingCode + * @property \FedEx\UploadDocumentService\SimpleType\RatedWeightMethod|string $RatedWeightMethod + * @property \FedEx\UploadDocumentService\SimpleType\MinimumChargeType|string $MinimumChargeType + * @property CurrencyExchangeRate $CurrencyExchangeRate + * @property \FedEx\UploadDocumentService\SimpleType\SpecialRatingAppliedType|string[] $SpecialRatingApplied + * @property int $DimDivisor + * @property \FedEx\UploadDocumentService\SimpleType\RateDimensionalDivisorType|string $DimDivisorType + * @property float $FuelSurchargePercent + * @property Weight $TotalBillingWeight + * @property Weight $TotalDimWeight + * @property Money $TotalBaseCharge + * @property Money $TotalFreightDiscounts + * @property Money $TotalNetFreight + * @property Money $TotalSurcharges + * @property Money $TotalNetFedExCharge + * @property Money $TotalTaxes + * @property Money $TotalNetCharge + * @property Money $TotalRebates + * @property Money $TotalDutiesAndTaxes + * @property Money $TotalNetChargeWithDutiesAndTaxes + * @property FreightRateDetail $FreightRateDetail + * @property RateDiscount[] $FreightDiscounts + * @property Rebate[] $Rebates + * @property Surcharge[] $Surcharges + * @property Tax[] $Taxes + * @property EdtCommodityTax[] $DutiesAndTaxes + * @property VariableHandlingCharges $VariableHandlingCharges + * @property VariableHandlingCharges $TotalVariableHandlingCharges + + */ +class ShipmentLegRateDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentLegRateDetail'; + + /** + * Human-readable text describing the shipment leg. + * + * @param string $legDescription + * @return $this + */ + public function setLegDescription($legDescription) + { + $this->values['LegDescription'] = $legDescription; + return $this; + } + + /** + * Origin for this leg. + * + * @param Address $legOrigin + * @return $this + */ + public function setLegOrigin(Address $legOrigin) + { + $this->values['LegOrigin'] = $legOrigin; + return $this; + } + + /** + * Specifies the location id the origin of shipment leg. + * + * @param string $legOriginLocationId + * @return $this + */ + public function setLegOriginLocationId($legOriginLocationId) + { + $this->values['LegOriginLocationId'] = $legOriginLocationId; + return $this; + } + + /** + * Destination for this leg. + * + * @param Address $legDestination + * @return $this + */ + public function setLegDestination(Address $legDestination) + { + $this->values['LegDestination'] = $legDestination; + return $this; + } + + /** + * Specifies the location id the destination of shipment leg. + * + * @param string $legDestinationLocationId + * @return $this + */ + public function setLegDestinationLocationId($legDestinationLocationId) + { + $this->values['LegDestinationLocationId'] = $legDestinationLocationId; + return $this; + } + + /** + * Type used for this specific set of rate data. + * + * @param \FedEx\UploadDocumentService\SimpleType\ReturnedRateType|string $rateType + * @return $this + */ + public function setRateType($rateType) + { + $this->values['RateType'] = $rateType; + return $this; + } + + /** + * Indicates the rate scale used. + * + * @param string $rateScale + * @return $this + */ + public function setRateScale($rateScale) + { + $this->values['RateScale'] = $rateScale; + return $this; + } + + /** + * Indicates the rate zone used (based on origin and destination). + * + * @param string $rateZone + * @return $this + */ + public function setRateZone($rateZone) + { + $this->values['RateZone'] = $rateZone; + return $this; + } + + /** + * Set PricingCode + * + * @param \FedEx\UploadDocumentService\SimpleType\PricingCodeType|string $pricingCode + * @return $this + */ + public function setPricingCode($pricingCode) + { + $this->values['PricingCode'] = $pricingCode; + return $this; + } + + /** + * Indicates which weight was used. + * + * @param \FedEx\UploadDocumentService\SimpleType\RatedWeightMethod|string $ratedWeightMethod + * @return $this + */ + public function setRatedWeightMethod($ratedWeightMethod) + { + $this->values['RatedWeightMethod'] = $ratedWeightMethod; + return $this; + } + + /** + * INTERNAL FEDEX USE ONLY. + * + * @param \FedEx\UploadDocumentService\SimpleType\MinimumChargeType|string $minimumChargeType + * @return $this + */ + public function setMinimumChargeType($minimumChargeType) + { + $this->values['MinimumChargeType'] = $minimumChargeType; + return $this; + } + + /** + * Specifies the currency exchange performed on financial amounts for this rate. + * + * @param CurrencyExchangeRate $currencyExchangeRate + * @return $this + */ + public function setCurrencyExchangeRate(CurrencyExchangeRate $currencyExchangeRate) + { + $this->values['CurrencyExchangeRate'] = $currencyExchangeRate; + return $this; + } + + /** + * Indicates which special rating cases applied to this shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\SpecialRatingAppliedType[]|string[] $specialRatingApplied + * @return $this + */ + public function setSpecialRatingApplied(array $specialRatingApplied) + { + $this->values['SpecialRatingApplied'] = $specialRatingApplied; + return $this; + } + + /** + * Set DimDivisor + * + * @param int $dimDivisor + * @return $this + */ + public function setDimDivisor($dimDivisor) + { + $this->values['DimDivisor'] = $dimDivisor; + return $this; + } + + /** + * Identifies the type of dim divisor that was applied. + * + * @param \FedEx\UploadDocumentService\SimpleType\RateDimensionalDivisorType|string $dimDivisorType + * @return $this + */ + public function setDimDivisorType($dimDivisorType) + { + $this->values['DimDivisorType'] = $dimDivisorType; + return $this; + } + + /** + * Set FuelSurchargePercent + * + * @param float $fuelSurchargePercent + * @return $this + */ + public function setFuelSurchargePercent($fuelSurchargePercent) + { + $this->values['FuelSurchargePercent'] = $fuelSurchargePercent; + return $this; + } + + /** + * Set TotalBillingWeight + * + * @param Weight $totalBillingWeight + * @return $this + */ + public function setTotalBillingWeight(Weight $totalBillingWeight) + { + $this->values['TotalBillingWeight'] = $totalBillingWeight; + return $this; + } + + /** + * Sum of dimensional weights for all packages. + * + * @param Weight $totalDimWeight + * @return $this + */ + public function setTotalDimWeight(Weight $totalDimWeight) + { + $this->values['TotalDimWeight'] = $totalDimWeight; + return $this; + } + + /** + * Set TotalBaseCharge + * + * @param Money $totalBaseCharge + * @return $this + */ + public function setTotalBaseCharge(Money $totalBaseCharge) + { + $this->values['TotalBaseCharge'] = $totalBaseCharge; + return $this; + } + + /** + * Set TotalFreightDiscounts + * + * @param Money $totalFreightDiscounts + * @return $this + */ + public function setTotalFreightDiscounts(Money $totalFreightDiscounts) + { + $this->values['TotalFreightDiscounts'] = $totalFreightDiscounts; + return $this; + } + + /** + * Set TotalNetFreight + * + * @param Money $totalNetFreight + * @return $this + */ + public function setTotalNetFreight(Money $totalNetFreight) + { + $this->values['TotalNetFreight'] = $totalNetFreight; + return $this; + } + + /** + * Set TotalSurcharges + * + * @param Money $totalSurcharges + * @return $this + */ + public function setTotalSurcharges(Money $totalSurcharges) + { + $this->values['TotalSurcharges'] = $totalSurcharges; + return $this; + } + + /** + * This shipment's totalNetFreight + totalSurcharges (not including totalTaxes). + * + * @param Money $totalNetFedExCharge + * @return $this + */ + public function setTotalNetFedExCharge(Money $totalNetFedExCharge) + { + $this->values['TotalNetFedExCharge'] = $totalNetFedExCharge; + return $this; + } + + /** + * Total of the transportation-based taxes. + * + * @param Money $totalTaxes + * @return $this + */ + public function setTotalTaxes(Money $totalTaxes) + { + $this->values['TotalTaxes'] = $totalTaxes; + return $this; + } + + /** + * Set TotalNetCharge + * + * @param Money $totalNetCharge + * @return $this + */ + public function setTotalNetCharge(Money $totalNetCharge) + { + $this->values['TotalNetCharge'] = $totalNetCharge; + return $this; + } + + /** + * Set TotalRebates + * + * @param Money $totalRebates + * @return $this + */ + public function setTotalRebates(Money $totalRebates) + { + $this->values['TotalRebates'] = $totalRebates; + return $this; + } + + /** + * Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment. + * + * @param Money $totalDutiesAndTaxes + * @return $this + */ + public function setTotalDutiesAndTaxes(Money $totalDutiesAndTaxes) + { + $this->values['TotalDutiesAndTaxes'] = $totalDutiesAndTaxes; + return $this; + } + + /** + * This shipment's totalNetCharge + totalDutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account. + * + * @param Money $totalNetChargeWithDutiesAndTaxes + * @return $this + */ + public function setTotalNetChargeWithDutiesAndTaxes(Money $totalNetChargeWithDutiesAndTaxes) + { + $this->values['TotalNetChargeWithDutiesAndTaxes'] = $totalNetChargeWithDutiesAndTaxes; + return $this; + } + + /** + * Rate data specific to FedEx Freight and FedEx National Freight services. + * + * @param FreightRateDetail $freightRateDetail + * @return $this + */ + public function setFreightRateDetail(FreightRateDetail $freightRateDetail) + { + $this->values['FreightRateDetail'] = $freightRateDetail; + return $this; + } + + /** + * All rate discounts that apply to this shipment. + * + * @param RateDiscount[] $freightDiscounts + * @return $this + */ + public function setFreightDiscounts(array $freightDiscounts) + { + $this->values['FreightDiscounts'] = $freightDiscounts; + return $this; + } + + /** + * All rebates that apply to this shipment. + * + * @param Rebate[] $rebates + * @return $this + */ + public function setRebates(array $rebates) + { + $this->values['Rebates'] = $rebates; + return $this; + } + + /** + * All surcharges that apply to this shipment. + * + * @param Surcharge[] $surcharges + * @return $this + */ + public function setSurcharges(array $surcharges) + { + $this->values['Surcharges'] = $surcharges; + return $this; + } + + /** + * All transportation-based taxes applicable to this shipment. + * + * @param Tax[] $taxes + * @return $this + */ + public function setTaxes(array $taxes) + { + $this->values['Taxes'] = $taxes; + return $this; + } + + /** + * All commodity-based duties and taxes applicable to this shipment. + * + * @param EdtCommodityTax[] $dutiesAndTaxes + * @return $this + */ + public function setDutiesAndTaxes(array $dutiesAndTaxes) + { + $this->values['DutiesAndTaxes'] = $dutiesAndTaxes; + return $this; + } + + /** + * The "order level" variable handling charges. + * + * @param VariableHandlingCharges $variableHandlingCharges + * @return $this + */ + public function setVariableHandlingCharges(VariableHandlingCharges $variableHandlingCharges) + { + $this->values['VariableHandlingCharges'] = $variableHandlingCharges; + return $this; + } + + /** + * The total of all variable handling charges at both shipment (order) and package level. + * + * @param VariableHandlingCharges $totalVariableHandlingCharges + * @return $this + */ + public function setTotalVariableHandlingCharges(VariableHandlingCharges $totalVariableHandlingCharges) + { + $this->values['TotalVariableHandlingCharges'] = $totalVariableHandlingCharges; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentManifestDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentManifestDetail.php new file mode 100644 index 00000000..02001c60 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentManifestDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\CustomerReferenceType|string $ManifestReferenceType + + */ +class ShipmentManifestDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentManifestDetail'; + + /** + * This identifies which customer reference field contains the manifest ID. + * + * @param \FedEx\UploadDocumentService\SimpleType\CustomerReferenceType|string $manifestReferenceType + * @return $this + */ + public function setManifestReferenceType($manifestReferenceType) + { + $this->values['ManifestReferenceType'] = $manifestReferenceType; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentNotificationFormatSpecification.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentNotificationFormatSpecification.php new file mode 100644 index 00000000..2ba0403d --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentNotificationFormatSpecification.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\NotificationFormatType|string $Type + + */ +class ShipmentNotificationFormatSpecification extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentNotificationFormatSpecification'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\NotificationFormatType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentOperationalDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentOperationalDetail.php new file mode 100644 index 00000000..800c29bc --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentOperationalDetail.php @@ -0,0 +1,387 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $UrsaPrefixCode + * @property string $UrsaSuffixCode + * @property string $OriginLocationId + * @property int $OriginLocationNumber + * @property string $OriginServiceArea + * @property string $DestinationLocationId + * @property int $DestinationLocationNumber + * @property string $DestinationServiceArea + * @property string $DestinationLocationStateOrProvinceCode + * @property string $DeliveryDate + * @property \FedEx\UploadDocumentService\SimpleType\DayOfWeekType|string $DeliveryDay + * @property string $PublishedDeliveryTime + * @property string $CommitDate + * @property \FedEx\UploadDocumentService\SimpleType\DayOfWeekType|string $CommitDay + * @property \FedEx\UploadDocumentService\SimpleType\TransitTimeType|string $TransitTime + * @property \FedEx\UploadDocumentService\SimpleType\TransitTimeType|string $MaximumTransitTime + * @property \FedEx\UploadDocumentService\SimpleType\TransitTimeType|string $CustomTransitTime + * @property boolean $IneligibleForMoneyBackGuarantee + * @property \FedEx\UploadDocumentService\SimpleType\GroundDeliveryEligibilityType|string[] $DeliveryEligibilities + * @property string $AstraPlannedServiceLevel + * @property string $AstraDescription + * @property string $PostalCode + * @property string $StateOrProvinceCode + * @property string $CountryCode + * @property string $AirportId + * @property string $ServiceCode + * @property string $PackagingCode + * @property string $Scac + + */ +class ShipmentOperationalDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentOperationalDetail'; + + /** + * Set UrsaPrefixCode + * + * @param string $ursaPrefixCode + * @return $this + */ + public function setUrsaPrefixCode($ursaPrefixCode) + { + $this->values['UrsaPrefixCode'] = $ursaPrefixCode; + return $this; + } + + /** + * Set UrsaSuffixCode + * + * @param string $ursaSuffixCode + * @return $this + */ + public function setUrsaSuffixCode($ursaSuffixCode) + { + $this->values['UrsaSuffixCode'] = $ursaSuffixCode; + return $this; + } + + /** + * Set OriginLocationId + * + * @param string $originLocationId + * @return $this + */ + public function setOriginLocationId($originLocationId) + { + $this->values['OriginLocationId'] = $originLocationId; + return $this; + } + + /** + * Set OriginLocationNumber + * + * @param int $originLocationNumber + * @return $this + */ + public function setOriginLocationNumber($originLocationNumber) + { + $this->values['OriginLocationNumber'] = $originLocationNumber; + return $this; + } + + /** + * Set OriginServiceArea + * + * @param string $originServiceArea + * @return $this + */ + public function setOriginServiceArea($originServiceArea) + { + $this->values['OriginServiceArea'] = $originServiceArea; + return $this; + } + + /** + * Set DestinationLocationId + * + * @param string $destinationLocationId + * @return $this + */ + public function setDestinationLocationId($destinationLocationId) + { + $this->values['DestinationLocationId'] = $destinationLocationId; + return $this; + } + + /** + * Set DestinationLocationNumber + * + * @param int $destinationLocationNumber + * @return $this + */ + public function setDestinationLocationNumber($destinationLocationNumber) + { + $this->values['DestinationLocationNumber'] = $destinationLocationNumber; + return $this; + } + + /** + * Set DestinationServiceArea + * + * @param string $destinationServiceArea + * @return $this + */ + public function setDestinationServiceArea($destinationServiceArea) + { + $this->values['DestinationServiceArea'] = $destinationServiceArea; + return $this; + } + + /** + * This is the state of the destination location ID, and is not necessarily the same as the postal state. + * + * @param string $destinationLocationStateOrProvinceCode + * @return $this + */ + public function setDestinationLocationStateOrProvinceCode($destinationLocationStateOrProvinceCode) + { + $this->values['DestinationLocationStateOrProvinceCode'] = $destinationLocationStateOrProvinceCode; + return $this; + } + + /** + * Expected/estimated date of delivery. + * + * @param string $deliveryDate + * @return $this + */ + public function setDeliveryDate($deliveryDate) + { + $this->values['DeliveryDate'] = $deliveryDate; + return $this; + } + + /** + * Expected/estimated day of week of delivery. + * + * @param \FedEx\UploadDocumentService\SimpleType\DayOfWeekType|string $deliveryDay + * @return $this + */ + public function setDeliveryDay($deliveryDay) + { + $this->values['DeliveryDay'] = $deliveryDay; + return $this; + } + + /** + * Delivery time, as published in Service Guide. + * + * @param string $publishedDeliveryTime + * @return $this + */ + public function setPublishedDeliveryTime($publishedDeliveryTime) + { + $this->values['PublishedDeliveryTime'] = $publishedDeliveryTime; + return $this; + } + + /** + * Committed date of delivery. + * + * @param string $commitDate + * @return $this + */ + public function setCommitDate($commitDate) + { + $this->values['CommitDate'] = $commitDate; + return $this; + } + + /** + * Committed day of week of delivery. + * + * @param \FedEx\UploadDocumentService\SimpleType\DayOfWeekType|string $commitDay + * @return $this + */ + public function setCommitDay($commitDay) + { + $this->values['CommitDay'] = $commitDay; + return $this; + } + + /** + * Standard transit time per origin, destination, and service. + * + * @param \FedEx\UploadDocumentService\SimpleType\TransitTimeType|string $transitTime + * @return $this + */ + public function setTransitTime($transitTime) + { + $this->values['TransitTime'] = $transitTime; + return $this; + } + + /** + * Maximum expected transit time + * + * @param \FedEx\UploadDocumentService\SimpleType\TransitTimeType|string $maximumTransitTime + * @return $this + */ + public function setMaximumTransitTime($maximumTransitTime) + { + $this->values['MaximumTransitTime'] = $maximumTransitTime; + return $this; + } + + /** + * Transit time based on customer eligibility. + * + * @param \FedEx\UploadDocumentService\SimpleType\TransitTimeType|string $customTransitTime + * @return $this + */ + public function setCustomTransitTime($customTransitTime) + { + $this->values['CustomTransitTime'] = $customTransitTime; + return $this; + } + + /** + * Indicates that this shipment is not eligible for money back guarantee. + * + * @param boolean $ineligibleForMoneyBackGuarantee + * @return $this + */ + public function setIneligibleForMoneyBackGuarantee($ineligibleForMoneyBackGuarantee) + { + $this->values['IneligibleForMoneyBackGuarantee'] = $ineligibleForMoneyBackGuarantee; + return $this; + } + + /** + * FedEx Ground delivery features for which this shipment may be eligible. + * + * @param \FedEx\UploadDocumentService\SimpleType\GroundDeliveryEligibilityType[]|string[] $deliveryEligibilities + * @return $this + */ + public function setDeliveryEligibilities(array $deliveryEligibilities) + { + $this->values['DeliveryEligibilities'] = $deliveryEligibilities; + return $this; + } + + /** + * Text describing planned delivery. + * + * @param string $astraPlannedServiceLevel + * @return $this + */ + public function setAstraPlannedServiceLevel($astraPlannedServiceLevel) + { + $this->values['AstraPlannedServiceLevel'] = $astraPlannedServiceLevel; + return $this; + } + + /** + * Set AstraDescription + * + * @param string $astraDescription + * @return $this + */ + public function setAstraDescription($astraDescription) + { + $this->values['AstraDescription'] = $astraDescription; + return $this; + } + + /** + * Set PostalCode + * + * @param string $postalCode + * @return $this + */ + public function setPostalCode($postalCode) + { + $this->values['PostalCode'] = $postalCode; + return $this; + } + + /** + * Set StateOrProvinceCode + * + * @param string $stateOrProvinceCode + * @return $this + */ + public function setStateOrProvinceCode($stateOrProvinceCode) + { + $this->values['StateOrProvinceCode'] = $stateOrProvinceCode; + return $this; + } + + /** + * Set CountryCode + * + * @param string $countryCode + * @return $this + */ + public function setCountryCode($countryCode) + { + $this->values['CountryCode'] = $countryCode; + return $this; + } + + /** + * Set AirportId + * + * @param string $airportId + * @return $this + */ + public function setAirportId($airportId) + { + $this->values['AirportId'] = $airportId; + return $this; + } + + /** + * Set ServiceCode + * + * @param string $serviceCode + * @return $this + */ + public function setServiceCode($serviceCode) + { + $this->values['ServiceCode'] = $serviceCode; + return $this; + } + + /** + * Set PackagingCode + * + * @param string $packagingCode + * @return $this + */ + public function setPackagingCode($packagingCode) + { + $this->values['PackagingCode'] = $packagingCode; + return $this; + } + + /** + * Set Scac + * + * @param string $scac + * @return $this + */ + public function setScac($scac) + { + $this->values['Scac'] = $scac; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentProcessingOptionsRequested.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentProcessingOptionsRequested.php new file mode 100644 index 00000000..18f23852 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentProcessingOptionsRequested.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ShipmentProcessingOptionType|string[] $Options + * @property CustomTransitTimeDetail $CustomTransitTimeDetail + + */ +class ShipmentProcessingOptionsRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentProcessingOptionsRequested'; + + /** + * Identifies options to be applied. + * + * @param \FedEx\UploadDocumentService\SimpleType\ShipmentProcessingOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } + + /** + * Specifies custom transit time to be applied to the shipment. + * + * @param CustomTransitTimeDetail $customTransitTimeDetail + * @return $this + */ + public function setCustomTransitTimeDetail(CustomTransitTimeDetail $customTransitTimeDetail) + { + $this->values['CustomTransitTimeDetail'] = $customTransitTimeDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentRateDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentRateDetail.php new file mode 100644 index 00000000..fd481a25 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentRateDetail.php @@ -0,0 +1,491 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ReturnedRateType|string $RateType + * @property string $RateScale + * @property string $RateZone + * @property \FedEx\UploadDocumentService\SimpleType\PricingCodeType|string $PricingCode + * @property \FedEx\UploadDocumentService\SimpleType\RatedWeightMethod|string $RatedWeightMethod + * @property \FedEx\UploadDocumentService\SimpleType\MinimumChargeType|string $MinimumChargeType + * @property string $QuoteCreatorId + * @property CurrencyExchangeRate $CurrencyExchangeRate + * @property \FedEx\UploadDocumentService\SimpleType\SpecialRatingAppliedType|string[] $SpecialRatingApplied + * @property int $DimDivisor + * @property \FedEx\UploadDocumentService\SimpleType\RateDimensionalDivisorType|string $DimDivisorType + * @property float $FuelSurchargePercent + * @property Weight $TotalBillingWeight + * @property Weight $TotalDimWeight + * @property Money $TotalBaseCharge + * @property Money $TotalFreightDiscounts + * @property Money $TotalNetFreight + * @property Money $TotalSurcharges + * @property Money $TotalNetFedExCharge + * @property Money $TotalTaxes + * @property Money $TotalNetCharge + * @property Money $TotalRebates + * @property Money $TotalDutiesAndTaxes + * @property Money $TotalAncillaryFeesAndTaxes + * @property Money $TotalDutiesTaxesAndFees + * @property Money $TotalNetChargeWithDutiesAndTaxes + * @property ShipmentLegRateDetail[] $ShipmentLegRateDetails + * @property FreightRateDetail $FreightRateDetail + * @property RateDiscount[] $FreightDiscounts + * @property Rebate[] $Rebates + * @property Surcharge[] $Surcharges + * @property Tax[] $Taxes + * @property EdtCommodityTax[] $DutiesAndTaxes + * @property AncillaryFeeAndTax[] $AncillaryFeesAndTaxes + * @property VariableHandlingCharges $VariableHandlingCharges + * @property VariableHandlingCharges $TotalVariableHandlingCharges + + */ +class ShipmentRateDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentRateDetail'; + + /** + * Type used for this specific set of rate data. + * + * @param \FedEx\UploadDocumentService\SimpleType\ReturnedRateType|string $rateType + * @return $this + */ + public function setRateType($rateType) + { + $this->values['RateType'] = $rateType; + return $this; + } + + /** + * Indicates the rate scale used. + * + * @param string $rateScale + * @return $this + */ + public function setRateScale($rateScale) + { + $this->values['RateScale'] = $rateScale; + return $this; + } + + /** + * Indicates the rate zone used (based on origin and destination). + * + * @param string $rateZone + * @return $this + */ + public function setRateZone($rateZone) + { + $this->values['RateZone'] = $rateZone; + return $this; + } + + /** + * Set PricingCode + * + * @param \FedEx\UploadDocumentService\SimpleType\PricingCodeType|string $pricingCode + * @return $this + */ + public function setPricingCode($pricingCode) + { + $this->values['PricingCode'] = $pricingCode; + return $this; + } + + /** + * Indicates which weight was used. + * + * @param \FedEx\UploadDocumentService\SimpleType\RatedWeightMethod|string $ratedWeightMethod + * @return $this + */ + public function setRatedWeightMethod($ratedWeightMethod) + { + $this->values['RatedWeightMethod'] = $ratedWeightMethod; + return $this; + } + + /** + * INTERNAL FEDEX USE ONLY. + * + * @param \FedEx\UploadDocumentService\SimpleType\MinimumChargeType|string $minimumChargeType + * @return $this + */ + public function setMinimumChargeType($minimumChargeType) + { + $this->values['MinimumChargeType'] = $minimumChargeType; + return $this; + } + + /** + * FEDEX INTERNAL USE ONLY - the user ID provided when this rate was created + * + * @param string $quoteCreatorId + * @return $this + */ + public function setQuoteCreatorId($quoteCreatorId) + { + $this->values['QuoteCreatorId'] = $quoteCreatorId; + return $this; + } + + /** + * Specifies the currency exchange performed on financial amounts for this rate. + * + * @param CurrencyExchangeRate $currencyExchangeRate + * @return $this + */ + public function setCurrencyExchangeRate(CurrencyExchangeRate $currencyExchangeRate) + { + $this->values['CurrencyExchangeRate'] = $currencyExchangeRate; + return $this; + } + + /** + * Indicates which special rating cases applied to this shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\SpecialRatingAppliedType[]|string[] $specialRatingApplied + * @return $this + */ + public function setSpecialRatingApplied(array $specialRatingApplied) + { + $this->values['SpecialRatingApplied'] = $specialRatingApplied; + return $this; + } + + /** + * Set DimDivisor + * + * @param int $dimDivisor + * @return $this + */ + public function setDimDivisor($dimDivisor) + { + $this->values['DimDivisor'] = $dimDivisor; + return $this; + } + + /** + * Identifies the type of dim divisor that was applied. + * + * @param \FedEx\UploadDocumentService\SimpleType\RateDimensionalDivisorType|string $dimDivisorType + * @return $this + */ + public function setDimDivisorType($dimDivisorType) + { + $this->values['DimDivisorType'] = $dimDivisorType; + return $this; + } + + /** + * Set FuelSurchargePercent + * + * @param float $fuelSurchargePercent + * @return $this + */ + public function setFuelSurchargePercent($fuelSurchargePercent) + { + $this->values['FuelSurchargePercent'] = $fuelSurchargePercent; + return $this; + } + + /** + * Set TotalBillingWeight + * + * @param Weight $totalBillingWeight + * @return $this + */ + public function setTotalBillingWeight(Weight $totalBillingWeight) + { + $this->values['TotalBillingWeight'] = $totalBillingWeight; + return $this; + } + + /** + * Sum of dimensional weights for all packages. + * + * @param Weight $totalDimWeight + * @return $this + */ + public function setTotalDimWeight(Weight $totalDimWeight) + { + $this->values['TotalDimWeight'] = $totalDimWeight; + return $this; + } + + /** + * Set TotalBaseCharge + * + * @param Money $totalBaseCharge + * @return $this + */ + public function setTotalBaseCharge(Money $totalBaseCharge) + { + $this->values['TotalBaseCharge'] = $totalBaseCharge; + return $this; + } + + /** + * Set TotalFreightDiscounts + * + * @param Money $totalFreightDiscounts + * @return $this + */ + public function setTotalFreightDiscounts(Money $totalFreightDiscounts) + { + $this->values['TotalFreightDiscounts'] = $totalFreightDiscounts; + return $this; + } + + /** + * Set TotalNetFreight + * + * @param Money $totalNetFreight + * @return $this + */ + public function setTotalNetFreight(Money $totalNetFreight) + { + $this->values['TotalNetFreight'] = $totalNetFreight; + return $this; + } + + /** + * Set TotalSurcharges + * + * @param Money $totalSurcharges + * @return $this + */ + public function setTotalSurcharges(Money $totalSurcharges) + { + $this->values['TotalSurcharges'] = $totalSurcharges; + return $this; + } + + /** + * This shipment's totalNetFreight + totalSurcharges (not including totalTaxes). + * + * @param Money $totalNetFedExCharge + * @return $this + */ + public function setTotalNetFedExCharge(Money $totalNetFedExCharge) + { + $this->values['TotalNetFedExCharge'] = $totalNetFedExCharge; + return $this; + } + + /** + * Total of the transportation-based taxes. + * + * @param Money $totalTaxes + * @return $this + */ + public function setTotalTaxes(Money $totalTaxes) + { + $this->values['TotalTaxes'] = $totalTaxes; + return $this; + } + + /** + * Set TotalNetCharge + * + * @param Money $totalNetCharge + * @return $this + */ + public function setTotalNetCharge(Money $totalNetCharge) + { + $this->values['TotalNetCharge'] = $totalNetCharge; + return $this; + } + + /** + * Set TotalRebates + * + * @param Money $totalRebates + * @return $this + */ + public function setTotalRebates(Money $totalRebates) + { + $this->values['TotalRebates'] = $totalRebates; + return $this; + } + + /** + * Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment. + * + * @param Money $totalDutiesAndTaxes + * @return $this + */ + public function setTotalDutiesAndTaxes(Money $totalDutiesAndTaxes) + { + $this->values['TotalDutiesAndTaxes'] = $totalDutiesAndTaxes; + return $this; + } + + /** + * Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. + * + * @param Money $totalAncillaryFeesAndTaxes + * @return $this + */ + public function setTotalAncillaryFeesAndTaxes(Money $totalAncillaryFeesAndTaxes) + { + $this->values['TotalAncillaryFeesAndTaxes'] = $totalAncillaryFeesAndTaxes; + return $this; + } + + /** + * The total of the totalDutiesAndTaxes plus the totalAncillaryFeesAndTaxes. + * + * @param Money $totalDutiesTaxesAndFees + * @return $this + */ + public function setTotalDutiesTaxesAndFees(Money $totalDutiesTaxesAndFees) + { + $this->values['TotalDutiesTaxesAndFees'] = $totalDutiesTaxesAndFees; + return $this; + } + + /** + * This shipment's totalNetCharge + totalDutiesTaxesAndFees; some duties and taxes are only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account. + * + * @param Money $totalNetChargeWithDutiesAndTaxes + * @return $this + */ + public function setTotalNetChargeWithDutiesAndTaxes(Money $totalNetChargeWithDutiesAndTaxes) + { + $this->values['TotalNetChargeWithDutiesAndTaxes'] = $totalNetChargeWithDutiesAndTaxes; + return $this; + } + + /** + * Identifies the Rate Details per each leg in a Freight Shipment + * + * @param ShipmentLegRateDetail[] $shipmentLegRateDetails + * @return $this + */ + public function setShipmentLegRateDetails(array $shipmentLegRateDetails) + { + $this->values['ShipmentLegRateDetails'] = $shipmentLegRateDetails; + return $this; + } + + /** + * Rate data specific to FedEx Freight and FedEx National Freight services. + * + * @param FreightRateDetail $freightRateDetail + * @return $this + */ + public function setFreightRateDetail(FreightRateDetail $freightRateDetail) + { + $this->values['FreightRateDetail'] = $freightRateDetail; + return $this; + } + + /** + * All rate discounts that apply to this shipment. + * + * @param RateDiscount[] $freightDiscounts + * @return $this + */ + public function setFreightDiscounts(array $freightDiscounts) + { + $this->values['FreightDiscounts'] = $freightDiscounts; + return $this; + } + + /** + * All rebates that apply to this shipment. + * + * @param Rebate[] $rebates + * @return $this + */ + public function setRebates(array $rebates) + { + $this->values['Rebates'] = $rebates; + return $this; + } + + /** + * All surcharges that apply to this shipment. + * + * @param Surcharge[] $surcharges + * @return $this + */ + public function setSurcharges(array $surcharges) + { + $this->values['Surcharges'] = $surcharges; + return $this; + } + + /** + * All transportation-based taxes applicable to this shipment. + * + * @param Tax[] $taxes + * @return $this + */ + public function setTaxes(array $taxes) + { + $this->values['Taxes'] = $taxes; + return $this; + } + + /** + * All commodity-based duties and taxes applicable to this shipment. + * + * @param EdtCommodityTax[] $dutiesAndTaxes + * @return $this + */ + public function setDutiesAndTaxes(array $dutiesAndTaxes) + { + $this->values['DutiesAndTaxes'] = $dutiesAndTaxes; + return $this; + } + + /** + * Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. + * + * @param AncillaryFeeAndTax[] $ancillaryFeesAndTaxes + * @return $this + */ + public function setAncillaryFeesAndTaxes(array $ancillaryFeesAndTaxes) + { + $this->values['AncillaryFeesAndTaxes'] = $ancillaryFeesAndTaxes; + return $this; + } + + /** + * The "order level" variable handling charges. + * + * @param VariableHandlingCharges $variableHandlingCharges + * @return $this + */ + public function setVariableHandlingCharges(VariableHandlingCharges $variableHandlingCharges) + { + $this->values['VariableHandlingCharges'] = $variableHandlingCharges; + return $this; + } + + /** + * The total of all variable handling charges at both shipment (order) and package level. + * + * @param VariableHandlingCharges $totalVariableHandlingCharges + * @return $this + */ + public function setTotalVariableHandlingCharges(VariableHandlingCharges $totalVariableHandlingCharges) + { + $this->values['TotalVariableHandlingCharges'] = $totalVariableHandlingCharges; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentRating.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentRating.php new file mode 100644 index 00000000..ed48b19a --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentRating.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ReturnedRateType|string $ActualRateType + * @property Money $EffectiveNetDiscount + * @property ShipmentRateDetail[] $ShipmentRateDetails + + */ +class ShipmentRating extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentRating'; + + /** + * This rate type identifies which entry in the following array is considered as presenting the "actual" rates for the shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\ReturnedRateType|string $actualRateType + * @return $this + */ + public function setActualRateType($actualRateType) + { + $this->values['ActualRateType'] = $actualRateType; + return $this; + } + + /** + * The "list" total net charge minus "actual" total net charge. + * + * @param Money $effectiveNetDiscount + * @return $this + */ + public function setEffectiveNetDiscount(Money $effectiveNetDiscount) + { + $this->values['EffectiveNetDiscount'] = $effectiveNetDiscount; + return $this; + } + + /** + * Each element of this field provides shipment-level rate totals for a specific rate type. + * + * @param ShipmentRateDetail[] $shipmentRateDetails + * @return $this + */ + public function setShipmentRateDetails(array $shipmentRateDetails) + { + $this->values['ShipmentRateDetails'] = $shipmentRateDetails; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentSpecialServicesRequested.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentSpecialServicesRequested.php new file mode 100644 index 00000000..b9b7b297 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentSpecialServicesRequested.php @@ -0,0 +1,361 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string[] $SpecialServiceTypes + * @property CodDetail $CodDetail + * @property DeliveryOnInvoiceAcceptanceDetail $DeliveryOnInvoiceAcceptanceDetail + * @property HoldAtLocationDetail $HoldAtLocationDetail + * @property ShipmentEventNotificationDetail $EventNotificationDetail + * @property ReturnShipmentDetail $ReturnShipmentDetail + * @property PendingShipmentDetail $PendingShipmentDetail + * @property InternationalControlledExportDetail $InternationalControlledExportDetail + * @property InternationalTrafficInArmsRegulationsDetail $InternationalTrafficInArmsRegulationsDetail + * @property ShipmentDryIceDetail $ShipmentDryIceDetail + * @property HomeDeliveryPremiumDetail $HomeDeliveryPremiumDetail + * @property FlatbedTrailerDetail $FlatbedTrailerDetail + * @property FreightGuaranteeDetail $FreightGuaranteeDetail + * @property EtdDetail $EtdDetail + * @property ExtraLaborDetail $ExtraLaborDetail + * @property PalletShrinkwrapDetail $PalletShrinkwrapDetail + * @property PalletsProvidedDetail $PalletsProvidedDetail + * @property DetentionDetail $DetentionDetail + * @property MarkingOrTaggingDetail $MarkingOrTaggingDetail + * @property NonBusinessTimeDetail $NonBusinessTimeDetail + * @property ShipmentAssemblyDetail $ShipmentAssemblyDetail + * @property SortAndSegregateDetail $SortAndSegregateDetail + * @property SpecialEquipmentDetail $SpecialEquipmentDetail + * @property StorageDetail $StorageDetail + * @property WeighingDetail $WeighingDetail + * @property CustomDeliveryWindowDetail $CustomDeliveryWindowDetail + + */ +class ShipmentSpecialServicesRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentSpecialServicesRequested'; + + /** + * Indicates the shipment special service types that are requested on this shipment. For a list of the valid shipment special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. + * + * @param string $specialServiceTypes + * @return $this + */ + public function setSpecialServiceTypes($specialServiceTypes) + { + $this->values['SpecialServiceTypes'] = $specialServiceTypes; + return $this; + } + + /** + * Set CodDetail + * + * @param CodDetail $codDetail + * @return $this + */ + public function setCodDetail(CodDetail $codDetail) + { + $this->values['CodDetail'] = $codDetail; + return $this; + } + + /** + * Set DeliveryOnInvoiceAcceptanceDetail + * + * @param DeliveryOnInvoiceAcceptanceDetail $deliveryOnInvoiceAcceptanceDetail + * @return $this + */ + public function setDeliveryOnInvoiceAcceptanceDetail(DeliveryOnInvoiceAcceptanceDetail $deliveryOnInvoiceAcceptanceDetail) + { + $this->values['DeliveryOnInvoiceAcceptanceDetail'] = $deliveryOnInvoiceAcceptanceDetail; + return $this; + } + + /** + * Set HoldAtLocationDetail + * + * @param HoldAtLocationDetail $holdAtLocationDetail + * @return $this + */ + public function setHoldAtLocationDetail(HoldAtLocationDetail $holdAtLocationDetail) + { + $this->values['HoldAtLocationDetail'] = $holdAtLocationDetail; + return $this; + } + + /** + * This replaces eMailNotificationDetail + * + * @param ShipmentEventNotificationDetail $eventNotificationDetail + * @return $this + */ + public function setEventNotificationDetail(ShipmentEventNotificationDetail $eventNotificationDetail) + { + $this->values['EventNotificationDetail'] = $eventNotificationDetail; + return $this; + } + + /** + * Set ReturnShipmentDetail + * + * @param ReturnShipmentDetail $returnShipmentDetail + * @return $this + */ + public function setReturnShipmentDetail(ReturnShipmentDetail $returnShipmentDetail) + { + $this->values['ReturnShipmentDetail'] = $returnShipmentDetail; + return $this; + } + + /** + * This field should be populated for pending shipments (e.g. e-mail label) It is required by a PENDING_SHIPMENT special service type. + * + * @param PendingShipmentDetail $pendingShipmentDetail + * @return $this + */ + public function setPendingShipmentDetail(PendingShipmentDetail $pendingShipmentDetail) + { + $this->values['PendingShipmentDetail'] = $pendingShipmentDetail; + return $this; + } + + /** + * Set InternationalControlledExportDetail + * + * @param InternationalControlledExportDetail $internationalControlledExportDetail + * @return $this + */ + public function setInternationalControlledExportDetail(InternationalControlledExportDetail $internationalControlledExportDetail) + { + $this->values['InternationalControlledExportDetail'] = $internationalControlledExportDetail; + return $this; + } + + /** + * Set InternationalTrafficInArmsRegulationsDetail + * + * @param InternationalTrafficInArmsRegulationsDetail $internationalTrafficInArmsRegulationsDetail + * @return $this + */ + public function setInternationalTrafficInArmsRegulationsDetail(InternationalTrafficInArmsRegulationsDetail $internationalTrafficInArmsRegulationsDetail) + { + $this->values['InternationalTrafficInArmsRegulationsDetail'] = $internationalTrafficInArmsRegulationsDetail; + return $this; + } + + /** + * Set ShipmentDryIceDetail + * + * @param ShipmentDryIceDetail $shipmentDryIceDetail + * @return $this + */ + public function setShipmentDryIceDetail(ShipmentDryIceDetail $shipmentDryIceDetail) + { + $this->values['ShipmentDryIceDetail'] = $shipmentDryIceDetail; + return $this; + } + + /** + * Set HomeDeliveryPremiumDetail + * + * @param HomeDeliveryPremiumDetail $homeDeliveryPremiumDetail + * @return $this + */ + public function setHomeDeliveryPremiumDetail(HomeDeliveryPremiumDetail $homeDeliveryPremiumDetail) + { + $this->values['HomeDeliveryPremiumDetail'] = $homeDeliveryPremiumDetail; + return $this; + } + + /** + * Set FlatbedTrailerDetail + * + * @param FlatbedTrailerDetail $flatbedTrailerDetail + * @return $this + */ + public function setFlatbedTrailerDetail(FlatbedTrailerDetail $flatbedTrailerDetail) + { + $this->values['FlatbedTrailerDetail'] = $flatbedTrailerDetail; + return $this; + } + + /** + * Set FreightGuaranteeDetail + * + * @param FreightGuaranteeDetail $freightGuaranteeDetail + * @return $this + */ + public function setFreightGuaranteeDetail(FreightGuaranteeDetail $freightGuaranteeDetail) + { + $this->values['FreightGuaranteeDetail'] = $freightGuaranteeDetail; + return $this; + } + + /** + * Electronic Trade document references. + * + * @param EtdDetail $etdDetail + * @return $this + */ + public function setEtdDetail(EtdDetail $etdDetail) + { + $this->values['EtdDetail'] = $etdDetail; + return $this; + } + + /** + * Specification for labor to be performed with the shipment. + * + * @param ExtraLaborDetail $extraLaborDetail + * @return $this + */ + public function setExtraLaborDetail(ExtraLaborDetail $extraLaborDetail) + { + $this->values['ExtraLaborDetail'] = $extraLaborDetail; + return $this; + } + + /** + * Specifications for pallets to be shrinkwrapped as part of a Freight shipment. + * + * @param PalletShrinkwrapDetail $palletShrinkwrapDetail + * @return $this + */ + public function setPalletShrinkwrapDetail(PalletShrinkwrapDetail $palletShrinkwrapDetail) + { + $this->values['PalletShrinkwrapDetail'] = $palletShrinkwrapDetail; + return $this; + } + + /** + * Specifications for pallets to be provided on Freight shipment. + * + * @param PalletsProvidedDetail $palletsProvidedDetail + * @return $this + */ + public function setPalletsProvidedDetail(PalletsProvidedDetail $palletsProvidedDetail) + { + $this->values['PalletsProvidedDetail'] = $palletsProvidedDetail; + return $this; + } + + /** + * Specifications for pup/set or vehicle delayed for loading or unloading. + * + * @param DetentionDetail $detentionDetail + * @return $this + */ + public function setDetentionDetail(DetentionDetail $detentionDetail) + { + $this->values['DetentionDetail'] = $detentionDetail; + return $this; + } + + /** + * Specification for marking or tagging of pieces in shipment. + * + * @param MarkingOrTaggingDetail $markingOrTaggingDetail + * @return $this + */ + public function setMarkingOrTaggingDetail(MarkingOrTaggingDetail $markingOrTaggingDetail) + { + $this->values['MarkingOrTaggingDetail'] = $markingOrTaggingDetail; + return $this; + } + + /** + * Specification for services performed during non-business hours and/or days. + * + * @param NonBusinessTimeDetail $nonBusinessTimeDetail + * @return $this + */ + public function setNonBusinessTimeDetail(NonBusinessTimeDetail $nonBusinessTimeDetail) + { + $this->values['NonBusinessTimeDetail'] = $nonBusinessTimeDetail; + return $this; + } + + /** + * Specification for assembly performed on shipment. + * + * @param ShipmentAssemblyDetail $shipmentAssemblyDetail + * @return $this + */ + public function setShipmentAssemblyDetail(ShipmentAssemblyDetail $shipmentAssemblyDetail) + { + $this->values['ShipmentAssemblyDetail'] = $shipmentAssemblyDetail; + return $this; + } + + /** + * Specification for sorting and/or segregating performed on shipment. + * + * @param SortAndSegregateDetail $sortAndSegregateDetail + * @return $this + */ + public function setSortAndSegregateDetail(SortAndSegregateDetail $sortAndSegregateDetail) + { + $this->values['SortAndSegregateDetail'] = $sortAndSegregateDetail; + return $this; + } + + /** + * Specification for special equipment used in loading/unloading shipment. + * + * @param SpecialEquipmentDetail $specialEquipmentDetail + * @return $this + */ + public function setSpecialEquipmentDetail(SpecialEquipmentDetail $specialEquipmentDetail) + { + $this->values['SpecialEquipmentDetail'] = $specialEquipmentDetail; + return $this; + } + + /** + * Specification for storage provided for shipment. + * + * @param StorageDetail $storageDetail + * @return $this + */ + public function setStorageDetail(StorageDetail $storageDetail) + { + $this->values['StorageDetail'] = $storageDetail; + return $this; + } + + /** + * Specification for weighing services provided for shipment. + * + * @param WeighingDetail $weighingDetail + * @return $this + */ + public function setWeighingDetail(WeighingDetail $weighingDetail) + { + $this->values['WeighingDetail'] = $weighingDetail; + return $this; + } + + /** + * Specification for date or range of dates on which delivery is to be attempted. + * + * @param CustomDeliveryWindowDetail $customDeliveryWindowDetail + * @return $this + */ + public function setCustomDeliveryWindowDetail(CustomDeliveryWindowDetail $customDeliveryWindowDetail) + { + $this->values['CustomDeliveryWindowDetail'] = $customDeliveryWindowDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentTransborderDistributionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentTransborderDistributionDetail.php new file mode 100644 index 00000000..55852e1c --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentTransborderDistributionDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property TransborderDistributionSpecialServicesRequested $SpecialServicesRequested + * @property TransborderDistributionSummaryDetail $SummaryDetail + + */ +class ShipmentTransborderDistributionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentTransborderDistributionDetail'; + + /** + * Specifies special services to be performed on this shipment as part of a transborder distribution. + * + * @param TransborderDistributionSpecialServicesRequested $specialServicesRequested + * @return $this + */ + public function setSpecialServicesRequested(TransborderDistributionSpecialServicesRequested $specialServicesRequested) + { + $this->values['SpecialServicesRequested'] = $specialServicesRequested; + return $this; + } + + /** + * Provides summary totals across all CRNs in a distribution. + * + * @param TransborderDistributionSummaryDetail $summaryDetail + * @return $this + */ + public function setSummaryDetail(TransborderDistributionSummaryDetail $summaryDetail) + { + $this->values['SummaryDetail'] = $summaryDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipmentVariationOptionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipmentVariationOptionDetail.php new file mode 100644 index 00000000..ca0c864c --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipmentVariationOptionDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Id + * @property string[] $Values + + */ +class ShipmentVariationOptionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentVariationOptionDetail'; + + /** + * Specifies the name or the key for the shipment variation. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * The values that are valid for the specified shipment variation in the context of the current shipment. + * + * @param string $values + * @return $this + */ + public function setValues($values) + { + $this->values['Values'] = $values; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShipperConveyanceDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShipperConveyanceDetail.php new file mode 100644 index 00000000..65714fc1 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShipperConveyanceDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Id + + */ +class ShipperConveyanceDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipperConveyanceDetail'; + + /** + * This indicates the identifier of a conveyance, such as a trailer ID. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShippingDocument.php b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocument.php new file mode 100644 index 00000000..6716a287 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocument.php @@ -0,0 +1,140 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ReturnedShippingDocumentType|string $Type + * @property Localization[] $Localizations + * @property \FedEx\UploadDocumentService\SimpleType\ShippingDocumentGroupingType|string $Grouping + * @property \FedEx\UploadDocumentService\SimpleType\ShippingDocumentDispositionType|string $ShippingDocumentDisposition + * @property string $AccessReference + * @property \FedEx\UploadDocumentService\SimpleType\ShippingDocumentImageType|string $ImageType + * @property int $Resolution + * @property int $CopiesToPrint + * @property ShippingDocumentPart[] $Parts + + */ +class ShippingDocument extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShippingDocument'; + + /** + * Set Type + * + * @param \FedEx\UploadDocumentService\SimpleType\ReturnedShippingDocumentType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * The localizations are populated if multiple language versions of a shipping document are returned. + * + * @param Localization[] $localizations + * @return $this + */ + public function setLocalizations(array $localizations) + { + $this->values['Localizations'] = $localizations; + return $this; + } + + /** + * Specifies how this document image/file is organized. + * + * @param \FedEx\UploadDocumentService\SimpleType\ShippingDocumentGroupingType|string $grouping + * @return $this + */ + public function setGrouping($grouping) + { + $this->values['Grouping'] = $grouping; + return $this; + } + + /** + * Set ShippingDocumentDisposition + * + * @param \FedEx\UploadDocumentService\SimpleType\ShippingDocumentDispositionType|string $shippingDocumentDisposition + * @return $this + */ + public function setShippingDocumentDisposition($shippingDocumentDisposition) + { + $this->values['ShippingDocumentDisposition'] = $shippingDocumentDisposition; + return $this; + } + + /** + * The name under which a STORED, DEFERRED or EMAILED document is written. + * + * @param string $accessReference + * @return $this + */ + public function setAccessReference($accessReference) + { + $this->values['AccessReference'] = $accessReference; + return $this; + } + + /** + * Specifies the image type of this shipping document. + * + * @param \FedEx\UploadDocumentService\SimpleType\ShippingDocumentImageType|string $imageType + * @return $this + */ + public function setImageType($imageType) + { + $this->values['ImageType'] = $imageType; + return $this; + } + + /** + * Specifies the image resolution in DPI (dots per inch). + * + * @param int $resolution + * @return $this + */ + public function setResolution($resolution) + { + $this->values['Resolution'] = $resolution; + return $this; + } + + /** + * Can be zero for documents whose disposition implies that no content is included. + * + * @param int $copiesToPrint + * @return $this + */ + public function setCopiesToPrint($copiesToPrint) + { + $this->values['CopiesToPrint'] = $copiesToPrint; + return $this; + } + + /** + * One or more document parts which make up a single logical document, such as multiple pages of a single form. + * + * @param ShippingDocumentPart[] $parts + * @return $this + */ + public function setParts(array $parts) + { + $this->values['Parts'] = $parts; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentDispositionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentDispositionDetail.php new file mode 100644 index 00000000..527f2e79 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentDispositionDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ShippingDocumentDispositionType|string $DispositionType + * @property \FedEx\UploadDocumentService\SimpleType\ShippingDocumentGroupingType|string $Grouping + * @property ShippingDocumentStorageDetail $StorageDetail + * @property ShippingDocumentEMailDetail $EMailDetail + * @property ShippingDocumentPrintDetail $PrintDetail + + */ +class ShippingDocumentDispositionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShippingDocumentDispositionDetail'; + + /** + * Values in this field specify how to create and return the document. + * + * @param \FedEx\UploadDocumentService\SimpleType\ShippingDocumentDispositionType|string $dispositionType + * @return $this + */ + public function setDispositionType($dispositionType) + { + $this->values['DispositionType'] = $dispositionType; + return $this; + } + + /** + * Specifies how to organize all documents of this type. + * + * @param \FedEx\UploadDocumentService\SimpleType\ShippingDocumentGroupingType|string $grouping + * @return $this + */ + public function setGrouping($grouping) + { + $this->values['Grouping'] = $grouping; + return $this; + } + + /** + * Specifies how to store document images. + * + * @param ShippingDocumentStorageDetail $storageDetail + * @return $this + */ + public function setStorageDetail(ShippingDocumentStorageDetail $storageDetail) + { + $this->values['StorageDetail'] = $storageDetail; + return $this; + } + + /** + * Specifies how to e-mail document images. + * + * @param ShippingDocumentEMailDetail $eMailDetail + * @return $this + */ + public function setEMailDetail(ShippingDocumentEMailDetail $eMailDetail) + { + $this->values['EMailDetail'] = $eMailDetail; + return $this; + } + + /** + * Specifies how a queued document is to be printed. + * + * @param ShippingDocumentPrintDetail $printDetail + * @return $this + */ + public function setPrintDetail(ShippingDocumentPrintDetail $printDetail) + { + $this->values['PrintDetail'] = $printDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentEMailDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentEMailDetail.php new file mode 100644 index 00000000..78b709b1 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentEMailDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentEMailRecipient[] $EMailRecipients + * @property \FedEx\UploadDocumentService\SimpleType\ShippingDocumentEMailGroupingType|string $Grouping + * @property Localization $Localization + + */ +class ShippingDocumentEMailDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShippingDocumentEMailDetail'; + + /** + * Provides the roles and email addresses for e-mail recipients. + * + * @param ShippingDocumentEMailRecipient[] $eMailRecipients + * @return $this + */ + public function setEMailRecipients(array $eMailRecipients) + { + $this->values['EMailRecipients'] = $eMailRecipients; + return $this; + } + + /** + * Identifies the convention by which documents are to be grouped as e-mail attachments. + * + * @param \FedEx\UploadDocumentService\SimpleType\ShippingDocumentEMailGroupingType|string $grouping + * @return $this + */ + public function setGrouping($grouping) + { + $this->values['Grouping'] = $grouping; + return $this; + } + + /** + * Specifies the language in which the email containing the document is requested to be composed. + * + * @param Localization $localization + * @return $this + */ + public function setLocalization(Localization $localization) + { + $this->values['Localization'] = $localization; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentEMailRecipient.php b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentEMailRecipient.php new file mode 100644 index 00000000..e81cb419 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentEMailRecipient.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\EMailNotificationRecipientType|string $RecipientType + * @property string $Address + + */ +class ShippingDocumentEMailRecipient extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShippingDocumentEMailRecipient'; + + /** + * Identifies the relationship of this recipient in the shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\EMailNotificationRecipientType|string $recipientType + * @return $this + */ + public function setRecipientType($recipientType) + { + $this->values['RecipientType'] = $recipientType; + return $this; + } + + /** + * Address to which the document is to be sent. + * + * @param string $address + * @return $this + */ + public function setAddress($address) + { + $this->values['Address'] = $address; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentFormat.php b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentFormat.php new file mode 100644 index 00000000..8dfe26ac --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentFormat.php @@ -0,0 +1,127 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentDispositionDetail[] $Dispositions + * @property LinearMeasure $TopOfPageOffset + * @property \FedEx\UploadDocumentService\SimpleType\ShippingDocumentImageType|string $ImageType + * @property \FedEx\UploadDocumentService\SimpleType\ShippingDocumentStockType|string $StockType + * @property boolean $ProvideInstructions + * @property DocumentFormatOptionsRequested $OptionsRequested + * @property Localization $Localization + * @property string $CustomDocumentIdentifier + + */ +class ShippingDocumentFormat extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShippingDocumentFormat'; + + /** + * Specifies how to create, organize, and return the document. + * + * @param ShippingDocumentDispositionDetail[] $dispositions + * @return $this + */ + public function setDispositions(array $dispositions) + { + $this->values['Dispositions'] = $dispositions; + return $this; + } + + /** + * Specifies how far down the page to move the beginning of the image; allows for printing on letterhead and other pre-printed stock. + * + * @param LinearMeasure $topOfPageOffset + * @return $this + */ + public function setTopOfPageOffset(LinearMeasure $topOfPageOffset) + { + $this->values['TopOfPageOffset'] = $topOfPageOffset; + return $this; + } + + /** + * Set ImageType + * + * @param \FedEx\UploadDocumentService\SimpleType\ShippingDocumentImageType|string $imageType + * @return $this + */ + public function setImageType($imageType) + { + $this->values['ImageType'] = $imageType; + return $this; + } + + /** + * Set StockType + * + * @param \FedEx\UploadDocumentService\SimpleType\ShippingDocumentStockType|string $stockType + * @return $this + */ + public function setStockType($stockType) + { + $this->values['StockType'] = $stockType; + return $this; + } + + /** + * For those shipping document types which have both a "form" and "instructions" component (e.g. General Agency Agreement), this field indicates whether to provide the instructions. + * + * @param boolean $provideInstructions + * @return $this + */ + public function setProvideInstructions($provideInstructions) + { + $this->values['ProvideInstructions'] = $provideInstructions; + return $this; + } + + /** + * Set OptionsRequested + * + * @param DocumentFormatOptionsRequested $optionsRequested + * @return $this + */ + public function setOptionsRequested(DocumentFormatOptionsRequested $optionsRequested) + { + $this->values['OptionsRequested'] = $optionsRequested; + return $this; + } + + /** + * Governs the language to be used for this individual document, independently from other content returned for the same shipment. + * + * @param Localization $localization + * @return $this + */ + public function setLocalization(Localization $localization) + { + $this->values['Localization'] = $localization; + return $this; + } + + /** + * Identifies the individual document specified by the client. + * + * @param string $customDocumentIdentifier + * @return $this + */ + public function setCustomDocumentIdentifier($customDocumentIdentifier) + { + $this->values['CustomDocumentIdentifier'] = $customDocumentIdentifier; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentPart.php b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentPart.php new file mode 100644 index 00000000..ce33f3b2 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentPart.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $DocumentPartSequenceNumber + * @property string $Image + + */ +class ShippingDocumentPart extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShippingDocumentPart'; + + /** + * The one-origin position of this part within a document. + * + * @param int $documentPartSequenceNumber + * @return $this + */ + public function setDocumentPartSequenceNumber($documentPartSequenceNumber) + { + $this->values['DocumentPartSequenceNumber'] = $documentPartSequenceNumber; + return $this; + } + + /** + * Graphic or printer commands for this image within a document. + * + * @param string $image + * @return $this + */ + public function setImage($image) + { + $this->values['Image'] = $image; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentPrintDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentPrintDetail.php new file mode 100644 index 00000000..0b63434b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentPrintDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $PrinterId + + */ +class ShippingDocumentPrintDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShippingDocumentPrintDetail'; + + /** + * Provides environment-specific printer identification. + * + * @param string $printerId + * @return $this + */ + public function setPrinterId($printerId) + { + $this->values['PrinterId'] = $printerId; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentSpecification.php b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentSpecification.php new file mode 100644 index 00000000..bbffd107 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentSpecification.php @@ -0,0 +1,218 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\RequestedShippingDocumentType|string[] $ShippingDocumentTypes + * @property NotificationContentSpecification $NotificationContentSpecification + * @property CertificateOfOriginDetail $CertificateOfOrigin + * @property CommercialInvoiceDetail $CommercialInvoiceDetail + * @property UsmcaCommercialInvoiceCertificationOfOriginDetail $UsmcaCommercialInvoiceCertificationOfOriginDetail + * @property CustomDocumentDetail[] $CustomPackageDocumentDetail + * @property CustomDocumentDetail[] $CustomShipmentDocumentDetail + * @property ExportDeclarationDetail $ExportDeclarationDetail + * @property GeneralAgencyAgreementDetail $GeneralAgencyAgreementDetail + * @property UsmcaCertificationOfOriginDetail $UsmcaCertificationOfOriginDetail + * @property Op900Detail $Op900Detail + * @property DangerousGoodsShippersDeclarationDetail $DangerousGoodsShippersDeclarationDetail + * @property FreightAddressLabelDetail $FreightAddressLabelDetail + * @property FreightBillOfLadingDetail $FreightBillOfLadingDetail + * @property ReturnInstructionsDetail $ReturnInstructionsDetail + + */ +class ShippingDocumentSpecification extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShippingDocumentSpecification'; + + /** + * Indicates the types of shipping documents requested by the shipper. + * + * @param \FedEx\UploadDocumentService\SimpleType\RequestedShippingDocumentType[]|string[] $shippingDocumentTypes + * @return $this + */ + public function setShippingDocumentTypes(array $shippingDocumentTypes) + { + $this->values['ShippingDocumentTypes'] = $shippingDocumentTypes; + return $this; + } + + /** + * Set NotificationContentSpecification + * + * @param NotificationContentSpecification $notificationContentSpecification + * @return $this + */ + public function setNotificationContentSpecification(NotificationContentSpecification $notificationContentSpecification) + { + $this->values['NotificationContentSpecification'] = $notificationContentSpecification; + return $this; + } + + /** + * Set CertificateOfOrigin + * + * @param CertificateOfOriginDetail $certificateOfOrigin + * @return $this + */ + public function setCertificateOfOrigin(CertificateOfOriginDetail $certificateOfOrigin) + { + $this->values['CertificateOfOrigin'] = $certificateOfOrigin; + return $this; + } + + /** + * Set CommercialInvoiceDetail + * + * @param CommercialInvoiceDetail $commercialInvoiceDetail + * @return $this + */ + public function setCommercialInvoiceDetail(CommercialInvoiceDetail $commercialInvoiceDetail) + { + $this->values['CommercialInvoiceDetail'] = $commercialInvoiceDetail; + return $this; + } + + /** + * Set UsmcaCommercialInvoiceCertificationOfOriginDetail + * + * @param UsmcaCommercialInvoiceCertificationOfOriginDetail $usmcaCommercialInvoiceCertificationOfOriginDetail + * @return $this + */ + public function setUsmcaCommercialInvoiceCertificationOfOriginDetail(UsmcaCommercialInvoiceCertificationOfOriginDetail $usmcaCommercialInvoiceCertificationOfOriginDetail) + { + $this->values['UsmcaCommercialInvoiceCertificationOfOriginDetail'] = $usmcaCommercialInvoiceCertificationOfOriginDetail; + return $this; + } + + /** + * Specifies the production of each package-level custom document (the same specification is used for all packages). + * + * @param CustomDocumentDetail[] $customPackageDocumentDetail + * @return $this + */ + public function setCustomPackageDocumentDetail(array $customPackageDocumentDetail) + { + $this->values['CustomPackageDocumentDetail'] = $customPackageDocumentDetail; + return $this; + } + + /** + * Specifies the production of a shipment-level custom document. + * + * @param CustomDocumentDetail[] $customShipmentDocumentDetail + * @return $this + */ + public function setCustomShipmentDocumentDetail(array $customShipmentDocumentDetail) + { + $this->values['CustomShipmentDocumentDetail'] = $customShipmentDocumentDetail; + return $this; + } + + /** + * Set ExportDeclarationDetail + * + * @param ExportDeclarationDetail $exportDeclarationDetail + * @return $this + */ + public function setExportDeclarationDetail(ExportDeclarationDetail $exportDeclarationDetail) + { + $this->values['ExportDeclarationDetail'] = $exportDeclarationDetail; + return $this; + } + + /** + * Set GeneralAgencyAgreementDetail + * + * @param GeneralAgencyAgreementDetail $generalAgencyAgreementDetail + * @return $this + */ + public function setGeneralAgencyAgreementDetail(GeneralAgencyAgreementDetail $generalAgencyAgreementDetail) + { + $this->values['GeneralAgencyAgreementDetail'] = $generalAgencyAgreementDetail; + return $this; + } + + /** + * Set UsmcaCertificationOfOriginDetail + * + * @param UsmcaCertificationOfOriginDetail $usmcaCertificationOfOriginDetail + * @return $this + */ + public function setUsmcaCertificationOfOriginDetail(UsmcaCertificationOfOriginDetail $usmcaCertificationOfOriginDetail) + { + $this->values['UsmcaCertificationOfOriginDetail'] = $usmcaCertificationOfOriginDetail; + return $this; + } + + /** + * Specifies the production of the OP-900 document for hazardous materials packages. + * + * @param Op900Detail $op900Detail + * @return $this + */ + public function setOp900Detail(Op900Detail $op900Detail) + { + $this->values['Op900Detail'] = $op900Detail; + return $this; + } + + /** + * Specifies the production of the 1421c document for dangerous goods shipment. + * + * @param DangerousGoodsShippersDeclarationDetail $dangerousGoodsShippersDeclarationDetail + * @return $this + */ + public function setDangerousGoodsShippersDeclarationDetail(DangerousGoodsShippersDeclarationDetail $dangerousGoodsShippersDeclarationDetail) + { + $this->values['DangerousGoodsShippersDeclarationDetail'] = $dangerousGoodsShippersDeclarationDetail; + return $this; + } + + /** + * Specifies the production of the OP-900 document for hazardous materials. + * + * @param FreightAddressLabelDetail $freightAddressLabelDetail + * @return $this + */ + public function setFreightAddressLabelDetail(FreightAddressLabelDetail $freightAddressLabelDetail) + { + $this->values['FreightAddressLabelDetail'] = $freightAddressLabelDetail; + return $this; + } + + /** + * Set FreightBillOfLadingDetail + * + * @param FreightBillOfLadingDetail $freightBillOfLadingDetail + * @return $this + */ + public function setFreightBillOfLadingDetail(FreightBillOfLadingDetail $freightBillOfLadingDetail) + { + $this->values['FreightBillOfLadingDetail'] = $freightBillOfLadingDetail; + return $this; + } + + /** + * Specifies the production of the return instructions document. + * + * @param ReturnInstructionsDetail $returnInstructionsDetail + * @return $this + */ + public function setReturnInstructionsDetail(ReturnInstructionsDetail $returnInstructionsDetail) + { + $this->values['ReturnInstructionsDetail'] = $returnInstructionsDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentStorageDetail.php b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentStorageDetail.php new file mode 100644 index 00000000..0b271071 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ShippingDocumentStorageDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\ShippingDocumentStorageDetailType|string $Type + * @property string $FilePath + * @property \FedEx\UploadDocumentService\SimpleType\ShippingDocumentNamingType|string $FileNaming + * @property string $FileSuffix + + */ +class ShippingDocumentStorageDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShippingDocumentStorageDetail'; + + /** + * Indicates the mechanism by which a shipping document will be stored for later retrieval. + * + * @param \FedEx\UploadDocumentService\SimpleType\ShippingDocumentStorageDetailType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Provides the path to be used for STORED or DEFERRED documents. + * + * @param string $filePath + * @return $this + */ + public function setFilePath($filePath) + { + $this->values['FilePath'] = $filePath; + return $this; + } + + /** + * Identifies the convention by which file names are constructed for STORED or DEFERRED documents. + * + * @param \FedEx\UploadDocumentService\SimpleType\ShippingDocumentNamingType|string $fileNaming + * @return $this + */ + public function setFileNaming($fileNaming) + { + $this->values['FileNaming'] = $fileNaming; + return $this; + } + + /** + * Suffix to be placed at the end of the file name; required on some platforms to determine file type. + * + * @param string $fileSuffix + * @return $this + */ + public function setFileSuffix($fileSuffix) + { + $this->values['FileSuffix'] = $fileSuffix; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/SignatureOptionDetail.php b/src/FedEx/UploadDocumentService/ComplexType/SignatureOptionDetail.php new file mode 100644 index 00000000..0b4ecd44 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/SignatureOptionDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\SignatureOptionType|string $OptionType + * @property string $SignatureReleaseNumber + + */ +class SignatureOptionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SignatureOptionDetail'; + + /** + * Set OptionType + * + * @param \FedEx\UploadDocumentService\SimpleType\SignatureOptionType|string $optionType + * @return $this + */ + public function setOptionType($optionType) + { + $this->values['OptionType'] = $optionType; + return $this; + } + + /** + * Set SignatureReleaseNumber + * + * @param string $signatureReleaseNumber + * @return $this + */ + public function setSignatureReleaseNumber($signatureReleaseNumber) + { + $this->values['SignatureReleaseNumber'] = $signatureReleaseNumber; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/SmartPostShipmentDetail.php b/src/FedEx/UploadDocumentService/ComplexType/SmartPostShipmentDetail.php new file mode 100644 index 00000000..98f9cc03 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/SmartPostShipmentDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property SmartPostShipmentProcessingOptionsRequested $ProcessingOptionsRequested + * @property \FedEx\UploadDocumentService\SimpleType\SmartPostIndiciaType|string $Indicia + * @property \FedEx\UploadDocumentService\SimpleType\SmartPostAncillaryEndorsementType|string $AncillaryEndorsement + * @property \FedEx\UploadDocumentService\SimpleType\SmartPostShipmentSpecialServiceType|string[] $SpecialServices + * @property string $HubId + * @property string $CustomerManifestId + + */ +class SmartPostShipmentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SmartPostShipmentDetail'; + + /** + * Set ProcessingOptionsRequested + * + * @param SmartPostShipmentProcessingOptionsRequested $processingOptionsRequested + * @return $this + */ + public function setProcessingOptionsRequested(SmartPostShipmentProcessingOptionsRequested $processingOptionsRequested) + { + $this->values['ProcessingOptionsRequested'] = $processingOptionsRequested; + return $this; + } + + /** + * Set Indicia + * + * @param \FedEx\UploadDocumentService\SimpleType\SmartPostIndiciaType|string $indicia + * @return $this + */ + public function setIndicia($indicia) + { + $this->values['Indicia'] = $indicia; + return $this; + } + + /** + * Set AncillaryEndorsement + * + * @param \FedEx\UploadDocumentService\SimpleType\SmartPostAncillaryEndorsementType|string $ancillaryEndorsement + * @return $this + */ + public function setAncillaryEndorsement($ancillaryEndorsement) + { + $this->values['AncillaryEndorsement'] = $ancillaryEndorsement; + return $this; + } + + /** + * Set SpecialServices + * + * @param \FedEx\UploadDocumentService\SimpleType\SmartPostShipmentSpecialServiceType[]|string[] $specialServices + * @return $this + */ + public function setSpecialServices(array $specialServices) + { + $this->values['SpecialServices'] = $specialServices; + return $this; + } + + /** + * Set HubId + * + * @param string $hubId + * @return $this + */ + public function setHubId($hubId) + { + $this->values['HubId'] = $hubId; + return $this; + } + + /** + * Set CustomerManifestId + * + * @param string $customerManifestId + * @return $this + */ + public function setCustomerManifestId($customerManifestId) + { + $this->values['CustomerManifestId'] = $customerManifestId; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/SmartPostShipmentProcessingOptionsRequested.php b/src/FedEx/UploadDocumentService/ComplexType/SmartPostShipmentProcessingOptionsRequested.php new file mode 100644 index 00000000..558ef5ad --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/SmartPostShipmentProcessingOptionsRequested.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\SmartPostShipmentProcessingOptionType|string[] $Options + + */ +class SmartPostShipmentProcessingOptionsRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SmartPostShipmentProcessingOptionsRequested'; + + /** + * Set Options + * + * @param \FedEx\UploadDocumentService\SimpleType\SmartPostShipmentProcessingOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/SmsDetail.php b/src/FedEx/UploadDocumentService/ComplexType/SmsDetail.php new file mode 100644 index 00000000..76488cab --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/SmsDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $PhoneNumber + * @property string $PhoneNumberCountryCode + + */ +class SmsDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SmsDetail'; + + /** + * Set PhoneNumber + * + * @param string $phoneNumber + * @return $this + */ + public function setPhoneNumber($phoneNumber) + { + $this->values['PhoneNumber'] = $phoneNumber; + return $this; + } + + /** + * Set PhoneNumberCountryCode + * + * @param string $phoneNumberCountryCode + * @return $this + */ + public function setPhoneNumberCountryCode($phoneNumberCountryCode) + { + $this->values['PhoneNumberCountryCode'] = $phoneNumberCountryCode; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/SortAndSegregateDetail.php b/src/FedEx/UploadDocumentService/ComplexType/SortAndSegregateDetail.php new file mode 100644 index 00000000..06f3cfb2 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/SortAndSegregateDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $PieceCount + * @property Weight $Weight + + */ +class SortAndSegregateDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SortAndSegregateDetail'; + + /** + * Number of pieces or packages to be sorted/segregated + * + * @param int $pieceCount + * @return $this + */ + public function setPieceCount($pieceCount) + { + $this->values['PieceCount'] = $pieceCount; + return $this; + } + + /** + * Total weight of pieces or packages to be sorted/segregated + * + * @param Weight $weight + * @return $this + */ + public function setWeight(Weight $weight) + { + $this->values['Weight'] = $weight; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/SpecialEquipmentDetail.php b/src/FedEx/UploadDocumentService/ComplexType/SpecialEquipmentDetail.php new file mode 100644 index 00000000..095a6218 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/SpecialEquipmentDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property SpecialEquipmentLineItem[] $LineItems + + */ +class SpecialEquipmentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SpecialEquipmentDetail'; + + /** + * Contains an entry for each type of special equipment used with shipment + * + * @param SpecialEquipmentLineItem[] $lineItems + * @return $this + */ + public function setLineItems(array $lineItems) + { + $this->values['LineItems'] = $lineItems; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/SpecialEquipmentLineItem.php b/src/FedEx/UploadDocumentService/ComplexType/SpecialEquipmentLineItem.php new file mode 100644 index 00000000..cfce307b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/SpecialEquipmentLineItem.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\SpecialEquipmentType|string $Type + * @property string $Duration + + */ +class SpecialEquipmentLineItem extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SpecialEquipmentLineItem'; + + /** + * Type of equipment used + * + * @param \FedEx\UploadDocumentService\SimpleType\SpecialEquipmentType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Total amount of time the equipment was used + * + * @param string $duration + * @return $this + */ + public function setDuration($duration) + { + $this->values['Duration'] = $duration; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/SpecialServiceDescription.php b/src/FedEx/UploadDocumentService/ComplexType/SpecialServiceDescription.php new file mode 100644 index 00000000..2cea3f11 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/SpecialServiceDescription.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property OfferingIdentifierDetail $Identifier + * @property ProductName[] $Names + + */ +class SpecialServiceDescription extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SpecialServiceDescription'; + + /** + * Set Identifier + * + * @param OfferingIdentifierDetail $identifier + * @return $this + */ + public function setIdentifier(OfferingIdentifierDetail $identifier) + { + $this->values['Identifier'] = $identifier; + return $this; + } + + /** + * Set Names + * + * @param ProductName[] $names + * @return $this + */ + public function setNames(array $names) + { + $this->values['Names'] = $names; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/SplitPaymentDetail.php b/src/FedEx/UploadDocumentService/ComplexType/SplitPaymentDetail.php new file mode 100644 index 00000000..67c47980 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/SplitPaymentDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\SplitPaymentType|string $Type + * @property Payment $Payment + + */ +class SplitPaymentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SplitPaymentDetail'; + + /** + * Identifies the aspect of the shiipment to be paid separately. + * + * @param \FedEx\UploadDocumentService\SimpleType\SplitPaymentType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Specifies the form of payment to be used. + * + * @param Payment $payment + * @return $this + */ + public function setPayment(Payment $payment) + { + $this->values['Payment'] = $payment; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/SplitPaymentSpecification.php b/src/FedEx/UploadDocumentService/ComplexType/SplitPaymentSpecification.php new file mode 100644 index 00000000..a23fa1ab --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/SplitPaymentSpecification.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property SplitPaymentDetail[] $Payments + + */ +class SplitPaymentSpecification extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SplitPaymentSpecification'; + + /** + * Each entry specifies payement for a single aspect of the shipment. + * + * @param SplitPaymentDetail[] $payments + * @return $this + */ + public function setPayments(array $payments) + { + $this->values['Payments'] = $payments; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/StorageDetail.php b/src/FedEx/UploadDocumentService/ComplexType/StorageDetail.php new file mode 100644 index 00000000..c7abe602 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/StorageDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Duration + + */ +class StorageDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'StorageDetail'; + + /** + * Total time shipment is held by carrier. + * + * @param string $duration + * @return $this + */ + public function setDuration($duration) + { + $this->values['Duration'] = $duration; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/StringBarcode.php b/src/FedEx/UploadDocumentService/ComplexType/StringBarcode.php new file mode 100644 index 00000000..da39cb9b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/StringBarcode.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\StringBarcodeType|string $Type + * @property string $Value + + */ +class StringBarcode extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'StringBarcode'; + + /** + * The kind of barcode data in this instance. + * + * @param \FedEx\UploadDocumentService\SimpleType\StringBarcodeType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * The data content of this instance. + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Surcharge.php b/src/FedEx/UploadDocumentService/ComplexType/Surcharge.php new file mode 100644 index 00000000..37f63383 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Surcharge.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\SurchargeType|string $SurchargeType + * @property \FedEx\UploadDocumentService\SimpleType\SurchargeLevelType|string $Level + * @property string $Description + * @property Money $Amount + + */ +class Surcharge extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Surcharge'; + + /** + * Set SurchargeType + * + * @param \FedEx\UploadDocumentService\SimpleType\SurchargeType|string $surchargeType + * @return $this + */ + public function setSurchargeType($surchargeType) + { + $this->values['SurchargeType'] = $surchargeType; + return $this; + } + + /** + * Set Level + * + * @param \FedEx\UploadDocumentService\SimpleType\SurchargeLevelType|string $level + * @return $this + */ + public function setLevel($level) + { + $this->values['Level'] = $level; + return $this; + } + + /** + * Set Description + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Tax.php b/src/FedEx/UploadDocumentService/ComplexType/Tax.php new file mode 100644 index 00000000..96cac615 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Tax.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\TaxType|string $TaxType + * @property string $Description + * @property Money $Amount + + */ +class Tax extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Tax'; + + /** + * Set TaxType + * + * @param \FedEx\UploadDocumentService\SimpleType\TaxType|string $taxType + * @return $this + */ + public function setTaxType($taxType) + { + $this->values['TaxType'] = $taxType; + return $this; + } + + /** + * Set Description + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/TaxpayerIdentification.php b/src/FedEx/UploadDocumentService/ComplexType/TaxpayerIdentification.php new file mode 100644 index 00000000..1410f728 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/TaxpayerIdentification.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\TinType|string $TinType + * @property string $Number + * @property string $Usage + * @property string $EffectiveDate + * @property string $ExpirationDate + + */ +class TaxpayerIdentification extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'TaxpayerIdentification'; + + /** + * Set TinType + * + * @param \FedEx\UploadDocumentService\SimpleType\TinType|string $tinType + * @return $this + */ + public function setTinType($tinType) + { + $this->values['TinType'] = $tinType; + return $this; + } + + /** + * Set Number + * + * @param string $number + * @return $this + */ + public function setNumber($number) + { + $this->values['Number'] = $number; + return $this; + } + + /** + * Identifies the usage of Tax Identification Number in Shipment processing + * + * @param string $usage + * @return $this + */ + public function setUsage($usage) + { + $this->values['Usage'] = $usage; + return $this; + } + + /** + * Set EffectiveDate + * + * @param string $effectiveDate + * @return $this + */ + public function setEffectiveDate($effectiveDate) + { + $this->values['EffectiveDate'] = $effectiveDate; + return $this; + } + + /** + * Set ExpirationDate + * + * @param string $expirationDate + * @return $this + */ + public function setExpirationDate($expirationDate) + { + $this->values['ExpirationDate'] = $expirationDate; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/TrackingId.php b/src/FedEx/UploadDocumentService/ComplexType/TrackingId.php new file mode 100644 index 00000000..49a607ac --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/TrackingId.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\TrackingIdType|string $TrackingIdType + * @property string $FormId + * @property string $UspsApplicationId + * @property string $TrackingNumber + + */ +class TrackingId extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'TrackingId'; + + /** + * Set TrackingIdType + * + * @param \FedEx\UploadDocumentService\SimpleType\TrackingIdType|string $trackingIdType + * @return $this + */ + public function setTrackingIdType($trackingIdType) + { + $this->values['TrackingIdType'] = $trackingIdType; + return $this; + } + + /** + * Set FormId + * + * @param string $formId + * @return $this + */ + public function setFormId($formId) + { + $this->values['FormId'] = $formId; + return $this; + } + + /** + * For use with SmartPost tracking IDs only + * + * @param string $uspsApplicationId + * @return $this + */ + public function setUspsApplicationId($uspsApplicationId) + { + $this->values['UspsApplicationId'] = $uspsApplicationId; + return $this; + } + + /** + * Set TrackingNumber + * + * @param string $trackingNumber + * @return $this + */ + public function setTrackingNumber($trackingNumber) + { + $this->values['TrackingNumber'] = $trackingNumber; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/TransborderDistributionLtlDetail.php b/src/FedEx/UploadDocumentService/ComplexType/TransborderDistributionLtlDetail.php new file mode 100644 index 00000000..8fe1cbd9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/TransborderDistributionLtlDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property Payment $Payment + * @property string $LtlScacCode + + */ +class TransborderDistributionLtlDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'TransborderDistributionLtlDetail'; + + /** + * Payment for LTL transportation. + * + * @param Payment $payment + * @return $this + */ + public function setPayment(Payment $payment) + { + $this->values['Payment'] = $payment; + return $this; + } + + /** + * Standard Carrier Alpha Code for origin-country LTL services. + * + * @param string $ltlScacCode + * @return $this + */ + public function setLtlScacCode($ltlScacCode) + { + $this->values['LtlScacCode'] = $ltlScacCode; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/TransborderDistributionSpecialServicesRequested.php b/src/FedEx/UploadDocumentService/ComplexType/TransborderDistributionSpecialServicesRequested.php new file mode 100644 index 00000000..52913f2e --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/TransborderDistributionSpecialServicesRequested.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\TransborderDistributionSpecialServiceType|string[] $SpecialServiceTypes + * @property TransborderDistributionLtlDetail $TransborderDistributionLtlDetail + + */ +class TransborderDistributionSpecialServicesRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'TransborderDistributionSpecialServicesRequested'; + + /** + * Identifies features of service requested for the current Transborder Distribution shipment. + * + * @param \FedEx\UploadDocumentService\SimpleType\TransborderDistributionSpecialServiceType[]|string[] $specialServiceTypes + * @return $this + */ + public function setSpecialServiceTypes(array $specialServiceTypes) + { + $this->values['SpecialServiceTypes'] = $specialServiceTypes; + return $this; + } + + /** + * Specifies details for origin-country LTL services performed by FedEx. + * + * @param TransborderDistributionLtlDetail $transborderDistributionLtlDetail + * @return $this + */ + public function setTransborderDistributionLtlDetail(TransborderDistributionLtlDetail $transborderDistributionLtlDetail) + { + $this->values['TransborderDistributionLtlDetail'] = $transborderDistributionLtlDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/TransborderDistributionSummaryDetail.php b/src/FedEx/UploadDocumentService/ComplexType/TransborderDistributionSummaryDetail.php new file mode 100644 index 00000000..33796ad4 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/TransborderDistributionSummaryDetail.php @@ -0,0 +1,153 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $ExpressPackageCount + * @property Weight $ExpressTotalPackageWeight + * @property Weight $ExpressTotalPackageAdjustedWeight + * @property int $ExpressFreightPackageCount + * @property Weight $ExpressTotalFreightWeight + * @property Weight $ExpressTotalFreightAdjustedWeight + * @property int $GroundPackageCount + * @property Weight $GroundTotalPackageWeight + * @property Weight $GroundTotalPackageAdjustedWeight + * @property int $NumberOfUnconsolidatedCommodities + + */ +class TransborderDistributionSummaryDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'TransborderDistributionSummaryDetail'; + + /** + * Set ExpressPackageCount + * + * @param int $expressPackageCount + * @return $this + */ + public function setExpressPackageCount($expressPackageCount) + { + $this->values['ExpressPackageCount'] = $expressPackageCount; + return $this; + } + + /** + * Set ExpressTotalPackageWeight + * + * @param Weight $expressTotalPackageWeight + * @return $this + */ + public function setExpressTotalPackageWeight(Weight $expressTotalPackageWeight) + { + $this->values['ExpressTotalPackageWeight'] = $expressTotalPackageWeight; + return $this; + } + + /** + * Set ExpressTotalPackageAdjustedWeight + * + * @param Weight $expressTotalPackageAdjustedWeight + * @return $this + */ + public function setExpressTotalPackageAdjustedWeight(Weight $expressTotalPackageAdjustedWeight) + { + $this->values['ExpressTotalPackageAdjustedWeight'] = $expressTotalPackageAdjustedWeight; + return $this; + } + + /** + * Set ExpressFreightPackageCount + * + * @param int $expressFreightPackageCount + * @return $this + */ + public function setExpressFreightPackageCount($expressFreightPackageCount) + { + $this->values['ExpressFreightPackageCount'] = $expressFreightPackageCount; + return $this; + } + + /** + * Set ExpressTotalFreightWeight + * + * @param Weight $expressTotalFreightWeight + * @return $this + */ + public function setExpressTotalFreightWeight(Weight $expressTotalFreightWeight) + { + $this->values['ExpressTotalFreightWeight'] = $expressTotalFreightWeight; + return $this; + } + + /** + * Set ExpressTotalFreightAdjustedWeight + * + * @param Weight $expressTotalFreightAdjustedWeight + * @return $this + */ + public function setExpressTotalFreightAdjustedWeight(Weight $expressTotalFreightAdjustedWeight) + { + $this->values['ExpressTotalFreightAdjustedWeight'] = $expressTotalFreightAdjustedWeight; + return $this; + } + + /** + * Set GroundPackageCount + * + * @param int $groundPackageCount + * @return $this + */ + public function setGroundPackageCount($groundPackageCount) + { + $this->values['GroundPackageCount'] = $groundPackageCount; + return $this; + } + + /** + * Set GroundTotalPackageWeight + * + * @param Weight $groundTotalPackageWeight + * @return $this + */ + public function setGroundTotalPackageWeight(Weight $groundTotalPackageWeight) + { + $this->values['GroundTotalPackageWeight'] = $groundTotalPackageWeight; + return $this; + } + + /** + * Set GroundTotalPackageAdjustedWeight + * + * @param Weight $groundTotalPackageAdjustedWeight + * @return $this + */ + public function setGroundTotalPackageAdjustedWeight(Weight $groundTotalPackageAdjustedWeight) + { + $this->values['GroundTotalPackageAdjustedWeight'] = $groundTotalPackageAdjustedWeight; + return $this; + } + + /** + * The number of commodities that are unique commodities in the consolidation. These commodities are mentioned as separate items on the consolidated commercial invoice. + * + * @param int $numberOfUnconsolidatedCommodities + * @return $this + */ + public function setNumberOfUnconsolidatedCommodities($numberOfUnconsolidatedCommodities) + { + $this->values['NumberOfUnconsolidatedCommodities'] = $numberOfUnconsolidatedCommodities; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentReferenceDetail.php b/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentReferenceDetail.php new file mode 100644 index 00000000..40bc1b0b --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentReferenceDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property int $LineNumber + * @property string $CustomerReference + * @property string $Description + * @property \FedEx\UploadDocumentService\SimpleType\UploadDocumentProducerType|string $DocumentProducer + * @property \FedEx\UploadDocumentService\SimpleType\UploadDocumentType|string $DocumentType + * @property string $DocumentId + * @property \FedEx\UploadDocumentService\SimpleType\UploadDocumentIdProducer|string $DocumentIdProducer + + */ +class UploadDocumentReferenceDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UploadDocumentReferenceDetail'; + + /** + * Set LineNumber + * + * @param int $lineNumber + * @return $this + */ + public function setLineNumber($lineNumber) + { + $this->values['LineNumber'] = $lineNumber; + return $this; + } + + /** + * Set CustomerReference + * + * @param string $customerReference + * @return $this + */ + public function setCustomerReference($customerReference) + { + $this->values['CustomerReference'] = $customerReference; + return $this; + } + + /** + * Description of the uploaded document. + * + * @param string $description + * @return $this + */ + public function setDescription($description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Set DocumentProducer + * + * @param \FedEx\UploadDocumentService\SimpleType\UploadDocumentProducerType|string $documentProducer + * @return $this + */ + public function setDocumentProducer($documentProducer) + { + $this->values['DocumentProducer'] = $documentProducer; + return $this; + } + + /** + * Set DocumentType + * + * @param \FedEx\UploadDocumentService\SimpleType\UploadDocumentType|string $documentType + * @return $this + */ + public function setDocumentType($documentType) + { + $this->values['DocumentType'] = $documentType; + return $this; + } + + /** + * Set DocumentId + * + * @param string $documentId + * @return $this + */ + public function setDocumentId($documentId) + { + $this->values['DocumentId'] = $documentId; + return $this; + } + + /** + * Set DocumentIdProducer + * + * @param \FedEx\UploadDocumentService\SimpleType\UploadDocumentIdProducer|string $documentIdProducer + * @return $this + */ + public function setDocumentIdProducer($documentIdProducer) + { + $this->values['DocumentIdProducer'] = $documentIdProducer; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentsRequest.php b/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentsRequest.php index 65e1f563..15a50195 100644 --- a/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentsRequest.php +++ b/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentsRequest.php @@ -16,7 +16,16 @@ * @property VersionId $Version * @property UploadDocumentsProcessingOptionsRequested $ProcessingOptions * @property string $OriginCountryCode + * @property string $OriginStateOrProvinceCode + * @property string $OriginPostalCode + * @property string $OriginLocationId * @property string $DestinationCountryCode + * @property string $DestinationStateOrProvinceCode + * @property string $DestinationPostalCode + * @property string $DestinationLocationId + * @property string $FolderId + * @property string $ShipTimestamp + * @property \FedEx\UploadDocumentService\SimpleType\CarrierCodeType|string $CarrierCode * @property \FedEx\UploadDocumentService\SimpleType\DocumentUsageType|string $Usage * @property UploadDocumentDetail[] $Documents @@ -102,6 +111,42 @@ public function setOriginCountryCode($originCountryCode) return $this; } + /** + * FOR FEDEX INTERNAL USE ONLY: This is used to identify the origin state or province code. + * + * @param string $originStateOrProvinceCode + * @return $this + */ + public function setOriginStateOrProvinceCode($originStateOrProvinceCode) + { + $this->values['OriginStateOrProvinceCode'] = $originStateOrProvinceCode; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: This is used to identify the origin postal code. + * + * @param string $originPostalCode + * @return $this + */ + public function setOriginPostalCode($originPostalCode) + { + $this->values['OriginPostalCode'] = $originPostalCode; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: This field is used to identify the origin location ID by the offline automation platforms for a post-shipment upload. + * + * @param string $originLocationId + * @return $this + */ + public function setOriginLocationId($originLocationId) + { + $this->values['OriginLocationId'] = $originLocationId; + return $this; + } + /** * Set DestinationCountryCode * @@ -114,6 +159,78 @@ public function setDestinationCountryCode($destinationCountryCode) return $this; } + /** + * FOR FEDEX INTERNAL USE ONLY: This is used to identify the destination state or province code. + * + * @param string $destinationStateOrProvinceCode + * @return $this + */ + public function setDestinationStateOrProvinceCode($destinationStateOrProvinceCode) + { + $this->values['DestinationStateOrProvinceCode'] = $destinationStateOrProvinceCode; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: This is used to identify the destination postal code. + * + * @param string $destinationPostalCode + * @return $this + */ + public function setDestinationPostalCode($destinationPostalCode) + { + $this->values['DestinationPostalCode'] = $destinationPostalCode; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: This is used to identify the destination location id. + * + * @param string $destinationLocationId + * @return $this + */ + public function setDestinationLocationId($destinationLocationId) + { + $this->values['DestinationLocationId'] = $destinationLocationId; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: Folder into which the uploaded documents will be stored. + * + * @param string $folderId + * @return $this + */ + public function setFolderId($folderId) + { + $this->values['FolderId'] = $folderId; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: This field is used to identify the shipping timestamp by the offline automation platforms for a post-shipment upload. + * + * @param string $shipTimestamp + * @return $this + */ + public function setShipTimestamp($shipTimestamp) + { + $this->values['ShipTimestamp'] = $shipTimestamp; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: This field is used to identify the origin location ID by the offline automation platforms for a post-shipment upload. + * + * @param \FedEx\UploadDocumentService\SimpleType\CarrierCodeType|string $carrierCode + * @return $this + */ + public function setCarrierCode($carrierCode) + { + $this->values['CarrierCode'] = $carrierCode; + return $this; + } + /** * Specifies the intent or the usage of the documents being uploaded. This provides details about how the documents are relevant to the current transaction. * diff --git a/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentsWithShipmentDataReply.php b/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentsWithShipmentDataReply.php new file mode 100644 index 00000000..4890849c --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentsWithShipmentDataReply.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\NotificationSeverityType|string $HighestSeverity + * @property Notification[] $Notifications + * @property TransactionDetail $TransactionDetail + * @property VersionId $Version + * @property UploadDocumentStatusDetail[] $DocumentStatuses + * @property UploadDocumentStatusDetail[] $DocumentReferenceStatuses + + */ +class UploadDocumentsWithShipmentDataReply extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UploadDocumentsWithShipmentDataReply'; + + /** + * Set HighestSeverity + * + * @param \FedEx\UploadDocumentService\SimpleType\NotificationSeverityType|string $highestSeverity + * @return $this + */ + public function setHighestSeverity($highestSeverity) + { + $this->values['HighestSeverity'] = $highestSeverity; + return $this; + } + + /** + * Set Notifications + * + * @param Notification[] $notifications + * @return $this + */ + public function setNotifications(array $notifications) + { + $this->values['Notifications'] = $notifications; + return $this; + } + + /** + * Set TransactionDetail + * + * @param TransactionDetail $transactionDetail + * @return $this + */ + public function setTransactionDetail(TransactionDetail $transactionDetail) + { + $this->values['TransactionDetail'] = $transactionDetail; + return $this; + } + + /** + * Set Version + * + * @param VersionId $version + * @return $this + */ + public function setVersion(VersionId $version) + { + $this->values['Version'] = $version; + return $this; + } + + /** + * Set DocumentStatuses + * + * @param UploadDocumentStatusDetail[] $documentStatuses + * @return $this + */ + public function setDocumentStatuses(array $documentStatuses) + { + $this->values['DocumentStatuses'] = $documentStatuses; + return $this; + } + + /** + * Set DocumentReferenceStatuses + * + * @param UploadDocumentStatusDetail[] $documentReferenceStatuses + * @return $this + */ + public function setDocumentReferenceStatuses(array $documentReferenceStatuses) + { + $this->values['DocumentReferenceStatuses'] = $documentReferenceStatuses; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentsWithShipmentDataRequest.php b/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentsWithShipmentDataRequest.php new file mode 100644 index 00000000..89092cdd --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/UploadDocumentsWithShipmentDataRequest.php @@ -0,0 +1,153 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property WebAuthenticationDetail $WebAuthenticationDetail + * @property ClientDetail $ClientDetail + * @property TransactionDetail $TransactionDetail + * @property VersionId $Version + * @property \FedEx\UploadDocumentService\SimpleType\RequestedShippingDocumentType|string[] $ShippingDocumentTypesToProduce + * @property CustomerProvidedImage[] $CustomerProvidedImages + * @property RequestedShipment $RequestedShipment + * @property CompletedShipmentDetail $CompletedShipmentDetail + * @property UploadDocumentDetail[] $Documents + * @property UploadDocumentReferenceDetail[] $DocumentReferences + + */ +class UploadDocumentsWithShipmentDataRequest extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UploadDocumentsWithShipmentDataRequest'; + + /** + * Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + * + * @param WebAuthenticationDetail $webAuthenticationDetail + * @return $this + */ + public function setWebAuthenticationDetail(WebAuthenticationDetail $webAuthenticationDetail) + { + $this->values['WebAuthenticationDetail'] = $webAuthenticationDetail; + return $this; + } + + /** + * Set ClientDetail + * + * @param ClientDetail $clientDetail + * @return $this + */ + public function setClientDetail(ClientDetail $clientDetail) + { + $this->values['ClientDetail'] = $clientDetail; + return $this; + } + + /** + * Set TransactionDetail + * + * @param TransactionDetail $transactionDetail + * @return $this + */ + public function setTransactionDetail(TransactionDetail $transactionDetail) + { + $this->values['TransactionDetail'] = $transactionDetail; + return $this; + } + + /** + * Set Version + * + * @param VersionId $version + * @return $this + */ + public function setVersion(VersionId $version) + { + $this->values['Version'] = $version; + return $this; + } + + /** + * Specifies which type of document(s) should be produced by FedEx (using the shipment data below) and forwarded along with any customer-provided documents or references. + * + * @param \FedEx\UploadDocumentService\SimpleType\RequestedShippingDocumentType[]|string[] $shippingDocumentTypesToProduce + * @return $this + */ + public function setShippingDocumentTypesToProduce(array $shippingDocumentTypesToProduce) + { + $this->values['ShippingDocumentTypesToProduce'] = $shippingDocumentTypesToProduce; + return $this; + } + + /** + * Contains images provided by customer for inclusion on FedEx-produced documents. + * + * @param CustomerProvidedImage[] $customerProvidedImages + * @return $this + */ + public function setCustomerProvidedImages(array $customerProvidedImages) + { + $this->values['CustomerProvidedImages'] = $customerProvidedImages; + return $this; + } + + /** + * Set RequestedShipment + * + * @param RequestedShipment $requestedShipment + * @return $this + */ + public function setRequestedShipment(RequestedShipment $requestedShipment) + { + $this->values['RequestedShipment'] = $requestedShipment; + return $this; + } + + /** + * Set CompletedShipmentDetail + * + * @param CompletedShipmentDetail $completedShipmentDetail + * @return $this + */ + public function setCompletedShipmentDetail(CompletedShipmentDetail $completedShipmentDetail) + { + $this->values['CompletedShipmentDetail'] = $completedShipmentDetail; + return $this; + } + + /** + * Set Documents + * + * @param UploadDocumentDetail[] $documents + * @return $this + */ + public function setDocuments(array $documents) + { + $this->values['Documents'] = $documents; + return $this; + } + + /** + * Set DocumentReferences + * + * @param UploadDocumentReferenceDetail[] $documentReferences + * @return $this + */ + public function setDocumentReferences(array $documentReferences) + { + $this->values['DocumentReferences'] = $documentReferences; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/UsmcaCertificationOfOriginDetail.php b/src/FedEx/UploadDocumentService/ComplexType/UsmcaCertificationOfOriginDetail.php new file mode 100644 index 00000000..dad74837 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/UsmcaCertificationOfOriginDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentFormat $Format + * @property DateRange $BlanketPeriod + * @property \FedEx\UploadDocumentService\SimpleType\UsmcaCertifierSpecificationType|string $CertifierSpecification + * @property \FedEx\UploadDocumentService\SimpleType\UsmcaImporterSpecificationType|string $ImporterSpecification + * @property \FedEx\UploadDocumentService\SimpleType\UsmcaProducerSpecificationType|string $ProducerSpecification + * @property Party $Producer + * @property CustomerImageUsage[] $CustomerImageUsages + + */ +class UsmcaCertificationOfOriginDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCertificationOfOriginDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set BlanketPeriod + * + * @param DateRange $blanketPeriod + * @return $this + */ + public function setBlanketPeriod(DateRange $blanketPeriod) + { + $this->values['BlanketPeriod'] = $blanketPeriod; + return $this; + } + + /** + * Set CertifierSpecification + * + * @param \FedEx\UploadDocumentService\SimpleType\UsmcaCertifierSpecificationType|string $certifierSpecification + * @return $this + */ + public function setCertifierSpecification($certifierSpecification) + { + $this->values['CertifierSpecification'] = $certifierSpecification; + return $this; + } + + /** + * Set ImporterSpecification + * + * @param \FedEx\UploadDocumentService\SimpleType\UsmcaImporterSpecificationType|string $importerSpecification + * @return $this + */ + public function setImporterSpecification($importerSpecification) + { + $this->values['ImporterSpecification'] = $importerSpecification; + return $this; + } + + /** + * Set ProducerSpecification + * + * @param \FedEx\UploadDocumentService\SimpleType\UsmcaProducerSpecificationType|string $producerSpecification + * @return $this + */ + public function setProducerSpecification($producerSpecification) + { + $this->values['ProducerSpecification'] = $producerSpecification; + return $this; + } + + /** + * Set Producer + * + * @param Party $producer + * @return $this + */ + public function setProducer(Party $producer) + { + $this->values['Producer'] = $producer; + return $this; + } + + /** + * Set CustomerImageUsages + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php b/src/FedEx/UploadDocumentService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php new file mode 100644 index 00000000..d0944b69 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ShippingDocumentFormat $Format + * @property CustomerImageUsage[] $CustomerImageUsages + * @property string $FormVersion + * @property \FedEx\UploadDocumentService\SimpleType\UsmcaCertifierSpecificationType|string $CertifierSpecification + * @property \FedEx\UploadDocumentService\SimpleType\UsmcaProducerSpecificationType|string $ProducerSpecification + * @property Party $Producer + + */ +class UsmcaCommercialInvoiceCertificationOfOriginDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCommercialInvoiceCertificationOfOriginDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set CustomerImageUsages + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } + + /** + * Set FormVersion + * + * @param string $formVersion + * @return $this + */ + public function setFormVersion($formVersion) + { + $this->values['FormVersion'] = $formVersion; + return $this; + } + + /** + * Set CertifierSpecification + * + * @param \FedEx\UploadDocumentService\SimpleType\UsmcaCertifierSpecificationType|string $certifierSpecification + * @return $this + */ + public function setCertifierSpecification($certifierSpecification) + { + $this->values['CertifierSpecification'] = $certifierSpecification; + return $this; + } + + /** + * Set ProducerSpecification + * + * @param \FedEx\UploadDocumentService\SimpleType\UsmcaProducerSpecificationType|string $producerSpecification + * @return $this + */ + public function setProducerSpecification($producerSpecification) + { + $this->values['ProducerSpecification'] = $producerSpecification; + return $this; + } + + /** + * Set Producer + * + * @param Party $producer + * @return $this + */ + public function setProducer(Party $producer) + { + $this->values['Producer'] = $producer; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/UsmcaCommodityDetail.php b/src/FedEx/UploadDocumentService/ComplexType/UsmcaCommodityDetail.php new file mode 100644 index 00000000..d36fadf3 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/UsmcaCommodityDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\UsmcaOriginCriterionCode|string $OriginCriterion + + */ +class UsmcaCommodityDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCommodityDetail'; + + /** + * Set OriginCriterion + * + * @param \FedEx\UploadDocumentService\SimpleType\UsmcaOriginCriterionCode|string $originCriterion + * @return $this + */ + public function setOriginCriterion($originCriterion) + { + $this->values['OriginCriterion'] = $originCriterion; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ValidatedHazardousCommodityContent.php b/src/FedEx/UploadDocumentService/ComplexType/ValidatedHazardousCommodityContent.php new file mode 100644 index 00000000..803b7af1 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ValidatedHazardousCommodityContent.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property ValidatedHazardousCommodityDescription $Description + * @property HazardousCommodityQuantityDetail $Quantity + * @property float $MassPoints + * @property HazardousCommodityOptionDetail $Options + * @property NetExplosiveDetail $NetExplosiveDetail + + */ +class ValidatedHazardousCommodityContent extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ValidatedHazardousCommodityContent'; + + /** + * Identifies and describes an individual hazardous commodity. + * + * @param ValidatedHazardousCommodityDescription $description + * @return $this + */ + public function setDescription(ValidatedHazardousCommodityDescription $description) + { + $this->values['Description'] = $description; + return $this; + } + + /** + * Specifies the amount of the commodity in alternate units. + * + * @param HazardousCommodityQuantityDetail $quantity + * @return $this + */ + public function setQuantity(HazardousCommodityQuantityDetail $quantity) + { + $this->values['Quantity'] = $quantity; + return $this; + } + + /** + * The mass points are a calculation used by ADR regulations for measuring the risk of a particular hazardous commodity. + * + * @param float $massPoints + * @return $this + */ + public function setMassPoints($massPoints) + { + $this->values['MassPoints'] = $massPoints; + return $this; + } + + /** + * Customer-provided specifications for handling individual commodities. + * + * @param HazardousCommodityOptionDetail $options + * @return $this + */ + public function setOptions(HazardousCommodityOptionDetail $options) + { + $this->values['Options'] = $options; + return $this; + } + + /** + * The total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. + * + * @param NetExplosiveDetail $netExplosiveDetail + * @return $this + */ + public function setNetExplosiveDetail(NetExplosiveDetail $netExplosiveDetail) + { + $this->values['NetExplosiveDetail'] = $netExplosiveDetail; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ValidatedHazardousCommodityDescription.php b/src/FedEx/UploadDocumentService/ComplexType/ValidatedHazardousCommodityDescription.php new file mode 100644 index 00000000..842c7e34 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ValidatedHazardousCommodityDescription.php @@ -0,0 +1,218 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property string $Id + * @property int $SequenceNumber + * @property \FedEx\UploadDocumentService\SimpleType\HazardousCommodityPackingGroupType|string $PackingGroup + * @property string $PackingInstructions + * @property string $ProperShippingName + * @property string $ProperShippingNameAndDescription + * @property string $TechnicalName + * @property string $HazardClass + * @property string[] $SubsidiaryClasses + * @property string $Symbols + * @property string $TunnelRestrictionCode + * @property string $SpecialProvisions + * @property \FedEx\UploadDocumentService\SimpleType\HazardousCommodityAttributeType|string[] $Attributes + * @property string $Authorization + * @property string $LabelText + + */ +class ValidatedHazardousCommodityDescription extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ValidatedHazardousCommodityDescription'; + + /** + * Regulatory identifier for a commodity (e.g. "UN ID" value). + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. + * + * @param int $sequenceNumber + * @return $this + */ + public function setSequenceNumber($sequenceNumber) + { + $this->values['SequenceNumber'] = $sequenceNumber; + return $this; + } + + /** + * Set PackingGroup + * + * @param \FedEx\UploadDocumentService\SimpleType\HazardousCommodityPackingGroupType|string $packingGroup + * @return $this + */ + public function setPackingGroup($packingGroup) + { + $this->values['PackingGroup'] = $packingGroup; + return $this; + } + + /** + * Set PackingInstructions + * + * @param string $packingInstructions + * @return $this + */ + public function setPackingInstructions($packingInstructions) + { + $this->values['PackingInstructions'] = $packingInstructions; + return $this; + } + + /** + * Set ProperShippingName + * + * @param string $properShippingName + * @return $this + */ + public function setProperShippingName($properShippingName) + { + $this->values['ProperShippingName'] = $properShippingName; + return $this; + } + + /** + * Fully-expanded descriptive text for a hazardous commodity. + * + * @param string $properShippingNameAndDescription + * @return $this + */ + public function setProperShippingNameAndDescription($properShippingNameAndDescription) + { + $this->values['ProperShippingNameAndDescription'] = $properShippingNameAndDescription; + return $this; + } + + /** + * Set TechnicalName + * + * @param string $technicalName + * @return $this + */ + public function setTechnicalName($technicalName) + { + $this->values['TechnicalName'] = $technicalName; + return $this; + } + + /** + * Set HazardClass + * + * @param string $hazardClass + * @return $this + */ + public function setHazardClass($hazardClass) + { + $this->values['HazardClass'] = $hazardClass; + return $this; + } + + /** + * Set SubsidiaryClasses + * + * @param string $subsidiaryClasses + * @return $this + */ + public function setSubsidiaryClasses($subsidiaryClasses) + { + $this->values['SubsidiaryClasses'] = $subsidiaryClasses; + return $this; + } + + /** + * Coded indications for special requirements or constraints. + * + * @param string $symbols + * @return $this + */ + public function setSymbols($symbols) + { + $this->values['Symbols'] = $symbols; + return $this; + } + + /** + * Set TunnelRestrictionCode + * + * @param string $tunnelRestrictionCode + * @return $this + */ + public function setTunnelRestrictionCode($tunnelRestrictionCode) + { + $this->values['TunnelRestrictionCode'] = $tunnelRestrictionCode; + return $this; + } + + /** + * Set SpecialProvisions + * + * @param string $specialProvisions + * @return $this + */ + public function setSpecialProvisions($specialProvisions) + { + $this->values['SpecialProvisions'] = $specialProvisions; + return $this; + } + + /** + * Set Attributes + * + * @param \FedEx\UploadDocumentService\SimpleType\HazardousCommodityAttributeType[]|string[] $attributes + * @return $this + */ + public function setAttributes(array $attributes) + { + $this->values['Attributes'] = $attributes; + return $this; + } + + /** + * Set Authorization + * + * @param string $authorization + * @return $this + */ + public function setAuthorization($authorization) + { + $this->values['Authorization'] = $authorization; + return $this; + } + + /** + * Set LabelText + * + * @param string $labelText + * @return $this + */ + public function setLabelText($labelText) + { + $this->values['LabelText'] = $labelText; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/ValidatedHazardousContainer.php b/src/FedEx/UploadDocumentService/ComplexType/ValidatedHazardousContainer.php new file mode 100644 index 00000000..b5639182 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/ValidatedHazardousContainer.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property float $QValue + * @property ValidatedHazardousCommodityContent[] $HazardousCommodities + + */ +class ValidatedHazardousContainer extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ValidatedHazardousContainer'; + + /** + * Indicates that the quantity of the dangerous goods packaged is permissible for shipping. This is used to ensure that the dangerous goods commodities do not exceed the net quantity per package restrictions. + * + * @param float $qValue + * @return $this + */ + public function setQValue($qValue) + { + $this->values['QValue'] = $qValue; + return $this; + } + + /** + * Documents the kinds and quantities of all hazardous commodities in the current package. + * + * @param ValidatedHazardousCommodityContent[] $hazardousCommodities + * @return $this + */ + public function setHazardousCommodities(array $hazardousCommodities) + { + $this->values['HazardousCommodities'] = $hazardousCommodities; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/VariableHandlingChargeDetail.php b/src/FedEx/UploadDocumentService/ComplexType/VariableHandlingChargeDetail.php new file mode 100644 index 00000000..5883e052 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/VariableHandlingChargeDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property Money $FixedValue + * @property float $PercentValue + * @property \FedEx\UploadDocumentService\SimpleType\RateElementBasisType|string $RateElementBasis + * @property \FedEx\UploadDocumentService\SimpleType\RateTypeBasisType|string $RateTypeBasis + * @property \FedEx\UploadDocumentService\SimpleType\RateLevelBasisType|string $RateLevelBasis + + */ +class VariableHandlingChargeDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'VariableHandlingChargeDetail'; + + /** + * Set FixedValue + * + * @param Money $fixedValue + * @return $this + */ + public function setFixedValue(Money $fixedValue) + { + $this->values['FixedValue'] = $fixedValue; + return $this; + } + + /** + * Actual percentage (10 means 10%, which is a mutiplier of 0.1) + * + * @param float $percentValue + * @return $this + */ + public function setPercentValue($percentValue) + { + $this->values['PercentValue'] = $percentValue; + return $this; + } + + /** + * Select the value from a set of rate data to which the percentage is applied. + * + * @param \FedEx\UploadDocumentService\SimpleType\RateElementBasisType|string $rateElementBasis + * @return $this + */ + public function setRateElementBasis($rateElementBasis) + { + $this->values['RateElementBasis'] = $rateElementBasis; + return $this; + } + + /** + * Select the type of rate from which the element is to be selected. + * + * @param \FedEx\UploadDocumentService\SimpleType\RateTypeBasisType|string $rateTypeBasis + * @return $this + */ + public function setRateTypeBasis($rateTypeBasis) + { + $this->values['RateTypeBasis'] = $rateTypeBasis; + return $this; + } + + /** + * Select the type of rate used to calculate the percentage value of variable handling. + * + * @param \FedEx\UploadDocumentService\SimpleType\RateLevelBasisType|string $rateLevelBasis + * @return $this + */ + public function setRateLevelBasis($rateLevelBasis) + { + $this->values['RateLevelBasis'] = $rateLevelBasis; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/VariableHandlingCharges.php b/src/FedEx/UploadDocumentService/ComplexType/VariableHandlingCharges.php new file mode 100644 index 00000000..f7182f47 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/VariableHandlingCharges.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property Money $VariableHandlingCharge + * @property Money $FixedVariableHandlingCharge + * @property Money $PercentVariableHandlingCharge + * @property Money $TotalCustomerCharge + + */ +class VariableHandlingCharges extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'VariableHandlingCharges'; + + /** + * Set VariableHandlingCharge + * + * @param Money $variableHandlingCharge + * @return $this + */ + public function setVariableHandlingCharge(Money $variableHandlingCharge) + { + $this->values['VariableHandlingCharge'] = $variableHandlingCharge; + return $this; + } + + /** + * Set FixedVariableHandlingCharge + * + * @param Money $fixedVariableHandlingCharge + * @return $this + */ + public function setFixedVariableHandlingCharge(Money $fixedVariableHandlingCharge) + { + $this->values['FixedVariableHandlingCharge'] = $fixedVariableHandlingCharge; + return $this; + } + + /** + * Set PercentVariableHandlingCharge + * + * @param Money $percentVariableHandlingCharge + * @return $this + */ + public function setPercentVariableHandlingCharge(Money $percentVariableHandlingCharge) + { + $this->values['PercentVariableHandlingCharge'] = $percentVariableHandlingCharge; + return $this; + } + + /** + * Set TotalCustomerCharge + * + * @param Money $totalCustomerCharge + * @return $this + */ + public function setTotalCustomerCharge(Money $totalCustomerCharge) + { + $this->values['TotalCustomerCharge'] = $totalCustomerCharge; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Volume.php b/src/FedEx/UploadDocumentService/ComplexType/Volume.php new file mode 100644 index 00000000..00cda44e --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Volume.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\VolumeUnits|string $Units + * @property float $Value + + */ +class Volume extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Volume'; + + /** + * Set Units + * + * @param \FedEx\UploadDocumentService\SimpleType\VolumeUnits|string $units + * @return $this + */ + public function setUnits($units) + { + $this->values['Units'] = $units; + return $this; + } + + /** + * Set Value + * + * @param float $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/WeighingDetail.php b/src/FedEx/UploadDocumentService/ComplexType/WeighingDetail.php new file mode 100644 index 00000000..7d06a511 --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/WeighingDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\WeighingScaleType|string $Type + + */ +class WeighingDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'WeighingDetail'; + + /** + * Type of scale used + * + * @param \FedEx\UploadDocumentService\SimpleType\WeighingScaleType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/ComplexType/Weight.php b/src/FedEx/UploadDocumentService/ComplexType/Weight.php new file mode 100644 index 00000000..5abab87d --- /dev/null +++ b/src/FedEx/UploadDocumentService/ComplexType/Weight.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + * + * @property \FedEx\UploadDocumentService\SimpleType\WeightUnits|string $Units + * @property float $Value + + */ +class Weight extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'Weight'; + + /** + * Identifies the unit of measure associated with a weight value. + * + * @param \FedEx\UploadDocumentService\SimpleType\WeightUnits|string $units + * @return $this + */ + public function setUnits($units) + { + $this->values['Units'] = $units; + return $this; + } + + /** + * Identifies the weight value of a package/shipment. + * + * @param float $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/UploadDocumentService/Request.php b/src/FedEx/UploadDocumentService/Request.php index 44011fe4..55a87250 100644 --- a/src/FedEx/UploadDocumentService/Request.php +++ b/src/FedEx/UploadDocumentService/Request.php @@ -15,7 +15,7 @@ class Request extends AbstractRequest const PRODUCTION_URL = 'https://ws.fedex.com:443/web-services/uploaddocument'; const TESTING_URL = 'https://wsbeta.fedex.com:443/web-services/uploaddocument'; - protected static $wsdlFileName = 'UploadDocumentService_v11.wsdl'; + protected static $wsdlFileName = 'UploadDocumentService_v19.wsdl'; /** * Sends the UploadDocumentsRequest and returns the response @@ -36,6 +36,25 @@ public function getUploadDocumentsReply(ComplexType\UploadDocumentsRequest $uplo return $uploadDocumentsReply; } + /** + * Sends the UploadDocumentsWithShipmentDataRequest and returns the response + * + * @param ComplexType\UploadDocumentsWithShipmentDataRequest $uploadDocumentsWithShipmentDataRequest + * @param bool $returnStdClass Return the $stdClass response directly from \SoapClient + * @return ComplexType\UploadDocumentsWithShipmentDataReply|stdClass + */ + public function getUploadDocumentsWithShipmentDataReply(ComplexType\UploadDocumentsWithShipmentDataRequest $uploadDocumentsWithShipmentDataRequest, $returnStdClass = false) + { + $response = $this->getSoapClient()->uploadDocumentsWithShipmentData($uploadDocumentsWithShipmentDataRequest->toArray()); + if ($returnStdClass) { + return $response; + } + + $uploadDocumentsWithShipmentDataReply = new ComplexType\UploadDocumentsWithShipmentDataReply; + $uploadDocumentsWithShipmentDataReply->populateFromStdClass($response); + return $uploadDocumentsWithShipmentDataReply; + } + /** * Sends the UploadImagesRequest and returns the response * diff --git a/src/FedEx/UploadDocumentService/SimpleType/AccessorRoleType.php b/src/FedEx/UploadDocumentService/SimpleType/AccessorRoleType.php new file mode 100644 index 00000000..420875b9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/AccessorRoleType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class AccessorRoleType extends AbstractSimpleType +{ + const _SHIPMENT_COMPLETOR = 'SHIPMENT_COMPLETOR'; + const _SHIPMENT_INITIATOR = 'SHIPMENT_INITIATOR'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/AdditionalLabelsType.php b/src/FedEx/UploadDocumentService/SimpleType/AdditionalLabelsType.php new file mode 100644 index 00000000..6c666deb --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/AdditionalLabelsType.php @@ -0,0 +1,26 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class AdditionalLabelsType extends AbstractSimpleType +{ + const _BROKER = 'BROKER'; + const _CONSIGNEE = 'CONSIGNEE'; + const _CUSTOMS = 'CUSTOMS'; + const _DESTINATION = 'DESTINATION'; + const _DESTINATION_CONTROL_STATEMENT = 'DESTINATION_CONTROL_STATEMENT'; + const _FREIGHT_REFERENCE = 'FREIGHT_REFERENCE'; + const _MANIFEST = 'MANIFEST'; + const _ORIGIN = 'ORIGIN'; + const _RECIPIENT = 'RECIPIENT'; + const _SECOND_ADDRESS = 'SECOND_ADDRESS'; + const _SHIPPER = 'SHIPPER'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/AlcoholRecipientType.php b/src/FedEx/UploadDocumentService/SimpleType/AlcoholRecipientType.php new file mode 100644 index 00000000..adaec96a --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/AlcoholRecipientType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class AlcoholRecipientType extends AbstractSimpleType +{ + const _CONSUMER = 'CONSUMER'; + const _LICENSEE = 'LICENSEE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/AncillaryFeeAndTaxType.php b/src/FedEx/UploadDocumentService/SimpleType/AncillaryFeeAndTaxType.php new file mode 100644 index 00000000..30e16946 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/AncillaryFeeAndTaxType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class AncillaryFeeAndTaxType extends AbstractSimpleType +{ + const _CLEARANCE_ENTRY_FEE = 'CLEARANCE_ENTRY_FEE'; + const _GOODS_AND_SERVICES_TAX = 'GOODS_AND_SERVICES_TAX'; + const _HARMONIZED_SALES_TAX = 'HARMONIZED_SALES_TAX'; + const _OTHER = 'OTHER'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/AssociatedAccountNumberType.php b/src/FedEx/UploadDocumentService/SimpleType/AssociatedAccountNumberType.php new file mode 100644 index 00000000..f2fdefe2 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/AssociatedAccountNumberType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class AssociatedAccountNumberType extends AbstractSimpleType +{ + const _FEDEX_EXPRESS = 'FEDEX_EXPRESS'; + const _FEDEX_FREIGHT = 'FEDEX_FREIGHT'; + const _FEDEX_GROUND = 'FEDEX_GROUND'; + const _FEDEX_OFFICE = 'FEDEX_OFFICE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/AssociatedShipmentType.php b/src/FedEx/UploadDocumentService/SimpleType/AssociatedShipmentType.php new file mode 100644 index 00000000..5acafb25 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/AssociatedShipmentType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class AssociatedShipmentType extends AbstractSimpleType +{ + const _COD_AND_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN = 'COD_AND_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN'; + const _COD_RETURN = 'COD_RETURN'; + const _DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN = 'DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/AssociatedTrackingIdType.php b/src/FedEx/UploadDocumentService/SimpleType/AssociatedTrackingIdType.php new file mode 100644 index 00000000..37a180bb --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/AssociatedTrackingIdType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class AssociatedTrackingIdType extends AbstractSimpleType +{ + const _COD_AND_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN = 'COD_AND_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN'; + const _COD_RETURN = 'COD_RETURN'; + const _CONSOLIDATION_DOCUMENTS = 'CONSOLIDATION_DOCUMENTS'; + const _CONSOLIDATION_MASTER = 'CONSOLIDATION_MASTER'; + const _DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN = 'DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/B13AFilingOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/B13AFilingOptionType.php new file mode 100644 index 00000000..51ae2e59 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/B13AFilingOptionType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class B13AFilingOptionType extends AbstractSimpleType +{ + const _FEDEX_TO_STAMP = 'FEDEX_TO_STAMP'; + const _FILED_ELECTRONICALLY = 'FILED_ELECTRONICALLY'; + const _MANUALLY_ATTACHED = 'MANUALLY_ATTACHED'; + const _NOT_REQUIRED = 'NOT_REQUIRED'; + const _SUMMARY_REPORTING = 'SUMMARY_REPORTING'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/BarcodeSymbologyType.php b/src/FedEx/UploadDocumentService/SimpleType/BarcodeSymbologyType.php new file mode 100644 index 00000000..e7c02f6a --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/BarcodeSymbologyType.php @@ -0,0 +1,28 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class BarcodeSymbologyType extends AbstractSimpleType +{ + const _CODABAR = 'CODABAR'; + const _CODE128 = 'CODE128'; + const _CODE128B = 'CODE128B'; + const _CODE128C = 'CODE128C'; + const _CODE128_WIDEBAR = 'CODE128_WIDEBAR'; + const _CODE39 = 'CODE39'; + const _CODE93 = 'CODE93'; + const _I2OF5 = 'I2OF5'; + const _MANUAL = 'MANUAL'; + const _PDF417 = 'PDF417'; + const _POSTNET = 'POSTNET'; + const _QR_CODE = 'QR_CODE'; + const _UCC128 = 'UCC128'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/BatteryMaterialType.php b/src/FedEx/UploadDocumentService/SimpleType/BatteryMaterialType.php new file mode 100644 index 00000000..2cc7d20f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/BatteryMaterialType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class BatteryMaterialType extends AbstractSimpleType +{ + const _LITHIUM_ION = 'LITHIUM_ION'; + const _LITHIUM_METAL = 'LITHIUM_METAL'; + const _UNKNOWN = 'UNKNOWN'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/BatteryPackingType.php b/src/FedEx/UploadDocumentService/SimpleType/BatteryPackingType.php new file mode 100644 index 00000000..0652d5e0 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/BatteryPackingType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class BatteryPackingType extends AbstractSimpleType +{ + const _CONTAINED_IN_EQUIPMENT = 'CONTAINED_IN_EQUIPMENT'; + const _PACKED_WITH_EQUIPMENT = 'PACKED_WITH_EQUIPMENT'; + const _UNKNOWN = 'UNKNOWN'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/BatteryRegulatorySubType.php b/src/FedEx/UploadDocumentService/SimpleType/BatteryRegulatorySubType.php new file mode 100644 index 00000000..c4defa83 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/BatteryRegulatorySubType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class BatteryRegulatorySubType extends AbstractSimpleType +{ + const _IATA_SECTION_II = 'IATA_SECTION_II'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/BinaryBarcodeType.php b/src/FedEx/UploadDocumentService/SimpleType/BinaryBarcodeType.php new file mode 100644 index 00000000..36219fd3 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/BinaryBarcodeType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class BinaryBarcodeType extends AbstractSimpleType +{ + const _COMMON_2D = 'COMMON_2D'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/BrokerType.php b/src/FedEx/UploadDocumentService/SimpleType/BrokerType.php new file mode 100644 index 00000000..b6a29bbf --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/BrokerType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class BrokerType extends AbstractSimpleType +{ + const _EXPORT = 'EXPORT'; + const _IMPORT = 'IMPORT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CarrierCodeType.php b/src/FedEx/UploadDocumentService/SimpleType/CarrierCodeType.php new file mode 100644 index 00000000..b61153c9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CarrierCodeType.php @@ -0,0 +1,22 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CarrierCodeType extends AbstractSimpleType +{ + const _FDXC = 'FDXC'; + const _FDXE = 'FDXE'; + const _FDXG = 'FDXG'; + const _FDXO = 'FDXO'; + const _FXCC = 'FXCC'; + const _FXFR = 'FXFR'; + const _FXSP = 'FXSP'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ChargeBasisLevelType.php b/src/FedEx/UploadDocumentService/SimpleType/ChargeBasisLevelType.php new file mode 100644 index 00000000..aa8d37f9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ChargeBasisLevelType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ChargeBasisLevelType extends AbstractSimpleType +{ + const _CURRENT_PACKAGE = 'CURRENT_PACKAGE'; + const _SUM_OF_PACKAGES = 'SUM_OF_PACKAGES'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ClearanceBrokerageType.php b/src/FedEx/UploadDocumentService/SimpleType/ClearanceBrokerageType.php new file mode 100644 index 00000000..8e80c6b7 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ClearanceBrokerageType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ClearanceBrokerageType extends AbstractSimpleType +{ + const _BROKER_INCLUSIVE = 'BROKER_INCLUSIVE'; + const _BROKER_INCLUSIVE_NON_RESIDENT_IMPORTER = 'BROKER_INCLUSIVE_NON_RESIDENT_IMPORTER'; + const _BROKER_SELECT = 'BROKER_SELECT'; + const _BROKER_SELECT_NON_RESIDENT_IMPORTER = 'BROKER_SELECT_NON_RESIDENT_IMPORTER'; + const _BROKER_UNASSIGNED = 'BROKER_UNASSIGNED'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CodAddTransportationChargeBasisType.php b/src/FedEx/UploadDocumentService/SimpleType/CodAddTransportationChargeBasisType.php new file mode 100644 index 00000000..a3211028 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CodAddTransportationChargeBasisType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CodAddTransportationChargeBasisType extends AbstractSimpleType +{ + const _COD_SURCHARGE = 'COD_SURCHARGE'; + const _NET_CHARGE = 'NET_CHARGE'; + const _NET_FREIGHT = 'NET_FREIGHT'; + const _TOTAL_CUSTOMER_CHARGE = 'TOTAL_CUSTOMER_CHARGE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CodAdjustmentType.php b/src/FedEx/UploadDocumentService/SimpleType/CodAdjustmentType.php new file mode 100644 index 00000000..0069b006 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CodAdjustmentType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CodAdjustmentType extends AbstractSimpleType +{ + const _CHARGES_ADDED = 'CHARGES_ADDED'; + const _NONE = 'NONE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CodCollectionType.php b/src/FedEx/UploadDocumentService/SimpleType/CodCollectionType.php new file mode 100644 index 00000000..74ae0147 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CodCollectionType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CodCollectionType extends AbstractSimpleType +{ + const _ANY = 'ANY'; + const _CASH = 'CASH'; + const _COMPANY_CHECK = 'COMPANY_CHECK'; + const _GUARANTEED_FUNDS = 'GUARANTEED_FUNDS'; + const _PERSONAL_CHECK = 'PERSONAL_CHECK'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CodReturnReferenceIndicatorType.php b/src/FedEx/UploadDocumentService/SimpleType/CodReturnReferenceIndicatorType.php new file mode 100644 index 00000000..f5878491 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CodReturnReferenceIndicatorType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CodReturnReferenceIndicatorType extends AbstractSimpleType +{ + const _INVOICE = 'INVOICE'; + const _PO = 'PO'; + const _REFERENCE = 'REFERENCE'; + const _TRACKING = 'TRACKING'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CommodityPurposeType.php b/src/FedEx/UploadDocumentService/SimpleType/CommodityPurposeType.php new file mode 100644 index 00000000..059e27f0 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CommodityPurposeType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CommodityPurposeType extends AbstractSimpleType +{ + const _BUSINESS = 'BUSINESS'; + const _CONSUMER = 'CONSUMER'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CompletedEtdType.php b/src/FedEx/UploadDocumentService/SimpleType/CompletedEtdType.php new file mode 100644 index 00000000..b3a5ac6e --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CompletedEtdType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CompletedEtdType extends AbstractSimpleType +{ + const _ELECTRONIC_DOCUMENTS_ONLY = 'ELECTRONIC_DOCUMENTS_ONLY'; + const _ELECTRONIC_DOCUMENTS_WITH_ORIGINALS = 'ELECTRONIC_DOCUMENTS_WITH_ORIGINALS'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ConsolidationShipmentRoleType.php b/src/FedEx/UploadDocumentService/SimpleType/ConsolidationShipmentRoleType.php new file mode 100644 index 00000000..8eb0ba13 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ConsolidationShipmentRoleType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ConsolidationShipmentRoleType extends AbstractSimpleType +{ + const _CONSOLIDATION_DOCUMENTS_SHIPMENT = 'CONSOLIDATION_DOCUMENTS_SHIPMENT'; + const _CRN_SHIPMENT = 'CRN_SHIPMENT'; + const _MASTER_AIRWAYBILL_SHIPMENT = 'MASTER_AIRWAYBILL_SHIPMENT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ConsolidationSpecialServiceType.php b/src/FedEx/UploadDocumentService/SimpleType/ConsolidationSpecialServiceType.php new file mode 100644 index 00000000..f1e0c99f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ConsolidationSpecialServiceType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ConsolidationSpecialServiceType extends AbstractSimpleType +{ + const _BROKER_SELECT_OPTION = 'BROKER_SELECT_OPTION'; + const _PRIORITY_ALERT = 'PRIORITY_ALERT'; + const _SATURDAY_PICKUP = 'SATURDAY_PICKUP'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ConsolidationType.php b/src/FedEx/UploadDocumentService/SimpleType/ConsolidationType.php new file mode 100644 index 00000000..661fea4a --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ConsolidationType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ConsolidationType extends AbstractSimpleType +{ + const _INTERNATIONAL_DISTRIBUTION_FREIGHT = 'INTERNATIONAL_DISTRIBUTION_FREIGHT'; + const _INTERNATIONAL_ECONOMY_DISTRIBUTION = 'INTERNATIONAL_ECONOMY_DISTRIBUTION'; + const _INTERNATIONAL_GROUND_DIRECT_DISTRIBUTION = 'INTERNATIONAL_GROUND_DIRECT_DISTRIBUTION'; + const _INTERNATIONAL_GROUND_DISTRIBUTION = 'INTERNATIONAL_GROUND_DISTRIBUTION'; + const _INTERNATIONAL_PRIORITY_DISTRIBUTION = 'INTERNATIONAL_PRIORITY_DISTRIBUTION'; + const _TRANSBORDER_DISTRIBUTION = 'TRANSBORDER_DISTRIBUTION'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CreditCardAuthorizationType.php b/src/FedEx/UploadDocumentService/SimpleType/CreditCardAuthorizationType.php new file mode 100644 index 00000000..ade0876e --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CreditCardAuthorizationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CreditCardAuthorizationType extends AbstractSimpleType +{ + const _AUTHORIZE_NON_ACCOUNT = 'AUTHORIZE_NON_ACCOUNT'; + const _AUTHORIZE_WITH_ACCOUNT = 'AUTHORIZE_WITH_ACCOUNT'; + const _VERIFY_WITH_ACCOUNT = 'VERIFY_WITH_ACCOUNT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CreditCardSettlementScheduleType.php b/src/FedEx/UploadDocumentService/SimpleType/CreditCardSettlementScheduleType.php new file mode 100644 index 00000000..965cc4ef --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CreditCardSettlementScheduleType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CreditCardSettlementScheduleType extends AbstractSimpleType +{ + const _SETTLE_IMMEDIATELY = 'SETTLE_IMMEDIATELY'; + const _SETTLE_NEXT_DAY = 'SETTLE_NEXT_DAY'; + const _SETTLE_ON_DELIVERY = 'SETTLE_ON_DELIVERY'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CreditCardTransactionAttributeType.php b/src/FedEx/UploadDocumentService/SimpleType/CreditCardTransactionAttributeType.php new file mode 100644 index 00000000..24b97dfc --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CreditCardTransactionAttributeType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CreditCardTransactionAttributeType extends AbstractSimpleType +{ + const _ORIGINATED_BY_AUTHORIZED_PERSONNEL = 'ORIGINATED_BY_AUTHORIZED_PERSONNEL'; + const _ORIGINATED_BY_UNAUTHORIZED_PERSONNEL = 'ORIGINATED_BY_UNAUTHORIZED_PERSONNEL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CreditCardType.php b/src/FedEx/UploadDocumentService/SimpleType/CreditCardType.php new file mode 100644 index 00000000..52a22e8b --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CreditCardType.php @@ -0,0 +1,22 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CreditCardType extends AbstractSimpleType +{ + const _AMEX = 'AMEX'; + const _DANKORT = 'DANKORT'; + const _DINERS = 'DINERS'; + const _DISCOVER = 'DISCOVER'; + const _JCB = 'JCB'; + const _MASTERCARD = 'MASTERCARD'; + const _VISA = 'VISA'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CustomDeliveryWindowType.php b/src/FedEx/UploadDocumentService/SimpleType/CustomDeliveryWindowType.php new file mode 100644 index 00000000..1a4e6ffd --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CustomDeliveryWindowType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CustomDeliveryWindowType extends AbstractSimpleType +{ + const _AFTER = 'AFTER'; + const _BEFORE = 'BEFORE'; + const _BETWEEN = 'BETWEEN'; + const _ON = 'ON'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CustomLabelCoordinateUnits.php b/src/FedEx/UploadDocumentService/SimpleType/CustomLabelCoordinateUnits.php new file mode 100644 index 00000000..cc7b68b8 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CustomLabelCoordinateUnits.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CustomLabelCoordinateUnits extends AbstractSimpleType +{ + const _MILS = 'MILS'; + const _PIXELS = 'PIXELS'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CustomRatingOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/CustomRatingOptionType.php new file mode 100644 index 00000000..56bbf31a --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CustomRatingOptionType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CustomRatingOptionType extends AbstractSimpleType +{ + const _DISCOUNT_EXCLUSION = 'DISCOUNT_EXCLUSION'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CustomerImageUsageType.php b/src/FedEx/UploadDocumentService/SimpleType/CustomerImageUsageType.php new file mode 100644 index 00000000..679a0ac3 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CustomerImageUsageType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CustomerImageUsageType extends AbstractSimpleType +{ + const _LETTER_HEAD = 'LETTER_HEAD'; + const _SIGNATURE = 'SIGNATURE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CustomerReferenceType.php b/src/FedEx/UploadDocumentService/SimpleType/CustomerReferenceType.php new file mode 100644 index 00000000..45b94732 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CustomerReferenceType.php @@ -0,0 +1,26 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CustomerReferenceType extends AbstractSimpleType +{ + const _BILL_OF_LADING = 'BILL_OF_LADING'; + const _CUSTOMER_REFERENCE = 'CUSTOMER_REFERENCE'; + const _DEPARTMENT_NUMBER = 'DEPARTMENT_NUMBER'; + const _ELECTRONIC_PRODUCT_CODE = 'ELECTRONIC_PRODUCT_CODE'; + const _INTRACOUNTRY_REGULATORY_REFERENCE = 'INTRACOUNTRY_REGULATORY_REFERENCE'; + const _INVOICE_NUMBER = 'INVOICE_NUMBER'; + const _PACKING_SLIP_NUMBER = 'PACKING_SLIP_NUMBER'; + const _P_O_NUMBER = 'P_O_NUMBER'; + const _RMA_ASSOCIATION = 'RMA_ASSOCIATION'; + const _SHIPMENT_INTEGRITY = 'SHIPMENT_INTEGRITY'; + const _STORE_NUMBER = 'STORE_NUMBER'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CustomerSpecifiedLabelGenerationOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/CustomerSpecifiedLabelGenerationOptionType.php new file mode 100644 index 00000000..cfebb462 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CustomerSpecifiedLabelGenerationOptionType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CustomerSpecifiedLabelGenerationOptionType extends AbstractSimpleType +{ + const _CONTENT_ON_SHIPPING_LABEL_ONLY = 'CONTENT_ON_SHIPPING_LABEL_ONLY'; + const _CONTENT_ON_SHIPPING_LABEL_PREFERRED = 'CONTENT_ON_SHIPPING_LABEL_PREFERRED'; + const _CONTENT_ON_SUPPLEMENTAL_LABEL_ONLY = 'CONTENT_ON_SUPPLEMENTAL_LABEL_ONLY'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CustomsDeclarationStatementType.php b/src/FedEx/UploadDocumentService/SimpleType/CustomsDeclarationStatementType.php new file mode 100644 index 00000000..82a7faf3 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CustomsDeclarationStatementType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CustomsDeclarationStatementType extends AbstractSimpleType +{ + const _USMCA_LOW_VALUE = 'USMCA_LOW_VALUE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/CustomsOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/CustomsOptionType.php new file mode 100644 index 00000000..ba3cd9b5 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/CustomsOptionType.php @@ -0,0 +1,25 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class CustomsOptionType extends AbstractSimpleType +{ + const _COURTESY_RETURN_LABEL = 'COURTESY_RETURN_LABEL'; + const _EXHIBITION_TRADE_SHOW = 'EXHIBITION_TRADE_SHOW'; + const _FAULTY_ITEM = 'FAULTY_ITEM'; + const _FOLLOWING_REPAIR = 'FOLLOWING_REPAIR'; + const _FOR_REPAIR = 'FOR_REPAIR'; + const _ITEM_FOR_LOAN = 'ITEM_FOR_LOAN'; + const _OTHER = 'OTHER'; + const _REJECTED = 'REJECTED'; + const _REPLACEMENT = 'REPLACEMENT'; + const _TRIAL = 'TRIAL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/DamageStatusType.php b/src/FedEx/UploadDocumentService/SimpleType/DamageStatusType.php new file mode 100644 index 00000000..e5e5c2b9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/DamageStatusType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class DamageStatusType extends AbstractSimpleType +{ + const _DAMAGE_KNOWN = 'DAMAGE_KNOWN'; + const _NO_KNOWN_DAMAGE = 'NO_KNOWN_DAMAGE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/DangerousGoodsAccessibilityType.php b/src/FedEx/UploadDocumentService/SimpleType/DangerousGoodsAccessibilityType.php new file mode 100644 index 00000000..360fdf7f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/DangerousGoodsAccessibilityType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class DangerousGoodsAccessibilityType extends AbstractSimpleType +{ + const _ACCESSIBLE = 'ACCESSIBLE'; + const _INACCESSIBLE = 'INACCESSIBLE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/DangerousGoodsDescriptorType.php b/src/FedEx/UploadDocumentService/SimpleType/DangerousGoodsDescriptorType.php new file mode 100644 index 00000000..02dea400 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/DangerousGoodsDescriptorType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class DangerousGoodsDescriptorType extends AbstractSimpleType +{ + const _ALCOHOLIC_BEVERAGE = 'ALCOHOLIC_BEVERAGE'; + const _DRY_ICE = 'DRY_ICE'; + const _EMERGENCY_CONTACT_PHONE_REQUIRED = 'EMERGENCY_CONTACT_PHONE_REQUIRED'; + const _EXCEPTED_QUANTITIES = 'EXCEPTED_QUANTITIES'; + const _INFECTIOUS_SUBSTANCE = 'INFECTIOUS_SUBSTANCE'; + const _RADIOACTIVE = 'RADIOACTIVE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/DangerousGoodsPackingOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/DangerousGoodsPackingOptionType.php new file mode 100644 index 00000000..8ee5acc2 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/DangerousGoodsPackingOptionType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class DangerousGoodsPackingOptionType extends AbstractSimpleType +{ + const _OVERPACK = 'OVERPACK'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/DayOfWeekType.php b/src/FedEx/UploadDocumentService/SimpleType/DayOfWeekType.php new file mode 100644 index 00000000..e3ee06f9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/DayOfWeekType.php @@ -0,0 +1,22 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class DayOfWeekType extends AbstractSimpleType +{ + const _FRI = 'FRI'; + const _MON = 'MON'; + const _SAT = 'SAT'; + const _SUN = 'SUN'; + const _THU = 'THU'; + const _TUE = 'TUE'; + const _WED = 'WED'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/DeleteRecordedShipmentRequestServiceLevel.php b/src/FedEx/UploadDocumentService/SimpleType/DeleteRecordedShipmentRequestServiceLevel.php new file mode 100644 index 00000000..1ed00f92 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/DeleteRecordedShipmentRequestServiceLevel.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class DeleteRecordedShipmentRequestServiceLevel extends AbstractSimpleType +{ + const _DELETE_ALL_PACKAGES = 'DELETE_ALL_PACKAGES'; + const _DELETE_ENTIRE_CONSOLIDATION = 'DELETE_ENTIRE_CONSOLIDATION'; + const _DELETE_ONE_PACKAGE = 'DELETE_ONE_PACKAGE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/DestinationControlStatementType.php b/src/FedEx/UploadDocumentService/SimpleType/DestinationControlStatementType.php new file mode 100644 index 00000000..45d4e4ac --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/DestinationControlStatementType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class DestinationControlStatementType extends AbstractSimpleType +{ + const _DEPARTMENT_OF_COMMERCE = 'DEPARTMENT_OF_COMMERCE'; + const _DEPARTMENT_OF_STATE = 'DEPARTMENT_OF_STATE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/DistributionClearanceType.php b/src/FedEx/UploadDocumentService/SimpleType/DistributionClearanceType.php new file mode 100644 index 00000000..20ec8cf6 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/DistributionClearanceType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class DistributionClearanceType extends AbstractSimpleType +{ + const _DESTINATION_COUNTRY_CLEARANCE = 'DESTINATION_COUNTRY_CLEARANCE'; + const _SINGLE_POINT_OF_CLEARANCE = 'SINGLE_POINT_OF_CLEARANCE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/DocTabContentType.php b/src/FedEx/UploadDocumentService/SimpleType/DocTabContentType.php new file mode 100644 index 00000000..17361315 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/DocTabContentType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class DocTabContentType extends AbstractSimpleType +{ + const _BARCODED = 'BARCODED'; + const _CUSTOM = 'CUSTOM'; + const _MINIMUM = 'MINIMUM'; + const _STANDARD = 'STANDARD'; + const _ZONE001 = 'ZONE001'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/DocTabZoneJustificationType.php b/src/FedEx/UploadDocumentService/SimpleType/DocTabZoneJustificationType.php new file mode 100644 index 00000000..f60226e5 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/DocTabZoneJustificationType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class DocTabZoneJustificationType extends AbstractSimpleType +{ + const _LEFT = 'LEFT'; + const _RIGHT = 'RIGHT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/DocumentFormatOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/DocumentFormatOptionType.php new file mode 100644 index 00000000..6047ab81 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/DocumentFormatOptionType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class DocumentFormatOptionType extends AbstractSimpleType +{ + const _SUPPRESS_ADDITIONAL_LANGUAGES = 'SUPPRESS_ADDITIONAL_LANGUAGES'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/DropoffType.php b/src/FedEx/UploadDocumentService/SimpleType/DropoffType.php new file mode 100644 index 00000000..ecf7b4fd --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/DropoffType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class DropoffType extends AbstractSimpleType +{ + const _BUSINESS_SERVICE_CENTER = 'BUSINESS_SERVICE_CENTER'; + const _DROP_BOX = 'DROP_BOX'; + const _REGULAR_PICKUP = 'REGULAR_PICKUP'; + const _REQUEST_COURIER = 'REQUEST_COURIER'; + const _STATION = 'STATION'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/EMailNotificationRecipientType.php b/src/FedEx/UploadDocumentService/SimpleType/EMailNotificationRecipientType.php new file mode 100644 index 00000000..c1f418da --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/EMailNotificationRecipientType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class EMailNotificationRecipientType extends AbstractSimpleType +{ + const _BROKER = 'BROKER'; + const _OTHER = 'OTHER'; + const _RECIPIENT = 'RECIPIENT'; + const _SHIPPER = 'SHIPPER'; + const _THIRD_PARTY = 'THIRD_PARTY'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/EPaymentModeType.php b/src/FedEx/UploadDocumentService/SimpleType/EPaymentModeType.php new file mode 100644 index 00000000..68170c83 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/EPaymentModeType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class EPaymentModeType extends AbstractSimpleType +{ + const _APPLE_PAY = 'APPLE_PAY'; + const _CASH = 'CASH'; + const _CHECK = 'CHECK'; + const _CREDIT_CARD = 'CREDIT_CARD'; + const _GOOGLE_PAY = 'GOOGLE_PAY'; + const _PAYPAL = 'PAYPAL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/EPaymentProcessorType.php b/src/FedEx/UploadDocumentService/SimpleType/EPaymentProcessorType.php new file mode 100644 index 00000000..05268384 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/EPaymentProcessorType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class EPaymentProcessorType extends AbstractSimpleType +{ + const _RETAIL_SINGLE_POINT_OF_SALE = 'RETAIL_SINGLE_POINT_OF_SALE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/EdtRequestType.php b/src/FedEx/UploadDocumentService/SimpleType/EdtRequestType.php new file mode 100644 index 00000000..b543c282 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/EdtRequestType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class EdtRequestType extends AbstractSimpleType +{ + const _ALL = 'ALL'; + const _NONE = 'NONE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/EdtTaxType.php b/src/FedEx/UploadDocumentService/SimpleType/EdtTaxType.php new file mode 100644 index 00000000..60a5043f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/EdtTaxType.php @@ -0,0 +1,30 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class EdtTaxType extends AbstractSimpleType +{ + const _ADDITIONAL_TAXES = 'ADDITIONAL_TAXES'; + const _CONSULAR_INVOICE_FEE = 'CONSULAR_INVOICE_FEE'; + const _CUSTOMS_SURCHARGES = 'CUSTOMS_SURCHARGES'; + const _DUTY = 'DUTY'; + const _EXCISE_TAX = 'EXCISE_TAX'; + const _FOREIGN_EXCHANGE_TAX = 'FOREIGN_EXCHANGE_TAX'; + const _GENERAL_SALES_TAX = 'GENERAL_SALES_TAX'; + const _IMPORT_LICENSE_FEE = 'IMPORT_LICENSE_FEE'; + const _INTERNAL_ADDITIONAL_TAXES = 'INTERNAL_ADDITIONAL_TAXES'; + const _INTERNAL_SENSITIVE_PRODUCTS_TAX = 'INTERNAL_SENSITIVE_PRODUCTS_TAX'; + const _OTHER = 'OTHER'; + const _SENSITIVE_PRODUCTS_TAX = 'SENSITIVE_PRODUCTS_TAX'; + const _STAMP_TAX = 'STAMP_TAX'; + const _STATISTICAL_TAX = 'STATISTICAL_TAX'; + const _TRANSPORT_FACILITIES_TAX = 'TRANSPORT_FACILITIES_TAX'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/EmailOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/EmailOptionType.php new file mode 100644 index 00000000..582e872c --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/EmailOptionType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class EmailOptionType extends AbstractSimpleType +{ + const _PRODUCE_PAPERLESS_SHIPPING_FORMAT = 'PRODUCE_PAPERLESS_SHIPPING_FORMAT'; + const _SUPPRESS_ACCESS_EMAILS = 'SUPPRESS_ACCESS_EMAILS'; + const _SUPPRESS_ADDITIONAL_LANGUAGES = 'SUPPRESS_ADDITIONAL_LANGUAGES'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/EnterpriseDocumentType.php b/src/FedEx/UploadDocumentService/SimpleType/EnterpriseDocumentType.php index 80ff2725..3dd885dd 100644 --- a/src/FedEx/UploadDocumentService/SimpleType/EnterpriseDocumentType.php +++ b/src/FedEx/UploadDocumentService/SimpleType/EnterpriseDocumentType.php @@ -15,6 +15,7 @@ class EnterpriseDocumentType extends AbstractSimpleType const _AIR_WAYBILL = 'AIR_WAYBILL'; const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; } diff --git a/src/FedEx/UploadDocumentService/SimpleType/ErrorLabelBehaviorType.php b/src/FedEx/UploadDocumentService/SimpleType/ErrorLabelBehaviorType.php new file mode 100644 index 00000000..1c2f90e5 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ErrorLabelBehaviorType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ErrorLabelBehaviorType extends AbstractSimpleType +{ + const _PACKAGE_ERROR_LABELS = 'PACKAGE_ERROR_LABELS'; + const _STANDARD = 'STANDARD'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/EtdAttributeType.php b/src/FedEx/UploadDocumentService/SimpleType/EtdAttributeType.php new file mode 100644 index 00000000..19635dfd --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/EtdAttributeType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class EtdAttributeType extends AbstractSimpleType +{ + const _POST_SHIPMENT_UPLOAD_REQUESTED = 'POST_SHIPMENT_UPLOAD_REQUESTED'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/EtdConfirmationType.php b/src/FedEx/UploadDocumentService/SimpleType/EtdConfirmationType.php new file mode 100644 index 00000000..69d67ca0 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/EtdConfirmationType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class EtdConfirmationType extends AbstractSimpleType +{ + const _CONFIRMED = 'CONFIRMED'; + const _DEFERRED = 'DEFERRED'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/FedExDistributionLocationType.php b/src/FedEx/UploadDocumentService/SimpleType/FedExDistributionLocationType.php new file mode 100644 index 00000000..80611cf0 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/FedExDistributionLocationType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class FedExDistributionLocationType extends AbstractSimpleType +{ + const _CUSTOMER_SPECIFIED = 'CUSTOMER_SPECIFIED'; + const _FEDEX_EXPRESS_FREIGHT_RAMP = 'FEDEX_EXPRESS_FREIGHT_RAMP'; + const _FEDEX_EXPRESS_STATION = 'FEDEX_EXPRESS_STATION'; + const _FEDEX_GROUND_TERMINAL = 'FEDEX_GROUND_TERMINAL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/FedExLocationType.php b/src/FedEx/UploadDocumentService/SimpleType/FedExLocationType.php new file mode 100644 index 00000000..a2b9f040 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/FedExLocationType.php @@ -0,0 +1,27 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class FedExLocationType extends AbstractSimpleType +{ + const _FEDEX_AUTHORIZED_SHIP_CENTER = 'FEDEX_AUTHORIZED_SHIP_CENTER'; + const _FEDEX_EXPRESS_STATION = 'FEDEX_EXPRESS_STATION'; + const _FEDEX_FACILITY = 'FEDEX_FACILITY'; + const _FEDEX_FREIGHT_SERVICE_CENTER = 'FEDEX_FREIGHT_SERVICE_CENTER'; + const _FEDEX_GROUND_TERMINAL = 'FEDEX_GROUND_TERMINAL'; + const _FEDEX_HOME_DELIVERY_STATION = 'FEDEX_HOME_DELIVERY_STATION'; + const _FEDEX_OFFICE = 'FEDEX_OFFICE'; + const _FEDEX_ONSITE = 'FEDEX_ONSITE'; + const _FEDEX_SELF_SERVICE_LOCATION = 'FEDEX_SELF_SERVICE_LOCATION'; + const _FEDEX_SHIPSITE = 'FEDEX_SHIPSITE'; + const _FEDEX_SHIP_AND_GET = 'FEDEX_SHIP_AND_GET'; + const _FEDEX_SMART_POST_HUB = 'FEDEX_SMART_POST_HUB'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/FlatbedTrailerOption.php b/src/FedEx/UploadDocumentService/SimpleType/FlatbedTrailerOption.php new file mode 100644 index 00000000..c0efdfd9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/FlatbedTrailerOption.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class FlatbedTrailerOption extends AbstractSimpleType +{ + const _OVER_DIMENSION = 'OVER_DIMENSION'; + const _TARP = 'TARP'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/FreightBaseChargeCalculationType.php b/src/FedEx/UploadDocumentService/SimpleType/FreightBaseChargeCalculationType.php new file mode 100644 index 00000000..24ca5753 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/FreightBaseChargeCalculationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class FreightBaseChargeCalculationType extends AbstractSimpleType +{ + const _BEYOND = 'BEYOND'; + const _LINE_ITEMS = 'LINE_ITEMS'; + const _UNIT_PRICING = 'UNIT_PRICING'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/FreightChargeBasisType.php b/src/FedEx/UploadDocumentService/SimpleType/FreightChargeBasisType.php new file mode 100644 index 00000000..1e64953b --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/FreightChargeBasisType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class FreightChargeBasisType extends AbstractSimpleType +{ + const _CWT = 'CWT'; + const _FLAT = 'FLAT'; + const _MINIMUM = 'MINIMUM'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/FreightClassType.php b/src/FedEx/UploadDocumentService/SimpleType/FreightClassType.php new file mode 100644 index 00000000..3ab38bda --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/FreightClassType.php @@ -0,0 +1,33 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class FreightClassType extends AbstractSimpleType +{ + const _CLASS_050 = 'CLASS_050'; + const _CLASS_055 = 'CLASS_055'; + const _CLASS_060 = 'CLASS_060'; + const _CLASS_065 = 'CLASS_065'; + const _CLASS_070 = 'CLASS_070'; + const _CLASS_077_5 = 'CLASS_077_5'; + const _CLASS_085 = 'CLASS_085'; + const _CLASS_092_5 = 'CLASS_092_5'; + const _CLASS_100 = 'CLASS_100'; + const _CLASS_110 = 'CLASS_110'; + const _CLASS_125 = 'CLASS_125'; + const _CLASS_150 = 'CLASS_150'; + const _CLASS_175 = 'CLASS_175'; + const _CLASS_200 = 'CLASS_200'; + const _CLASS_250 = 'CLASS_250'; + const _CLASS_300 = 'CLASS_300'; + const _CLASS_400 = 'CLASS_400'; + const _CLASS_500 = 'CLASS_500'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/FreightCollectTermsType.php b/src/FedEx/UploadDocumentService/SimpleType/FreightCollectTermsType.php new file mode 100644 index 00000000..ab30bc6b --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/FreightCollectTermsType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class FreightCollectTermsType extends AbstractSimpleType +{ + const _NON_RECOURSE_SHIPPER_SIGNED = 'NON_RECOURSE_SHIPPER_SIGNED'; + const _STANDARD = 'STANDARD'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/FreightGuaranteeType.php b/src/FedEx/UploadDocumentService/SimpleType/FreightGuaranteeType.php new file mode 100644 index 00000000..2a9d6cc3 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/FreightGuaranteeType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class FreightGuaranteeType extends AbstractSimpleType +{ + const _GUARANTEED_DATE = 'GUARANTEED_DATE'; + const _GUARANTEED_MORNING = 'GUARANTEED_MORNING'; + const _GUARANTEED_TIME = 'GUARANTEED_TIME'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/FreightOnValueType.php b/src/FedEx/UploadDocumentService/SimpleType/FreightOnValueType.php new file mode 100644 index 00000000..13eaae1d --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/FreightOnValueType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class FreightOnValueType extends AbstractSimpleType +{ + const _CARRIER_RISK = 'CARRIER_RISK'; + const _OWN_RISK = 'OWN_RISK'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/FreightRateQuoteType.php b/src/FedEx/UploadDocumentService/SimpleType/FreightRateQuoteType.php new file mode 100644 index 00000000..cce215cb --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/FreightRateQuoteType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class FreightRateQuoteType extends AbstractSimpleType +{ + const _AUTOMATED = 'AUTOMATED'; + const _MANUAL = 'MANUAL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/FreightShipmentRoleType.php b/src/FedEx/UploadDocumentService/SimpleType/FreightShipmentRoleType.php new file mode 100644 index 00000000..363e7702 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/FreightShipmentRoleType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class FreightShipmentRoleType extends AbstractSimpleType +{ + const _CONSIGNEE = 'CONSIGNEE'; + const _SHIPPER = 'SHIPPER'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/GroundDeliveryEligibilityType.php b/src/FedEx/UploadDocumentService/SimpleType/GroundDeliveryEligibilityType.php new file mode 100644 index 00000000..bfc1ff77 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/GroundDeliveryEligibilityType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class GroundDeliveryEligibilityType extends AbstractSimpleType +{ + const _ALTERNATE_DAY_SERVICE = 'ALTERNATE_DAY_SERVICE'; + const _CARTAGE_AGENT_DELIVERY = 'CARTAGE_AGENT_DELIVERY'; + const _SATURDAY_DELIVERY = 'SATURDAY_DELIVERY'; + const _USPS_DELIVERY = 'USPS_DELIVERY'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityAttributeType.php b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityAttributeType.php new file mode 100644 index 00000000..e2b88049 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityAttributeType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class HazardousCommodityAttributeType extends AbstractSimpleType +{ + const _NOT_SUBJECT_TO_REGULATIONS = 'NOT_SUBJECT_TO_REGULATIONS'; + const _PLACARDED_VEHICLE_REQUIRED = 'PLACARDED_VEHICLE_REQUIRED'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityDescriptionProcessingOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityDescriptionProcessingOptionType.php new file mode 100644 index 00000000..1d0addb4 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityDescriptionProcessingOptionType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class HazardousCommodityDescriptionProcessingOptionType extends AbstractSimpleType +{ + const _INCLUDE_SPECIAL_PROVISIONS = 'INCLUDE_SPECIAL_PROVISIONS'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityLabelTextOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityLabelTextOptionType.php new file mode 100644 index 00000000..b8775d1f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityLabelTextOptionType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class HazardousCommodityLabelTextOptionType extends AbstractSimpleType +{ + const _APPEND = 'APPEND'; + const _OVERRIDE = 'OVERRIDE'; + const _STANDARD = 'STANDARD'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityOptionType.php new file mode 100644 index 00000000..09d7e8e4 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityOptionType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class HazardousCommodityOptionType extends AbstractSimpleType +{ + const _BATTERY = 'BATTERY'; + const _HAZARDOUS_MATERIALS = 'HAZARDOUS_MATERIALS'; + const _LIMITED_QUANTITIES_COMMODITIES = 'LIMITED_QUANTITIES_COMMODITIES'; + const _ORM_D = 'ORM_D'; + const _REPORTABLE_QUANTITIES = 'REPORTABLE_QUANTITIES'; + const _SMALL_QUANTITY_EXCEPTION = 'SMALL_QUANTITY_EXCEPTION'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityPackingGroupType.php b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityPackingGroupType.php new file mode 100644 index 00000000..46cc0127 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityPackingGroupType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class HazardousCommodityPackingGroupType extends AbstractSimpleType +{ + const _DEFAULT = 'DEFAULT'; + const _I = 'I'; + const _II = 'II'; + const _III = 'III'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityQuantityType.php b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityQuantityType.php new file mode 100644 index 00000000..e4ccefcb --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityQuantityType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class HazardousCommodityQuantityType extends AbstractSimpleType +{ + const _GROSS = 'GROSS'; + const _NET = 'NET'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityRegulationType.php b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityRegulationType.php new file mode 100644 index 00000000..c5a06f90 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/HazardousCommodityRegulationType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class HazardousCommodityRegulationType extends AbstractSimpleType +{ + const _ADR = 'ADR'; + const _DOT = 'DOT'; + const _IATA = 'IATA'; + const _ORMD = 'ORMD'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/HazardousContainerPackingType.php b/src/FedEx/UploadDocumentService/SimpleType/HazardousContainerPackingType.php new file mode 100644 index 00000000..f29c2f4b --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/HazardousContainerPackingType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class HazardousContainerPackingType extends AbstractSimpleType +{ + const _ALL_PACKED_IN_ONE = 'ALL_PACKED_IN_ONE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/HomeDeliveryPremiumType.php b/src/FedEx/UploadDocumentService/SimpleType/HomeDeliveryPremiumType.php new file mode 100644 index 00000000..5057f438 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/HomeDeliveryPremiumType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class HomeDeliveryPremiumType extends AbstractSimpleType +{ + const _APPOINTMENT = 'APPOINTMENT'; + const _DATE_CERTAIN = 'DATE_CERTAIN'; + const _EVENING = 'EVENING'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/InspectionStatusType.php b/src/FedEx/UploadDocumentService/SimpleType/InspectionStatusType.php new file mode 100644 index 00000000..d3aad54e --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/InspectionStatusType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class InspectionStatusType extends AbstractSimpleType +{ + const _CUSTOMER_REFUSED_INSPECTION = 'CUSTOMER_REFUSED_INSPECTION'; + const _INSPECTED = 'INSPECTED'; + const _NOT_INSPECTED = 'NOT_INSPECTED'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/InternalImageType.php b/src/FedEx/UploadDocumentService/SimpleType/InternalImageType.php new file mode 100644 index 00000000..e6813aca --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/InternalImageType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class InternalImageType extends AbstractSimpleType +{ + const _LETTER_HEAD = 'LETTER_HEAD'; + const _SIGNATURE = 'SIGNATURE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/InternationalControlledExportType.php b/src/FedEx/UploadDocumentService/SimpleType/InternationalControlledExportType.php new file mode 100644 index 00000000..534dc4a1 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/InternationalControlledExportType.php @@ -0,0 +1,26 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class InternationalControlledExportType extends AbstractSimpleType +{ + const _DEA_036 = 'DEA_036'; + const _DEA_236 = 'DEA_236'; + const _DEA_486 = 'DEA_486'; + const _DSP_05 = 'DSP_05'; + const _DSP_61 = 'DSP_61'; + const _DSP_73 = 'DSP_73'; + const _DSP_85 = 'DSP_85'; + const _DSP_94 = 'DSP_94'; + const _DSP_LICENSE_AGREEMENT = 'DSP_LICENSE_AGREEMENT'; + const _FROM_FOREIGN_TRADE_ZONE = 'FROM_FOREIGN_TRADE_ZONE'; + const _WAREHOUSE_WITHDRAWAL = 'WAREHOUSE_WITHDRAWAL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/InternationalDocumentContentType.php b/src/FedEx/UploadDocumentService/SimpleType/InternationalDocumentContentType.php new file mode 100644 index 00000000..8e91f830 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/InternationalDocumentContentType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class InternationalDocumentContentType extends AbstractSimpleType +{ + const _DERIVED = 'DERIVED'; + const _DOCUMENTS_ONLY = 'DOCUMENTS_ONLY'; + const _NON_DOCUMENTS = 'NON_DOCUMENTS'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/LabelFormatType.php b/src/FedEx/UploadDocumentService/SimpleType/LabelFormatType.php new file mode 100644 index 00000000..04852d0b --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/LabelFormatType.php @@ -0,0 +1,22 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class LabelFormatType extends AbstractSimpleType +{ + const _COMMON2D = 'COMMON2D'; + const _ERROR = 'ERROR'; + const _LABEL_DATA_ONLY = 'LABEL_DATA_ONLY'; + const _MAILROOM = 'MAILROOM'; + const _NO_LABEL = 'NO_LABEL'; + const _OPERATIONAL_LABEL = 'OPERATIONAL_LABEL'; + const _PRE_COMMON2D = 'PRE_COMMON2D'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/LabelMaskableDataType.php b/src/FedEx/UploadDocumentService/SimpleType/LabelMaskableDataType.php new file mode 100644 index 00000000..7c6660b6 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/LabelMaskableDataType.php @@ -0,0 +1,28 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class LabelMaskableDataType extends AbstractSimpleType +{ + const _CUSTOMS_VALUE = 'CUSTOMS_VALUE'; + const _DIMENSIONS = 'DIMENSIONS'; + const _DUTIES_AND_TAXES_PAYOR_ACCOUNT_NUMBER = 'DUTIES_AND_TAXES_PAYOR_ACCOUNT_NUMBER'; + const _FREIGHT_PAYOR_ACCOUNT_NUMBER = 'FREIGHT_PAYOR_ACCOUNT_NUMBER'; + const _INSURED_VALUE = 'INSURED_VALUE'; + const _PACKAGE_SEQUENCE_AND_COUNT = 'PACKAGE_SEQUENCE_AND_COUNT'; + const _SECONDARY_BARCODE = 'SECONDARY_BARCODE'; + const _SHIPPER_ACCOUNT_NUMBER = 'SHIPPER_ACCOUNT_NUMBER'; + const _SHIPPER_INFORMATION = 'SHIPPER_INFORMATION'; + const _SUPPLEMENTAL_LABEL_DOC_TAB = 'SUPPLEMENTAL_LABEL_DOC_TAB'; + const _TERMS_AND_CONDITIONS = 'TERMS_AND_CONDITIONS'; + const _TOTAL_WEIGHT = 'TOTAL_WEIGHT'; + const _TRANSPORTATION_CHARGES_PAYOR_ACCOUNT_NUMBER = 'TRANSPORTATION_CHARGES_PAYOR_ACCOUNT_NUMBER'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/LabelOrderType.php b/src/FedEx/UploadDocumentService/SimpleType/LabelOrderType.php new file mode 100644 index 00000000..3e9e7af9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/LabelOrderType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class LabelOrderType extends AbstractSimpleType +{ + const _SHIPPING_LABEL_FIRST = 'SHIPPING_LABEL_FIRST'; + const _SHIPPING_LABEL_LAST = 'SHIPPING_LABEL_LAST'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/LabelPrintingOrientationType.php b/src/FedEx/UploadDocumentService/SimpleType/LabelPrintingOrientationType.php new file mode 100644 index 00000000..c1a425a2 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/LabelPrintingOrientationType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class LabelPrintingOrientationType extends AbstractSimpleType +{ + const _BOTTOM_EDGE_OF_TEXT_FIRST = 'BOTTOM_EDGE_OF_TEXT_FIRST'; + const _TOP_EDGE_OF_TEXT_FIRST = 'TOP_EDGE_OF_TEXT_FIRST'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/LabelRotationType.php b/src/FedEx/UploadDocumentService/SimpleType/LabelRotationType.php new file mode 100644 index 00000000..2145c498 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/LabelRotationType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class LabelRotationType extends AbstractSimpleType +{ + const _LEFT = 'LEFT'; + const _NONE = 'NONE'; + const _RIGHT = 'RIGHT'; + const _UPSIDE_DOWN = 'UPSIDE_DOWN'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/LabelSpecificationProcessingOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/LabelSpecificationProcessingOptionType.php new file mode 100644 index 00000000..e46d55fb --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/LabelSpecificationProcessingOptionType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class LabelSpecificationProcessingOptionType extends AbstractSimpleType +{ + const _INCLUDE_DOC_TAB_ON_ALL_LABELS = 'INCLUDE_DOC_TAB_ON_ALL_LABELS'; + const _PRE_EACI_LABEL = 'PRE_EACI_LABEL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/LabelStockType.php b/src/FedEx/UploadDocumentService/SimpleType/LabelStockType.php new file mode 100644 index 00000000..9efaa379 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/LabelStockType.php @@ -0,0 +1,31 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class LabelStockType extends AbstractSimpleType +{ + const _PAPER_4X6 = 'PAPER_4X6'; + const _PAPER_4X6POINT75 = 'PAPER_4X6.75'; + const _PAPER_4X8 = 'PAPER_4X8'; + const _PAPER_4X9 = 'PAPER_4X9'; + const _PAPER_7X4POINT75 = 'PAPER_7X4.75'; + const _PAPER_8POINT5X11_BOTTOM_HALF_LABEL = 'PAPER_8.5X11_BOTTOM_HALF_LABEL'; + const _PAPER_8POINT5X11_TOP_HALF_LABEL = 'PAPER_8.5X11_TOP_HALF_LABEL'; + const _PAPER_LETTER = 'PAPER_LETTER'; + const _STOCK_4X6 = 'STOCK_4X6'; + const _STOCK_4X6POINT75 = 'STOCK_4X6.75'; + const _STOCK_4X6POINT75_LEADING_DOC_TAB = 'STOCK_4X6.75_LEADING_DOC_TAB'; + const _STOCK_4X6POINT75_TRAILING_DOC_TAB = 'STOCK_4X6.75_TRAILING_DOC_TAB'; + const _STOCK_4X8 = 'STOCK_4X8'; + const _STOCK_4X9 = 'STOCK_4X9'; + const _STOCK_4X9_LEADING_DOC_TAB = 'STOCK_4X9_LEADING_DOC_TAB'; + const _STOCK_4X9_TRAILING_DOC_TAB = 'STOCK_4X9_TRAILING_DOC_TAB'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/LiabilityCoverageType.php b/src/FedEx/UploadDocumentService/SimpleType/LiabilityCoverageType.php new file mode 100644 index 00000000..0e2fcf7a --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/LiabilityCoverageType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class LiabilityCoverageType extends AbstractSimpleType +{ + const _NEW = 'NEW'; + const _USED_OR_RECONDITIONED = 'USED_OR_RECONDITIONED'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/LinearUnits.php b/src/FedEx/UploadDocumentService/SimpleType/LinearUnits.php new file mode 100644 index 00000000..bdd970a9 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/LinearUnits.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class LinearUnits extends AbstractSimpleType +{ + const _CM = 'CM'; + const _IN = 'IN'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/MinimumChargeType.php b/src/FedEx/UploadDocumentService/SimpleType/MinimumChargeType.php new file mode 100644 index 00000000..8e66528f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/MinimumChargeType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class MinimumChargeType extends AbstractSimpleType +{ + const _CUSTOMER = 'CUSTOMER'; + const _CUSTOMER_FREIGHT_WEIGHT = 'CUSTOMER_FREIGHT_WEIGHT'; + const _EARNED_DISCOUNT = 'EARNED_DISCOUNT'; + const _MIXED = 'MIXED'; + const _RATE_SCALE = 'RATE_SCALE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/NetExplosiveClassificationType.php b/src/FedEx/UploadDocumentService/SimpleType/NetExplosiveClassificationType.php new file mode 100644 index 00000000..3e20a258 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/NetExplosiveClassificationType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class NetExplosiveClassificationType extends AbstractSimpleType +{ + const _NET_EXPLOSIVE_CONTENT = 'NET_EXPLOSIVE_CONTENT'; + const _NET_EXPLOSIVE_MASS = 'NET_EXPLOSIVE_MASS'; + const _NET_EXPLOSIVE_QUANTITY = 'NET_EXPLOSIVE_QUANTITY'; + const _NET_EXPLOSIVE_WEIGHT = 'NET_EXPLOSIVE_WEIGHT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/NotificationContentType.php b/src/FedEx/UploadDocumentService/SimpleType/NotificationContentType.php new file mode 100644 index 00000000..60f7be61 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/NotificationContentType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class NotificationContentType extends AbstractSimpleType +{ + const _SCHEDULE_PICKUP_SUGGESTION = 'SCHEDULE_PICKUP_SUGGESTION'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/NotificationEventType.php b/src/FedEx/UploadDocumentService/SimpleType/NotificationEventType.php new file mode 100644 index 00000000..94f949e5 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/NotificationEventType.php @@ -0,0 +1,24 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class NotificationEventType extends AbstractSimpleType +{ + const _ON_DELIVERY = 'ON_DELIVERY'; + const _ON_ESTIMATED_DELIVERY = 'ON_ESTIMATED_DELIVERY'; + const _ON_EXCEPTION = 'ON_EXCEPTION'; + const _ON_PICKUP_DRIVER_ARRIVED = 'ON_PICKUP_DRIVER_ARRIVED'; + const _ON_PICKUP_DRIVER_ASSIGNED = 'ON_PICKUP_DRIVER_ASSIGNED'; + const _ON_PICKUP_DRIVER_DEPARTED = 'ON_PICKUP_DRIVER_DEPARTED'; + const _ON_PICKUP_DRIVER_EN_ROUTE = 'ON_PICKUP_DRIVER_EN_ROUTE'; + const _ON_SHIPMENT = 'ON_SHIPMENT'; + const _ON_TENDER = 'ON_TENDER'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/NotificationFormatType.php b/src/FedEx/UploadDocumentService/SimpleType/NotificationFormatType.php new file mode 100644 index 00000000..7c5b115c --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/NotificationFormatType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class NotificationFormatType extends AbstractSimpleType +{ + const _HTML = 'HTML'; + const _TEXT = 'TEXT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/NotificationType.php b/src/FedEx/UploadDocumentService/SimpleType/NotificationType.php new file mode 100644 index 00000000..ade076a6 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/NotificationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class NotificationType extends AbstractSimpleType +{ + const _EMAIL = 'EMAIL'; + const _FAX = 'FAX'; + const _SMS_TEXT_MESSAGE = 'SMS_TEXT_MESSAGE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/OversizeClassType.php b/src/FedEx/UploadDocumentService/SimpleType/OversizeClassType.php new file mode 100644 index 00000000..1332b42f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/OversizeClassType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class OversizeClassType extends AbstractSimpleType +{ + const _OVERSIZE_1 = 'OVERSIZE_1'; + const _OVERSIZE_2 = 'OVERSIZE_2'; + const _OVERSIZE_3 = 'OVERSIZE_3'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PackageLineItemStatusType.php b/src/FedEx/UploadDocumentService/SimpleType/PackageLineItemStatusType.php new file mode 100644 index 00000000..01647872 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PackageLineItemStatusType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PackageLineItemStatusType extends AbstractSimpleType +{ + const _DELETED = 'DELETED'; + const _EXPIRED = 'EXPIRED'; + const _EXPIRING = 'EXPIRING'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PackagePackedByType.php b/src/FedEx/UploadDocumentService/SimpleType/PackagePackedByType.php new file mode 100644 index 00000000..b5909db3 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PackagePackedByType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PackagePackedByType extends AbstractSimpleType +{ + const _CUSTOMER = 'CUSTOMER'; + const _FEDEX_OFFICE = 'FEDEX_OFFICE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PageQuadrantType.php b/src/FedEx/UploadDocumentService/SimpleType/PageQuadrantType.php new file mode 100644 index 00000000..6cfe085f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PageQuadrantType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PageQuadrantType extends AbstractSimpleType +{ + const _BOTTOM_LEFT = 'BOTTOM_LEFT'; + const _BOTTOM_RIGHT = 'BOTTOM_RIGHT'; + const _TOP_LEFT = 'TOP_LEFT'; + const _TOP_RIGHT = 'TOP_RIGHT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PaymentType.php b/src/FedEx/UploadDocumentService/SimpleType/PaymentType.php new file mode 100644 index 00000000..43d68a44 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PaymentType.php @@ -0,0 +1,23 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PaymentType extends AbstractSimpleType +{ + const _ACCOUNT = 'ACCOUNT'; + const _CASH = 'CASH'; + const _COLLECT = 'COLLECT'; + const _CREDIT_CARD = 'CREDIT_CARD'; + const _EPAYMENT = 'EPAYMENT'; + const _RECIPIENT = 'RECIPIENT'; + const _SENDER = 'SENDER'; + const _THIRD_PARTY = 'THIRD_PARTY'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PendingShipmentProcessingOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/PendingShipmentProcessingOptionType.php new file mode 100644 index 00000000..1d05d311 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PendingShipmentProcessingOptionType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PendingShipmentProcessingOptionType extends AbstractSimpleType +{ + const _ALLOW_MODIFICATIONS = 'ALLOW_MODIFICATIONS'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PendingShipmentType.php b/src/FedEx/UploadDocumentService/SimpleType/PendingShipmentType.php new file mode 100644 index 00000000..617d6b3e --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PendingShipmentType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PendingShipmentType extends AbstractSimpleType +{ + const _EMAIL = 'EMAIL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PhysicalFormType.php b/src/FedEx/UploadDocumentService/SimpleType/PhysicalFormType.php new file mode 100644 index 00000000..9cc0351d --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PhysicalFormType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PhysicalFormType extends AbstractSimpleType +{ + const _GAS = 'GAS'; + const _LIQUID = 'LIQUID'; + const _SOLID = 'SOLID'; + const _SPECIAL = 'SPECIAL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PhysicalPackagingType.php b/src/FedEx/UploadDocumentService/SimpleType/PhysicalPackagingType.php new file mode 100644 index 00000000..45478eaf --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PhysicalPackagingType.php @@ -0,0 +1,46 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PhysicalPackagingType extends AbstractSimpleType +{ + const _BAG = 'BAG'; + const _BARREL = 'BARREL'; + const _BASKET = 'BASKET'; + const _BOX = 'BOX'; + const _BUCKET = 'BUCKET'; + const _BUNDLE = 'BUNDLE'; + const _CAGE = 'CAGE'; + const _CARTON = 'CARTON'; + const _CASE = 'CASE'; + const _CHEST = 'CHEST'; + const _CONTAINER = 'CONTAINER'; + const _CRATE = 'CRATE'; + const _CYLINDER = 'CYLINDER'; + const _DRUM = 'DRUM'; + const _ENVELOPE = 'ENVELOPE'; + const _HAMPER = 'HAMPER'; + const _OTHER = 'OTHER'; + const _PACKAGE = 'PACKAGE'; + const _PAIL = 'PAIL'; + const _PALLET = 'PALLET'; + const _PARCEL = 'PARCEL'; + const _PIECE = 'PIECE'; + const _REEL = 'REEL'; + const _ROLL = 'ROLL'; + const _SACK = 'SACK'; + const _SHRINK_WRAPPED = 'SHRINK_WRAPPED'; + const _SKID = 'SKID'; + const _TANK = 'TANK'; + const _TOTE_BIN = 'TOTE_BIN'; + const _TUBE = 'TUBE'; + const _UNIT = 'UNIT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PickupRequestSourceType.php b/src/FedEx/UploadDocumentService/SimpleType/PickupRequestSourceType.php new file mode 100644 index 00000000..9d221208 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PickupRequestSourceType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PickupRequestSourceType extends AbstractSimpleType +{ + const _AUTOMATION = 'AUTOMATION'; + const _CUSTOMER_SERVICE = 'CUSTOMER_SERVICE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PickupRequestType.php b/src/FedEx/UploadDocumentService/SimpleType/PickupRequestType.php new file mode 100644 index 00000000..d2195b1f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PickupRequestType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PickupRequestType extends AbstractSimpleType +{ + const _FUTURE_DAY = 'FUTURE_DAY'; + const _SAME_DAY = 'SAME_DAY'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PricingCodeType.php b/src/FedEx/UploadDocumentService/SimpleType/PricingCodeType.php new file mode 100644 index 00000000..6747bf85 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PricingCodeType.php @@ -0,0 +1,28 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PricingCodeType extends AbstractSimpleType +{ + const _ACTUAL = 'ACTUAL'; + const _ALTERNATE = 'ALTERNATE'; + const _BASE = 'BASE'; + const _HUNDREDWEIGHT = 'HUNDREDWEIGHT'; + const _HUNDREDWEIGHT_ALTERNATE = 'HUNDREDWEIGHT_ALTERNATE'; + const _INTERNATIONAL_DISTRIBUTION = 'INTERNATIONAL_DISTRIBUTION'; + const _INTERNATIONAL_ECONOMY_SERVICE = 'INTERNATIONAL_ECONOMY_SERVICE'; + const _LTL_FREIGHT = 'LTL_FREIGHT'; + const _PACKAGE = 'PACKAGE'; + const _SHIPMENT = 'SHIPMENT'; + const _SHIPMENT_FIVE_POUND_OPTIONAL = 'SHIPMENT_FIVE_POUND_OPTIONAL'; + const _SHIPMENT_OPTIONAL = 'SHIPMENT_OPTIONAL'; + const _SPECIAL = 'SPECIAL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PrintedReferenceType.php b/src/FedEx/UploadDocumentService/SimpleType/PrintedReferenceType.php new file mode 100644 index 00000000..3863c640 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PrintedReferenceType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PrintedReferenceType extends AbstractSimpleType +{ + const _BILL_OF_LADING = 'BILL_OF_LADING'; + const _CONSIGNEE_ID_NUMBER = 'CONSIGNEE_ID_NUMBER'; + const _INTERLINE_PRO_NUMBER = 'INTERLINE_PRO_NUMBER'; + const _PO_NUMBER = 'PO_NUMBER'; + const _SHIPPER_ID_NUMBER = 'SHIPPER_ID_NUMBER'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PriorityAlertEnhancementType.php b/src/FedEx/UploadDocumentService/SimpleType/PriorityAlertEnhancementType.php new file mode 100644 index 00000000..675eef55 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PriorityAlertEnhancementType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PriorityAlertEnhancementType extends AbstractSimpleType +{ + const _PRIORITY_ALERT_PLUS = 'PRIORITY_ALERT_PLUS'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/PurposeOfShipmentType.php b/src/FedEx/UploadDocumentService/SimpleType/PurposeOfShipmentType.php new file mode 100644 index 00000000..673bb958 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/PurposeOfShipmentType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class PurposeOfShipmentType extends AbstractSimpleType +{ + const _GIFT = 'GIFT'; + const _NOT_SOLD = 'NOT_SOLD'; + const _PERSONAL_EFFECTS = 'PERSONAL_EFFECTS'; + const _REPAIR_AND_RETURN = 'REPAIR_AND_RETURN'; + const _SAMPLE = 'SAMPLE'; + const _SOLD = 'SOLD'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RadioactiveContainerClassType.php b/src/FedEx/UploadDocumentService/SimpleType/RadioactiveContainerClassType.php new file mode 100644 index 00000000..49d59245 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RadioactiveContainerClassType.php @@ -0,0 +1,23 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RadioactiveContainerClassType extends AbstractSimpleType +{ + const _EXCEPTED_PACKAGE = 'EXCEPTED_PACKAGE'; + const _INDUSTRIAL_IP1 = 'INDUSTRIAL_IP1'; + const _INDUSTRIAL_IP2 = 'INDUSTRIAL_IP2'; + const _INDUSTRIAL_IP3 = 'INDUSTRIAL_IP3'; + const _TYPE_A = 'TYPE_A'; + const _TYPE_B_M = 'TYPE_B_M'; + const _TYPE_B_U = 'TYPE_B_U'; + const _TYPE_C = 'TYPE_C'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RadioactiveLabelType.php b/src/FedEx/UploadDocumentService/SimpleType/RadioactiveLabelType.php new file mode 100644 index 00000000..a83a3db5 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RadioactiveLabelType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RadioactiveLabelType extends AbstractSimpleType +{ + const _III_YELLOW = 'III_YELLOW'; + const _II_YELLOW = 'II_YELLOW'; + const _I_WHITE = 'I_WHITE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RadioactivityUnitOfMeasure.php b/src/FedEx/UploadDocumentService/SimpleType/RadioactivityUnitOfMeasure.php new file mode 100644 index 00000000..54966e58 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RadioactivityUnitOfMeasure.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RadioactivityUnitOfMeasure extends AbstractSimpleType +{ + const _BQ = 'BQ'; + const _GBQ = 'GBQ'; + const _KBQ = 'KBQ'; + const _MBQ = 'MBQ'; + const _PBQ = 'PBQ'; + const _TBQ = 'TBQ'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RateDimensionalDivisorType.php b/src/FedEx/UploadDocumentService/SimpleType/RateDimensionalDivisorType.php new file mode 100644 index 00000000..8157aa8a --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RateDimensionalDivisorType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RateDimensionalDivisorType extends AbstractSimpleType +{ + const _COUNTRY = 'COUNTRY'; + const _CUSTOMER = 'CUSTOMER'; + const _OTHER = 'OTHER'; + const _PRODUCT = 'PRODUCT'; + const _WAIVED = 'WAIVED'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RateDiscountType.php b/src/FedEx/UploadDocumentService/SimpleType/RateDiscountType.php new file mode 100644 index 00000000..103acc31 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RateDiscountType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RateDiscountType extends AbstractSimpleType +{ + const _BONUS = 'BONUS'; + const _COUPON = 'COUPON'; + const _EARNED = 'EARNED'; + const _INCENTIVE = 'INCENTIVE'; + const _OTHER = 'OTHER'; + const _VOLUME = 'VOLUME'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RateElementBasisType.php b/src/FedEx/UploadDocumentService/SimpleType/RateElementBasisType.php new file mode 100644 index 00000000..9ef4eeb4 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RateElementBasisType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RateElementBasisType extends AbstractSimpleType +{ + const _BASE_CHARGE = 'BASE_CHARGE'; + const _NET_CHARGE = 'NET_CHARGE'; + const _NET_CHARGE_EXCLUDING_TAXES = 'NET_CHARGE_EXCLUDING_TAXES'; + const _NET_FREIGHT = 'NET_FREIGHT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RateLevelBasisType.php b/src/FedEx/UploadDocumentService/SimpleType/RateLevelBasisType.php new file mode 100644 index 00000000..3710d883 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RateLevelBasisType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RateLevelBasisType extends AbstractSimpleType +{ + const _BUNDLED_RATE = 'BUNDLED_RATE'; + const _INDIVIDUAL_PACKAGE_RATE = 'INDIVIDUAL_PACKAGE_RATE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RateRequestType.php b/src/FedEx/UploadDocumentService/SimpleType/RateRequestType.php new file mode 100644 index 00000000..1157e489 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RateRequestType.php @@ -0,0 +1,23 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RateRequestType extends AbstractSimpleType +{ + const _ACCOUNT = 'ACCOUNT'; + const _CUSTOM = 'CUSTOM'; + const _INCENTIVE = 'INCENTIVE'; + const _LIST = 'LIST'; + const _NONE = 'NONE'; + const _PREFERRED = 'PREFERRED'; + const _RATED = 'RATED'; + const _RETAIL = 'RETAIL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RateTypeBasisType.php b/src/FedEx/UploadDocumentService/SimpleType/RateTypeBasisType.php new file mode 100644 index 00000000..f16e57dd --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RateTypeBasisType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RateTypeBasisType extends AbstractSimpleType +{ + const _ACCOUNT = 'ACCOUNT'; + const _ACTUAL = 'ACTUAL'; + const _CURRENT = 'CURRENT'; + const _CUSTOM = 'CUSTOM'; + const _LIST = 'LIST'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RatedWeightMethod.php b/src/FedEx/UploadDocumentService/SimpleType/RatedWeightMethod.php new file mode 100644 index 00000000..7a166351 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RatedWeightMethod.php @@ -0,0 +1,28 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RatedWeightMethod extends AbstractSimpleType +{ + const _ACTUAL = 'ACTUAL'; + const _AVERAGE_PACKAGE_WEIGHT_MINIMUM = 'AVERAGE_PACKAGE_WEIGHT_MINIMUM'; + const _BALLOON = 'BALLOON'; + const _DEFAULT_WEIGHT_APPLIED = 'DEFAULT_WEIGHT_APPLIED'; + const _DIM = 'DIM'; + const _FREIGHT_MINIMUM = 'FREIGHT_MINIMUM'; + const _MIXED = 'MIXED'; + const _OVERSIZE = 'OVERSIZE'; + const _OVERSIZE_1 = 'OVERSIZE_1'; + const _OVERSIZE_2 = 'OVERSIZE_2'; + const _OVERSIZE_3 = 'OVERSIZE_3'; + const _PACKAGING_MINIMUM = 'PACKAGING_MINIMUM'; + const _WEIGHT_BREAK = 'WEIGHT_BREAK'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RebateType.php b/src/FedEx/UploadDocumentService/SimpleType/RebateType.php new file mode 100644 index 00000000..2e1861a4 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RebateType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RebateType extends AbstractSimpleType +{ + const _BONUS = 'BONUS'; + const _EARNED = 'EARNED'; + const _OTHER = 'OTHER'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RecipientCustomsIdType.php b/src/FedEx/UploadDocumentService/SimpleType/RecipientCustomsIdType.php new file mode 100644 index 00000000..280db98c --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RecipientCustomsIdType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RecipientCustomsIdType extends AbstractSimpleType +{ + const _COMPANY = 'COMPANY'; + const _INDIVIDUAL = 'INDIVIDUAL'; + const _PASSPORT = 'PASSPORT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RecommendedDocumentType.php b/src/FedEx/UploadDocumentService/SimpleType/RecommendedDocumentType.php new file mode 100644 index 00000000..93e769f7 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RecommendedDocumentType.php @@ -0,0 +1,43 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RecommendedDocumentType extends AbstractSimpleType +{ + const _ANTIQUE_STATEMENT_EUROPEAN_UNION = 'ANTIQUE_STATEMENT_EUROPEAN_UNION'; + const _ANTIQUE_STATEMENT_UNITED_STATES = 'ANTIQUE_STATEMENT_UNITED_STATES'; + const _ASSEMBLER_DECLARATION = 'ASSEMBLER_DECLARATION'; + const _BEARING_WORKSHEET = 'BEARING_WORKSHEET'; + const _CERTIFICATE_OF_SHIPMENTS_TO_SYRIA = 'CERTIFICATE_OF_SHIPMENTS_TO_SYRIA'; + const _COMMERCIAL_INVOICE_FOR_THE_CARIBBEAN_COMMON_MARKET = 'COMMERCIAL_INVOICE_FOR_THE_CARIBBEAN_COMMON_MARKET'; + const _CONIFEROUS_SOLID_WOOD_PACKAGING_MATERIAL_TO_THE_PEOPLES_REPUBLIC_OF_CHINA = 'CONIFEROUS_SOLID_WOOD_PACKAGING_MATERIAL_TO_THE_PEOPLES_REPUBLIC_OF_CHINA'; + const _DECLARATION_FOR_FREE_ENTRY_OF_RETURNED_AMERICAN_PRODUCTS = 'DECLARATION_FOR_FREE_ENTRY_OF_RETURNED_AMERICAN_PRODUCTS'; + const _DECLARATION_OF_BIOLOGICAL_STANDARDS = 'DECLARATION_OF_BIOLOGICAL_STANDARDS'; + const _DECLARATION_OF_IMPORTED_ELECTRONIC_PRODUCTS_SUBJECT_TO_RADIATION_CONTROL_STANDARD = 'DECLARATION_OF_IMPORTED_ELECTRONIC_PRODUCTS_SUBJECT_TO_RADIATION_CONTROL_STANDARD'; + const _ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET = 'ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET'; + const _FILM_AND_VIDEO_CERTIFICATE = 'FILM_AND_VIDEO_CERTIFICATE'; + const _INTERIM_FOOTWEAR_INVOICE = 'INTERIM_FOOTWEAR_INVOICE'; + const _PACKING_LIST = 'PACKING_LIST'; + const _PRINTED_CIRCUIT_BOARD_WORKSHEET = 'PRINTED_CIRCUIT_BOARD_WORKSHEET'; + const _REPAIRED_WATCH_BREAKOUT_WORKSHEET = 'REPAIRED_WATCH_BREAKOUT_WORKSHEET'; + const _STATEMENT_REGARDING_THE_IMPORT_OF_RADIO_FREQUENCY_DEVICES = 'STATEMENT_REGARDING_THE_IMPORT_OF_RADIO_FREQUENCY_DEVICES'; + const _TOXIC_SUBSTANCES_CONTROL_ACT = 'TOXIC_SUBSTANCES_CONTROL_ACT'; + const _UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_NON_TEXTILES = 'UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_NON_TEXTILES'; + const _UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES = 'UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES'; + const _UNITED_STATES_NEW_WATCH_WORKSHEET = 'UNITED_STATES_NEW_WATCH_WORKSHEET'; + const _UNITED_STATES_WATCH_REPAIR_DECLARATION = 'UNITED_STATES_WATCH_REPAIR_DECLARATION'; + const _USMCA_CERTIFICATION_OF_ORIGIN_ENGLISH = 'USMCA_CERTIFICATION_OF_ORIGIN_ENGLISH'; + const _USMCA_CERTIFICATION_OF_ORIGIN_FRENCH = 'USMCA_CERTIFICATION_OF_ORIGIN_FRENCH'; + const _USMCA_CERTIFICATION_OF_ORIGIN_SPANISH = 'USMCA_CERTIFICATION_OF_ORIGIN_SPANISH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_ENGLISH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_ENGLISH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_FRENCH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_FRENCH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_SPANISH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_SPANISH'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RegulatoryControlType.php b/src/FedEx/UploadDocumentService/SimpleType/RegulatoryControlType.php new file mode 100644 index 00000000..71908086 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RegulatoryControlType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RegulatoryControlType extends AbstractSimpleType +{ + const _FOOD_OR_PERISHABLE = 'FOOD_OR_PERISHABLE'; + const _NOT_APPLICABLE_FOR_LOW_CUSTOMS_VALUE_EXCEPTION = 'NOT_APPLICABLE_FOR_LOW_CUSTOMS_VALUE_EXCEPTION'; + const _NOT_IN_FREE_CIRCULATION = 'NOT_IN_FREE_CIRCULATION'; + const _USMCA = 'USMCA'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RegulatoryLabelType.php b/src/FedEx/UploadDocumentService/SimpleType/RegulatoryLabelType.php new file mode 100644 index 00000000..d55a872f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RegulatoryLabelType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RegulatoryLabelType extends AbstractSimpleType +{ + const _ALCOHOL_SHIPMENT_LABEL = 'ALCOHOL_SHIPMENT_LABEL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RelativeVerticalPositionType.php b/src/FedEx/UploadDocumentService/SimpleType/RelativeVerticalPositionType.php new file mode 100644 index 00000000..cb87bbf5 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RelativeVerticalPositionType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RelativeVerticalPositionType extends AbstractSimpleType +{ + const _ABOVE = 'ABOVE'; + const _BELOW = 'BELOW'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RequestedShippingDocumentType.php b/src/FedEx/UploadDocumentService/SimpleType/RequestedShippingDocumentType.php new file mode 100644 index 00000000..a98eb62d --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RequestedShippingDocumentType.php @@ -0,0 +1,33 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RequestedShippingDocumentType extends AbstractSimpleType +{ + const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; + const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; + const _CUSTOMER_SPECIFIED_LABELS = 'CUSTOMER_SPECIFIED_LABELS'; + const _CUSTOM_PACKAGE_DOCUMENT = 'CUSTOM_PACKAGE_DOCUMENT'; + const _CUSTOM_SHIPMENT_DOCUMENT = 'CUSTOM_SHIPMENT_DOCUMENT'; + const _DANGEROUS_GOODS_SHIPPERS_DECLARATION = 'DANGEROUS_GOODS_SHIPPERS_DECLARATION'; + const _EXPORT_DECLARATION = 'EXPORT_DECLARATION'; + const _FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING = 'FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING'; + const _FREIGHT_ADDRESS_LABEL = 'FREIGHT_ADDRESS_LABEL'; + const _GENERAL_AGENCY_AGREEMENT = 'GENERAL_AGENCY_AGREEMENT'; + const _LABEL = 'LABEL'; + const _OP_900 = 'OP_900'; + const _PENDING_SHIPMENT_EMAIL_NOTIFICATION = 'PENDING_SHIPMENT_EMAIL_NOTIFICATION'; + const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; + const _RETURN_INSTRUCTIONS = 'RETURN_INSTRUCTIONS'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; + const _VICS_BILL_OF_LADING = 'VICS_BILL_OF_LADING'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RequiredDocumentType.php b/src/FedEx/UploadDocumentService/SimpleType/RequiredDocumentType.php index a2cbd8c1..b1a0a480 100644 --- a/src/FedEx/UploadDocumentService/SimpleType/RequiredDocumentType.php +++ b/src/FedEx/UploadDocumentService/SimpleType/RequiredDocumentType.php @@ -16,6 +16,6 @@ class RequiredDocumentType extends AbstractSimpleType const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; const _COMMERCIAL_OR_PRO_FORMA_INVOICE = 'COMMERCIAL_OR_PRO_FORMA_INVOICE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; + const _COMMERCIAL_OR_PRO_FORMA_INVOICE_OR_USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'COMMERCIAL_OR_PRO_FORMA_INVOICE_OR_USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; } diff --git a/src/FedEx/UploadDocumentService/SimpleType/ReturnEMailAllowedSpecialServiceType.php b/src/FedEx/UploadDocumentService/SimpleType/ReturnEMailAllowedSpecialServiceType.php new file mode 100644 index 00000000..d5aa1a04 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ReturnEMailAllowedSpecialServiceType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ReturnEMailAllowedSpecialServiceType extends AbstractSimpleType +{ + const _SATURDAY_DELIVERY = 'SATURDAY_DELIVERY'; + const _SATURDAY_PICKUP = 'SATURDAY_PICKUP'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ReturnType.php b/src/FedEx/UploadDocumentService/SimpleType/ReturnType.php new file mode 100644 index 00000000..e91ae423 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ReturnType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ReturnType extends AbstractSimpleType +{ + const _FEDEX_TAG = 'FEDEX_TAG'; + const _NET_RETURN = 'NET_RETURN'; + const _PENDING = 'PENDING'; + const _PRINT_RETURN_LABEL = 'PRINT_RETURN_LABEL'; + const _VOICE_CALL_TAG = 'VOICE_CALL_TAG'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ReturnedRateType.php b/src/FedEx/UploadDocumentService/SimpleType/ReturnedRateType.php new file mode 100644 index 00000000..c5cb24bc --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ReturnedRateType.php @@ -0,0 +1,43 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ReturnedRateType extends AbstractSimpleType +{ + const _INCENTIVE = 'INCENTIVE'; + const _NEGOTIATED = 'NEGOTIATED'; + const _PAYOR_ACCOUNT_PACKAGE = 'PAYOR_ACCOUNT_PACKAGE'; + const _PAYOR_ACCOUNT_SHIPMENT = 'PAYOR_ACCOUNT_SHIPMENT'; + const _PAYOR_CUSTOM_PACKAGE = 'PAYOR_CUSTOM_PACKAGE'; + const _PAYOR_CUSTOM_SHIPMENT = 'PAYOR_CUSTOM_SHIPMENT'; + const _PAYOR_LIST_PACKAGE = 'PAYOR_LIST_PACKAGE'; + const _PAYOR_LIST_SHIPMENT = 'PAYOR_LIST_SHIPMENT'; + const _PAYOR_RETAIL_PACKAGE = 'PAYOR_RETAIL_PACKAGE'; + const _PAYOR_RETAIL_SHIPMENT = 'PAYOR_RETAIL_SHIPMENT'; + const _PREFERRED_ACCOUNT_PACKAGE = 'PREFERRED_ACCOUNT_PACKAGE'; + const _PREFERRED_ACCOUNT_SHIPMENT = 'PREFERRED_ACCOUNT_SHIPMENT'; + const _PREFERRED_CUSTOM_PACKAGE = 'PREFERRED_CUSTOM_PACKAGE'; + const _PREFERRED_CUSTOM_SHIPMENT = 'PREFERRED_CUSTOM_SHIPMENT'; + const _PREFERRED_INCENTIVE = 'PREFERRED_INCENTIVE'; + const _PREFERRED_LIST_PACKAGE = 'PREFERRED_LIST_PACKAGE'; + const _PREFERRED_LIST_SHIPMENT = 'PREFERRED_LIST_SHIPMENT'; + const _PREFERRED_NEGOTIATED = 'PREFERRED_NEGOTIATED'; + const _PREFERRED_RETAIL_PACKAGE = 'PREFERRED_RETAIL_PACKAGE'; + const _PREFERRED_RETAIL_SHIPMENT = 'PREFERRED_RETAIL_SHIPMENT'; + const _RATED_ACCOUNT_PACKAGE = 'RATED_ACCOUNT_PACKAGE'; + const _RATED_ACCOUNT_SHIPMENT = 'RATED_ACCOUNT_SHIPMENT'; + const _RATED_CUSTOM_PACKAGE = 'RATED_CUSTOM_PACKAGE'; + const _RATED_CUSTOM_SHIPMENT = 'RATED_CUSTOM_SHIPMENT'; + const _RATED_LIST_PACKAGE = 'RATED_LIST_PACKAGE'; + const _RATED_LIST_SHIPMENT = 'RATED_LIST_SHIPMENT'; + const _RATED_RETAIL_PACKAGE = 'RATED_RETAIL_PACKAGE'; + const _RATED_RETAIL_SHIPMENT = 'RATED_RETAIL_SHIPMENT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ReturnedShippingDocumentType.php b/src/FedEx/UploadDocumentService/SimpleType/ReturnedShippingDocumentType.php new file mode 100644 index 00000000..ca15ac6c --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ReturnedShippingDocumentType.php @@ -0,0 +1,46 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ReturnedShippingDocumentType extends AbstractSimpleType +{ + const _AUXILIARY_LABEL = 'AUXILIARY_LABEL'; + const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; + const _COD_AND_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN_2_D_BARCODE = 'COD_AND_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN_2_D_BARCODE'; + const _COD_AND_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN_LABEL = 'COD_AND_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN_LABEL'; + const _COD_RETURN_2_D_BARCODE = 'COD_RETURN_2_D_BARCODE'; + const _COD_RETURN_LABEL = 'COD_RETURN_LABEL'; + const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; + const _CUSTOM_PACKAGE_DOCUMENT = 'CUSTOM_PACKAGE_DOCUMENT'; + const _CUSTOM_SHIPMENT_DOCUMENT = 'CUSTOM_SHIPMENT_DOCUMENT'; + const _DANGEROUS_GOODS_SHIPPERS_DECLARATION = 'DANGEROUS_GOODS_SHIPPERS_DECLARATION'; + const _DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN_2_D_BARCODE = 'DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN_2_D_BARCODE'; + const _DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN_LABEL = 'DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN_LABEL'; + const _ETD_LABEL = 'ETD_LABEL'; + const _EXPORT_DECLARATION = 'EXPORT_DECLARATION'; + const _FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING = 'FEDEX_FREIGHT_STRAIGHT_BILL_OF_LADING'; + const _FREIGHT_ADDRESS_LABEL = 'FREIGHT_ADDRESS_LABEL'; + const _GENERAL_AGENCY_AGREEMENT = 'GENERAL_AGENCY_AGREEMENT'; + const _GROUND_BARCODE = 'GROUND_BARCODE'; + const _OP_900 = 'OP_900'; + const _OUTBOUND_2_D_BARCODE = 'OUTBOUND_2_D_BARCODE'; + const _OUTBOUND_LABEL = 'OUTBOUND_LABEL'; + const _PENDING_SHIPMENT_EMAIL_NOTIFICATION = 'PENDING_SHIPMENT_EMAIL_NOTIFICATION'; + const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; + const _RECIPIENT_ADDRESS_BARCODE = 'RECIPIENT_ADDRESS_BARCODE'; + const _RECIPIENT_POSTAL_BARCODE = 'RECIPIENT_POSTAL_BARCODE'; + const _RETURN_INSTRUCTIONS = 'RETURN_INSTRUCTIONS'; + const _TERMS_AND_CONDITIONS = 'TERMS_AND_CONDITIONS'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; + const _USPS_BARCODE = 'USPS_BARCODE'; + const _VICS_BILL_OF_LADING = 'VICS_BILL_OF_LADING'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/RotationType.php b/src/FedEx/UploadDocumentService/SimpleType/RotationType.php new file mode 100644 index 00000000..b47191dc --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/RotationType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class RotationType extends AbstractSimpleType +{ + const _LEFT = 'LEFT'; + const _NONE = 'NONE'; + const _RIGHT = 'RIGHT'; + const _UPSIDE_DOWN = 'UPSIDE_DOWN'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/SecondaryBarcodeType.php b/src/FedEx/UploadDocumentService/SimpleType/SecondaryBarcodeType.php new file mode 100644 index 00000000..37c1bf1f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/SecondaryBarcodeType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class SecondaryBarcodeType extends AbstractSimpleType +{ + const _COMMON_2D = 'COMMON_2D'; + const _NONE = 'NONE'; + const _SSCC_18 = 'SSCC_18'; + const _USPS = 'USPS'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ServiceCategoryType.php b/src/FedEx/UploadDocumentService/SimpleType/ServiceCategoryType.php new file mode 100644 index 00000000..7152f28f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ServiceCategoryType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ServiceCategoryType extends AbstractSimpleType +{ + const _EXPRESS_FREIGHT = 'EXPRESS_FREIGHT'; + const _EXPRESS_PARCEL = 'EXPRESS_PARCEL'; + const _GROUND_HOME_DELIVERY = 'GROUND_HOME_DELIVERY'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ShipmentDryIceProcessingOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/ShipmentDryIceProcessingOptionType.php new file mode 100644 index 00000000..0624f401 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ShipmentDryIceProcessingOptionType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ShipmentDryIceProcessingOptionType extends AbstractSimpleType +{ + const _SHIPMENT_LEVEL_DRY_ICE_ONLY = 'SHIPMENT_LEVEL_DRY_ICE_ONLY'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ShipmentNotificationAggregationType.php b/src/FedEx/UploadDocumentService/SimpleType/ShipmentNotificationAggregationType.php new file mode 100644 index 00000000..fedab9fa --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ShipmentNotificationAggregationType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ShipmentNotificationAggregationType extends AbstractSimpleType +{ + const _PER_PACKAGE = 'PER_PACKAGE'; + const _PER_SHIPMENT = 'PER_SHIPMENT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ShipmentNotificationRoleType.php b/src/FedEx/UploadDocumentService/SimpleType/ShipmentNotificationRoleType.php new file mode 100644 index 00000000..d5326580 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ShipmentNotificationRoleType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ShipmentNotificationRoleType extends AbstractSimpleType +{ + const _BROKER = 'BROKER'; + const _OTHER = 'OTHER'; + const _RECIPIENT = 'RECIPIENT'; + const _SHIPPER = 'SHIPPER'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ShipmentOnlyFieldsType.php b/src/FedEx/UploadDocumentService/SimpleType/ShipmentOnlyFieldsType.php new file mode 100644 index 00000000..fae2d7be --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ShipmentOnlyFieldsType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ShipmentOnlyFieldsType extends AbstractSimpleType +{ + const _DIMENSIONS = 'DIMENSIONS'; + const _INSURED_VALUE = 'INSURED_VALUE'; + const _WEIGHT = 'WEIGHT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ShipmentProcessingOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/ShipmentProcessingOptionType.php new file mode 100644 index 00000000..a5250513 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ShipmentProcessingOptionType.php @@ -0,0 +1,31 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ShipmentProcessingOptionType extends AbstractSimpleType +{ + const _ALLOW_PREVIOUS_SHIP_DATE = 'ALLOW_PREVIOUS_SHIP_DATE'; + const _CONVENIENCE_MULTIPLE_PACKAGES = 'CONVENIENCE_MULTIPLE_PACKAGES'; + const _CUSTOM_TRANSIT_TIME = 'CUSTOM_TRANSIT_TIME'; + const _FUTURE_DAY_SHIPMENT = 'FUTURE_DAY_SHIPMENT'; + const _IATA_CLASS_AND_AIRCRAFT_ONLY = 'IATA_CLASS_AND_AIRCRAFT_ONLY'; + const _MANUAL_AIRBILL = 'MANUAL_AIRBILL'; + const _NO_COMMITMENT_DATE_REQUESTED = 'NO_COMMITMENT_DATE_REQUESTED'; + const _PACKAGE_LEVEL_COMMODITIES = 'PACKAGE_LEVEL_COMMODITIES'; + const _PRE_EIG_PROCESSING = 'PRE_EIG_PROCESSING'; + const _PRE_ETD_ENHANCEMENTS = 'PRE_ETD_ENHANCEMENTS'; + const _PRE_FXF2020_HANDLING_UNIT_DETAILS = 'PRE_FXF2020_HANDLING_UNIT_DETAILS'; + const _PRE_GPR = 'PRE_GPR'; + const _PRE_GRAPE2_SHIPMENT = 'PRE_GRAPE2_SHIPMENT'; + const _PRE_MULTIPLIER_PROCESSING = 'PRE_MULTIPLIER_PROCESSING'; + const _REQUEST_LEGACY_SMARTPOST_LABEL = 'REQUEST_LEGACY_SMARTPOST_LABEL'; + const _REQUIRE_PRE_EPIC_BARCODE = 'REQUIRE_PRE_EPIC_BARCODE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentDispositionType.php b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentDispositionType.php new file mode 100644 index 00000000..38f6e9e4 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentDispositionType.php @@ -0,0 +1,23 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ShippingDocumentDispositionType extends AbstractSimpleType +{ + const _CONFIRMED = 'CONFIRMED'; + const _DEFERRED_QUEUED = 'DEFERRED_QUEUED'; + const _DEFERRED_RETURNED = 'DEFERRED_RETURNED'; + const _DEFERRED_STORED = 'DEFERRED_STORED'; + const _EMAILED = 'EMAILED'; + const _QUEUED = 'QUEUED'; + const _RETURNED = 'RETURNED'; + const _STORED = 'STORED'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentEMailGroupingType.php b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentEMailGroupingType.php new file mode 100644 index 00000000..8de249f2 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentEMailGroupingType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ShippingDocumentEMailGroupingType extends AbstractSimpleType +{ + const _BY_RECIPIENT = 'BY_RECIPIENT'; + const _NONE = 'NONE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentGroupingType.php b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentGroupingType.php new file mode 100644 index 00000000..6f723c66 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentGroupingType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ShippingDocumentGroupingType extends AbstractSimpleType +{ + const _CONSOLIDATED_BY_DOCUMENT_TYPE = 'CONSOLIDATED_BY_DOCUMENT_TYPE'; + const _CONSOLIDATED_BY_IMAGE_TYPE = 'CONSOLIDATED_BY_IMAGE_TYPE'; + const _INDIVIDUAL = 'INDIVIDUAL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentImageType.php b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentImageType.php new file mode 100644 index 00000000..c121d15a --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentImageType.php @@ -0,0 +1,25 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ShippingDocumentImageType extends AbstractSimpleType +{ + const _DIB = 'DIB'; + const _DOC = 'DOC'; + const _DPL = 'DPL'; + const _EPL2 = 'EPL2'; + const _GIF = 'GIF'; + const _PDF = 'PDF'; + const _PNG = 'PNG'; + const _RTF = 'RTF'; + const _TEXT = 'TEXT'; + const _ZPLII = 'ZPLII'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentNamingType.php b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentNamingType.php new file mode 100644 index 00000000..1a869549 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentNamingType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ShippingDocumentNamingType extends AbstractSimpleType +{ + const _FAST = 'FAST'; + const _LEGACY_FXRS = 'LEGACY_FXRS'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentStockType.php b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentStockType.php new file mode 100644 index 00000000..26229bf2 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentStockType.php @@ -0,0 +1,29 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ShippingDocumentStockType extends AbstractSimpleType +{ + const _OP_900_LG = 'OP_900_LG'; + const _OP_900_LG_B = 'OP_900_LG_B'; + const _OP_900_LL = 'OP_900_LL'; + const _OP_900_LL_B = 'OP_900_LL_B'; + const _OP_950 = 'OP_950'; + const _PAPER_4X6 = 'PAPER_4X6'; + const _PAPER_4_PER_PAGE_PORTRAIT = 'PAPER_4_PER_PAGE_PORTRAIT'; + const _PAPER_LETTER = 'PAPER_LETTER'; + const _STOCK_4X6 = 'STOCK_4X6'; + const _STOCK_4X6POINT75_LEADING_DOC_TAB = 'STOCK_4X6.75_LEADING_DOC_TAB'; + const _STOCK_4X6POINT75_TRAILING_DOC_TAB = 'STOCK_4X6.75_TRAILING_DOC_TAB'; + const _STOCK_4X8 = 'STOCK_4X8'; + const _STOCK_4X9_LEADING_DOC_TAB = 'STOCK_4X9_LEADING_DOC_TAB'; + const _STOCK_4X9_TRAILING_DOC_TAB = 'STOCK_4X9_TRAILING_DOC_TAB'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentStorageDetailType.php b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentStorageDetailType.php new file mode 100644 index 00000000..00adfc90 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/ShippingDocumentStorageDetailType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class ShippingDocumentStorageDetailType extends AbstractSimpleType +{ + const _ASYNC_SERVICE = 'ASYNC_SERVICE'; + const _LOCAL_FILE_SYSTEM = 'LOCAL_FILE_SYSTEM'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/SignatureOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/SignatureOptionType.php new file mode 100644 index 00000000..5a2339ab --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/SignatureOptionType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class SignatureOptionType extends AbstractSimpleType +{ + const _ADULT = 'ADULT'; + const _DIRECT = 'DIRECT'; + const _INDIRECT = 'INDIRECT'; + const _NO_SIGNATURE_REQUIRED = 'NO_SIGNATURE_REQUIRED'; + const _SERVICE_DEFAULT = 'SERVICE_DEFAULT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/SmartPostAncillaryEndorsementType.php b/src/FedEx/UploadDocumentService/SimpleType/SmartPostAncillaryEndorsementType.php new file mode 100644 index 00000000..eca0b06a --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/SmartPostAncillaryEndorsementType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class SmartPostAncillaryEndorsementType extends AbstractSimpleType +{ + const _ADDRESS_CORRECTION = 'ADDRESS_CORRECTION'; + const _CARRIER_LEAVE_IF_NO_RESPONSE = 'CARRIER_LEAVE_IF_NO_RESPONSE'; + const _CHANGE_SERVICE = 'CHANGE_SERVICE'; + const _FORWARDING_SERVICE = 'FORWARDING_SERVICE'; + const _RETURN_SERVICE = 'RETURN_SERVICE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/SmartPostIndiciaType.php b/src/FedEx/UploadDocumentService/SimpleType/SmartPostIndiciaType.php new file mode 100644 index 00000000..7f1fe0b6 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/SmartPostIndiciaType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class SmartPostIndiciaType extends AbstractSimpleType +{ + const _MEDIA_MAIL = 'MEDIA_MAIL'; + const _PARCEL_RETURN = 'PARCEL_RETURN'; + const _PARCEL_SELECT = 'PARCEL_SELECT'; + const _PRESORTED_BOUND_PRINTED_MATTER = 'PRESORTED_BOUND_PRINTED_MATTER'; + const _PRESORTED_STANDARD = 'PRESORTED_STANDARD'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/SmartPostShipmentProcessingOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/SmartPostShipmentProcessingOptionType.php new file mode 100644 index 00000000..55591d72 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/SmartPostShipmentProcessingOptionType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class SmartPostShipmentProcessingOptionType extends AbstractSimpleType +{ + const _GROUND_TRACKING_NUMBER_REQUESTED = 'GROUND_TRACKING_NUMBER_REQUESTED'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/SmartPostShipmentSpecialServiceType.php b/src/FedEx/UploadDocumentService/SimpleType/SmartPostShipmentSpecialServiceType.php new file mode 100644 index 00000000..d096479b --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/SmartPostShipmentSpecialServiceType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class SmartPostShipmentSpecialServiceType extends AbstractSimpleType +{ + const _USPS_DELIVERY_CONFIRMATION = 'USPS_DELIVERY_CONFIRMATION'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/SpecialEquipmentType.php b/src/FedEx/UploadDocumentService/SimpleType/SpecialEquipmentType.php new file mode 100644 index 00000000..ae25a24d --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/SpecialEquipmentType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class SpecialEquipmentType extends AbstractSimpleType +{ + const _FORK_LIFT = 'FORK_LIFT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/SpecialRatingAppliedType.php b/src/FedEx/UploadDocumentService/SimpleType/SpecialRatingAppliedType.php new file mode 100644 index 00000000..5db177d7 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/SpecialRatingAppliedType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class SpecialRatingAppliedType extends AbstractSimpleType +{ + const _FEDEX_ONE_RATE = 'FEDEX_ONE_RATE'; + const _FIXED_FUEL_SURCHARGE = 'FIXED_FUEL_SURCHARGE'; + const _IMPORT_PRICING = 'IMPORT_PRICING'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/SplitPaymentType.php b/src/FedEx/UploadDocumentService/SimpleType/SplitPaymentType.php new file mode 100644 index 00000000..a8f03ba6 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/SplitPaymentType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class SplitPaymentType extends AbstractSimpleType +{ + const _APPOINTMENT_DELIVERY = 'APPOINTMENT_DELIVERY'; + const _PIECE_COUNT_VERIFICATION = 'PIECE_COUNT_VERIFICATION'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/StringBarcodeType.php b/src/FedEx/UploadDocumentService/SimpleType/StringBarcodeType.php new file mode 100644 index 00000000..424c2547 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/StringBarcodeType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class StringBarcodeType extends AbstractSimpleType +{ + const _ADDRESS = 'ADDRESS'; + const _ASTRA = 'ASTRA'; + const _FEDEX_1D = 'FEDEX_1D'; + const _GROUND = 'GROUND'; + const _POSTAL = 'POSTAL'; + const _USPS = 'USPS'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/SurchargeLevelType.php b/src/FedEx/UploadDocumentService/SimpleType/SurchargeLevelType.php new file mode 100644 index 00000000..368322e0 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/SurchargeLevelType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class SurchargeLevelType extends AbstractSimpleType +{ + const _PACKAGE = 'PACKAGE'; + const _SHIPMENT = 'SHIPMENT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/SurchargeType.php b/src/FedEx/UploadDocumentService/SimpleType/SurchargeType.php new file mode 100644 index 00000000..bd9c8fa3 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/SurchargeType.php @@ -0,0 +1,115 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class SurchargeType extends AbstractSimpleType +{ + const _ACCOUNT_NUMBER_PROCESSING_FEE = 'ACCOUNT_NUMBER_PROCESSING_FEE'; + const _ADDITIONAL_HANDLING = 'ADDITIONAL_HANDLING'; + const _ADDRESS_CORRECTION = 'ADDRESS_CORRECTION'; + const _ANCILLARY_FEE = 'ANCILLARY_FEE'; + const _APPOINTMENT_DELIVERY = 'APPOINTMENT_DELIVERY'; + const _BLIND_SHIPMENT = 'BLIND_SHIPMENT'; + const _BROKER_SELECT_OPTION = 'BROKER_SELECT_OPTION'; + const _CANADIAN_DESTINATION = 'CANADIAN_DESTINATION'; + const _CHARGEABLE_PALLET_WEIGHT = 'CHARGEABLE_PALLET_WEIGHT'; + const _COD = 'COD'; + const _CUT_FLOWERS = 'CUT_FLOWERS'; + const _DANGEROUS_GOODS = 'DANGEROUS_GOODS'; + const _DELIVERY_AREA = 'DELIVERY_AREA'; + const _DELIVERY_CONFIRMATION = 'DELIVERY_CONFIRMATION'; + const _DELIVERY_ON_INVOICE_ACCEPTANCE = 'DELIVERY_ON_INVOICE_ACCEPTANCE'; + const _DETENTION = 'DETENTION'; + const _DOCUMENTATION_FEE = 'DOCUMENTATION_FEE'; + const _DRY_ICE = 'DRY_ICE'; + const _EMAIL_LABEL = 'EMAIL_LABEL'; + const _EUROPE_FIRST = 'EUROPE_FIRST'; + const _EXCESS_VALUE = 'EXCESS_VALUE'; + const _EXCLUSIVE_USE = 'EXCLUSIVE_USE'; + const _EXHIBITION = 'EXHIBITION'; + const _EXPEDITED = 'EXPEDITED'; + const _EXPORT = 'EXPORT'; + const _EXTRA_LABOR = 'EXTRA_LABOR'; + const _EXTRA_SURFACE_HANDLING_CHARGE = 'EXTRA_SURFACE_HANDLING_CHARGE'; + const _EXTREME_LENGTH = 'EXTREME_LENGTH'; + const _FEDEX_INTRACOUNTRY_FEES = 'FEDEX_INTRACOUNTRY_FEES'; + const _FEDEX_TAG = 'FEDEX_TAG'; + const _FICE = 'FICE'; + const _FLATBED = 'FLATBED'; + const _FREIGHT_GUARANTEE = 'FREIGHT_GUARANTEE'; + const _FREIGHT_ON_VALUE = 'FREIGHT_ON_VALUE'; + const _FREIGHT_TO_COLLECT = 'FREIGHT_TO_COLLECT'; + const _FUEL = 'FUEL'; + const _HIGH_COST_SERVICE_AREA_DESTINATION = 'HIGH_COST_SERVICE_AREA_DESTINATION'; + const _HIGH_COST_SERVICE_AREA_ORIGIN = 'HIGH_COST_SERVICE_AREA_ORIGIN'; + const _HOLD_AT_LOCATION = 'HOLD_AT_LOCATION'; + const _HOLIDAY_DELIVERY = 'HOLIDAY_DELIVERY'; + const _HOLIDAY_GUARANTEE = 'HOLIDAY_GUARANTEE'; + const _HOME_DELIVERY_APPOINTMENT = 'HOME_DELIVERY_APPOINTMENT'; + const _HOME_DELIVERY_DATE_CERTAIN = 'HOME_DELIVERY_DATE_CERTAIN'; + const _HOME_DELIVERY_EVENING = 'HOME_DELIVERY_EVENING'; + const _INSIDE_DELIVERY = 'INSIDE_DELIVERY'; + const _INSIDE_PICKUP = 'INSIDE_PICKUP'; + const _INSURED_VALUE = 'INSURED_VALUE'; + const _INTERHAWAII = 'INTERHAWAII'; + const _LIFTGATE_DELIVERY = 'LIFTGATE_DELIVERY'; + const _LIFTGATE_PICKUP = 'LIFTGATE_PICKUP'; + const _LIMITED_ACCESS_DELIVERY = 'LIMITED_ACCESS_DELIVERY'; + const _LIMITED_ACCESS_PICKUP = 'LIMITED_ACCESS_PICKUP'; + const _MARKING_OR_TAGGING = 'MARKING_OR_TAGGING'; + const _METRO_DELIVERY = 'METRO_DELIVERY'; + const _METRO_PICKUP = 'METRO_PICKUP'; + const _NON_BUSINESS_TIME = 'NON_BUSINESS_TIME'; + const _NON_MACHINABLE = 'NON_MACHINABLE'; + const _OFFSHORE = 'OFFSHORE'; + const _ON_CALL_PICKUP = 'ON_CALL_PICKUP'; + const _ON_DEMAND_CARE = 'ON_DEMAND_CARE'; + const _OTHER = 'OTHER'; + const _OUT_OF_DELIVERY_AREA = 'OUT_OF_DELIVERY_AREA'; + const _OUT_OF_PICKUP_AREA = 'OUT_OF_PICKUP_AREA'; + const _OVERSIZE = 'OVERSIZE'; + const _OVER_DIMENSION = 'OVER_DIMENSION'; + const _OVER_LENGTH = 'OVER_LENGTH'; + const _PALLETS_PROVIDED = 'PALLETS_PROVIDED'; + const _PALLET_SHRINKWRAP = 'PALLET_SHRINKWRAP'; + const _PEAK = 'PEAK'; + const _PEAK_ADDITIONAL_HANDLING = 'PEAK_ADDITIONAL_HANDLING'; + const _PEAK_OVERSIZE = 'PEAK_OVERSIZE'; + const _PEAK_RESIDENTIAL_DELIVERY = 'PEAK_RESIDENTIAL_DELIVERY'; + const _PERMIT = 'PERMIT'; + const _PIECE_COUNT_VERIFICATION = 'PIECE_COUNT_VERIFICATION'; + const _PORT = 'PORT'; + const _PRE_DELIVERY_NOTIFICATION = 'PRE_DELIVERY_NOTIFICATION'; + const _PRIORITY_ALERT = 'PRIORITY_ALERT'; + const _PROTECTION_FROM_FREEZING = 'PROTECTION_FROM_FREEZING'; + const _REGIONAL_MALL_DELIVERY = 'REGIONAL_MALL_DELIVERY'; + const _REGIONAL_MALL_PICKUP = 'REGIONAL_MALL_PICKUP'; + const _REROUTE = 'REROUTE'; + const _RESCHEDULE = 'RESCHEDULE'; + const _RESIDENTIAL_DELIVERY = 'RESIDENTIAL_DELIVERY'; + const _RESIDENTIAL_PICKUP = 'RESIDENTIAL_PICKUP'; + const _RETURN_LABEL = 'RETURN_LABEL'; + const _SATURDAY_DELIVERY = 'SATURDAY_DELIVERY'; + const _SATURDAY_PICKUP = 'SATURDAY_PICKUP'; + const _SHIPMENT_ASSEMBLY = 'SHIPMENT_ASSEMBLY'; + const _SIGNATURE_OPTION = 'SIGNATURE_OPTION'; + const _SORT_AND_SEGREGATE = 'SORT_AND_SEGREGATE'; + const _SPECIAL_DELIVERY = 'SPECIAL_DELIVERY'; + const _SPECIAL_EQUIPMENT = 'SPECIAL_EQUIPMENT'; + const _STORAGE = 'STORAGE'; + const _SUNDAY_DELIVERY = 'SUNDAY_DELIVERY'; + const _TARP = 'TARP'; + const _THIRD_PARTY_BILLING = 'THIRD_PARTY_BILLING'; + const _THIRD_PARTY_CONSIGNEE = 'THIRD_PARTY_CONSIGNEE'; + const _TRANSMART_SERVICE_FEE = 'TRANSMART_SERVICE_FEE'; + const _USPS = 'USPS'; + const _WEIGHING = 'WEIGHING'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/TaxType.php b/src/FedEx/UploadDocumentService/SimpleType/TaxType.php new file mode 100644 index 00000000..4eecffeb --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/TaxType.php @@ -0,0 +1,22 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class TaxType extends AbstractSimpleType +{ + const _EXPORT = 'EXPORT'; + const _GST = 'GST'; + const _HST = 'HST'; + const _INTRACOUNTRY = 'INTRACOUNTRY'; + const _OTHER = 'OTHER'; + const _PST = 'PST'; + const _VAT = 'VAT'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/TaxesOrMiscellaneousChargeType.php b/src/FedEx/UploadDocumentService/SimpleType/TaxesOrMiscellaneousChargeType.php new file mode 100644 index 00000000..b4ac3793 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/TaxesOrMiscellaneousChargeType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class TaxesOrMiscellaneousChargeType extends AbstractSimpleType +{ + const _COMMISSIONS = 'COMMISSIONS'; + const _DISCOUNTS = 'DISCOUNTS'; + const _HANDLING_FEES = 'HANDLING_FEES'; + const _OTHER = 'OTHER'; + const _ROYALTIES_AND_LICENSE_FEES = 'ROYALTIES_AND_LICENSE_FEES'; + const _TAXES = 'TAXES'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/TinType.php b/src/FedEx/UploadDocumentService/SimpleType/TinType.php new file mode 100644 index 00000000..b012a32b --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/TinType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class TinType extends AbstractSimpleType +{ + const _BUSINESS_NATIONAL = 'BUSINESS_NATIONAL'; + const _BUSINESS_STATE = 'BUSINESS_STATE'; + const _BUSINESS_UNION = 'BUSINESS_UNION'; + const _PERSONAL_NATIONAL = 'PERSONAL_NATIONAL'; + const _PERSONAL_STATE = 'PERSONAL_STATE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/TrackingIdType.php b/src/FedEx/UploadDocumentService/SimpleType/TrackingIdType.php new file mode 100644 index 00000000..a1ee03f0 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/TrackingIdType.php @@ -0,0 +1,22 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class TrackingIdType extends AbstractSimpleType +{ + const _EXPRESS = 'EXPRESS'; + const _FEDEX = 'FEDEX'; + const _FREIGHT = 'FREIGHT'; + const _GROUND = 'GROUND'; + const _INTERNAL = 'INTERNAL'; + const _UNKNOWN = 'UNKNOWN'; + const _USPS = 'USPS'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/TransborderDistributionSpecialServiceType.php b/src/FedEx/UploadDocumentService/SimpleType/TransborderDistributionSpecialServiceType.php new file mode 100644 index 00000000..e5f892cb --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/TransborderDistributionSpecialServiceType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class TransborderDistributionSpecialServiceType extends AbstractSimpleType +{ + const _FEDEX_LTL = 'FEDEX_LTL'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/TransitTimeType.php b/src/FedEx/UploadDocumentService/SimpleType/TransitTimeType.php new file mode 100644 index 00000000..7658eb5f --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/TransitTimeType.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class TransitTimeType extends AbstractSimpleType +{ + const _EIGHTEEN_DAYS = 'EIGHTEEN_DAYS'; + const _EIGHT_DAYS = 'EIGHT_DAYS'; + const _ELEVEN_DAYS = 'ELEVEN_DAYS'; + const _FIFTEEN_DAYS = 'FIFTEEN_DAYS'; + const _FIVE_DAYS = 'FIVE_DAYS'; + const _FOURTEEN_DAYS = 'FOURTEEN_DAYS'; + const _FOUR_DAYS = 'FOUR_DAYS'; + const _NINETEEN_DAYS = 'NINETEEN_DAYS'; + const _NINE_DAYS = 'NINE_DAYS'; + const _ONE_DAY = 'ONE_DAY'; + const _SEVENTEEN_DAYS = 'SEVENTEEN_DAYS'; + const _SEVEN_DAYS = 'SEVEN_DAYS'; + const _SIXTEEN_DAYS = 'SIXTEEN_DAYS'; + const _SIX_DAYS = 'SIX_DAYS'; + const _TEN_DAYS = 'TEN_DAYS'; + const _THIRTEEN_DAYS = 'THIRTEEN_DAYS'; + const _THREE_DAYS = 'THREE_DAYS'; + const _TWELVE_DAYS = 'TWELVE_DAYS'; + const _TWENTY_DAYS = 'TWENTY_DAYS'; + const _TWO_DAYS = 'TWO_DAYS'; + const _UNKNOWN = 'UNKNOWN'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/UploadDocumentStatusInfoType.php b/src/FedEx/UploadDocumentService/SimpleType/UploadDocumentStatusInfoType.php index 1aac6686..878be25d 100644 --- a/src/FedEx/UploadDocumentService/SimpleType/UploadDocumentStatusInfoType.php +++ b/src/FedEx/UploadDocumentService/SimpleType/UploadDocumentStatusInfoType.php @@ -26,6 +26,7 @@ class UploadDocumentStatusInfoType extends AbstractSimpleType const _ELECTRONIC_CLEARANCE_NOT_ALLOWED_AT_ORIGIN = 'ELECTRONIC_CLEARANCE_NOT_ALLOWED_AT_ORIGIN'; const _EXPIRATION_DATE_INVALID = 'EXPIRATION_DATE_INVALID'; const _FILENAME_TOO_LONG = 'FILENAME_TOO_LONG'; + const _INELIGIBLE_FOR_UPLOAD = 'INELIGIBLE_FOR_UPLOAD'; const _UNABLE_TO_PROCESS_DOCUMENT = 'UNABLE_TO_PROCESS_DOCUMENT'; const _UPLOAD_NOT_ATTEMPTED = 'UPLOAD_NOT_ATTEMPTED'; } diff --git a/src/FedEx/UploadDocumentService/SimpleType/UploadDocumentType.php b/src/FedEx/UploadDocumentService/SimpleType/UploadDocumentType.php index fed03cc6..39f10599 100644 --- a/src/FedEx/UploadDocumentService/SimpleType/UploadDocumentType.php +++ b/src/FedEx/UploadDocumentService/SimpleType/UploadDocumentType.php @@ -15,7 +15,8 @@ class UploadDocumentType extends AbstractSimpleType const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; const _ETD_LABEL = 'ETD_LABEL'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _OTHER = 'OTHER'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; } diff --git a/src/FedEx/UploadDocumentService/SimpleType/UploadDocumentsProcessingOptionType.php b/src/FedEx/UploadDocumentService/SimpleType/UploadDocumentsProcessingOptionType.php index 83815720..f2772028 100644 --- a/src/FedEx/UploadDocumentService/SimpleType/UploadDocumentsProcessingOptionType.php +++ b/src/FedEx/UploadDocumentService/SimpleType/UploadDocumentsProcessingOptionType.php @@ -13,4 +13,6 @@ class UploadDocumentsProcessingOptionType extends AbstractSimpleType { const _POST_SHIPMENT_UPLOAD = 'POST_SHIPMENT_UPLOAD'; + const _PRE_ETD_ENHANCEMENTS = 'PRE_ETD_ENHANCEMENTS'; + const _VALIDATE_ONLY = 'VALIDATE_ONLY'; } diff --git a/src/FedEx/UploadDocumentService/SimpleType/UsmcaCertifierSpecificationType.php b/src/FedEx/UploadDocumentService/SimpleType/UsmcaCertifierSpecificationType.php new file mode 100644 index 00000000..0e1d2fb8 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/UsmcaCertifierSpecificationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class UsmcaCertifierSpecificationType extends AbstractSimpleType +{ + const _EXPORTER = 'EXPORTER'; + const _IMPORTER = 'IMPORTER'; + const _PRODUCER = 'PRODUCER'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/UsmcaImporterSpecificationType.php b/src/FedEx/UploadDocumentService/SimpleType/UsmcaImporterSpecificationType.php new file mode 100644 index 00000000..944ba484 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/UsmcaImporterSpecificationType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class UsmcaImporterSpecificationType extends AbstractSimpleType +{ + const _UNKNOWN = 'UNKNOWN'; + const _VARIOUS = 'VARIOUS'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/UsmcaOriginCriterionCode.php b/src/FedEx/UploadDocumentService/SimpleType/UsmcaOriginCriterionCode.php new file mode 100644 index 00000000..955dd500 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/UsmcaOriginCriterionCode.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class UsmcaOriginCriterionCode extends AbstractSimpleType +{ + const _A = 'A'; + const _B = 'B'; + const _C = 'C'; + const _D = 'D'; + const _E = 'E'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/UsmcaProducerSpecificationType.php b/src/FedEx/UploadDocumentService/SimpleType/UsmcaProducerSpecificationType.php new file mode 100644 index 00000000..7b257507 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/UsmcaProducerSpecificationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class UsmcaProducerSpecificationType extends AbstractSimpleType +{ + const _AVAILABLE_UPON_REQUEST = 'AVAILABLE_UPON_REQUEST'; + const _SAME_AS_EXPORTER = 'SAME_AS_EXPORTER'; + const _VARIOUS = 'VARIOUS'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/VolumeUnits.php b/src/FedEx/UploadDocumentService/SimpleType/VolumeUnits.php new file mode 100644 index 00000000..053b0ce8 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/VolumeUnits.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class VolumeUnits extends AbstractSimpleType +{ + const _CUBIC_FT = 'CUBIC_FT'; + const _CUBIC_M = 'CUBIC_M'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/WeighingScaleType.php b/src/FedEx/UploadDocumentService/SimpleType/WeighingScaleType.php new file mode 100644 index 00000000..b403173a --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/WeighingScaleType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class WeighingScaleType extends AbstractSimpleType +{ + const _FEDEX_SCALE = 'FEDEX_SCALE'; + const _PUBLIC_SCALE = 'PUBLIC_SCALE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/WeightSource.php b/src/FedEx/UploadDocumentService/SimpleType/WeightSource.php new file mode 100644 index 00000000..7c18a734 --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/WeightSource.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class WeightSource extends AbstractSimpleType +{ + const _MANUAL = 'MANUAL'; + const _SCALE = 'SCALE'; +} diff --git a/src/FedEx/UploadDocumentService/SimpleType/WeightUnits.php b/src/FedEx/UploadDocumentService/SimpleType/WeightUnits.php new file mode 100644 index 00000000..ebab6bff --- /dev/null +++ b/src/FedEx/UploadDocumentService/SimpleType/WeightUnits.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Upload Document Service + */ +class WeightUnits extends AbstractSimpleType +{ + const _KG = 'KG'; + const _LB = 'LB'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountAliasDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountAliasDetail.php new file mode 100644 index 00000000..85655bd0 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountAliasDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $Id + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\AccountAliasType|string $Type + * @property ProfileContact $Contact + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\AccountAliasAttributeType|string[] $Attributes + + */ +class AccountAliasDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AccountAliasDetail'; + + /** + * Unique identifier for this alias. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Set Type + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\AccountAliasType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set Contact + * + * @param ProfileContact $contact + * @return $this + */ + public function setContact(ProfileContact $contact) + { + $this->values['Contact'] = $contact; + return $this; + } + + /** + * Set Attributes + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\AccountAliasAttributeType[]|string[] $attributes + * @return $this + */ + public function setAttributes(array $attributes) + { + $this->values['Attributes'] = $attributes; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountGroupDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountGroupDetail.php new file mode 100644 index 00000000..42769ac5 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountGroupDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $GroupCode + * @property string $GroupId + * @property AccountGroupMasterAccountDetail $MasterAccountDetail + + */ +class AccountGroupDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AccountGroupDetail'; + + /** + * Specifies the group code for the account group that the account belongs to. + * + * @param string $groupCode + * @return $this + */ + public function setGroupCode($groupCode) + { + $this->values['GroupCode'] = $groupCode; + return $this; + } + + /** + * Specifies the group id of the account group that the account belongs to. + * + * @param string $groupId + * @return $this + */ + public function setGroupId($groupId) + { + $this->values['GroupId'] = $groupId; + return $this; + } + + /** + * Details about the master account associated with the account group. + * + * @param AccountGroupMasterAccountDetail $masterAccountDetail + * @return $this + */ + public function setMasterAccountDetail(AccountGroupMasterAccountDetail $masterAccountDetail) + { + $this->values['MasterAccountDetail'] = $masterAccountDetail; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountGroupMasterAccountDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountGroupMasterAccountDetail.php new file mode 100644 index 00000000..92ee4906 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountGroupMasterAccountDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $AccountNumber + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\OperatingCompanyType|string $OperatingCompany + * @property string $PricingSubGroupCode + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\NationalAccountType|string $NationalAccountType + + */ +class AccountGroupMasterAccountDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AccountGroupMasterAccountDetail'; + + /** + * Specifies the account number that is identified as the master account number for the account group. This is not specified for all possbile group codes. In case of Freight, this is can be the national account number. + * + * @param string $accountNumber + * @return $this + */ + public function setAccountNumber($accountNumber) + { + $this->values['AccountNumber'] = $accountNumber; + return $this; + } + + /** + * Specifies the FedEx operating company under which the master account number is registered. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\OperatingCompanyType|string $operatingCompany + * @return $this + */ + public function setOperatingCompany($operatingCompany) + { + $this->values['OperatingCompany'] = $operatingCompany; + return $this; + } + + /** + * Specifies the pricing subgroup that the master account belongs to. + * + * @param string $pricingSubGroupCode + * @return $this + */ + public function setPricingSubGroupCode($pricingSubGroupCode) + { + $this->values['PricingSubGroupCode'] = $pricingSubGroupCode; + return $this; + } + + /** + * Set NationalAccountType + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\NationalAccountType|string $nationalAccountType + * @return $this + */ + public function setNationalAccountType($nationalAccountType) + { + $this->values['NationalAccountType'] = $nationalAccountType; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountGroupMembershipDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountGroupMembershipDetail.php new file mode 100644 index 00000000..abfa823c --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AccountGroupMembershipDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property AccountGroupDetail $AccountGroup + * @property string $EffectiveDate + * @property string $ExpirationDate + + */ +class AccountGroupMembershipDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AccountGroupMembershipDetail'; + + /** + * Set AccountGroup + * + * @param AccountGroupDetail $accountGroup + * @return $this + */ + public function setAccountGroup(AccountGroupDetail $accountGroup) + { + $this->values['AccountGroup'] = $accountGroup; + return $this; + } + + /** + * Date when the account group membership is effective. + * + * @param string $effectiveDate + * @return $this + */ + public function setEffectiveDate($effectiveDate) + { + $this->values['EffectiveDate'] = $effectiveDate; + return $this; + } + + /** + * Date when the account group membership expires. + * + * @param string $expirationDate + * @return $this + */ + public function setExpirationDate($expirationDate) + { + $this->values['ExpirationDate'] = $expirationDate; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/Address.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/Address.php index 9f1df82a..07d7efe5 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/Address.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/Address.php @@ -10,8 +10,15 @@ * @package PHP FedEx API wrapper * @subpackage Validation Availability And Commitment Service Service * + * @property string[] $StreetLines + * @property string $City + * @property string $StateOrProvinceCode * @property string $PostalCode + * @property string $UrbanizationCode * @property string $CountryCode + * @property string $CountryName + * @property boolean $Residential + * @property string $GeographicCoordinates */ class Address extends AbstractComplexType @@ -23,6 +30,42 @@ class Address extends AbstractComplexType */ protected $name = 'Address'; + /** + * Combination of number, street name, etc. At least one line is required for a valid physical address; empty lines should not be included. + * + * @param string $streetLines + * @return $this + */ + public function setStreetLines($streetLines) + { + $this->values['StreetLines'] = $streetLines; + return $this; + } + + /** + * Name of city, town, etc. + * + * @param string $city + * @return $this + */ + public function setCity($city) + { + $this->values['City'] = $city; + return $this; + } + + /** + * Identifying abbreviation for US state, Canada province, etc. Format and presence of this field will vary, depending on country. + * + * @param string $stateOrProvinceCode + * @return $this + */ + public function setStateOrProvinceCode($stateOrProvinceCode) + { + $this->values['StateOrProvinceCode'] = $stateOrProvinceCode; + return $this; + } + /** * Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country. * @@ -35,6 +78,18 @@ public function setPostalCode($postalCode) return $this; } + /** + * Relevant only to addresses in Puerto Rico. + * + * @param string $urbanizationCode + * @return $this + */ + public function setUrbanizationCode($urbanizationCode) + { + $this->values['UrbanizationCode'] = $urbanizationCode; + return $this; + } + /** * The two-letter code used to identify a country. * @@ -46,4 +101,40 @@ public function setCountryCode($countryCode) $this->values['CountryCode'] = $countryCode; return $this; } + + /** + * The fully spelt out name of a country. + * + * @param string $countryName + * @return $this + */ + public function setCountryName($countryName) + { + $this->values['CountryName'] = $countryName; + return $this; + } + + /** + * Indicates whether this address residential (as opposed to commercial). + * + * @param boolean $residential + * @return $this + */ + public function setResidential($residential) + { + $this->values['Residential'] = $residential; + return $this; + } + + /** + * The geographic coordinates cooresponding to this address. + * + * @param string $geographicCoordinates + * @return $this + */ + public function setGeographicCoordinates($geographicCoordinates) + { + $this->values['GeographicCoordinates'] = $geographicCoordinates; + return $this; + } } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AddressAncillaryDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AddressAncillaryDetail.php new file mode 100644 index 00000000..fb503556 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AddressAncillaryDetail.php @@ -0,0 +1,166 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $LocationInCity + * @property string $LocationInProperty + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\LocationAccessibilityType|string $Accessibility + * @property string $Building + * @property string $Department + * @property string $RoomFloor + * @property string $Suite + * @property string $Apartment + * @property string $Room + * @property string $CrossStreet + * @property string[] $AdditionalDescriptions + + */ +class AddressAncillaryDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AddressAncillaryDetail'; + + /** + * Set LocationInCity + * + * @param string $locationInCity + * @return $this + */ + public function setLocationInCity($locationInCity) + { + $this->values['LocationInCity'] = $locationInCity; + return $this; + } + + /** + * Set LocationInProperty + * + * @param string $locationInProperty + * @return $this + */ + public function setLocationInProperty($locationInProperty) + { + $this->values['LocationInProperty'] = $locationInProperty; + return $this; + } + + /** + * Indicates whether how this location can be accessed. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\LocationAccessibilityType|string $accessibility + * @return $this + */ + public function setAccessibility($accessibility) + { + $this->values['Accessibility'] = $accessibility; + return $this; + } + + /** + * Specifies building number or name. + * + * @param string $building + * @return $this + */ + public function setBuilding($building) + { + $this->values['Building'] = $building; + return $this; + } + + /** + * Specifies a department in the company or retail store. + * + * @param string $department + * @return $this + */ + public function setDepartment($department) + { + $this->values['Department'] = $department; + return $this; + } + + /** + * Specifies the floor number. + * + * @param string $roomFloor + * @return $this + */ + public function setRoomFloor($roomFloor) + { + $this->values['RoomFloor'] = $roomFloor; + return $this; + } + + /** + * Set Suite + * + * @param string $suite + * @return $this + */ + public function setSuite($suite) + { + $this->values['Suite'] = $suite; + return $this; + } + + /** + * Specifies apartment number. + * + * @param string $apartment + * @return $this + */ + public function setApartment($apartment) + { + $this->values['Apartment'] = $apartment; + return $this; + } + + /** + * Specifies the room number, if one is specified. + * + * @param string $room + * @return $this + */ + public function setRoom($room) + { + $this->values['Room'] = $room; + return $this; + } + + /** + * Set CrossStreet + * + * @param string $crossStreet + * @return $this + */ + public function setCrossStreet($crossStreet) + { + $this->values['CrossStreet'] = $crossStreet; + return $this; + } + + /** + * This is used to specify additional details about the address such as landmark. For e.g. This field is used to capture details such as an address being inside a facility such as, Chilli's Care Center, St. Jude - Inside. + * + * @param string $additionalDescriptions + * @return $this + */ + public function setAdditionalDescriptions($additionalDescriptions) + { + $this->values['AdditionalDescriptions'] = $additionalDescriptions; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AirCargoDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AirCargoDetail.php new file mode 100644 index 00000000..814522f0 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AirCargoDetail.php @@ -0,0 +1,127 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $AirCargoSubAccountType + * @property string[] $Synonyms + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\BrokerPaymentType|string $BrokerPaymentType + * @property string $BrokerAccountNumber + * @property string $AirportIATAAgentId + * @property string $PayorType + * @property string $AssociatedAirportId + * @property string $BillingInstructions + + */ +class AirCargoDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AirCargoDetail'; + + /** + * Business mode for the air cargo account. + * + * @param string $airCargoSubAccountType + * @return $this + */ + public function setAirCargoSubAccountType($airCargoSubAccountType) + { + $this->values['AirCargoSubAccountType'] = $airCargoSubAccountType; + return $this; + } + + /** + * Values of additional ids for the airport + * + * @param string $synonyms + * @return $this + */ + public function setSynonyms($synonyms) + { + $this->values['Synonyms'] = $synonyms; + return $this; + } + + /** + * Specifies whether the broker is a paying or non-paying broker + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\BrokerPaymentType|string $brokerPaymentType + * @return $this + */ + public function setBrokerPaymentType($brokerPaymentType) + { + $this->values['BrokerPaymentType'] = $brokerPaymentType; + return $this; + } + + /** + * Account number of the broker. + * + * @param string $brokerAccountNumber + * @return $this + */ + public function setBrokerAccountNumber($brokerAccountNumber) + { + $this->values['BrokerAccountNumber'] = $brokerAccountNumber; + return $this; + } + + /** + * Specifies the id of the IATA agent at the airport. + * + * @param string $airportIATAAgentId + * @return $this + */ + public function setAirportIATAAgentId($airportIATAAgentId) + { + $this->values['AirportIATAAgentId'] = $airportIATAAgentId; + return $this; + } + + /** + * TBD + * + * @param string $payorType + * @return $this + */ + public function setPayorType($payorType) + { + $this->values['PayorType'] = $payorType; + return $this; + } + + /** + * Specifies the airport id associated with the account. + * + * @param string $associatedAirportId + * @return $this + */ + public function setAssociatedAirportId($associatedAirportId) + { + $this->values['AssociatedAirportId'] = $associatedAirportId; + return $this; + } + + /** + * Billing instructions for the air cargo account. + * + * @param string $billingInstructions + * @return $this + */ + public function setBillingInstructions($billingInstructions) + { + $this->values['BillingInstructions'] = $billingInstructions; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AssociatedCompanyAccount.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AssociatedCompanyAccount.php new file mode 100644 index 00000000..9934b79d --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AssociatedCompanyAccount.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $CompanyIdentifier + * @property string $AccountNumber + * @property KeyValueDetail[] $AccountDetails + + */ +class AssociatedCompanyAccount extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AssociatedCompanyAccount'; + + /** + * An identifier for the acquired/associated company (for example, TNT, FXOP, etc.) + * + * @param string $companyIdentifier + * @return $this + */ + public function setCompanyIdentifier($companyIdentifier) + { + $this->values['CompanyIdentifier'] = $companyIdentifier; + return $this; + } + + /** + * Set AccountNumber + * + * @param string $accountNumber + * @return $this + */ + public function setAccountNumber($accountNumber) + { + $this->values['AccountNumber'] = $accountNumber; + return $this; + } + + /** + * A set of attributes associated with this account. + * + * @param KeyValueDetail[] $accountDetails + * @return $this + */ + public function setAccountDetails(array $accountDetails) + { + $this->values['AccountDetails'] = $accountDetails; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AuthorizedAddress.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AuthorizedAddress.php new file mode 100644 index 00000000..5b3e6308 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/AuthorizedAddress.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $SequenceNumber + * @property Address $Address + + */ +class AuthorizedAddress extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'AuthorizedAddress'; + + /** + * FOR FEDEX INTERNAL USE ONLY. This the sequence number used by Customer Identity (CI) to identify the address. + * + * @param string $sequenceNumber + * @return $this + */ + public function setSequenceNumber($sequenceNumber) + { + $this->values['SequenceNumber'] = $sequenceNumber; + return $this; + } + + /** + * Set Address + * + * @param Address $address + * @return $this + */ + public function setAddress(Address $address) + { + $this->values['Address'] = $address; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/BankAccountDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/BankAccountDetail.php new file mode 100644 index 00000000..6f130bb3 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/BankAccountDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $AccountNumber + * @property ParsedContact[] $AccountHolders + * @property string $IbanCode + * @property string $BusinessIdentifierCode + * @property string $SortCode + + */ +class BankAccountDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'BankAccountDetail'; + + /** + * Set AccountNumber + * + * @param string $accountNumber + * @return $this + */ + public function setAccountNumber($accountNumber) + { + $this->values['AccountNumber'] = $accountNumber; + return $this; + } + + /** + * Set AccountHolders + * + * @param ParsedContact[] $accountHolders + * @return $this + */ + public function setAccountHolders(array $accountHolders) + { + $this->values['AccountHolders'] = $accountHolders; + return $this; + } + + /** + * Set IbanCode + * + * @param string $ibanCode + * @return $this + */ + public function setIbanCode($ibanCode) + { + $this->values['IbanCode'] = $ibanCode; + return $this; + } + + /** + * Also known as the SWIFT code. + * + * @param string $businessIdentifierCode + * @return $this + */ + public function setBusinessIdentifierCode($businessIdentifierCode) + { + $this->values['BusinessIdentifierCode'] = $businessIdentifierCode; + return $this; + } + + /** + * Set SortCode + * + * @param string $sortCode + * @return $this + */ + public function setSortCode($sortCode) + { + $this->values['SortCode'] = $sortCode; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/BankDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/BankDetail.php new file mode 100644 index 00000000..178ca482 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/BankDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $BankName + * @property Address $BankAddress + + */ +class BankDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'BankDetail'; + + /** + * Set BankName + * + * @param string $bankName + * @return $this + */ + public function setBankName($bankName) + { + $this->values['BankName'] = $bankName; + return $this; + } + + /** + * Set BankAddress + * + * @param Address $bankAddress + * @return $this + */ + public function setBankAddress(Address $bankAddress) + { + $this->values['BankAddress'] = $bankAddress; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ClientDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ClientDetail.php index 65f185b1..4aa56d92 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ClientDetail.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ClientDetail.php @@ -12,6 +12,9 @@ * * @property string $AccountNumber * @property string $MeterNumber + * @property string $MeterInstance + * @property string $IntegratorId + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ExpressRegionCode|string $Region * @property Localization $Localization */ @@ -48,6 +51,42 @@ public function setMeterNumber($meterNumber) return $this; } + /** + * Set MeterInstance + * + * @param string $meterInstance + * @return $this + */ + public function setMeterInstance($meterInstance) + { + $this->values['MeterInstance'] = $meterInstance; + return $this; + } + + /** + * Only used in transactions which require identification of the FedEx Office integrator. + * + * @param string $integratorId + * @return $this + */ + public function setIntegratorId($integratorId) + { + $this->values['IntegratorId'] = $integratorId; + return $this; + } + + /** + * Indicates the region from which the transaction is submitted. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ExpressRegionCode|string $region + * @return $this + */ + public function setRegion($region) + { + $this->values['Region'] = $region; + return $this; + } + /** * The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) * diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/Commodity.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/Commodity.php index a8ae1163..bf704d7e 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/Commodity.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/Commodity.php @@ -28,7 +28,7 @@ * @property string $ExportLicenseExpirationDate * @property string $CIMarksAndNumbers * @property string $PartNumber - * @property NaftaCommodityDetail $NaftaDetail + * @property UsmcaCommodityDetail $UsmcaDetail */ class Commodity extends AbstractComplexType @@ -257,14 +257,14 @@ public function setPartNumber($partNumber) } /** - * All data required for this commodity in NAFTA Certificate of Origin. + * Set UsmcaDetail * - * @param NaftaCommodityDetail $naftaDetail + * @param UsmcaCommodityDetail $usmcaDetail * @return $this */ - public function setNaftaDetail(NaftaCommodityDetail $naftaDetail) + public function setUsmcaDetail(UsmcaCommodityDetail $usmcaDetail) { - $this->values['NaftaDetail'] = $naftaDetail; + $this->values['UsmcaDetail'] = $usmcaDetail; return $this; } } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CreditCardTransactionDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CreditCardTransactionDetail.php index 4bb0307b..128da29c 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CreditCardTransactionDetail.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CreditCardTransactionDetail.php @@ -15,6 +15,7 @@ * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CreditCardSettlementScheduleType|string $SettlementScheduleType * @property CreditFraudDetectionDetail $FraudDetectionDetail * @property string $PayorAuthenticationCode + * @property string $PayorAuthenticationSessionId * @property CreditCardTransactionAttributesDetail $AttributesDetail */ @@ -87,6 +88,18 @@ public function setPayorAuthenticationCode($payorAuthenticationCode) return $this; } + /** + * Set PayorAuthenticationSessionId + * + * @param string $payorAuthenticationSessionId + * @return $this + */ + public function setPayorAuthenticationSessionId($payorAuthenticationSessionId) + { + $this->values['PayorAuthenticationSessionId'] = $payorAuthenticationSessionId; + return $this; + } + /** * Specifies details about the credit card transaction that drive decisions about credit card processing. * diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerAccountFranchiseeDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerAccountFranchiseeDetail.php new file mode 100644 index 00000000..78969a76 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerAccountFranchiseeDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string[] $CountryCodes + + */ +class CustomerAccountFranchiseeDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerAccountFranchiseeDetail'; + + /** + * Specifies the country codes in which the customer account has a relationship with a Franchisee. + * + * @param string $countryCodes + * @return $this + */ + public function setCountryCodes($countryCodes) + { + $this->values['CountryCodes'] = $countryCodes; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerCommunicationDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerCommunicationDetail.php new file mode 100644 index 00000000..71769c57 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerCommunicationDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $PreferredCommunicationCodeType + * @property Localization $Localization + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\EMailNotificationFormatType|string $EmailNotificationFormat + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CorrespondenceType|string[] $MarketingCorrespondenceTypes + * @property string $AttentionToName + * @property SocialMediaDetail[] $SocialMediaDetails + + */ +class CustomerCommunicationDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerCommunicationDetail'; + + /** + * Specifies the customer's preferred mode of communication by FedEx. This specifies how the customer wants to be contacted by FedEx for customer service notifications. + * + * @param string $preferredCommunicationCodeType + * @return $this + */ + public function setPreferredCommunicationCodeType($preferredCommunicationCodeType) + { + $this->values['PreferredCommunicationCodeType'] = $preferredCommunicationCodeType; + return $this; + } + + /** + * Governs the language to be used for communicating with this customer. + * + * @param Localization $localization + * @return $this + */ + public function setLocalization(Localization $localization) + { + $this->values['Localization'] = $localization; + return $this; + } + + /** + * Specifies the format email such as HTML or TEXT. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\EMailNotificationFormatType|string $emailNotificationFormat + * @return $this + */ + public function setEmailNotificationFormat($emailNotificationFormat) + { + $this->values['EmailNotificationFormat'] = $emailNotificationFormat; + return $this; + } + + /** + * Specifies how FedEx can contact the customer for marketing purposes. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CorrespondenceType[]|string[] $marketingCorrespondenceTypes + * @return $this + */ + public function setMarketingCorrespondenceTypes(array $marketingCorrespondenceTypes) + { + $this->values['MarketingCorrespondenceTypes'] = $marketingCorrespondenceTypes; + return $this; + } + + /** + * Identifies the name to be put on the attentionTo field of a correspondence. + * + * @param string $attentionToName + * @return $this + */ + public function setAttentionToName($attentionToName) + { + $this->values['AttentionToName'] = $attentionToName; + return $this; + } + + /** + * Set SocialMediaDetails + * + * @param SocialMediaDetail[] $socialMediaDetails + * @return $this + */ + public function setSocialMediaDetails(array $socialMediaDetails) + { + $this->values['SocialMediaDetails'] = $socialMediaDetails; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerDiscountDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerDiscountDetail.php new file mode 100644 index 00000000..0d50edee --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerDiscountDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property boolean $DiscountsApplied + * @property DateOrTimeRange $EffectiveRange + + */ +class CustomerDiscountDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerDiscountDetail'; + + /** + * Set DiscountsApplied + * + * @param boolean $discountsApplied + * @return $this + */ + public function setDiscountsApplied($discountsApplied) + { + $this->values['DiscountsApplied'] = $discountsApplied; + return $this; + } + + /** + * Set EffectiveRange + * + * @param DateOrTimeRange $effectiveRange + * @return $this + */ + public function setEffectiveRange(DateOrTimeRange $effectiveRange) + { + $this->values['EffectiveRange'] = $effectiveRange; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerProfileArchiveDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerProfileArchiveDetail.php new file mode 100644 index 00000000..bf3a8927 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerProfileArchiveDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $Date + * @property string $ReasonCode + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PermissionType|string $RestorationPermission + + */ +class CustomerProfileArchiveDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerProfileArchiveDetail'; + + /** + * Set Date + * + * @param string $date + * @return $this + */ + public function setDate($date) + { + $this->values['Date'] = $date; + return $this; + } + + /** + * Set ReasonCode + * + * @param string $reasonCode + * @return $this + */ + public function setReasonCode($reasonCode) + { + $this->values['ReasonCode'] = $reasonCode; + return $this; + } + + /** + * Set RestorationPermission + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PermissionType|string $restorationPermission + * @return $this + */ + public function setRestorationPermission($restorationPermission) + { + $this->values['RestorationPermission'] = $restorationPermission; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerProfileBankDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerProfileBankDetail.php new file mode 100644 index 00000000..55b26a79 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerProfileBankDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $Id + * @property string $AccountNumber + * @property string $GiroNumber + * @property string $Domicile + * @property string $BranchId + * @property Address $Address + + */ +class CustomerProfileBankDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerProfileBankDetail'; + + /** + * The identification of the bank, where the customer has an account + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * The account number of the customer's bank account. + * + * @param string $accountNumber + * @return $this + */ + public function setAccountNumber($accountNumber) + { + $this->values['AccountNumber'] = $accountNumber; + return $this; + } + + /** + * The giro number is a five-digit number, which replaces the name, bank code and account number of the beneficiary. + * + * @param string $giroNumber + * @return $this + */ + public function setGiroNumber($giroNumber) + { + $this->values['GiroNumber'] = $giroNumber; + return $this; + } + + /** + * Identifies the place where a bill of exchange is made payable. + * + * @param string $domicile + * @return $this + */ + public function setDomicile($domicile) + { + $this->values['Domicile'] = $domicile; + return $this; + } + + /** + * The identification of the branch where the customer has an account + * + * @param string $branchId + * @return $this + */ + public function setBranchId($branchId) + { + $this->values['BranchId'] = $branchId; + return $this; + } + + /** + * Address of the bank branch + * + * @param Address $address + * @return $this + */ + public function setAddress(Address $address) + { + $this->values['Address'] = $address; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerProfileVATDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerProfileVATDetail.php new file mode 100644 index 00000000..588424c3 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerProfileVATDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $ResponseCode + + */ +class CustomerProfileVATDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerProfileVATDetail'; + + /** + * Specifies the VAT response code for the customer's account.The response code is applied only in LAC region. The valid values are integer values from 1 through 5. + * + * @param string $responseCode + * @return $this + */ + public function setResponseCode($responseCode) + { + $this->values['ResponseCode'] = $responseCode; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerRevenueDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerRevenueDetail.php new file mode 100644 index 00000000..5235a72e --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerRevenueDetail.php @@ -0,0 +1,296 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property float $CreditLimit + * @property string $DeclinedReason + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\BillingAccountAttributeType|string[] $BillingAttributes + * @property string $ClearanceBillingCycle + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerBillingSettlementLevelType|string $BillingSettlementLevel + * @property int $BillingExtendedInclusionDays + * @property string $BillingMedium + * @property string $InternationalBillingMedium + * @property string $InternationalTransportationInvoiceBypassCode + * @property string $BillingCycle + * @property string $InternationalBillingCycle + * @property int $BillingClosingDay + * @property string $BillingRestrictionCode + * @property string $CashOnlyDate + * @property string $ReceivershipDate + * @property string $ReceivershipAccountNumber + * @property string $PreferredCurrencyType + * @property string $CollectionZone + * @property int $NumberOfDaysToPayInvoice + * @property int $NumberOfDaysToPayDuties + * @property string $AgentTypeCode + + */ +class CustomerRevenueDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerRevenueDetail'; + + /** + * Set CreditLimit + * + * @param float $creditLimit + * @return $this + */ + public function setCreditLimit($creditLimit) + { + $this->values['CreditLimit'] = $creditLimit; + return $this; + } + + /** + * Set DeclinedReason + * + * @param string $declinedReason + * @return $this + */ + public function setDeclinedReason($declinedReason) + { + $this->values['DeclinedReason'] = $declinedReason; + return $this; + } + + /** + * Set BillingAttributes + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\BillingAccountAttributeType[]|string[] $billingAttributes + * @return $this + */ + public function setBillingAttributes(array $billingAttributes) + { + $this->values['BillingAttributes'] = $billingAttributes; + return $this; + } + + /** + * Set ClearanceBillingCycle + * + * @param string $clearanceBillingCycle + * @return $this + */ + public function setClearanceBillingCycle($clearanceBillingCycle) + { + $this->values['ClearanceBillingCycle'] = $clearanceBillingCycle; + return $this; + } + + /** + * Set BillingSettlementLevel + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerBillingSettlementLevelType|string $billingSettlementLevel + * @return $this + */ + public function setBillingSettlementLevel($billingSettlementLevel) + { + $this->values['BillingSettlementLevel'] = $billingSettlementLevel; + return $this; + } + + /** + * Set BillingExtendedInclusionDays + * + * @param int $billingExtendedInclusionDays + * @return $this + */ + public function setBillingExtendedInclusionDays($billingExtendedInclusionDays) + { + $this->values['BillingExtendedInclusionDays'] = $billingExtendedInclusionDays; + return $this; + } + + /** + * Set BillingMedium + * + * @param string $billingMedium + * @return $this + */ + public function setBillingMedium($billingMedium) + { + $this->values['BillingMedium'] = $billingMedium; + return $this; + } + + /** + * Set InternationalBillingMedium + * + * @param string $internationalBillingMedium + * @return $this + */ + public function setInternationalBillingMedium($internationalBillingMedium) + { + $this->values['InternationalBillingMedium'] = $internationalBillingMedium; + return $this; + } + + /** + * Set InternationalTransportationInvoiceBypassCode + * + * @param string $internationalTransportationInvoiceBypassCode + * @return $this + */ + public function setInternationalTransportationInvoiceBypassCode($internationalTransportationInvoiceBypassCode) + { + $this->values['InternationalTransportationInvoiceBypassCode'] = $internationalTransportationInvoiceBypassCode; + return $this; + } + + /** + * Set BillingCycle + * + * @param string $billingCycle + * @return $this + */ + public function setBillingCycle($billingCycle) + { + $this->values['BillingCycle'] = $billingCycle; + return $this; + } + + /** + * Set InternationalBillingCycle + * + * @param string $internationalBillingCycle + * @return $this + */ + public function setInternationalBillingCycle($internationalBillingCycle) + { + $this->values['InternationalBillingCycle'] = $internationalBillingCycle; + return $this; + } + + /** + * Set BillingClosingDay + * + * @param int $billingClosingDay + * @return $this + */ + public function setBillingClosingDay($billingClosingDay) + { + $this->values['BillingClosingDay'] = $billingClosingDay; + return $this; + } + + /** + * Set BillingRestrictionCode + * + * @param string $billingRestrictionCode + * @return $this + */ + public function setBillingRestrictionCode($billingRestrictionCode) + { + $this->values['BillingRestrictionCode'] = $billingRestrictionCode; + return $this; + } + + /** + * Set CashOnlyDate + * + * @param string $cashOnlyDate + * @return $this + */ + public function setCashOnlyDate($cashOnlyDate) + { + $this->values['CashOnlyDate'] = $cashOnlyDate; + return $this; + } + + /** + * Set ReceivershipDate + * + * @param string $receivershipDate + * @return $this + */ + public function setReceivershipDate($receivershipDate) + { + $this->values['ReceivershipDate'] = $receivershipDate; + return $this; + } + + /** + * Set ReceivershipAccountNumber + * + * @param string $receivershipAccountNumber + * @return $this + */ + public function setReceivershipAccountNumber($receivershipAccountNumber) + { + $this->values['ReceivershipAccountNumber'] = $receivershipAccountNumber; + return $this; + } + + /** + * Specifies the customer's preferred billing currency type to be used to print invoices and remit payment. If not specified, the currency type defaults to the currency based on the customer payor's country code. + * + * @param string $preferredCurrencyType + * @return $this + */ + public function setPreferredCurrencyType($preferredCurrencyType) + { + $this->values['PreferredCurrencyType'] = $preferredCurrencyType; + return $this; + } + + /** + * Specifies the collection zone assigned to the customer's account. In some countries, the invoices are hand delivered to the customers. The collection zone is used to organise (gather and sort) all the invoices for convenience of the FedEx personnel making deliveries. The hand delivery of invoices is performed in several LAC countries such as Mexico. + * + * @param string $collectionZone + * @return $this + */ + public function setCollectionZone($collectionZone) + { + $this->values['CollectionZone'] = $collectionZone; + return $this; + } + + /** + * Maximum number of days the customer has to pay the invoice. The value must be -1 when creating an account to indicate the value is unspecified. + * + * @param int $numberOfDaysToPayInvoice + * @return $this + */ + public function setNumberOfDaysToPayInvoice($numberOfDaysToPayInvoice) + { + $this->values['NumberOfDaysToPayInvoice'] = $numberOfDaysToPayInvoice; + return $this; + } + + /** + * Maximum number of days the customer has to pay the duties. The value must be -1 when creating an account to indicate the value is unspecified. + * + * @param int $numberOfDaysToPayDuties + * @return $this + */ + public function setNumberOfDaysToPayDuties($numberOfDaysToPayDuties) + { + $this->values['NumberOfDaysToPayDuties'] = $numberOfDaysToPayDuties; + return $this; + } + + /** + * Set AgentTypeCode + * + * @param string $agentTypeCode + * @return $this + */ + public function setAgentTypeCode($agentTypeCode) + { + $this->values['AgentTypeCode'] = $agentTypeCode; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerShippingEnablementDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerShippingEnablementDetail.php new file mode 100644 index 00000000..1d92827f --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerShippingEnablementDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property PolicyGridManifest[] $PolicyGridManifests + + */ +class CustomerShippingEnablementDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerShippingEnablementDetail'; + + /** + * Set PolicyGridManifests + * + * @param PolicyGridManifest[] $policyGridManifests + * @return $this + */ + public function setPolicyGridManifests(array $policyGridManifests) + { + $this->values['PolicyGridManifests'] = $policyGridManifests; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerShippingVolumeDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerShippingVolumeDetail.php new file mode 100644 index 00000000..9caaac0d --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerShippingVolumeDetail.php @@ -0,0 +1,244 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $FirstShipDate + * @property string $LastShipDate + * @property int $TotalPackageCount + * @property int $DomesticPackageCount + * @property int $InternationalPackageCount + * @property Money $TotalRevenue + * @property Money $DomesticRevenue + * @property Money $InternationalRevenue + * @property string $SalesTerritory + * @property string $GlobalSalesTerritory + * @property Money $AverageDomesticRevenue + * @property Money $AverageRevenue + * @property Money $DomesticAverageRevenue + * @property Money $InternationalAverageRevenue + * @property Money $NationalDomesticRevenue + * @property string $NationalDiscountAccount + * @property string $DebutCompanyId + + */ +class CustomerShippingVolumeDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerShippingVolumeDetail'; + + /** + * Set FirstShipDate + * + * @param string $firstShipDate + * @return $this + */ + public function setFirstShipDate($firstShipDate) + { + $this->values['FirstShipDate'] = $firstShipDate; + return $this; + } + + /** + * Set LastShipDate + * + * @param string $lastShipDate + * @return $this + */ + public function setLastShipDate($lastShipDate) + { + $this->values['LastShipDate'] = $lastShipDate; + return $this; + } + + /** + * Set TotalPackageCount + * + * @param int $totalPackageCount + * @return $this + */ + public function setTotalPackageCount($totalPackageCount) + { + $this->values['TotalPackageCount'] = $totalPackageCount; + return $this; + } + + /** + * Set DomesticPackageCount + * + * @param int $domesticPackageCount + * @return $this + */ + public function setDomesticPackageCount($domesticPackageCount) + { + $this->values['DomesticPackageCount'] = $domesticPackageCount; + return $this; + } + + /** + * Set InternationalPackageCount + * + * @param int $internationalPackageCount + * @return $this + */ + public function setInternationalPackageCount($internationalPackageCount) + { + $this->values['InternationalPackageCount'] = $internationalPackageCount; + return $this; + } + + /** + * Set TotalRevenue + * + * @param Money $totalRevenue + * @return $this + */ + public function setTotalRevenue(Money $totalRevenue) + { + $this->values['TotalRevenue'] = $totalRevenue; + return $this; + } + + /** + * Set DomesticRevenue + * + * @param Money $domesticRevenue + * @return $this + */ + public function setDomesticRevenue(Money $domesticRevenue) + { + $this->values['DomesticRevenue'] = $domesticRevenue; + return $this; + } + + /** + * Set InternationalRevenue + * + * @param Money $internationalRevenue + * @return $this + */ + public function setInternationalRevenue(Money $internationalRevenue) + { + $this->values['InternationalRevenue'] = $internationalRevenue; + return $this; + } + + /** + * Set SalesTerritory + * + * @param string $salesTerritory + * @return $this + */ + public function setSalesTerritory($salesTerritory) + { + $this->values['SalesTerritory'] = $salesTerritory; + return $this; + } + + /** + * Specifies the global territory for sales that is assigned to the customer's account, which is different from the sales territory which represents the local domestic US sales territory. + * + * @param string $globalSalesTerritory + * @return $this + */ + public function setGlobalSalesTerritory($globalSalesTerritory) + { + $this->values['GlobalSalesTerritory'] = $globalSalesTerritory; + return $this; + } + + /** + * This field is deprecated and will be removed in a future release. + * + * @param Money $averageDomesticRevenue + * @return $this + */ + public function setAverageDomesticRevenue(Money $averageDomesticRevenue) + { + $this->values['AverageDomesticRevenue'] = $averageDomesticRevenue; + return $this; + } + + /** + * Set AverageRevenue + * + * @param Money $averageRevenue + * @return $this + */ + public function setAverageRevenue(Money $averageRevenue) + { + $this->values['AverageRevenue'] = $averageRevenue; + return $this; + } + + /** + * Set DomesticAverageRevenue + * + * @param Money $domesticAverageRevenue + * @return $this + */ + public function setDomesticAverageRevenue(Money $domesticAverageRevenue) + { + $this->values['DomesticAverageRevenue'] = $domesticAverageRevenue; + return $this; + } + + /** + * Set InternationalAverageRevenue + * + * @param Money $internationalAverageRevenue + * @return $this + */ + public function setInternationalAverageRevenue(Money $internationalAverageRevenue) + { + $this->values['InternationalAverageRevenue'] = $internationalAverageRevenue; + return $this; + } + + /** + * Set NationalDomesticRevenue + * + * @param Money $nationalDomesticRevenue + * @return $this + */ + public function setNationalDomesticRevenue(Money $nationalDomesticRevenue) + { + $this->values['NationalDomesticRevenue'] = $nationalDomesticRevenue; + return $this; + } + + /** + * Set NationalDiscountAccount + * + * @param string $nationalDiscountAccount + * @return $this + */ + public function setNationalDiscountAccount($nationalDiscountAccount) + { + $this->values['NationalDiscountAccount'] = $nationalDiscountAccount; + return $this; + } + + /** + * Set DebutCompanyId + * + * @param string $debutCompanyId + * @return $this + */ + public function setDebutCompanyId($debutCompanyId) + { + $this->values['DebutCompanyId'] = $debutCompanyId; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerSuppliesDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerSuppliesDetail.php new file mode 100644 index 00000000..1a1c75ee --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomerSuppliesDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\SuppliesTypes|string[] $EligibleSupplies + + */ +class CustomerSuppliesDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'CustomerSuppliesDetail'; + + /** + * Specifies the types of supplies the customer is eligible to receive, per contractual agreement. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\SuppliesTypes[]|string[] $eligibleSupplies + * @return $this + */ + public function setEligibleSupplies(array $eligibleSupplies) + { + $this->values['EligibleSupplies'] = $eligibleSupplies; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomsDeclarationStatementDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomsDeclarationStatementDetail.php index cda4262e..1a304eed 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomsDeclarationStatementDetail.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/CustomsDeclarationStatementDetail.php @@ -11,7 +11,6 @@ * @subpackage Validation Availability And Commitment Service Service * * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomsDeclarationStatementType|string[] $Types - * @property NaftaLowValueStatementDetail $NaftaLowValueStatementDetail */ class CustomsDeclarationStatementDetail extends AbstractComplexType @@ -34,16 +33,4 @@ public function setTypes(array $types) $this->values['Types'] = $types; return $this; } - - /** - * Specifies the NAFTA low value statement information. - * - * @param NaftaLowValueStatementDetail $naftaLowValueStatementDetail - * @return $this - */ - public function setNaftaLowValueStatementDetail(NaftaLowValueStatementDetail $naftaLowValueStatementDetail) - { - $this->values['NaftaLowValueStatementDetail'] = $naftaLowValueStatementDetail; - return $this; - } } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DangerousGoodsDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DangerousGoodsDetail.php index ddf482f6..49ac0595 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DangerousGoodsDetail.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DangerousGoodsDetail.php @@ -14,6 +14,7 @@ * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\HazardousCommodityRegulationType|string $Regulation * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\DangerousGoodsAccessibilityType|string $Accessibility * @property boolean $CargoAircraftOnly + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\DangerousGoodsDescriptorType|string[] $DangerousGoodsDescriptors * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\HazardousCommodityOptionType|string[] $Options * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\DangerousGoodsPackingOptionType|string $PackingOption * @property string $ReferenceId @@ -25,6 +26,7 @@ * @property Contact $InfectiousSubstanceResponsibleContact * @property string $AdditionalHandling * @property RadioactivityDetail $RadioactivityDetail + * @property DocumentLineItem[] $RegulatoryLineItems */ class DangerousGoodsDetail extends AbstractComplexType @@ -84,6 +86,18 @@ public function setCargoAircraftOnly($cargoAircraftOnly) return $this; } + /** + * Indicates the characteristics of the package inferred from the dangerous goods commodity data. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\DangerousGoodsDescriptorType[]|string[] $dangerousGoodsDescriptors + * @return $this + */ + public function setDangerousGoodsDescriptors(array $dangerousGoodsDescriptors) + { + $this->values['DangerousGoodsDescriptors'] = $dangerousGoodsDescriptors; + return $this; + } + /** * Indicates which kinds of hazardous content are in the current package. * @@ -215,4 +229,16 @@ public function setRadioactivityDetail(RadioactivityDetail $radioactivityDetail) $this->values['RadioactivityDetail'] = $radioactivityDetail; return $this; } + + /** + * FOR FEDEX INTERNAL USE ONLY: Describes the regulatory data elements required to move the package. + * + * @param DocumentLineItem[] $regulatoryLineItems + * @return $this + */ + public function setRegulatoryLineItems(array $regulatoryLineItems) + { + $this->values['RegulatoryLineItems'] = $regulatoryLineItems; + return $this; + } } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DateOrTimeRange.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DateOrTimeRange.php new file mode 100644 index 00000000..1dc450e4 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DateOrTimeRange.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $Start + * @property string $End + + */ +class DateOrTimeRange extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DateOrTimeRange'; + + /** + * Set Start + * + * @param string $start + * @return $this + */ + public function setStart($start) + { + $this->values['Start'] = $start; + return $this; + } + + /** + * Set End + * + * @param string $end + * @return $this + */ + public function setEnd($end) + { + $this->values['End'] = $end; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DirectDebitDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DirectDebitDetail.php new file mode 100644 index 00000000..574bdd83 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DirectDebitDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ChargeClassificationType|string[] $ChargeClassifications + * @property string $LegalEntity + * @property BankAccountDetail $BankAccount + * @property BankDetail $BankDetail + * @property DirectDebitMandateDetail $Mandate + + */ +class DirectDebitDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DirectDebitDetail'; + + /** + * Set ChargeClassifications + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ChargeClassificationType[]|string[] $chargeClassifications + * @return $this + */ + public function setChargeClassifications(array $chargeClassifications) + { + $this->values['ChargeClassifications'] = $chargeClassifications; + return $this; + } + + /** + * This represents the legal entity that is being approved to receive direct debit funds from the customer. + * + * @param string $legalEntity + * @return $this + */ + public function setLegalEntity($legalEntity) + { + $this->values['LegalEntity'] = $legalEntity; + return $this; + } + + /** + * Set BankAccount + * + * @param BankAccountDetail $bankAccount + * @return $this + */ + public function setBankAccount(BankAccountDetail $bankAccount) + { + $this->values['BankAccount'] = $bankAccount; + return $this; + } + + /** + * Set BankDetail + * + * @param BankDetail $bankDetail + * @return $this + */ + public function setBankDetail(BankDetail $bankDetail) + { + $this->values['BankDetail'] = $bankDetail; + return $this; + } + + /** + * Set Mandate + * + * @param DirectDebitMandateDetail $mandate + * @return $this + */ + public function setMandate(DirectDebitMandateDetail $mandate) + { + $this->values['Mandate'] = $mandate; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DirectDebitMandateDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DirectDebitMandateDetail.php new file mode 100644 index 00000000..d740e433 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DirectDebitMandateDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $Id + * @property string $AuthenticationDate + + */ +class DirectDebitMandateDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DirectDebitMandateDetail'; + + /** + * Set Id + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Set AuthenticationDate + * + * @param string $authenticationDate + * @return $this + */ + public function setAuthenticationDate($authenticationDate) + { + $this->values['AuthenticationDate'] = $authenticationDate; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DocumentLineItem.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DocumentLineItem.php new file mode 100644 index 00000000..9d0cdb1f --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/DocumentLineItem.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property KeyValueDetail[] $Values + + */ +class DocumentLineItem extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'DocumentLineItem'; + + /** + * Set Values + * + * @param KeyValueDetail[] $values + * @return $this + */ + public function setValues(array $values) + { + $this->values['Values'] = $values; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EDIMasterDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EDIMasterDetail.php new file mode 100644 index 00000000..27d05cb1 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EDIMasterDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $EdiMasterAccountNumber + + */ +class EDIMasterDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EDIMasterDetail'; + + /** + * Set EdiMasterAccountNumber + * + * @param string $ediMasterAccountNumber + * @return $this + */ + public function setEdiMasterAccountNumber($ediMasterAccountNumber) + { + $this->values['EdiMasterAccountNumber'] = $ediMasterAccountNumber; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EMailAddressDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EMailAddressDetail.php new file mode 100644 index 00000000..44fd6c89 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EMailAddressDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $Address + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PermissionType|string $ContactPermission + + */ +class EMailAddressDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EMailAddressDetail'; + + /** + * Set Address + * + * @param string $address + * @return $this + */ + public function setAddress($address) + { + $this->values['Address'] = $address; + return $this; + } + + /** + * This specifies whether the customer would like to be contacted via email. The context of permission and use of this email address is country specific. In the United States, the permission of ALLOWED specifies whether the customer can be contacted via email for marketing correspondence. In United States, the customer can still be contacted for customer service notifications, even though the permission is DISALLOWED. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PermissionType|string $contactPermission + * @return $this + */ + public function setContactPermission($contactPermission) + { + $this->values['ContactPermission'] = $contactPermission; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EPaymentDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EPaymentDetail.php new file mode 100644 index 00000000..77639173 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EPaymentDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $Id + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\EPaymentProcessorType|string $EPaymentProcessor + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\EPaymentModeType|string $EPaymentMode + * @property string $MaskedCreditCard + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CreditCardType|string $CreditCardType + * @property string $CreditCardExpirationDate + * @property Money $Amount + + */ +class EPaymentDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EPaymentDetail'; + + /** + * Set Id + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Set EPaymentProcessor + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\EPaymentProcessorType|string $ePaymentProcessor + * @return $this + */ + public function setEPaymentProcessor($ePaymentProcessor) + { + $this->values['EPaymentProcessor'] = $ePaymentProcessor; + return $this; + } + + /** + * Set EPaymentMode + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\EPaymentModeType|string $ePaymentMode + * @return $this + */ + public function setEPaymentMode($ePaymentMode) + { + $this->values['EPaymentMode'] = $ePaymentMode; + return $this; + } + + /** + * Set MaskedCreditCard + * + * @param string $maskedCreditCard + * @return $this + */ + public function setMaskedCreditCard($maskedCreditCard) + { + $this->values['MaskedCreditCard'] = $maskedCreditCard; + return $this; + } + + /** + * Set CreditCardType + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CreditCardType|string $creditCardType + * @return $this + */ + public function setCreditCardType($creditCardType) + { + $this->values['CreditCardType'] = $creditCardType; + return $this; + } + + /** + * Set CreditCardExpirationDate + * + * @param string $creditCardExpirationDate + * @return $this + */ + public function setCreditCardExpirationDate($creditCardExpirationDate) + { + $this->values['CreditCardExpirationDate'] = $creditCardExpirationDate; + return $this; + } + + /** + * Set Amount + * + * @param Money $amount + * @return $this + */ + public function setAmount(Money $amount) + { + $this->values['Amount'] = $amount; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterpriseCustomer.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterpriseCustomer.php new file mode 100644 index 00000000..0b013fef --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterpriseCustomer.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerDetailType|string $DetailLevel + * @property CustomerShippingEnablementDetail $ShippingEnablementDetail + * @property EnterpriseProfile $EnterpriseProfile + * @property ExpressProfile $ExpressProfile + * @property FreightProfile $FreightProfile + * @property RecipientProfile $RecipientProfile + + */ +class EnterpriseCustomer extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EnterpriseCustomer'; + + /** + * Set DetailLevel + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerDetailType|string $detailLevel + * @return $this + */ + public function setDetailLevel($detailLevel) + { + $this->values['DetailLevel'] = $detailLevel; + return $this; + } + + /** + * Set ShippingEnablementDetail + * + * @param CustomerShippingEnablementDetail $shippingEnablementDetail + * @return $this + */ + public function setShippingEnablementDetail(CustomerShippingEnablementDetail $shippingEnablementDetail) + { + $this->values['ShippingEnablementDetail'] = $shippingEnablementDetail; + return $this; + } + + /** + * Set EnterpriseProfile + * + * @param EnterpriseProfile $enterpriseProfile + * @return $this + */ + public function setEnterpriseProfile(EnterpriseProfile $enterpriseProfile) + { + $this->values['EnterpriseProfile'] = $enterpriseProfile; + return $this; + } + + /** + * Set ExpressProfile + * + * @param ExpressProfile $expressProfile + * @return $this + */ + public function setExpressProfile(ExpressProfile $expressProfile) + { + $this->values['ExpressProfile'] = $expressProfile; + return $this; + } + + /** + * Set FreightProfile + * + * @param FreightProfile $freightProfile + * @return $this + */ + public function setFreightProfile(FreightProfile $freightProfile) + { + $this->values['FreightProfile'] = $freightProfile; + return $this; + } + + /** + * Set RecipientProfile + * + * @param RecipientProfile $recipientProfile + * @return $this + */ + public function setRecipientProfile(RecipientProfile $recipientProfile) + { + $this->values['RecipientProfile'] = $recipientProfile; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterpriseCustomerDiscountDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterpriseCustomerDiscountDetail.php new file mode 100644 index 00000000..78f4127c --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterpriseCustomerDiscountDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property DateOrTimeRange[] $ApplicableDateTimeRanges + + */ +class EnterpriseCustomerDiscountDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EnterpriseCustomerDiscountDetail'; + + /** + * This provides the date/time ranges for which discounts apply. Date/time ranges for which discounts do not apply are not returned. + * + * @param DateOrTimeRange[] $applicableDateTimeRanges + * @return $this + */ + public function setApplicableDateTimeRanges(array $applicableDateTimeRanges) + { + $this->values['ApplicableDateTimeRanges'] = $applicableDateTimeRanges; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterprisePrivilegeDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterprisePrivilegeDetail.php new file mode 100644 index 00000000..b2d214ff --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterprisePrivilegeDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $Id + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\EnterprisePermissionType|string $Permission + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CarrierCodeType|string $CarrierCode + * @property DateRange $EffectiveDateRange + + */ +class EnterprisePrivilegeDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EnterprisePrivilegeDetail'; + + /** + * Set Id + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Set Permission + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\EnterprisePermissionType|string $permission + * @return $this + */ + public function setPermission($permission) + { + $this->values['Permission'] = $permission; + return $this; + } + + /** + * Set CarrierCode + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CarrierCodeType|string $carrierCode + * @return $this + */ + public function setCarrierCode($carrierCode) + { + $this->values['CarrierCode'] = $carrierCode; + return $this; + } + + /** + * Set EffectiveDateRange + * + * @param DateRange $effectiveDateRange + * @return $this + */ + public function setEffectiveDateRange(DateRange $effectiveDateRange) + { + $this->values['EffectiveDateRange'] = $effectiveDateRange; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterpriseProfile.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterpriseProfile.php new file mode 100644 index 00000000..7de6568b --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/EnterpriseProfile.php @@ -0,0 +1,179 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property ProfileContact[] $Contacts + * @property string $AccountNumber + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountStatusType|string $AccountStatus + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\EnterpriseAccountType|string $AccountType + * @property AccountGroupMembershipDetail[] $AccountGroups + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountEntityType|string $EntityType + * @property TaxpayerIdentification[] $Tins + * @property WelcomeKitDetail $WelcomeKit + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\EnterpriseProfileAttributeType|string[] $Attributes + * @property GroupReferenceDetail[] $GroupReferenceDetails + * @property string $CreationDate + * @property AssociatedCompanyAccount[] $AssociatedAccounts + + */ +class EnterpriseProfile extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'EnterpriseProfile'; + + /** + * Set Contacts + * + * @param ProfileContact[] $contacts + * @return $this + */ + public function setContacts(array $contacts) + { + $this->values['Contacts'] = $contacts; + return $this; + } + + /** + * Set AccountNumber + * + * @param string $accountNumber + * @return $this + */ + public function setAccountNumber($accountNumber) + { + $this->values['AccountNumber'] = $accountNumber; + return $this; + } + + /** + * Set AccountStatus + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountStatusType|string $accountStatus + * @return $this + */ + public function setAccountStatus($accountStatus) + { + $this->values['AccountStatus'] = $accountStatus; + return $this; + } + + /** + * Specifies the account type. This specifies the account type in addition to the customer entity type + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\EnterpriseAccountType|string $accountType + * @return $this + */ + public function setAccountType($accountType) + { + $this->values['AccountType'] = $accountType; + return $this; + } + + /** + * Set AccountGroups + * + * @param AccountGroupMembershipDetail[] $accountGroups + * @return $this + */ + public function setAccountGroups(array $accountGroups) + { + $this->values['AccountGroups'] = $accountGroups; + return $this; + } + + /** + * Identifies the type of entity the account belongs to. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountEntityType|string $entityType + * @return $this + */ + public function setEntityType($entityType) + { + $this->values['EntityType'] = $entityType; + return $this; + } + + /** + * Set Tins + * + * @param TaxpayerIdentification[] $tins + * @return $this + */ + public function setTins(array $tins) + { + $this->values['Tins'] = $tins; + return $this; + } + + /** + * Specifies the details about the correspondence of a welcome kit to the customer. + * + * @param WelcomeKitDetail $welcomeKit + * @return $this + */ + public function setWelcomeKit(WelcomeKitDetail $welcomeKit) + { + $this->values['WelcomeKit'] = $welcomeKit; + return $this; + } + + /** + * Specifies additional properties of the customer's enterprise profile. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\EnterpriseProfileAttributeType[]|string[] $attributes + * @return $this + */ + public function setAttributes(array $attributes) + { + $this->values['Attributes'] = $attributes; + return $this; + } + + /** + * Per-carrier specifications for which reference fields are to be used for multiplier grouping for this customer. + * + * @param GroupReferenceDetail[] $groupReferenceDetails + * @return $this + */ + public function setGroupReferenceDetails(array $groupReferenceDetails) + { + $this->values['GroupReferenceDetails'] = $groupReferenceDetails; + return $this; + } + + /** + * Set CreationDate + * + * @param string $creationDate + * @return $this + */ + public function setCreationDate($creationDate) + { + $this->values['CreationDate'] = $creationDate; + return $this; + } + + /** + * Accounts for acquired/associated companies that are linked to the enterprise profile + * + * @param AssociatedCompanyAccount[] $associatedAccounts + * @return $this + */ + public function setAssociatedAccounts(array $associatedAccounts) + { + $this->values['AssociatedAccounts'] = $associatedAccounts; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ExpressProfile.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ExpressProfile.php new file mode 100644 index 00000000..a7d96b2d --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ExpressProfile.php @@ -0,0 +1,504 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property ProfileContact[] $Contacts + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountStatusType|string $AccountStatus + * @property string $CreationUserGroup + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountManagementStatusType|string $ManagementStatus + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\StatusType|string $ProfileStatus + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ExpressAccountType|string $AccountType + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PremierType|string $PremierType + * @property TaxpayerIdentification[] $Tins + * @property TaxExemptionDetail[] $TaxExemptionDetails + * @property AccountGroupMembershipDetail[] $AccountGroups + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ExpressProfileAttributeType|string[] $Attributes + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerCashType|string $CashType + * @property CreditCard $CreditCard + * @property string $FreightChargesPaymentType + * @property Money $CreditLimit + * @property ProfileCreditStatusDetail $CreditStatusDetail + * @property EDIMasterDetail $EdiMasterDetail + * @property string $CostCenterAccountNumber + * @property string $BillToAccountNumber + * @property GroundProfile $GroundProfile + * @property CustomerShippingVolumeDetail $ShippingVolumeDetail + * @property CustomerSuppliesDetail $SuppliesDetail + * @property int $StationNumber + * @property string $StationId + * @property AirCargoDetail $AirCargoDetail + * @property CustomerProfileBankDetail[] $BankDetails + * @property DirectDebitDetail[] $DirectDebitDetails + * @property CustomerProfileVATDetail[] $VatDetails + * @property InterlineCustomerDetail $InterlineDetail + * @property CustomerRevenueDetail $RevenueDetail + * @property EnterpriseCustomerDiscountDetail $DiscountDetail + * @property CustomerDiscountDetail[] $DiscountDetails + * @property FedExEmployee $SalesContact + * @property SmartPostAccountDetail $SmartPostAccountDetail + * @property CustomerAccountFranchiseeDetail $FranchiseeDetail + * @property string $CreationDate + * @property CustomerProfileArchiveDetail $ArchiveDetail + + */ +class ExpressProfile extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ExpressProfile'; + + /** + * Set Contacts + * + * @param ProfileContact[] $contacts + * @return $this + */ + public function setContacts(array $contacts) + { + $this->values['Contacts'] = $contacts; + return $this; + } + + /** + * Set AccountStatus + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountStatusType|string $accountStatus + * @return $this + */ + public function setAccountStatus($accountStatus) + { + $this->values['AccountStatus'] = $accountStatus; + return $this; + } + + /** + * Set CreationUserGroup + * + * @param string $creationUserGroup + * @return $this + */ + public function setCreationUserGroup($creationUserGroup) + { + $this->values['CreationUserGroup'] = $creationUserGroup; + return $this; + } + + /** + * Specifies additional details about the account status and status management. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountManagementStatusType|string $managementStatus + * @return $this + */ + public function setManagementStatus($managementStatus) + { + $this->values['ManagementStatus'] = $managementStatus; + return $this; + } + + /** + * Set ProfileStatus + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\StatusType|string $profileStatus + * @return $this + */ + public function setProfileStatus($profileStatus) + { + $this->values['ProfileStatus'] = $profileStatus; + return $this; + } + + /** + * Specifies the account type associated with the Express profile for the account. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ExpressAccountType|string $accountType + * @return $this + */ + public function setAccountType($accountType) + { + $this->values['AccountType'] = $accountType; + return $this; + } + + /** + * Provides information about the priority customer call receives. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PremierType|string $premierType + * @return $this + */ + public function setPremierType($premierType) + { + $this->values['PremierType'] = $premierType; + return $this; + } + + /** + * Set Tins + * + * @param TaxpayerIdentification[] $tins + * @return $this + */ + public function setTins(array $tins) + { + $this->values['Tins'] = $tins; + return $this; + } + + /** + * Set TaxExemptionDetails + * + * @param TaxExemptionDetail[] $taxExemptionDetails + * @return $this + */ + public function setTaxExemptionDetails(array $taxExemptionDetails) + { + $this->values['TaxExemptionDetails'] = $taxExemptionDetails; + return $this; + } + + /** + * Set AccountGroups + * + * @param AccountGroupMembershipDetail[] $accountGroups + * @return $this + */ + public function setAccountGroups(array $accountGroups) + { + $this->values['AccountGroups'] = $accountGroups; + return $this; + } + + /** + * Set Attributes + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ExpressProfileAttributeType[]|string[] $attributes + * @return $this + */ + public function setAttributes(array $attributes) + { + $this->values['Attributes'] = $attributes; + return $this; + } + + /** + * Indication of cash standing, to assist with rating and eligibility. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerCashType|string $cashType + * @return $this + */ + public function setCashType($cashType) + { + $this->values['CashType'] = $cashType; + return $this; + } + + /** + * Set CreditCard + * + * @param CreditCard $creditCard + * @return $this + */ + public function setCreditCard(CreditCard $creditCard) + { + $this->values['CreditCard'] = $creditCard; + return $this; + } + + /** + * Identifies that entity who is responsible for paying for freight charges. + * + * @param string $freightChargesPaymentType + * @return $this + */ + public function setFreightChargesPaymentType($freightChargesPaymentType) + { + $this->values['FreightChargesPaymentType'] = $freightChargesPaymentType; + return $this; + } + + /** + * Set CreditLimit + * + * @param Money $creditLimit + * @return $this + */ + public function setCreditLimit(Money $creditLimit) + { + $this->values['CreditLimit'] = $creditLimit; + return $this; + } + + /** + * Set CreditStatusDetail + * + * @param ProfileCreditStatusDetail $creditStatusDetail + * @return $this + */ + public function setCreditStatusDetail(ProfileCreditStatusDetail $creditStatusDetail) + { + $this->values['CreditStatusDetail'] = $creditStatusDetail; + return $this; + } + + /** + * Set EdiMasterDetail + * + * @param EDIMasterDetail $ediMasterDetail + * @return $this + */ + public function setEdiMasterDetail(EDIMasterDetail $ediMasterDetail) + { + $this->values['EdiMasterDetail'] = $ediMasterDetail; + return $this; + } + + /** + * This is the account number associated with the customer's cost center. + * + * @param string $costCenterAccountNumber + * @return $this + */ + public function setCostCenterAccountNumber($costCenterAccountNumber) + { + $this->values['CostCenterAccountNumber'] = $costCenterAccountNumber; + return $this; + } + + /** + * This is the account number used to bill the invoices to. For example, a department at a university has a shipping account number but uses the university's account number to bill invoices to. + * + * @param string $billToAccountNumber + * @return $this + */ + public function setBillToAccountNumber($billToAccountNumber) + { + $this->values['BillToAccountNumber'] = $billToAccountNumber; + return $this; + } + + /** + * Set GroundProfile + * + * @param GroundProfile $groundProfile + * @return $this + */ + public function setGroundProfile(GroundProfile $groundProfile) + { + $this->values['GroundProfile'] = $groundProfile; + return $this; + } + + /** + * Set ShippingVolumeDetail + * + * @param CustomerShippingVolumeDetail $shippingVolumeDetail + * @return $this + */ + public function setShippingVolumeDetail(CustomerShippingVolumeDetail $shippingVolumeDetail) + { + $this->values['ShippingVolumeDetail'] = $shippingVolumeDetail; + return $this; + } + + /** + * Set SuppliesDetail + * + * @param CustomerSuppliesDetail $suppliesDetail + * @return $this + */ + public function setSuppliesDetail(CustomerSuppliesDetail $suppliesDetail) + { + $this->values['SuppliesDetail'] = $suppliesDetail; + return $this; + } + + /** + * For the US and Canada, it is derived from the shipper postal code. For international customers, it is a result of the station alpha id. + * + * @param int $stationNumber + * @return $this + */ + public function setStationNumber($stationNumber) + { + $this->values['StationNumber'] = $stationNumber; + return $this; + } + + /** + * A free-form field used primarily for accounts that may have numerous branches. This id helps to distinguish one store from another, especially within the same city. + * + * @param string $stationId + * @return $this + */ + public function setStationId($stationId) + { + $this->values['StationId'] = $stationId; + return $this; + } + + /** + * Set AirCargoDetail + * + * @param AirCargoDetail $airCargoDetail + * @return $this + */ + public function setAirCargoDetail(AirCargoDetail $airCargoDetail) + { + $this->values['AirCargoDetail'] = $airCargoDetail; + return $this; + } + + /** + * Specifies the details about the bank provided by the customer. These banking details can be used when conducting business with the customer. + * + * @param CustomerProfileBankDetail[] $bankDetails + * @return $this + */ + public function setBankDetails(array $bankDetails) + { + $this->values['BankDetails'] = $bankDetails; + return $this; + } + + /** + * Set DirectDebitDetails + * + * @param DirectDebitDetail[] $directDebitDetails + * @return $this + */ + public function setDirectDebitDetails(array $directDebitDetails) + { + $this->values['DirectDebitDetails'] = $directDebitDetails; + return $this; + } + + /** + * Specifies the details about the VAT (value added tax) handling for the customer's account. + * + * @param CustomerProfileVATDetail[] $vatDetails + * @return $this + */ + public function setVatDetails(array $vatDetails) + { + $this->values['VatDetails'] = $vatDetails; + return $this; + } + + /** + * Specifies the details of an interline customer. + * + * @param InterlineCustomerDetail $interlineDetail + * @return $this + */ + public function setInterlineDetail(InterlineCustomerDetail $interlineDetail) + { + $this->values['InterlineDetail'] = $interlineDetail; + return $this; + } + + /** + * Specifies details used for billing and invoicing the account. + * + * @param CustomerRevenueDetail $revenueDetail + * @return $this + */ + public function setRevenueDetail(CustomerRevenueDetail $revenueDetail) + { + $this->values['RevenueDetail'] = $revenueDetail; + return $this; + } + + /** + * Set DiscountDetail + * + * @param EnterpriseCustomerDiscountDetail $discountDetail + * @return $this + */ + public function setDiscountDetail(EnterpriseCustomerDiscountDetail $discountDetail) + { + $this->values['DiscountDetail'] = $discountDetail; + return $this; + } + + /** + * Set DiscountDetails + * + * @param CustomerDiscountDetail[] $discountDetails + * @return $this + */ + public function setDiscountDetails(array $discountDetails) + { + $this->values['DiscountDetails'] = $discountDetails; + return $this; + } + + /** + * Details about the FedEx Sales representative assigned to this account. + * + * @param FedExEmployee $salesContact + * @return $this + */ + public function setSalesContact(FedExEmployee $salesContact) + { + $this->values['SalesContact'] = $salesContact; + return $this; + } + + /** + * Set SmartPostAccountDetail + * + * @param SmartPostAccountDetail $smartPostAccountDetail + * @return $this + */ + public function setSmartPostAccountDetail(SmartPostAccountDetail $smartPostAccountDetail) + { + $this->values['SmartPostAccountDetail'] = $smartPostAccountDetail; + return $this; + } + + /** + * Describes the Franchisee relationship(s) of this customer account. + * + * @param CustomerAccountFranchiseeDetail $franchiseeDetail + * @return $this + */ + public function setFranchiseeDetail(CustomerAccountFranchiseeDetail $franchiseeDetail) + { + $this->values['FranchiseeDetail'] = $franchiseeDetail; + return $this; + } + + /** + * Set CreationDate + * + * @param string $creationDate + * @return $this + */ + public function setCreationDate($creationDate) + { + $this->values['CreationDate'] = $creationDate; + return $this; + } + + /** + * Describes when and why a profile was archived. + * + * @param CustomerProfileArchiveDetail $archiveDetail + * @return $this + */ + public function setArchiveDetail(CustomerProfileArchiveDetail $archiveDetail) + { + $this->values['ArchiveDetail'] = $archiveDetail; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FedExEmployee.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FedExEmployee.php new file mode 100644 index 00000000..352a78ec --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FedExEmployee.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $EmployeeId + * @property Contact $Contact + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\OperatingCompanyType|string $OperatingCompany + * @property string $CallCenterAssignedTo + + */ +class FedExEmployee extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FedExEmployee'; + + /** + * Unique identifier for an employee such as employee number. + * + * @param string $employeeId + * @return $this + */ + public function setEmployeeId($employeeId) + { + $this->values['EmployeeId'] = $employeeId; + return $this; + } + + /** + * Contact details for the employee. + * + * @param Contact $contact + * @return $this + */ + public function setContact(Contact $contact) + { + $this->values['Contact'] = $contact; + return $this; + } + + /** + * Specifies the operating company the employee represents. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\OperatingCompanyType|string $operatingCompany + * @return $this + */ + public function setOperatingCompany($operatingCompany) + { + $this->values['OperatingCompany'] = $operatingCompany; + return $this; + } + + /** + * In case of an employee providing customer service, specifies the call center the employee is assigned to. + * + * @param string $callCenterAssignedTo + * @return $this + */ + public function setCallCenterAssignedTo($callCenterAssignedTo) + { + $this->values['CallCenterAssignedTo'] = $callCenterAssignedTo; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FreightAccountDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FreightAccountDetail.php new file mode 100644 index 00000000..b01d02d2 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FreightAccountDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $AccountNumber + * @property string $Scac + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\FreightAccountType|string $Type + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\FreightTariffType|string $Tariff + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\FreightAccountStatusType|string $Status + + */ +class FreightAccountDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FreightAccountDetail'; + + /** + * Freight or National Freight account number. + * + * @param string $accountNumber + * @return $this + */ + public function setAccountNumber($accountNumber) + { + $this->values['AccountNumber'] = $accountNumber; + return $this; + } + + /** + * Carrier code under which Freight account number was issued. + * + * @param string $scac + * @return $this + */ + public function setScac($scac) + { + $this->values['Scac'] = $scac; + return $this; + } + + /** + * Usage of Freight account. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\FreightAccountType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Kind of rating used for this account. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\FreightTariffType|string $tariff + * @return $this + */ + public function setTariff($tariff) + { + $this->values['Tariff'] = $tariff; + return $this; + } + + /** + * Account status unique to FedEx Freight. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\FreightAccountStatusType|string $status + * @return $this + */ + public function setStatus($status) + { + $this->values['Status'] = $status; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FreightProfile.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FreightProfile.php new file mode 100644 index 00000000..b5eec2dc --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FreightProfile.php @@ -0,0 +1,231 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property ProfileContact[] $Contacts + * @property AccountAliasDetail[] $Aliases + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PremierType|string $PremierType + * @property TaxpayerIdentification[] $Tins + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\StatusType|string $ProfileStatus + * @property string $CreationUserGroup + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountManagementStatusType|string $ManagementStatus + * @property CustomerRevenueDetail $RevenueDetail + * @property FreightAccountDetail $FreightAccountDetail + * @property Money $CreditLimit + * @property ProfileCreditStatusDetail $CreditStatusDetail + * @property AccountGroupMembershipDetail[] $AccountGroups + * @property string $CreationDate + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\FreightProfileAttributeType|string[] $Attributes + * @property TaxExemptionDetail[] $TaxExemptionDetails + * @property CustomerProfileArchiveDetail $ArchiveDetail + + */ +class FreightProfile extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'FreightProfile'; + + /** + * Set Contacts + * + * @param ProfileContact[] $contacts + * @return $this + */ + public function setContacts(array $contacts) + { + $this->values['Contacts'] = $contacts; + return $this; + } + + /** + * Set Aliases + * + * @param AccountAliasDetail[] $aliases + * @return $this + */ + public function setAliases(array $aliases) + { + $this->values['Aliases'] = $aliases; + return $this; + } + + /** + * Provides information about the priority customer call receives. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PremierType|string $premierType + * @return $this + */ + public function setPremierType($premierType) + { + $this->values['PremierType'] = $premierType; + return $this; + } + + /** + * Set Tins + * + * @param TaxpayerIdentification[] $tins + * @return $this + */ + public function setTins(array $tins) + { + $this->values['Tins'] = $tins; + return $this; + } + + /** + * Set ProfileStatus + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\StatusType|string $profileStatus + * @return $this + */ + public function setProfileStatus($profileStatus) + { + $this->values['ProfileStatus'] = $profileStatus; + return $this; + } + + /** + * Set CreationUserGroup + * + * @param string $creationUserGroup + * @return $this + */ + public function setCreationUserGroup($creationUserGroup) + { + $this->values['CreationUserGroup'] = $creationUserGroup; + return $this; + } + + /** + * Specifies additional details about the account status and status management. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountManagementStatusType|string $managementStatus + * @return $this + */ + public function setManagementStatus($managementStatus) + { + $this->values['ManagementStatus'] = $managementStatus; + return $this; + } + + /** + * Specifies details used for billing and invoicing the account. + * + * @param CustomerRevenueDetail $revenueDetail + * @return $this + */ + public function setRevenueDetail(CustomerRevenueDetail $revenueDetail) + { + $this->values['RevenueDetail'] = $revenueDetail; + return $this; + } + + /** + * Set FreightAccountDetail + * + * @param FreightAccountDetail $freightAccountDetail + * @return $this + */ + public function setFreightAccountDetail(FreightAccountDetail $freightAccountDetail) + { + $this->values['FreightAccountDetail'] = $freightAccountDetail; + return $this; + } + + /** + * Set CreditLimit + * + * @param Money $creditLimit + * @return $this + */ + public function setCreditLimit(Money $creditLimit) + { + $this->values['CreditLimit'] = $creditLimit; + return $this; + } + + /** + * Set CreditStatusDetail + * + * @param ProfileCreditStatusDetail $creditStatusDetail + * @return $this + */ + public function setCreditStatusDetail(ProfileCreditStatusDetail $creditStatusDetail) + { + $this->values['CreditStatusDetail'] = $creditStatusDetail; + return $this; + } + + /** + * Set AccountGroups + * + * @param AccountGroupMembershipDetail[] $accountGroups + * @return $this + */ + public function setAccountGroups(array $accountGroups) + { + $this->values['AccountGroups'] = $accountGroups; + return $this; + } + + /** + * Set CreationDate + * + * @param string $creationDate + * @return $this + */ + public function setCreationDate($creationDate) + { + $this->values['CreationDate'] = $creationDate; + return $this; + } + + /** + * Set Attributes + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\FreightProfileAttributeType[]|string[] $attributes + * @return $this + */ + public function setAttributes(array $attributes) + { + $this->values['Attributes'] = $attributes; + return $this; + } + + /** + * Set TaxExemptionDetails + * + * @param TaxExemptionDetail[] $taxExemptionDetails + * @return $this + */ + public function setTaxExemptionDetails(array $taxExemptionDetails) + { + $this->values['TaxExemptionDetails'] = $taxExemptionDetails; + return $this; + } + + /** + * Describes when and why a profile was archived. + * + * @param CustomerProfileArchiveDetail $archiveDetail + * @return $this + */ + public function setArchiveDetail(CustomerProfileArchiveDetail $archiveDetail) + { + $this->values['ArchiveDetail'] = $archiveDetail; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FreightShipmentLineItem.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FreightShipmentLineItem.php index 7cf8f453..b1aa062e 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FreightShipmentLineItem.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/FreightShipmentLineItem.php @@ -12,6 +12,7 @@ * * @property string $Id * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\FreightClassType|string $FreightClass + * @property boolean $ClassProvidedByCustomer * @property string $BillingMaskName * @property LiabilityCoverageDetail $LiabilityCoverageDetail * @property int $HandlingUnits @@ -59,6 +60,18 @@ public function setFreightClass($freightClass) return $this; } + /** + * FEDEX INTERNAL USE ONLY: for FedEx system that estimate freight class from customer-provided dimensions and weight. + * + * @param boolean $classProvidedByCustomer + * @return $this + */ + public function setClassProvidedByCustomer($classProvidedByCustomer) + { + $this->values['ClassProvidedByCustomer'] = $classProvidedByCustomer; + return $this; + } + /** * Identifies billing mask, if used to populate this line item. * diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GeoPoliticalEntityDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GeoPoliticalEntityDetail.php new file mode 100644 index 00000000..09fdf28d --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GeoPoliticalEntityDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $CountryCode + + */ +class GeoPoliticalEntityDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'GeoPoliticalEntityDetail'; + + /** + * Set CountryCode + * + * @param string $countryCode + * @return $this + */ + public function setCountryCode($countryCode) + { + $this->values['CountryCode'] = $countryCode; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllServicesAndPackagingProcessingOptionsRequested.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllServicesAndPackagingProcessingOptionsRequested.php new file mode 100644 index 00000000..617c2838 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllServicesAndPackagingProcessingOptionsRequested.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\GetAllServicesAndPackagingProcessingOptionType|string[] $Options + + */ +class GetAllServicesAndPackagingProcessingOptionsRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'GetAllServicesAndPackagingProcessingOptionsRequested'; + + /** + * FOR FEDEX INTERNAL USE ONLY: Processing options controlling availability and validation rules. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\GetAllServicesAndPackagingProcessingOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllServicesAndPackagingRequest.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllServicesAndPackagingRequest.php index 659d0d58..0bfe619d 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllServicesAndPackagingRequest.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllServicesAndPackagingRequest.php @@ -14,7 +14,10 @@ * @property ClientDetail $ClientDetail * @property TransactionDetail $TransactionDetail * @property VersionId $Version + * @property GetAllServicesAndPackagingProcessingOptionsRequested $ProcessingOptions * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ServiceOptionType|string[] $VariableOptions + * @property EnterpriseCustomer $Customer + * @property RestrictionsAndPrivilegesPolicyDetail $RestrictionsAndPrivileges * @property string $OriginRoutingCode * @property string $DestinationRoutingCode * @property string $FormId @@ -79,6 +82,18 @@ public function setVersion(VersionId $version) return $this; } + /** + * FOR FEDEX INTERNAL USE ONLY: These processing options are presently all internal. + * + * @param GetAllServicesAndPackagingProcessingOptionsRequested $processingOptions + * @return $this + */ + public function setProcessingOptions(GetAllServicesAndPackagingProcessingOptionsRequested $processingOptions) + { + $this->values['ProcessingOptions'] = $processingOptions; + return $this; + } + /** * Contains zero or more service options whose combinations are to be considered when replying with available services. * @@ -91,6 +106,30 @@ public function setVariableOptions(array $variableOptions) return $this; } + /** + * FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include customer. + * + * @param EnterpriseCustomer $customer + * @return $this + */ + public function setCustomer(EnterpriseCustomer $customer) + { + $this->values['Customer'] = $customer; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: Restrictions and privileges associated with an entity based on one or more identifiers (for example, account number or unique user id). These restrictions and privileges can be used to determine whether an entity is enabled to perform various operations. + * + * @param RestrictionsAndPrivilegesPolicyDetail $restrictionsAndPrivileges + * @return $this + */ + public function setRestrictionsAndPrivileges(RestrictionsAndPrivilegesPolicyDetail $restrictionsAndPrivileges) + { + $this->values['RestrictionsAndPrivileges'] = $restrictionsAndPrivileges; + return $this; + } + /** * FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include originRoutingCode. * diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllSpecialServicesProcessingOptionsRequested.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllSpecialServicesProcessingOptionsRequested.php new file mode 100644 index 00000000..a46b1551 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllSpecialServicesProcessingOptionsRequested.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\GetAllSpecialServicesProcessingOptionType|string[] $Options + + */ +class GetAllSpecialServicesProcessingOptionsRequested extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'GetAllSpecialServicesProcessingOptionsRequested'; + + /** + * FOR FEDEX INTERNAL USE ONLY: Processing options controlling availability and validation rules. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\GetAllSpecialServicesProcessingOptionType[]|string[] $options + * @return $this + */ + public function setOptions(array $options) + { + $this->values['Options'] = $options; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllSpecialServicesRequest.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllSpecialServicesRequest.php index 8baa10c2..9bf93044 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllSpecialServicesRequest.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GetAllSpecialServicesRequest.php @@ -14,6 +14,9 @@ * @property ClientDetail $ClientDetail * @property TransactionDetail $TransactionDetail * @property VersionId $Version + * @property GetAllSpecialServicesProcessingOptionsRequested $ProcessingOptions + * @property EnterpriseCustomer $Customer + * @property RestrictionsAndPrivilegesPolicyDetail $RestrictionsAndPrivileges * @property string $OriginRoutingCode * @property string $DestinationRoutingCode * @property string $FormId @@ -78,6 +81,42 @@ public function setVersion(VersionId $version) return $this; } + /** + * FOR FEDEX INTERNAL USE ONLY: These processing options are presently all internal. + * + * @param GetAllSpecialServicesProcessingOptionsRequested $processingOptions + * @return $this + */ + public function setProcessingOptions(GetAllSpecialServicesProcessingOptionsRequested $processingOptions) + { + $this->values['ProcessingOptions'] = $processingOptions; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include customer. + * + * @param EnterpriseCustomer $customer + * @return $this + */ + public function setCustomer(EnterpriseCustomer $customer) + { + $this->values['Customer'] = $customer; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: Restrictions and privileges associated with an entity based on one or more identifiers (for example, account number or unique user id). These restrictions and privileges can be used to determine whether an entity is enabled to perform various operations. + * + * @param RestrictionsAndPrivilegesPolicyDetail $restrictionsAndPrivileges + * @return $this + */ + public function setRestrictionsAndPrivileges(RestrictionsAndPrivilegesPolicyDetail $restrictionsAndPrivileges) + { + $this->values['RestrictionsAndPrivileges'] = $restrictionsAndPrivileges; + return $this; + } + /** * FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include originRoutingCode. * diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GroundProfile.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GroundProfile.php new file mode 100644 index 00000000..3f62d147 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GroundProfile.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $GroundShipperNumber + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\GroundProfileAttributeType|string[] $Attributes + * @property string $NationalAccountNumber + + */ +class GroundProfile extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'GroundProfile'; + + /** + * Set GroundShipperNumber + * + * @param string $groundShipperNumber + * @return $this + */ + public function setGroundShipperNumber($groundShipperNumber) + { + $this->values['GroundShipperNumber'] = $groundShipperNumber; + return $this; + } + + /** + * Set Attributes + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\GroundProfileAttributeType[]|string[] $attributes + * @return $this + */ + public function setAttributes(array $attributes) + { + $this->values['Attributes'] = $attributes; + return $this; + } + + /** + * Set NationalAccountNumber + * + * @param string $nationalAccountNumber + * @return $this + */ + public function setNationalAccountNumber($nationalAccountNumber) + { + $this->values['NationalAccountNumber'] = $nationalAccountNumber; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GroupReferenceDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GroupReferenceDetail.php new file mode 100644 index 00000000..1b7c0727 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/GroupReferenceDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CarrierCodeType|string $CarrierCode + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerReferenceType|string $Reference + + */ +class GroupReferenceDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'GroupReferenceDetail'; + + /** + * Identifies which carrier is being described. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CarrierCodeType|string $carrierCode + * @return $this + */ + public function setCarrierCode($carrierCode) + { + $this->values['CarrierCode'] = $carrierCode; + return $this; + } + + /** + * Specifies which reference field is to be used for multiplier grouping. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerReferenceType|string $reference + * @return $this + */ + public function setReference($reference) + { + $this->values['Reference'] = $reference; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/InterlineCustomerDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/InterlineCustomerDetail.php new file mode 100644 index 00000000..dfa35e00 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/InterlineCustomerDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $InterlineCode + * @property string $InterlineEmployeeId + + */ +class InterlineCustomerDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'InterlineCustomerDetail'; + + /** + * Identifies the interline code associated with the account. + * + * @param string $interlineCode + * @return $this + */ + public function setInterlineCode($interlineCode) + { + $this->values['InterlineCode'] = $interlineCode; + return $this; + } + + /** + * An employee id (within the affiliated interline company) associated with this interline customer. + * + * @param string $interlineEmployeeId + * @return $this + */ + public function setInterlineEmployeeId($interlineEmployeeId) + { + $this->values['InterlineEmployeeId'] = $interlineEmployeeId; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/KeyValueDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/KeyValueDetail.php new file mode 100644 index 00000000..c45b78ae --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/KeyValueDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $Key + * @property string $Value + + */ +class KeyValueDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'KeyValueDetail'; + + /** + * Set Key + * + * @param string $key + * @return $this + */ + public function setKey($key) + { + $this->values['Key'] = $key; + return $this; + } + + /** + * Set Value + * + * @param string $value + * @return $this + */ + public function setValue($value) + { + $this->values['Value'] = $value; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/PackagingDescription.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/PackagingDescription.php index 4331d20c..26824a83 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/PackagingDescription.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/PackagingDescription.php @@ -10,6 +10,7 @@ * @package PHP FedEx API wrapper * @subpackage Validation Availability And Commitment Service Service * + * @property string $PackagingId * @property string $PackagingType * @property string $Code * @property ProductName[] $Names @@ -26,6 +27,18 @@ class PackagingDescription extends AbstractComplexType */ protected $name = 'PackagingDescription'; + /** + * FOR FEDEX INTERNAL USE ONLY: Designates the packaging ID. + * + * @param string $packagingId + * @return $this + */ + public function setPackagingId($packagingId) + { + $this->values['PackagingId'] = $packagingId; + return $this; + } + /** * Set PackagingType * diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ParsedPhoneNumber.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ParsedPhoneNumber.php new file mode 100644 index 00000000..69b5f2ce --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ParsedPhoneNumber.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $CountryCode + * @property string $AreaCode + * @property string $PhoneNumber + * @property string $Extension + + */ +class ParsedPhoneNumber extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ParsedPhoneNumber'; + + /** + * Set CountryCode + * + * @param string $countryCode + * @return $this + */ + public function setCountryCode($countryCode) + { + $this->values['CountryCode'] = $countryCode; + return $this; + } + + /** + * Set AreaCode + * + * @param string $areaCode + * @return $this + */ + public function setAreaCode($areaCode) + { + $this->values['AreaCode'] = $areaCode; + return $this; + } + + /** + * Set PhoneNumber + * + * @param string $phoneNumber + * @return $this + */ + public function setPhoneNumber($phoneNumber) + { + $this->values['PhoneNumber'] = $phoneNumber; + return $this; + } + + /** + * Set Extension + * + * @param string $extension + * @return $this + */ + public function setExtension($extension) + { + $this->values['Extension'] = $extension; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ParsedPhoneNumberDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ParsedPhoneNumberDetail.php new file mode 100644 index 00000000..a1f1d566 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ParsedPhoneNumberDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PhoneNumberType|string $Type + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsageType|string $Usage + * @property ParsedPhoneNumber $PhoneNumber + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PermissionType|string $CallPermission + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PermissionType|string $TextMessagePermission + + */ +class ParsedPhoneNumberDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ParsedPhoneNumberDetail'; + + /** + * Specifies the type of phone number such as HOME, MOBILE. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PhoneNumberType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Specifies the relation of the customer to the phone number such as primary, secondary, et al. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsageType|string $usage + * @return $this + */ + public function setUsage($usage) + { + $this->values['Usage'] = $usage; + return $this; + } + + /** + * Set PhoneNumber + * + * @param ParsedPhoneNumber $phoneNumber + * @return $this + */ + public function setPhoneNumber(ParsedPhoneNumber $phoneNumber) + { + $this->values['PhoneNumber'] = $phoneNumber; + return $this; + } + + /** + * Specifies whether the customer phone number is registered as a Federal Do no Call number. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PermissionType|string $callPermission + * @return $this + */ + public function setCallPermission($callPermission) + { + $this->values['CallPermission'] = $callPermission; + return $this; + } + + /** + * Specifies whether the customer allows FedEx send a text message to this phone number. This permission only captures that the customer has selected for text messages to be sent to a particular phone number. This permission does not identify particular correspondence types such as marketing. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PermissionType|string $textMessagePermission + * @return $this + */ + public function setTextMessagePermission($textMessagePermission) + { + $this->values['TextMessagePermission'] = $textMessagePermission; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/Payment.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/Payment.php index 994e2aee..da26f9e5 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/Payment.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/Payment.php @@ -12,6 +12,7 @@ * * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PaymentType|string $PaymentType * @property Payor $Payor + * @property EPaymentDetail $EPaymentDetail * @property CreditCard $CreditCard * @property CreditCardTransactionDetail $CreditCardTransactionDetail * @property Money $Amount @@ -50,6 +51,18 @@ public function setPayor(Payor $payor) return $this; } + /** + * FOR FEDEX INTERNAL USE ONLY + * + * @param EPaymentDetail $ePaymentDetail + * @return $this + */ + public function setEPaymentDetail(EPaymentDetail $ePaymentDetail) + { + $this->values['EPaymentDetail'] = $ePaymentDetail; + return $this; + } + /** * Set CreditCard * diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/PolicyGridManifest.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/PolicyGridManifest.php new file mode 100644 index 00000000..bcd96ff3 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/PolicyGridManifest.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $GridId + * @property string[] $Contents + + */ +class PolicyGridManifest extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'PolicyGridManifest'; + + /** + * Set GridId + * + * @param string $gridId + * @return $this + */ + public function setGridId($gridId) + { + $this->values['GridId'] = $gridId; + return $this; + } + + /** + * Set Contents + * + * @param string $contents + * @return $this + */ + public function setContents($contents) + { + $this->values['Contents'] = $contents; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ProfileContact.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ProfileContact.php new file mode 100644 index 00000000..464f282d --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ProfileContact.php @@ -0,0 +1,231 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $ContactId + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ProfileContactType|string $Type + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ProfileContactAttribute|string[] $Attributes + * @property ParsedPersonName $Name + * @property string $Company + * @property string $Division + * @property string $Department + * @property string $StoreId + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\Gender|string $Gender + * @property ParsedPhoneNumberDetail[] $PhoneNumbers + * @property EMailAddressDetail[] $EMailAddressDetails + * @property Address $Address + * @property AddressAncillaryDetail $AddressAncillaryDetail + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\AddressVerificationOverrideReasonType|string $AddressVerficationOverrideReason + * @property CustomerCommunicationDetail $CommunicationDetail + * @property string $CustomerReference + + */ +class ProfileContact extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ProfileContact'; + + /** + * Uniquely identifies a profile contact + * + * @param string $contactId + * @return $this + */ + public function setContactId($contactId) + { + $this->values['ContactId'] = $contactId; + return $this; + } + + /** + * Identifies the type of contact. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ProfileContactType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Specifies additional attributes about this contact. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ProfileContactAttribute[]|string[] $attributes + * @return $this + */ + public function setAttributes(array $attributes) + { + $this->values['Attributes'] = $attributes; + return $this; + } + + /** + * Set Name + * + * @param ParsedPersonName $name + * @return $this + */ + public function setName(ParsedPersonName $name) + { + $this->values['Name'] = $name; + return $this; + } + + /** + * Set Company + * + * @param string $company + * @return $this + */ + public function setCompany($company) + { + $this->values['Company'] = $company; + return $this; + } + + /** + * Set Division + * + * @param string $division + * @return $this + */ + public function setDivision($division) + { + $this->values['Division'] = $division; + return $this; + } + + /** + * Set Department + * + * @param string $department + * @return $this + */ + public function setDepartment($department) + { + $this->values['Department'] = $department; + return $this; + } + + /** + * Set StoreId + * + * @param string $storeId + * @return $this + */ + public function setStoreId($storeId) + { + $this->values['StoreId'] = $storeId; + return $this; + } + + /** + * Set Gender + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\Gender|string $gender + * @return $this + */ + public function setGender($gender) + { + $this->values['Gender'] = $gender; + return $this; + } + + /** + * Set PhoneNumbers + * + * @param ParsedPhoneNumberDetail[] $phoneNumbers + * @return $this + */ + public function setPhoneNumbers(array $phoneNumbers) + { + $this->values['PhoneNumbers'] = $phoneNumbers; + return $this; + } + + /** + * Set EMailAddressDetails + * + * @param EMailAddressDetail[] $eMailAddressDetails + * @return $this + */ + public function setEMailAddressDetails(array $eMailAddressDetails) + { + $this->values['EMailAddressDetails'] = $eMailAddressDetails; + return $this; + } + + /** + * Set Address + * + * @param Address $address + * @return $this + */ + public function setAddress(Address $address) + { + $this->values['Address'] = $address; + return $this; + } + + /** + * Specifies additional details about the address. + * + * @param AddressAncillaryDetail $addressAncillaryDetail + * @return $this + */ + public function setAddressAncillaryDetail(AddressAncillaryDetail $addressAncillaryDetail) + { + $this->values['AddressAncillaryDetail'] = $addressAncillaryDetail; + return $this; + } + + /** + * Specifies the reason to override address verification. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\AddressVerificationOverrideReasonType|string $addressVerficationOverrideReason + * @return $this + */ + public function setAddressVerficationOverrideReason($addressVerficationOverrideReason) + { + $this->values['AddressVerficationOverrideReason'] = $addressVerficationOverrideReason; + return $this; + } + + /** + * Set CommunicationDetail + * + * @param CustomerCommunicationDetail $communicationDetail + * @return $this + */ + public function setCommunicationDetail(CustomerCommunicationDetail $communicationDetail) + { + $this->values['CommunicationDetail'] = $communicationDetail; + return $this; + } + + /** + * Customer specified reference for this contact. + * + * @param string $customerReference + * @return $this + */ + public function setCustomerReference($customerReference) + { + $this->values['CustomerReference'] = $customerReference; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ProfileCreditStatusDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ProfileCreditStatusDetail.php new file mode 100644 index 00000000..c8f14796 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ProfileCreditStatusDetail.php @@ -0,0 +1,88 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $Status + * @property string $BankruptcyDate + * @property string $CreditReasonCode + * @property string $CashReasonCode + * @property string $CreditRatingCode + + */ +class ProfileCreditStatusDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ProfileCreditStatusDetail'; + + /** + * Specifies the credit status of the account such as CASH, CREDIT_CARD. + * + * @param string $status + * @return $this + */ + public function setStatus($status) + { + $this->values['Status'] = $status; + return $this; + } + + /** + * Set BankruptcyDate + * + * @param string $bankruptcyDate + * @return $this + */ + public function setBankruptcyDate($bankruptcyDate) + { + $this->values['BankruptcyDate'] = $bankruptcyDate; + return $this; + } + + /** + * Specifies the credit reason code for the status specified. + * + * @param string $creditReasonCode + * @return $this + */ + public function setCreditReasonCode($creditReasonCode) + { + $this->values['CreditReasonCode'] = $creditReasonCode; + return $this; + } + + /** + * Specifies the cash reason code for the status specified. + * + * @param string $cashReasonCode + * @return $this + */ + public function setCashReasonCode($cashReasonCode) + { + $this->values['CashReasonCode'] = $cashReasonCode; + return $this; + } + + /** + * Set CreditRatingCode + * + * @param string $creditRatingCode + * @return $this + */ + public function setCreditRatingCode($creditRatingCode) + { + $this->values['CreditRatingCode'] = $creditRatingCode; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RecipientProfile.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RecipientProfile.php new file mode 100644 index 00000000..80b7f677 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RecipientProfile.php @@ -0,0 +1,179 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property ProfileContact[] $Contacts + * @property string[] $AlternateFirstNames + * @property ParsedPersonName $AuthorizedName + * @property AuthorizedAddress[] $AuthorizedAddresses + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ProfileType|string $AlternateCreditCardSource + * @property CreditCard $CreditCard + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountStatusType|string $AccountStatus + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\StatusType|string $ProfileStatus + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountType|string[] $AccountTypes + * @property string $ExpirationDate + * @property string $ExpirationReason + * @property string $CreationDate + + */ +class RecipientProfile extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RecipientProfile'; + + /** + * Set Contacts + * + * @param ProfileContact[] $contacts + * @return $this + */ + public function setContacts(array $contacts) + { + $this->values['Contacts'] = $contacts; + return $this; + } + + /** + * List of alternate first names that can be used as contact. + * + * @param string $alternateFirstNames + * @return $this + */ + public function setAlternateFirstNames($alternateFirstNames) + { + $this->values['AlternateFirstNames'] = $alternateFirstNames; + return $this; + } + + /** + * Specifies the legal name associated with the recipient profile. + * + * @param ParsedPersonName $authorizedName + * @return $this + */ + public function setAuthorizedName(ParsedPersonName $authorizedName) + { + $this->values['AuthorizedName'] = $authorizedName; + return $this; + } + + /** + * All the addresses that are authorized to be used with this profile. + * + * @param AuthorizedAddress[] $authorizedAddresses + * @return $this + */ + public function setAuthorizedAddresses(array $authorizedAddresses) + { + $this->values['AuthorizedAddresses'] = $authorizedAddresses; + return $this; + } + + /** + * Specifies an alternate source for the credit card data. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ProfileType|string $alternateCreditCardSource + * @return $this + */ + public function setAlternateCreditCardSource($alternateCreditCardSource) + { + $this->values['AlternateCreditCardSource'] = $alternateCreditCardSource; + return $this; + } + + /** + * Set CreditCard + * + * @param CreditCard $creditCard + * @return $this + */ + public function setCreditCard(CreditCard $creditCard) + { + $this->values['CreditCard'] = $creditCard; + return $this; + } + + /** + * Set AccountStatus + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountStatusType|string $accountStatus + * @return $this + */ + public function setAccountStatus($accountStatus) + { + $this->values['AccountStatus'] = $accountStatus; + return $this; + } + + /** + * Set ProfileStatus + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\StatusType|string $profileStatus + * @return $this + */ + public function setProfileStatus($profileStatus) + { + $this->values['ProfileStatus'] = $profileStatus; + return $this; + } + + /** + * Set AccountTypes + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CustomerAccountType[]|string[] $accountTypes + * @return $this + */ + public function setAccountTypes(array $accountTypes) + { + $this->values['AccountTypes'] = $accountTypes; + return $this; + } + + /** + * Set ExpirationDate + * + * @param string $expirationDate + * @return $this + */ + public function setExpirationDate($expirationDate) + { + $this->values['ExpirationDate'] = $expirationDate; + return $this; + } + + /** + * Set ExpirationReason + * + * @param string $expirationReason + * @return $this + */ + public function setExpirationReason($expirationReason) + { + $this->values['ExpirationReason'] = $expirationReason; + return $this; + } + + /** + * Set CreationDate + * + * @param string $creationDate + * @return $this + */ + public function setCreationDate($creationDate) + { + $this->values['CreationDate'] = $creationDate; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RequestedDistributionLocation.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RequestedDistributionLocation.php new file mode 100644 index 00000000..8f9fe0af --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RequestedDistributionLocation.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $Id + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\FedExDistributionLocationType|string $Type + * @property string $LocationId + * @property int $LocationNumber + * @property ContactAndAddress $LocationContactAndAddress + * @property string $ClearanceNumber + * @property ShipmentInclusionSpecification[] $InclusionSpecifications + + */ +class RequestedDistributionLocation extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RequestedDistributionLocation'; + + /** + * This is a customer-specified or system-assigned identifier that uniquely identifies the specific distibution location within a collection of distribution locations. This is not the same as the FedEx locationId or locationNumber. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * Identifies whether the distirbution location is a FedEx Express Station or a FedEx Ground Terminal. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\FedExDistributionLocationType|string $type + * @return $this + */ + public function setType($type) + { + $this->values['Type'] = $type; + return $this; + } + + /** + * Set LocationId + * + * @param string $locationId + * @return $this + */ + public function setLocationId($locationId) + { + $this->values['LocationId'] = $locationId; + return $this; + } + + /** + * Set LocationNumber + * + * @param int $locationNumber + * @return $this + */ + public function setLocationNumber($locationNumber) + { + $this->values['LocationNumber'] = $locationNumber; + return $this; + } + + /** + * Set LocationContactAndAddress + * + * @param ContactAndAddress $locationContactAndAddress + * @return $this + */ + public function setLocationContactAndAddress(ContactAndAddress $locationContactAndAddress) + { + $this->values['LocationContactAndAddress'] = $locationContactAndAddress; + return $this; + } + + /** + * This specifies the clearance number (e.g.- PAPS number for US imports) associated with the distribution location. + * + * @param string $clearanceNumber + * @return $this + */ + public function setClearanceNumber($clearanceNumber) + { + $this->values['ClearanceNumber'] = $clearanceNumber; + return $this; + } + + /** + * Specifies which kinds of shipments will be processed by this distribution location. + * + * @param ShipmentInclusionSpecification[] $inclusionSpecifications + * @return $this + */ + public function setInclusionSpecifications(array $inclusionSpecifications) + { + $this->values['InclusionSpecifications'] = $inclusionSpecifications; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RequestedPackageLineItem.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RequestedPackageLineItem.php index 6565ba36..2c070de6 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RequestedPackageLineItem.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RequestedPackageLineItem.php @@ -18,6 +18,7 @@ * @property VariableHandlingChargeDetail $VariableHandlingChargeDetail * @property Money $InsuredValue * @property Weight $Weight + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\WeightSource|string $WeightSource * @property Dimensions $Dimensions * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\PhysicalPackagingType|string $PhysicalPackaging * @property AssociatedFreightLineItemDetail[] $AssociatedFreightLineItems @@ -136,6 +137,18 @@ public function setWeight(Weight $weight) return $this; } + /** + * FEDEX INTERNAL USE ONLY. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\WeightSource|string $weightSource + * @return $this + */ + public function setWeightSource($weightSource) + { + $this->values['WeightSource'] = $weightSource; + return $this; + } + /** * Set Dimensions * diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RestrictionsAndPrivilegesPolicyDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RestrictionsAndPrivilegesPolicyDetail.php new file mode 100644 index 00000000..94d18f47 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/RestrictionsAndPrivilegesPolicyDetail.php @@ -0,0 +1,62 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\RestrictionsAndPrivilegesPolicyExceptionType|string $ExceptionType + * @property PolicyGridManifest[] $PolicyGridManifests + * @property EnterprisePrivilegeDetail[] $PrivilegeDetails + + */ +class RestrictionsAndPrivilegesPolicyDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'RestrictionsAndPrivilegesPolicyDetail'; + + /** + * Set ExceptionType + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\RestrictionsAndPrivilegesPolicyExceptionType|string $exceptionType + * @return $this + */ + public function setExceptionType($exceptionType) + { + $this->values['ExceptionType'] = $exceptionType; + return $this; + } + + /** + * Set PolicyGridManifests + * + * @param PolicyGridManifest[] $policyGridManifests + * @return $this + */ + public function setPolicyGridManifests(array $policyGridManifests) + { + $this->values['PolicyGridManifests'] = $policyGridManifests; + return $this; + } + + /** + * Set PrivilegeDetails + * + * @param EnterprisePrivilegeDetail[] $privilegeDetails + * @return $this + */ + public function setPrivilegeDetails(array $privilegeDetails) + { + $this->values['PrivilegeDetails'] = $privilegeDetails; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ServiceAvailabilityRequest.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ServiceAvailabilityRequest.php index 5d18cf2f..4c4a8fee 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ServiceAvailabilityRequest.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ServiceAvailabilityRequest.php @@ -20,6 +20,7 @@ * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CarrierCodeType|string $CarrierCode * @property string $Service * @property string $Packaging + * @property int $PackageCount */ class ServiceAvailabilityRequest extends AbstractComplexType @@ -150,4 +151,16 @@ public function setPackaging($packaging) $this->values['Packaging'] = $packaging; return $this; } + + /** + * Set PackageCount + * + * @param int $packageCount + * @return $this + */ + public function setPackageCount($packageCount) + { + $this->values['PackageCount'] = $packageCount; + return $this; + } } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ServiceDescription.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ServiceDescription.php index ff17135f..d3c0adcc 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ServiceDescription.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ServiceDescription.php @@ -10,9 +10,12 @@ * @package PHP FedEx API wrapper * @subpackage Validation Availability And Commitment Service Service * + * @property string $ServiceId * @property string $ServiceType * @property string $Code * @property ProductName[] $Names + * @property string[] $OperatingOrgCodes + * @property string $ServiceCategory * @property string $Description * @property string $AstraDescription @@ -26,6 +29,18 @@ class ServiceDescription extends AbstractComplexType */ protected $name = 'ServiceDescription'; + /** + * FOR FEDEX INTERNAL USE ONLY: Designates the service ID. + * + * @param string $serviceId + * @return $this + */ + public function setServiceId($serviceId) + { + $this->values['ServiceId'] = $serviceId; + return $this; + } + /** * Set ServiceType * @@ -62,6 +77,30 @@ public function setNames(array $names) return $this; } + /** + * FOR FEDEX INTERNAL USE ONLY: The operating org code in a service. + * + * @param string $operatingOrgCodes + * @return $this + */ + public function setOperatingOrgCodes($operatingOrgCodes) + { + $this->values['OperatingOrgCodes'] = $operatingOrgCodes; + return $this; + } + + /** + * FOR FEDEX INTERNAL USE ONLY: This is tied to the Product EFS interface definition which will currently contain the values of 'parcel' or 'freight'. + * + * @param string $serviceCategory + * @return $this + */ + public function setServiceCategory($serviceCategory) + { + $this->values['ServiceCategory'] = $serviceCategory; + return $this; + } + /** * Set Description * diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShipmentConsolidationDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShipmentConsolidationDetail.php index ab557897..2033fa00 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShipmentConsolidationDetail.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShipmentConsolidationDetail.php @@ -18,6 +18,7 @@ * @property Address $ConsolidationOriginAddress * @property ShipmentInternationalDistributionDetail $InternationalDistributionDetail * @property ShipmentTransborderDistributionDetail $TransborderDistributionDetail + * @property RequestedDistributionLocation[] $DistributionLocations */ class ShipmentConsolidationDetail extends AbstractComplexType @@ -124,4 +125,16 @@ public function setTransborderDistributionDetail(ShipmentTransborderDistribution $this->values['TransborderDistributionDetail'] = $transborderDistributionDetail; return $this; } + + /** + * FOR INTERNAL FEDEX USE ONLY: Identifies the distribution facility where this shipment will be de-consolidated and distributed. + * + * @param RequestedDistributionLocation[] $distributionLocations + * @return $this + */ + public function setDistributionLocations(array $distributionLocations) + { + $this->values['DistributionLocations'] = $distributionLocations; + return $this; + } } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShipmentInclusionSpecification.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShipmentInclusionSpecification.php new file mode 100644 index 00000000..c96ed38b --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShipmentInclusionSpecification.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CarrierCodeType|string $CarrierCode + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ServiceCategoryType|string $ServiceCategory + + */ +class ShipmentInclusionSpecification extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'ShipmentInclusionSpecification'; + + /** + * Specifies which carrier should be included. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CarrierCodeType|string $carrierCode + * @return $this + */ + public function setCarrierCode($carrierCode) + { + $this->values['CarrierCode'] = $carrierCode; + return $this; + } + + /** + * Set ServiceCategory + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ServiceCategoryType|string $serviceCategory + * @return $this + */ + public function setServiceCategory($serviceCategory) + { + $this->values['ServiceCategory'] = $serviceCategory; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShippingDocumentFormat.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShippingDocumentFormat.php index ad52bb80..a6165baf 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShippingDocumentFormat.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShippingDocumentFormat.php @@ -78,7 +78,7 @@ public function setStockType($stockType) } /** - * For those shipping document types which have both a "form" and "instructions" component (e.g. NAFTA Certificate of Origin and General Agency Agreement), this field indicates whether to provide the instructions. + * For those shipping document types which have both a "form" and "instructions" component (e.g. General Agency Agreement), this field indicates whether to provide the instructions. * * @param boolean $provideInstructions * @return $this diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShippingDocumentSpecification.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShippingDocumentSpecification.php index 78046329..3bd15350 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShippingDocumentSpecification.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/ShippingDocumentSpecification.php @@ -14,11 +14,12 @@ * @property NotificationContentSpecification $NotificationContentSpecification * @property CertificateOfOriginDetail $CertificateOfOrigin * @property CommercialInvoiceDetail $CommercialInvoiceDetail + * @property UsmcaCommercialInvoiceCertificationOfOriginDetail $UsmcaCommercialInvoiceCertificationOfOriginDetail * @property CustomDocumentDetail[] $CustomPackageDocumentDetail * @property CustomDocumentDetail[] $CustomShipmentDocumentDetail * @property ExportDeclarationDetail $ExportDeclarationDetail * @property GeneralAgencyAgreementDetail $GeneralAgencyAgreementDetail - * @property NaftaCertificateOfOriginDetail $NaftaCertificateOfOriginDetail + * @property UsmcaCertificationOfOriginDetail $UsmcaCertificationOfOriginDetail * @property Op900Detail $Op900Detail * @property DangerousGoodsShippersDeclarationDetail $DangerousGoodsShippersDeclarationDetail * @property FreightAddressLabelDetail $FreightAddressLabelDetail @@ -83,6 +84,18 @@ public function setCommercialInvoiceDetail(CommercialInvoiceDetail $commercialIn return $this; } + /** + * Set UsmcaCommercialInvoiceCertificationOfOriginDetail + * + * @param UsmcaCommercialInvoiceCertificationOfOriginDetail $usmcaCommercialInvoiceCertificationOfOriginDetail + * @return $this + */ + public function setUsmcaCommercialInvoiceCertificationOfOriginDetail(UsmcaCommercialInvoiceCertificationOfOriginDetail $usmcaCommercialInvoiceCertificationOfOriginDetail) + { + $this->values['UsmcaCommercialInvoiceCertificationOfOriginDetail'] = $usmcaCommercialInvoiceCertificationOfOriginDetail; + return $this; + } + /** * Specifies the production of each package-level custom document (the same specification is used for all packages). * @@ -132,14 +145,14 @@ public function setGeneralAgencyAgreementDetail(GeneralAgencyAgreementDetail $ge } /** - * Set NaftaCertificateOfOriginDetail + * Set UsmcaCertificationOfOriginDetail * - * @param NaftaCertificateOfOriginDetail $naftaCertificateOfOriginDetail + * @param UsmcaCertificationOfOriginDetail $usmcaCertificationOfOriginDetail * @return $this */ - public function setNaftaCertificateOfOriginDetail(NaftaCertificateOfOriginDetail $naftaCertificateOfOriginDetail) + public function setUsmcaCertificationOfOriginDetail(UsmcaCertificationOfOriginDetail $usmcaCertificationOfOriginDetail) { - $this->values['NaftaCertificateOfOriginDetail'] = $naftaCertificateOfOriginDetail; + $this->values['UsmcaCertificationOfOriginDetail'] = $usmcaCertificationOfOriginDetail; return $this; } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/SmartPostAccountDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/SmartPostAccountDetail.php new file mode 100644 index 00000000..baea9db8 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/SmartPostAccountDetail.php @@ -0,0 +1,127 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string[] $AllowedHubs + * @property string $MailerId + * @property string $DistributionCenter + * @property string $SmartPostId + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\SmartPostAccountZoneType|string $AccountZoneType + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CarrierCodeType|string $PickUpCarrier + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\SmartPostIndiciaType|string[] $AllowedIndicia + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\SmartPostAccountFeatureType|string[] $Features + + */ +class SmartPostAccountDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SmartPostAccountDetail'; + + /** + * Set AllowedHubs + * + * @param string $allowedHubs + * @return $this + */ + public function setAllowedHubs($allowedHubs) + { + $this->values['AllowedHubs'] = $allowedHubs; + return $this; + } + + /** + * Set MailerId + * + * @param string $mailerId + * @return $this + */ + public function setMailerId($mailerId) + { + $this->values['MailerId'] = $mailerId; + return $this; + } + + /** + * Set DistributionCenter + * + * @param string $distributionCenter + * @return $this + */ + public function setDistributionCenter($distributionCenter) + { + $this->values['DistributionCenter'] = $distributionCenter; + return $this; + } + + /** + * Set SmartPostId + * + * @param string $smartPostId + * @return $this + */ + public function setSmartPostId($smartPostId) + { + $this->values['SmartPostId'] = $smartPostId; + return $this; + } + + /** + * Specifies the zone type that SmartPost classifies the customer account as. This controls how the SmartPost outbound shipments are rated, routed, tracked and reported. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\SmartPostAccountZoneType|string $accountZoneType + * @return $this + */ + public function setAccountZoneType($accountZoneType) + { + $this->values['AccountZoneType'] = $accountZoneType; + return $this; + } + + /** + * Set PickUpCarrier + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\CarrierCodeType|string $pickUpCarrier + * @return $this + */ + public function setPickUpCarrier($pickUpCarrier) + { + $this->values['PickUpCarrier'] = $pickUpCarrier; + return $this; + } + + /** + * Array containing only those indicia that this account is contracted to use. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\SmartPostIndiciaType[]|string[] $allowedIndicia + * @return $this + */ + public function setAllowedIndicia(array $allowedIndicia) + { + $this->values['AllowedIndicia'] = $allowedIndicia; + return $this; + } + + /** + * Specifies features of SmartPost shipping which apply to shipments processed using the enclosing account. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\SmartPostAccountFeatureType[]|string[] $features + * @return $this + */ + public function setFeatures(array $features) + { + $this->values['Features'] = $features; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/SocialMediaDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/SocialMediaDetail.php new file mode 100644 index 00000000..cc26fccd --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/SocialMediaDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property string $PlatformId + * @property string $UserId + + */ +class SocialMediaDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'SocialMediaDetail'; + + /** + * Specifies the platform ID of the social media platform. + * + * @param string $platformId + * @return $this + */ + public function setPlatformId($platformId) + { + $this->values['PlatformId'] = $platformId; + return $this; + } + + /** + * Specifies the user id of the customer's account on the social media platform specified. + * + * @param string $userId + * @return $this + */ + public function setUserId($userId) + { + $this->values['UserId'] = $userId; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/TaxExemptionDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/TaxExemptionDetail.php new file mode 100644 index 00000000..d22f5007 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/TaxExemptionDetail.php @@ -0,0 +1,75 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ExemptionType|string $ExemptionType + * @property string $TaxCodeType + * @property string $Id + * @property GeoPoliticalEntityDetail $GeoPoliticalEntity + + */ +class TaxExemptionDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'TaxExemptionDetail'; + + /** + * Specifies whehther exempt or not. + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\ExemptionType|string $exemptionType + * @return $this + */ + public function setExemptionType($exemptionType) + { + $this->values['ExemptionType'] = $exemptionType; + return $this; + } + + /** + * The specific tax code type for which the exemption is specified. + * + * @param string $taxCodeType + * @return $this + */ + public function setTaxCodeType($taxCodeType) + { + $this->values['TaxCodeType'] = $taxCodeType; + return $this; + } + + /** + * Tax Identification code for the entity under consideration. + * + * @param string $id + * @return $this + */ + public function setId($id) + { + $this->values['Id'] = $id; + return $this; + } + + /** + * The geo-political entity where the tax details are relevant. + * + * @param GeoPoliticalEntityDetail $geoPoliticalEntity + * @return $this + */ + public function setGeoPoliticalEntity(GeoPoliticalEntityDetail $geoPoliticalEntity) + { + $this->values['GeoPoliticalEntity'] = $geoPoliticalEntity; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/UsmcaCertificationOfOriginDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/UsmcaCertificationOfOriginDetail.php new file mode 100644 index 00000000..9fc8cad0 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/UsmcaCertificationOfOriginDetail.php @@ -0,0 +1,114 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property ShippingDocumentFormat $Format + * @property DateRange $BlanketPeriod + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsmcaCertifierSpecificationType|string $CertifierSpecification + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsmcaImporterSpecificationType|string $ImporterSpecification + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsmcaProducerSpecificationType|string $ProducerSpecification + * @property Party $Producer + * @property CustomerImageUsage[] $CustomerImageUsages + + */ +class UsmcaCertificationOfOriginDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCertificationOfOriginDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set BlanketPeriod + * + * @param DateRange $blanketPeriod + * @return $this + */ + public function setBlanketPeriod(DateRange $blanketPeriod) + { + $this->values['BlanketPeriod'] = $blanketPeriod; + return $this; + } + + /** + * Set CertifierSpecification + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsmcaCertifierSpecificationType|string $certifierSpecification + * @return $this + */ + public function setCertifierSpecification($certifierSpecification) + { + $this->values['CertifierSpecification'] = $certifierSpecification; + return $this; + } + + /** + * Set ImporterSpecification + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsmcaImporterSpecificationType|string $importerSpecification + * @return $this + */ + public function setImporterSpecification($importerSpecification) + { + $this->values['ImporterSpecification'] = $importerSpecification; + return $this; + } + + /** + * Set ProducerSpecification + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsmcaProducerSpecificationType|string $producerSpecification + * @return $this + */ + public function setProducerSpecification($producerSpecification) + { + $this->values['ProducerSpecification'] = $producerSpecification; + return $this; + } + + /** + * Set Producer + * + * @param Party $producer + * @return $this + */ + public function setProducer(Party $producer) + { + $this->values['Producer'] = $producer; + return $this; + } + + /** + * Set CustomerImageUsages + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php new file mode 100644 index 00000000..af90a398 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/UsmcaCommercialInvoiceCertificationOfOriginDetail.php @@ -0,0 +1,101 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property ShippingDocumentFormat $Format + * @property CustomerImageUsage[] $CustomerImageUsages + * @property string $FormVersion + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsmcaCertifierSpecificationType|string $CertifierSpecification + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsmcaProducerSpecificationType|string $ProducerSpecification + * @property Party $Producer + + */ +class UsmcaCommercialInvoiceCertificationOfOriginDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCommercialInvoiceCertificationOfOriginDetail'; + + /** + * Set Format + * + * @param ShippingDocumentFormat $format + * @return $this + */ + public function setFormat(ShippingDocumentFormat $format) + { + $this->values['Format'] = $format; + return $this; + } + + /** + * Set CustomerImageUsages + * + * @param CustomerImageUsage[] $customerImageUsages + * @return $this + */ + public function setCustomerImageUsages(array $customerImageUsages) + { + $this->values['CustomerImageUsages'] = $customerImageUsages; + return $this; + } + + /** + * Set FormVersion + * + * @param string $formVersion + * @return $this + */ + public function setFormVersion($formVersion) + { + $this->values['FormVersion'] = $formVersion; + return $this; + } + + /** + * Set CertifierSpecification + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsmcaCertifierSpecificationType|string $certifierSpecification + * @return $this + */ + public function setCertifierSpecification($certifierSpecification) + { + $this->values['CertifierSpecification'] = $certifierSpecification; + return $this; + } + + /** + * Set ProducerSpecification + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsmcaProducerSpecificationType|string $producerSpecification + * @return $this + */ + public function setProducerSpecification($producerSpecification) + { + $this->values['ProducerSpecification'] = $producerSpecification; + return $this; + } + + /** + * Set Producer + * + * @param Party $producer + * @return $this + */ + public function setProducer(Party $producer) + { + $this->values['Producer'] = $producer; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/UsmcaCommodityDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/UsmcaCommodityDetail.php new file mode 100644 index 00000000..0c140734 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/UsmcaCommodityDetail.php @@ -0,0 +1,36 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsmcaOriginCriterionCode|string $OriginCriterion + + */ +class UsmcaCommodityDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'UsmcaCommodityDetail'; + + /** + * Set OriginCriterion + * + * @param \FedEx\ValidationAvailabilityAndCommitmentService\SimpleType\UsmcaOriginCriterionCode|string $originCriterion + * @return $this + */ + public function setOriginCriterion($originCriterion) + { + $this->values['OriginCriterion'] = $originCriterion; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/WelcomeKitDetail.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/WelcomeKitDetail.php new file mode 100644 index 00000000..f26a6a9f --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/ComplexType/WelcomeKitDetail.php @@ -0,0 +1,49 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + * + * @property boolean $IsRequested + * @property string $PromotionCode + + */ +class WelcomeKitDetail extends AbstractComplexType +{ + /** + * Name of this complex type + * + * @var string + */ + protected $name = 'WelcomeKitDetail'; + + /** + * Set IsRequested + * + * @param boolean $isRequested + * @return $this + */ + public function setIsRequested($isRequested) + { + $this->values['IsRequested'] = $isRequested; + return $this; + } + + /** + * Set PromotionCode + * + * @param string $promotionCode + * @return $this + */ + public function setPromotionCode($promotionCode) + { + $this->values['PromotionCode'] = $promotionCode; + return $this; + } +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/Request.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/Request.php index a97a98e1..6fe51771 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/Request.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/Request.php @@ -12,10 +12,10 @@ */ class Request extends AbstractRequest { - const PRODUCTION_URL = 'https://ws.fedex.com:443/web-services/ValidationAvailabilityAndCommitment'; - const TESTING_URL = 'https://wsbeta.fedex.com:443/web-services/ValidationAvailabilityAndCommitment'; + const PRODUCTION_URL = 'https://ws.fedex.com:443/web-services/vacs'; + const TESTING_URL = 'https://wsbeta.fedex.com:443/web-services/vacs'; - protected static $wsdlFileName = 'ValidationAvailabilityAndCommitmentService_v14.wsdl'; + protected static $wsdlFileName = 'ValidationAvailabilityAndCommitmentService_v17.wsdl'; /** * Sends the GetAllServicesAndPackagingRequest and returns the response diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/AccountAliasAttributeType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/AccountAliasAttributeType.php new file mode 100644 index 00000000..71d7d275 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/AccountAliasAttributeType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class AccountAliasAttributeType extends AbstractSimpleType +{ + const _INCLUDE_ALIAS_ON_BOL = 'INCLUDE_ALIAS_ON_BOL'; + const _PRIMARY_ACCOUNT_ALIAS_IS_RESPONSIBLE_FOR_PAYMENT = 'PRIMARY_ACCOUNT_ALIAS_IS_RESPONSIBLE_FOR_PAYMENT'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/AccountAliasType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/AccountAliasType.php new file mode 100644 index 00000000..01785084 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/AccountAliasType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class AccountAliasType extends AbstractSimpleType +{ + const _BILLING = 'BILLING'; + const _ENTERPRISE = 'ENTERPRISE'; + const _PRIMARY_ACCOUNT = 'PRIMARY_ACCOUNT'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/AddressVerificationOverrideReasonType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/AddressVerificationOverrideReasonType.php new file mode 100644 index 00000000..b409dc15 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/AddressVerificationOverrideReasonType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class AddressVerificationOverrideReasonType extends AbstractSimpleType +{ + const _CUSTOMER_PREFERENCE = 'CUSTOMER_PREFERENCE'; + const _CUSTOMER_PROVIDED_PROOF = 'CUSTOMER_PROVIDED_PROOF'; + const _MANUAL_VALIDATION = 'MANUAL_VALIDATION'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/BillingAccountAttributeType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/BillingAccountAttributeType.php new file mode 100644 index 00000000..07a7780b --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/BillingAccountAttributeType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class BillingAccountAttributeType extends AbstractSimpleType +{ + const _CONSOLIDATE_INVOICES_INTO_PARENT_ACCOUNT = 'CONSOLIDATE_INVOICES_INTO_PARENT_ACCOUNT'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/BrokerPaymentType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/BrokerPaymentType.php new file mode 100644 index 00000000..b5a63f6b --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/BrokerPaymentType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class BrokerPaymentType extends AbstractSimpleType +{ + const _NON_PAYING_BROKER = 'NON_PAYING_BROKER'; + const _PAYING_BROKER = 'PAYING_BROKER'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CarrierCodeType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CarrierCodeType.php index 00a03a50..9241ff2c 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CarrierCodeType.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CarrierCodeType.php @@ -12,7 +12,11 @@ */ class CarrierCodeType extends AbstractSimpleType { + const _FDXC = 'FDXC'; const _FDXE = 'FDXE'; const _FDXG = 'FDXG'; + const _FDXO = 'FDXO'; + const _FXCC = 'FXCC'; + const _FXFR = 'FXFR'; const _FXSP = 'FXSP'; } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ChargeClassificationType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ChargeClassificationType.php new file mode 100644 index 00000000..47f5a76e --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ChargeClassificationType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class ChargeClassificationType extends AbstractSimpleType +{ + const _DUTIES_AND_TAXES = 'DUTIES_AND_TAXES'; + const _TRANSPORTATION = 'TRANSPORTATION'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CorrespondenceType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CorrespondenceType.php new file mode 100644 index 00000000..24485dc0 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CorrespondenceType.php @@ -0,0 +1,23 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class CorrespondenceType extends AbstractSimpleType +{ + const _CHAT = 'CHAT'; + const _DIRECT_MAIL = 'DIRECT_MAIL'; + const _EMAIL = 'EMAIL'; + const _FAX = 'FAX'; + const _PHONE = 'PHONE'; + const _SOCIAL_MEDIA = 'SOCIAL_MEDIA'; + const _TEXT_MESSAGE = 'TEXT_MESSAGE'; + const _UNSPECIFIED = 'UNSPECIFIED'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountEntityType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountEntityType.php new file mode 100644 index 00000000..b1b3d77e --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountEntityType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class CustomerAccountEntityType extends AbstractSimpleType +{ + const _BUSINESS = 'BUSINESS'; + const _INDIVIDUAL = 'INDIVIDUAL'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountManagementStatusType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountManagementStatusType.php new file mode 100644 index 00000000..94369039 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountManagementStatusType.php @@ -0,0 +1,24 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class CustomerAccountManagementStatusType extends AbstractSimpleType +{ + const _ABUSED = 'ABUSED'; + const _ACCOUNT_EXCEPTION = 'ACCOUNT_EXCEPTION'; + const _DELETED_BY_REQUEST = 'DELETED_BY_REQUEST'; + const _DELETED_BY_SYSTEM = 'DELETED_BY_SYSTEM'; + const _MAILING_ADDRESS_SPECIFIED = 'MAILING_ADDRESS_SPECIFIED'; + const _MODIFIED = 'MODIFIED'; + const _NOT_MODIFIED = 'NOT_MODIFIED'; + const _REINSTATED = 'REINSTATED'; + const _UNABLE_TO_LOCATE_CUSTOMER = 'UNABLE_TO_LOCATE_CUSTOMER'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountStatusType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountStatusType.php new file mode 100644 index 00000000..c15cf1a0 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountStatusType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class CustomerAccountStatusType extends AbstractSimpleType +{ + const _ACTIVE = 'ACTIVE'; + const _CASH = 'CASH'; + const _DEACTIVATED = 'DEACTIVATED'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountType.php new file mode 100644 index 00000000..966d7afe --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerAccountType.php @@ -0,0 +1,45 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class CustomerAccountType extends AbstractSimpleType +{ + const _ACTIVATION_DESK = 'ACTIVATION_DESK'; + const _AIR_CARGO = 'AIR_CARGO'; + const _AIR_CARGO_BILLING = 'AIR_CARGO_BILLING'; + const _ANY = 'ANY'; + const _BILLING = 'BILLING'; + const _BROKER = 'BROKER'; + const _BUSINESS = 'BUSINESS'; + const _CATALOG_SHIPPER = 'CATALOG_SHIPPER'; + const _CITY_CENTER = 'CITY_CENTER'; + const _EMPLOYEE = 'EMPLOYEE'; + const _FREIGHT_FORWARDER = 'FREIGHT_FORWARDER'; + const _GLOBAL_SERVICE_PROVIDER = 'GLOBAL_SERVICE_PROVIDER'; + const _GOVERNMENT = 'GOVERNMENT'; + const _INDIVIDUAL = 'INDIVIDUAL'; + const _INTERLINE_CUSTOMER = 'INTERLINE_CUSTOMER'; + const _INTERNAL_CONTROL_ACCOUNT = 'INTERNAL_CONTROL_ACCOUNT'; + const _INTERNAL_TESTING_ACCOUNT = 'INTERNAL_TESTING_ACCOUNT'; + const _INVOICING = 'INVOICING'; + const _JOINT_VENTURE_PARTNER = 'JOINT_VENTURE_PARTNER'; + const _KINKOS_RETAIL_OPERATIONS = 'KINKOS_RETAIL_OPERATIONS'; + const _MIDDLEMAN = 'MIDDLEMAN'; + const _NATIONAL = 'NATIONAL'; + const _NON_INVOICING = 'NON_INVOICING'; + const _NON_PROFIT = 'NON_PROFIT'; + const _NON_REVENUE = 'NON_REVENUE'; + const _OTHER = 'OTHER'; + const _PACKAGE_CONSOLIDATOR = 'PACKAGE_CONSOLIDATOR'; + const _POLITICAL_CAMPAIGN = 'POLITICAL_CAMPAIGN'; + const _RESIDENTIAL_BUSINESS = 'RESIDENTIAL_BUSINESS'; + const _SHIPPER = 'SHIPPER'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerBillingSettlementLevelType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerBillingSettlementLevelType.php new file mode 100644 index 00000000..9a06c82f --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerBillingSettlementLevelType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class CustomerBillingSettlementLevelType extends AbstractSimpleType +{ + const _INVOICE = 'INVOICE'; + const _LINE_ITEM = 'LINE_ITEM'; + const _NOT_APPLICABLE = 'NOT_APPLICABLE'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerCashType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerCashType.php new file mode 100644 index 00000000..0b7179dd --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerCashType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class CustomerCashType extends AbstractSimpleType +{ + const _BAD = 'BAD'; + const _GOOD = 'GOOD'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerDetailType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerDetailType.php new file mode 100644 index 00000000..bbe9baf6 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomerDetailType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class CustomerDetailType extends AbstractSimpleType +{ + const _FULL = 'FULL'; + const _INTERACTIVE = 'INTERACTIVE'; + const _MINIMUM = 'MINIMUM'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomsDeclarationStatementType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomsDeclarationStatementType.php index 2ea28de2..9920929d 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomsDeclarationStatementType.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/CustomsDeclarationStatementType.php @@ -12,5 +12,5 @@ */ class CustomsDeclarationStatementType extends AbstractSimpleType { - const _NAFTA_LOW_VALUE = 'NAFTA_LOW_VALUE'; + const _USMCA_LOW_VALUE = 'USMCA_LOW_VALUE'; } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/DangerousGoodsDescriptorType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/DangerousGoodsDescriptorType.php new file mode 100644 index 00000000..7fbf957e --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/DangerousGoodsDescriptorType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class DangerousGoodsDescriptorType extends AbstractSimpleType +{ + const _ALCOHOLIC_BEVERAGE = 'ALCOHOLIC_BEVERAGE'; + const _DRY_ICE = 'DRY_ICE'; + const _EMERGENCY_CONTACT_PHONE_REQUIRED = 'EMERGENCY_CONTACT_PHONE_REQUIRED'; + const _EXCEPTED_QUANTITIES = 'EXCEPTED_QUANTITIES'; + const _INFECTIOUS_SUBSTANCE = 'INFECTIOUS_SUBSTANCE'; + const _RADIOACTIVE = 'RADIOACTIVE'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EMailNotificationFormatType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EMailNotificationFormatType.php new file mode 100644 index 00000000..b288478c --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EMailNotificationFormatType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class EMailNotificationFormatType extends AbstractSimpleType +{ + const _HTML = 'HTML'; + const _TEXT = 'TEXT'; + const _WIRELESS = 'WIRELESS'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EPaymentModeType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EPaymentModeType.php new file mode 100644 index 00000000..8454b401 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EPaymentModeType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class EPaymentModeType extends AbstractSimpleType +{ + const _APPLE_PAY = 'APPLE_PAY'; + const _CASH = 'CASH'; + const _CHECK = 'CHECK'; + const _CREDIT_CARD = 'CREDIT_CARD'; + const _GOOGLE_PAY = 'GOOGLE_PAY'; + const _PAYPAL = 'PAYPAL'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EPaymentProcessorType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EPaymentProcessorType.php new file mode 100644 index 00000000..1eaba2cf --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EPaymentProcessorType.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class EPaymentProcessorType extends AbstractSimpleType +{ + const _RETAIL_SINGLE_POINT_OF_SALE = 'RETAIL_SINGLE_POINT_OF_SALE'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EnterpriseAccountType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EnterpriseAccountType.php new file mode 100644 index 00000000..4490bfaf --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EnterpriseAccountType.php @@ -0,0 +1,40 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class EnterpriseAccountType extends AbstractSimpleType +{ + const _ACTIVATION_DESK = 'ACTIVATION_DESK'; + const _AIR_CARGO = 'AIR_CARGO'; + const _BILLING = 'BILLING'; + const _BROKER = 'BROKER'; + const _BUSINESS = 'BUSINESS'; + const _CATALOG_SHIPPER = 'CATALOG_SHIPPER'; + const _CITY_CENTER = 'CITY_CENTER'; + const _EMPLOYEE = 'EMPLOYEE'; + const _FEDEX_AUTHORIZED_SERVICE_CENTER = 'FEDEX_AUTHORIZED_SERVICE_CENTER'; + const _FREIGHT_FORWARDER = 'FREIGHT_FORWARDER'; + const _GLOBAL_SERVICE_PROVIDER = 'GLOBAL_SERVICE_PROVIDER'; + const _GOVERNMENT = 'GOVERNMENT'; + const _INDIVIDUAL = 'INDIVIDUAL'; + const _INTERLINE_CUSTOMER = 'INTERLINE_CUSTOMER'; + const _INTERNAL_CONTROL_CUSTOMER = 'INTERNAL_CONTROL_CUSTOMER'; + const _INTERNAL_TESTING_ACCOUNT = 'INTERNAL_TESTING_ACCOUNT'; + const _JOINT_VENTURE_PARTNER = 'JOINT_VENTURE_PARTNER'; + const _MIDDLEMAN = 'MIDDLEMAN'; + const _NON_PROFIT = 'NON_PROFIT'; + const _NON_REVENUE = 'NON_REVENUE'; + const _OTHER = 'OTHER'; + const _PACKAGE_CONSOLIDATOR = 'PACKAGE_CONSOLIDATOR'; + const _POLITICAL_CAMPAIGN = 'POLITICAL_CAMPAIGN'; + const _RESIDENTIAL_BUSINESS = 'RESIDENTIAL_BUSINESS'; + const _UNKNOWN = 'UNKNOWN'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EnterprisePermissionType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EnterprisePermissionType.php new file mode 100644 index 00000000..7ace6c3c --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EnterprisePermissionType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class EnterprisePermissionType extends AbstractSimpleType +{ + const _ALLOWED = 'ALLOWED'; + const _ALLOWED_BY_EXCEPTION = 'ALLOWED_BY_EXCEPTION'; + const _DISALLOWED = 'DISALLOWED'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EnterpriseProfileAttributeType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EnterpriseProfileAttributeType.php new file mode 100644 index 00000000..2b0df228 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/EnterpriseProfileAttributeType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class EnterpriseProfileAttributeType extends AbstractSimpleType +{ + const _CREDIT_CARD_ELIGIBLE = 'CREDIT_CARD_ELIGIBLE'; + const _DO_NOT_LINK_ACCOUNTS = 'DO_NOT_LINK_ACCOUNTS'; + const _EXPRESS_ELIGIBLE = 'EXPRESS_ELIGIBLE'; + const _FEDEX_CAN_CALL_FOR_MARKETING = 'FEDEX_CAN_CALL_FOR_MARKETING'; + const _FREIGHT_ELIGIBLE = 'FREIGHT_ELIGIBLE'; + const _TAX_EXEMPT = 'TAX_EXEMPT'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExemptionType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExemptionType.php new file mode 100644 index 00000000..2d0dcd75 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExemptionType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class ExemptionType extends AbstractSimpleType +{ + const _EXEMPT = 'EXEMPT'; + const _NOT_EXEMPT = 'NOT_EXEMPT'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExpressAccountType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExpressAccountType.php new file mode 100644 index 00000000..436f0ef8 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExpressAccountType.php @@ -0,0 +1,44 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class ExpressAccountType extends AbstractSimpleType +{ + const _ACTIVATION_DESK = 'ACTIVATION_DESK'; + const _AIR_CARGO = 'AIR_CARGO'; + const _AIR_CARGO_BILLING = 'AIR_CARGO_BILLING'; + const _BILLING = 'BILLING'; + const _BROKER = 'BROKER'; + const _BUSINESS = 'BUSINESS'; + const _BUSINESS_SHIPPER = 'BUSINESS_SHIPPER'; + const _CATALOG_SHIPPER = 'CATALOG_SHIPPER'; + const _CITY_CENTER = 'CITY_CENTER'; + const _EMPLOYEE = 'EMPLOYEE'; + const _FEDEX_OFFICE_RETAIL_OPERATIONS = 'FEDEX_OFFICE_RETAIL_OPERATIONS'; + const _FREIGHT_FORWARDER = 'FREIGHT_FORWARDER'; + const _GLOBAL_SERVICE_PROVIDER = 'GLOBAL_SERVICE_PROVIDER'; + const _GOVERNMENT = 'GOVERNMENT'; + const _INDIVIDUAL = 'INDIVIDUAL'; + const _INTERLINE_CUSTOMER = 'INTERLINE_CUSTOMER'; + const _INTERNAL_CONTROL_ACCOUNT = 'INTERNAL_CONTROL_ACCOUNT'; + const _INTERNAL_TESTING_ACCOUNT = 'INTERNAL_TESTING_ACCOUNT'; + const _INVOICING = 'INVOICING'; + const _JOINT_VENTURE_PARTNER = 'JOINT_VENTURE_PARTNER'; + const _MIDDLEMAN = 'MIDDLEMAN'; + const _NON_INVOICING = 'NON_INVOICING'; + const _NON_PROFIT = 'NON_PROFIT'; + const _NON_REVENUE = 'NON_REVENUE'; + const _OTHER = 'OTHER'; + const _PACKAGE_CONSOLIDATOR = 'PACKAGE_CONSOLIDATOR'; + const _POLITICAL_CAMPAIGN = 'POLITICAL_CAMPAIGN'; + const _RESIDENTIAL_BUSINESS = 'RESIDENTIAL_BUSINESS'; + const _UNKNOWN = 'UNKNOWN'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExpressProfileAttributeType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExpressProfileAttributeType.php new file mode 100644 index 00000000..0fedfe17 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExpressProfileAttributeType.php @@ -0,0 +1,34 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class ExpressProfileAttributeType extends AbstractSimpleType +{ + const _ACCEPT_CREDIT = 'ACCEPT_CREDIT'; + const _EDI_CHILD = 'EDI_CHILD'; + const _EDI_MASTER = 'EDI_MASTER'; + const _ELECTRONIC_BILL_PAYMENT_PLAN = 'ELECTRONIC_BILL_PAYMENT_PLAN'; + const _EXPORT_DECLARATION_FILED_BY_CUSTOMER = 'EXPORT_DECLARATION_FILED_BY_CUSTOMER'; + const _FEDEX_CAN_CALL_FOR_MARKETING = 'FEDEX_CAN_CALL_FOR_MARKETING'; + const _FEDEX_FRANCHISEE_ACCOUNT = 'FEDEX_FRANCHISEE_ACCOUNT'; + const _FEDEX_MARKETING_CORRESPONDENCE_ALLOWED = 'FEDEX_MARKETING_CORRESPONDENCE_ALLOWED'; + const _GROUND_ELIGIBLE = 'GROUND_ELIGIBLE'; + const _IMPORT_DECLARATION_FILED_BY_CUSTOMER = 'IMPORT_DECLARATION_FILED_BY_CUSTOMER'; + const _INSIGHT_VISIBLE = 'INSIGHT_VISIBLE'; + const _ONLINE_BILLING = 'ONLINE_BILLING'; + const _PREFERRED_CUSTOMER = 'PREFERRED_CUSTOMER'; + const _PROOF_OF_DELIVERY_NEEDED = 'PROOF_OF_DELIVERY_NEEDED'; + const _REGULAR_PICKUP_SCHEDULED = 'REGULAR_PICKUP_SCHEDULED'; + const _RESTRICTED_COMMODITY_LIMIT_EXEMPT = 'RESTRICTED_COMMODITY_LIMIT_EXEMPT'; + const _SIGNATURE_ON_FILE = 'SIGNATURE_ON_FILE'; + const _SIGNATURE_REQUIRED = 'SIGNATURE_REQUIRED'; + const _VAT_EXEMPT = 'VAT_EXEMPT'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExpressRegionCode.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExpressRegionCode.php new file mode 100644 index 00000000..9e63f036 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ExpressRegionCode.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class ExpressRegionCode extends AbstractSimpleType +{ + const _APAC = 'APAC'; + const _CA = 'CA'; + const _EMEA = 'EMEA'; + const _LAC = 'LAC'; + const _US = 'US'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FedExDistributionLocationType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FedExDistributionLocationType.php new file mode 100644 index 00000000..295e2460 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FedExDistributionLocationType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class FedExDistributionLocationType extends AbstractSimpleType +{ + const _CUSTOMER_SPECIFIED = 'CUSTOMER_SPECIFIED'; + const _FEDEX_EXPRESS_FREIGHT_RAMP = 'FEDEX_EXPRESS_FREIGHT_RAMP'; + const _FEDEX_EXPRESS_STATION = 'FEDEX_EXPRESS_STATION'; + const _FEDEX_GROUND_TERMINAL = 'FEDEX_GROUND_TERMINAL'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightAccountStatusType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightAccountStatusType.php new file mode 100644 index 00000000..9fb2b677 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightAccountStatusType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class FreightAccountStatusType extends AbstractSimpleType +{ + const _ESTABLISHED = 'ESTABLISHED'; + const _SCHEDULED_FOR_DELETION = 'SCHEDULED_FOR_DELETION'; + const _UNESTABLISHED = 'UNESTABLISHED'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightAccountType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightAccountType.php new file mode 100644 index 00000000..bd0f3798 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightAccountType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class FreightAccountType extends AbstractSimpleType +{ + const _BILL_TO = 'BILL_TO'; + const _CORPORATE_NATIONAL = 'CORPORATE_NATIONAL'; + const _INTERLINE = 'INTERLINE'; + const _SHIPPER = 'SHIPPER'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightProfileAttributeType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightProfileAttributeType.php new file mode 100644 index 00000000..41d23584 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightProfileAttributeType.php @@ -0,0 +1,29 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class FreightProfileAttributeType extends AbstractSimpleType +{ + const _AUDIT_OR_INVOICE_SERVICE = 'AUDIT_OR_INVOICE_SERVICE'; + const _BANK_DEBTOR_INVOICING = 'BANK_DEBTOR_INVOICING'; + const _BANK_INVOICING = 'BANK_INVOICING'; + const _BLIND_SHIPPER = 'BLIND_SHIPPER'; + const _DOCK = 'DOCK'; + const _EDI_210_INVOICING = 'EDI_210_INVOICING'; + const _FEDEX_CAN_CALL_FOR_MARKETING = 'FEDEX_CAN_CALL_FOR_MARKETING'; + const _FEDEX_FACILITY = 'FEDEX_FACILITY'; + const _FREIGHT_FORWARDING_FACILITY = 'FREIGHT_FORWARDING_FACILITY'; + const _GOVERNMENT = 'GOVERNMENT'; + const _NATIONAL_ACCOUNT = 'NATIONAL_ACCOUNT'; + const _OFF_BILL_DISCOUNT = 'OFF_BILL_DISCOUNT'; + const _THIRD_PARTY_LOGISTICS = 'THIRD_PARTY_LOGISTICS'; + const _WAREHOUSE = 'WAREHOUSE'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightTariffType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightTariffType.php new file mode 100644 index 00000000..ccd1ed9a --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/FreightTariffType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class FreightTariffType extends AbstractSimpleType +{ + const _BASE_RATE = 'BASE_RATE'; + const _CUSTOMER_PRICING = 'CUSTOMER_PRICING'; + const _PRICING_EXPIRED = 'PRICING_EXPIRED'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/Gender.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/Gender.php new file mode 100644 index 00000000..0752fe12 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/Gender.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class Gender extends AbstractSimpleType +{ + const _FEMALE = 'FEMALE'; + const _MALE = 'MALE'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/GetAllServicesAndPackagingProcessingOptionType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/GetAllServicesAndPackagingProcessingOptionType.php new file mode 100644 index 00000000..b44a8597 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/GetAllServicesAndPackagingProcessingOptionType.php @@ -0,0 +1,23 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class GetAllServicesAndPackagingProcessingOptionType extends AbstractSimpleType +{ + const _EXCLUDE_ACCOUNT_ENABLEMENTS = 'EXCLUDE_ACCOUNT_ENABLEMENTS'; + const _EXCLUDE_CHANNEL_RESTRICTIONS = 'EXCLUDE_CHANNEL_RESTRICTIONS'; + const _EXCLUDE_EXTENDED_ACCOUNT_RULES = 'EXCLUDE_EXTENDED_ACCOUNT_RULES'; + const _EXCLUDE_GLOBAL_REGULATORY_RULES = 'EXCLUDE_GLOBAL_REGULATORY_RULES'; + const _EXCLUDE_INSURED_VALUE_RULES = 'EXCLUDE_INSURED_VALUE_RULES'; + const _EXCLUDE_RESTRICTIONS_AND_PRIVILEGES = 'EXCLUDE_RESTRICTIONS_AND_PRIVILEGES'; + const _EXCLUDE_WEIGHT_DIM_RULES = 'EXCLUDE_WEIGHT_DIM_RULES'; + const _WEIGHT_AND_DROPOFF_NOT_REQUIRED = 'WEIGHT_AND_DROPOFF_NOT_REQUIRED'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/GetAllSpecialServicesProcessingOptionType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/GetAllSpecialServicesProcessingOptionType.php new file mode 100644 index 00000000..cb55d875 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/GetAllSpecialServicesProcessingOptionType.php @@ -0,0 +1,23 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class GetAllSpecialServicesProcessingOptionType extends AbstractSimpleType +{ + const _EXCLUDE_ACCOUNT_ENABLEMENTS = 'EXCLUDE_ACCOUNT_ENABLEMENTS'; + const _EXCLUDE_CHANNEL_RESTRICTIONS = 'EXCLUDE_CHANNEL_RESTRICTIONS'; + const _EXCLUDE_EXTENDED_ACCOUNT_RULES = 'EXCLUDE_EXTENDED_ACCOUNT_RULES'; + const _EXCLUDE_GLOBAL_REGULATORY_RULES = 'EXCLUDE_GLOBAL_REGULATORY_RULES'; + const _EXCLUDE_INSURED_VALUE_RULES = 'EXCLUDE_INSURED_VALUE_RULES'; + const _EXCLUDE_RESTRICTIONS_AND_PRIVILEGES = 'EXCLUDE_RESTRICTIONS_AND_PRIVILEGES'; + const _EXCLUDE_WEIGHT_DIM_RULES = 'EXCLUDE_WEIGHT_DIM_RULES'; + const _INCLUDE_OPERATIONAL_SERVICE_OPTIONS = 'INCLUDE_OPERATIONAL_SERVICE_OPTIONS'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/GroundProfileAttributeType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/GroundProfileAttributeType.php new file mode 100644 index 00000000..c5733790 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/GroundProfileAttributeType.php @@ -0,0 +1,22 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class GroundProfileAttributeType extends AbstractSimpleType +{ + const _AGENT_AUTHORITY_ON_FILE = 'AGENT_AUTHORITY_ON_FILE'; + const _AUTHORIZED_COLLECT_RECIPIENT = 'AUTHORIZED_COLLECT_RECIPIENT'; + const _AUTOMATIC_PROOF_OF_DELIVERY = 'AUTOMATIC_PROOF_OF_DELIVERY'; + const _BROKER_INCLUSIVE_ALLOWED = 'BROKER_INCLUSIVE_ALLOWED'; + const _COD = 'COD'; + const _ELECTRONIC_COD = 'ELECTRONIC_COD'; + const _NON_RESIDENT_IMPORTER = 'NON_RESIDENT_IMPORTER'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/LocationAccessibilityType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/LocationAccessibilityType.php new file mode 100644 index 00000000..311f2952 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/LocationAccessibilityType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class LocationAccessibilityType extends AbstractSimpleType +{ + const _INSIDE = 'INSIDE'; + const _OUTSIDE = 'OUTSIDE'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/NationalAccountType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/NationalAccountType.php new file mode 100644 index 00000000..539f7bc1 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/NationalAccountType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class NationalAccountType extends AbstractSimpleType +{ + const _GRAND_NATIONAL = 'GRAND_NATIONAL'; + const _NATIONAL = 'NATIONAL'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/OperatingCompanyType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/OperatingCompanyType.php new file mode 100644 index 00000000..14e0c342 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/OperatingCompanyType.php @@ -0,0 +1,27 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class OperatingCompanyType extends AbstractSimpleType +{ + const _FEDEX_CARGO = 'FEDEX_CARGO'; + const _FEDEX_CORPORATE_SERVICES = 'FEDEX_CORPORATE_SERVICES'; + const _FEDEX_CORPORATION = 'FEDEX_CORPORATION'; + const _FEDEX_CUSTOMER_INFORMATION_SYSTEMS = 'FEDEX_CUSTOMER_INFORMATION_SYSTEMS'; + const _FEDEX_CUSTOM_CRITICAL = 'FEDEX_CUSTOM_CRITICAL'; + const _FEDEX_EXPRESS = 'FEDEX_EXPRESS'; + const _FEDEX_FREIGHT = 'FEDEX_FREIGHT'; + const _FEDEX_GROUND = 'FEDEX_GROUND'; + const _FEDEX_KINKOS = 'FEDEX_KINKOS'; + const _FEDEX_OFFICE = 'FEDEX_OFFICE'; + const _FEDEX_SERVICES = 'FEDEX_SERVICES'; + const _FEDEX_TRADE_NETWORKS = 'FEDEX_TRADE_NETWORKS'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PaymentType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PaymentType.php index 58cf2a5f..19dd881d 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PaymentType.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PaymentType.php @@ -16,6 +16,7 @@ class PaymentType extends AbstractSimpleType const _CASH = 'CASH'; const _COLLECT = 'COLLECT'; const _CREDIT_CARD = 'CREDIT_CARD'; + const _EPAYMENT = 'EPAYMENT'; const _RECIPIENT = 'RECIPIENT'; const _SENDER = 'SENDER'; const _THIRD_PARTY = 'THIRD_PARTY'; diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PermissionType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PermissionType.php new file mode 100644 index 00000000..1f052aa5 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PermissionType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class PermissionType extends AbstractSimpleType +{ + const _ALLOWED = 'ALLOWED'; + const _DISALLOWED = 'DISALLOWED'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PhoneNumberType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PhoneNumberType.php new file mode 100644 index 00000000..4fa8d617 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PhoneNumberType.php @@ -0,0 +1,21 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class PhoneNumberType extends AbstractSimpleType +{ + const _FAX = 'FAX'; + const _HOME = 'HOME'; + const _MOBILE = 'MOBILE'; + const _PAGER = 'PAGER'; + const _TOLL_FREE = 'TOLL_FREE'; + const _WORK = 'WORK'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PremierType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PremierType.php new file mode 100644 index 00000000..1ee207af --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/PremierType.php @@ -0,0 +1,22 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class PremierType extends AbstractSimpleType +{ + const _BRONZE_ACCOUNT = 'BRONZE_ACCOUNT'; + const _FEDEX_ONE_CALL_CUSTOMER = 'FEDEX_ONE_CALL_CUSTOMER'; + const _GOLD_ACCOUNT = 'GOLD_ACCOUNT'; + const _ON_SET = 'ON_SET'; + const _POST_SALES_SOLUTION = 'POST_SALES_SOLUTION'; + const _SILVER_ACCOUNT = 'SILVER_ACCOUNT'; + const _SPECIAL_CUSTOMER_ROUTING = 'SPECIAL_CUSTOMER_ROUTING'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ProfileContactAttribute.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ProfileContactAttribute.php new file mode 100644 index 00000000..d45e0ab6 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ProfileContactAttribute.php @@ -0,0 +1,16 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class ProfileContactAttribute extends AbstractSimpleType +{ + const _PREFERRED_CONTACT = 'PREFERRED_CONTACT'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ProfileContactType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ProfileContactType.php new file mode 100644 index 00000000..4772aa52 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ProfileContactType.php @@ -0,0 +1,27 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class ProfileContactType extends AbstractSimpleType +{ + const _AFTER_HOURS = 'AFTER_HOURS'; + const _ALIAS = 'ALIAS'; + const _BILLING_ACCOUNT = 'BILLING_ACCOUNT'; + const _BILLING_CONTACT = 'BILLING_CONTACT'; + const _CONTACT = 'CONTACT'; + const _OWNER = 'OWNER'; + const _PRIMARY_ACCOUNT = 'PRIMARY_ACCOUNT'; + const _PRIMARY_BILLING_ACCOUNT = 'PRIMARY_BILLING_ACCOUNT'; + const _PRIMARY_BILLING_CONTACT = 'PRIMARY_BILLING_CONTACT'; + const _PRIMARY_CONTACT_FOR_SHIPPING = 'PRIMARY_CONTACT_FOR_SHIPPING'; + const _PRIMARY_SHIPPER_CONTACT = 'PRIMARY_SHIPPER_CONTACT'; + const _RECIPIENT_SERVICES_CONTACT = 'RECIPIENT_SERVICES_CONTACT'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ProfileType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ProfileType.php new file mode 100644 index 00000000..b09248cc --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ProfileType.php @@ -0,0 +1,22 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class ProfileType extends AbstractSimpleType +{ + const _ENTERPRISE = 'ENTERPRISE'; + const _EXPRESS = 'EXPRESS'; + const _FREIGHT = 'FREIGHT'; + const _OFFICE = 'OFFICE'; + const _RECIPIENT = 'RECIPIENT'; + const _TECH_CONNECT = 'TECH_CONNECT'; + const _TRADE_NETWORKS = 'TRADE_NETWORKS'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RecommendedDocumentType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RecommendedDocumentType.php index 9158ebb4..7de8ac9a 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RecommendedDocumentType.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RecommendedDocumentType.php @@ -25,10 +25,6 @@ class RecommendedDocumentType extends AbstractSimpleType const _ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET = 'ELECTRONIC_INTEGRATED_CIRCUIT_WORKSHEET'; const _FILM_AND_VIDEO_CERTIFICATE = 'FILM_AND_VIDEO_CERTIFICATE'; const _INTERIM_FOOTWEAR_INVOICE = 'INTERIM_FOOTWEAR_INVOICE'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH = 'NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_ENGLISH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH = 'NAFTA_CERTIFICATE_OF_ORIGIN_CANADA_FRENCH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH = 'NAFTA_CERTIFICATE_OF_ORIGIN_SPANISH'; - const _NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES = 'NAFTA_CERTIFICATE_OF_ORIGIN_UNITED_STATES'; const _PACKING_LIST = 'PACKING_LIST'; const _PRINTED_CIRCUIT_BOARD_WORKSHEET = 'PRINTED_CIRCUIT_BOARD_WORKSHEET'; const _REPAIRED_WATCH_BREAKOUT_WORKSHEET = 'REPAIRED_WATCH_BREAKOUT_WORKSHEET'; @@ -38,4 +34,10 @@ class RecommendedDocumentType extends AbstractSimpleType const _UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES = 'UNITED_STATES_CARIBBEAN_BASIN_TRADE_PARTNERSHIP_ACT_CERTIFICATE_OF_ORIGIN_TEXTILES'; const _UNITED_STATES_NEW_WATCH_WORKSHEET = 'UNITED_STATES_NEW_WATCH_WORKSHEET'; const _UNITED_STATES_WATCH_REPAIR_DECLARATION = 'UNITED_STATES_WATCH_REPAIR_DECLARATION'; + const _USMCA_CERTIFICATION_OF_ORIGIN_ENGLISH = 'USMCA_CERTIFICATION_OF_ORIGIN_ENGLISH'; + const _USMCA_CERTIFICATION_OF_ORIGIN_FRENCH = 'USMCA_CERTIFICATION_OF_ORIGIN_FRENCH'; + const _USMCA_CERTIFICATION_OF_ORIGIN_SPANISH = 'USMCA_CERTIFICATION_OF_ORIGIN_SPANISH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_ENGLISH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_ENGLISH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_FRENCH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_FRENCH'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_SPANISH = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN_SPANISH'; } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RegulatoryControlType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RegulatoryControlType.php index 8490af8d..9f4103b9 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RegulatoryControlType.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RegulatoryControlType.php @@ -13,7 +13,7 @@ class RegulatoryControlType extends AbstractSimpleType { const _FOOD_OR_PERISHABLE = 'FOOD_OR_PERISHABLE'; - const _NAFTA = 'NAFTA'; const _NOT_APPLICABLE_FOR_LOW_CUSTOMS_VALUE_EXCEPTION = 'NOT_APPLICABLE_FOR_LOW_CUSTOMS_VALUE_EXCEPTION'; const _NOT_IN_FREE_CIRCULATION = 'NOT_IN_FREE_CIRCULATION'; + const _USMCA = 'USMCA'; } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RequestedShippingDocumentType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RequestedShippingDocumentType.php index 373c1669..4ede4f95 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RequestedShippingDocumentType.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RequestedShippingDocumentType.php @@ -23,10 +23,11 @@ class RequestedShippingDocumentType extends AbstractSimpleType const _FREIGHT_ADDRESS_LABEL = 'FREIGHT_ADDRESS_LABEL'; const _GENERAL_AGENCY_AGREEMENT = 'GENERAL_AGENCY_AGREEMENT'; const _LABEL = 'LABEL'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _OP_900 = 'OP_900'; const _PENDING_SHIPMENT_EMAIL_NOTIFICATION = 'PENDING_SHIPMENT_EMAIL_NOTIFICATION'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; const _RETURN_INSTRUCTIONS = 'RETURN_INSTRUCTIONS'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; const _VICS_BILL_OF_LADING = 'VICS_BILL_OF_LADING'; } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RestrictionsAndPrivilegesPolicyExceptionType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RestrictionsAndPrivilegesPolicyExceptionType.php new file mode 100644 index 00000000..f8c90dfb --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/RestrictionsAndPrivilegesPolicyExceptionType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class RestrictionsAndPrivilegesPolicyExceptionType extends AbstractSimpleType +{ + const _POLICIES_NOT_FOUND = 'POLICIES_NOT_FOUND'; + const _SERVICE_UNAVAILABLE = 'SERVICE_UNAVAILABLE'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ServiceCategoryType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ServiceCategoryType.php new file mode 100644 index 00000000..4dccf309 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ServiceCategoryType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class ServiceCategoryType extends AbstractSimpleType +{ + const _EXPRESS_FREIGHT = 'EXPRESS_FREIGHT'; + const _EXPRESS_PARCEL = 'EXPRESS_PARCEL'; + const _GROUND_HOME_DELIVERY = 'GROUND_HOME_DELIVERY'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ShipmentProcessingOptionType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ShipmentProcessingOptionType.php index 64b3e740..79c05f89 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ShipmentProcessingOptionType.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/ShipmentProcessingOptionType.php @@ -13,7 +13,7 @@ class ShipmentProcessingOptionType extends AbstractSimpleType { const _ALLOW_PREVIOUS_SHIP_DATE = 'ALLOW_PREVIOUS_SHIP_DATE'; - const _BYPASS_CLEARANCE_PROHIBITS = 'BYPASS_CLEARANCE_PROHIBITS'; + const _BYPASS_REGULATORY_VALIDATION = 'BYPASS_REGULATORY_VALIDATION'; const _CONVENIENCE_MULTIPLE_PACKAGES = 'CONVENIENCE_MULTIPLE_PACKAGES'; const _CUSTOM_TRANSIT_TIME = 'CUSTOM_TRANSIT_TIME'; const _FUTURE_DAY_SHIPMENT = 'FUTURE_DAY_SHIPMENT'; diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/SmartPostAccountFeatureType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/SmartPostAccountFeatureType.php new file mode 100644 index 00000000..c777eade --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/SmartPostAccountFeatureType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class SmartPostAccountFeatureType extends AbstractSimpleType +{ + const _DELIVERY_CONFIRMATION_APPLIED = 'DELIVERY_CONFIRMATION_APPLIED'; + const _OUTBOUND_ALLOWED = 'OUTBOUND_ALLOWED'; + const _RETURNS_ALLOWED = 'RETURNS_ALLOWED'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/SmartPostAccountZoneType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/SmartPostAccountZoneType.php new file mode 100644 index 00000000..18b6228d --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/SmartPostAccountZoneType.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class SmartPostAccountZoneType extends AbstractSimpleType +{ + const _DISTRIBUTION_CENTER = 'DISTRIBUTION_CENTER'; + const _ORIGIN_PICKUP = 'ORIGIN_PICKUP'; + const _POSSESSION_SCAN = 'POSSESSION_SCAN'; + const _SHIPPER_ORIGIN_ADDRESS = 'SHIPPER_ORIGIN_ADDRESS'; + const _SMARTPOST_HUB = 'SMARTPOST_HUB'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/StatusType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/StatusType.php new file mode 100644 index 00000000..bc930413 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/StatusType.php @@ -0,0 +1,19 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class StatusType extends AbstractSimpleType +{ + const _ACTIVE = 'ACTIVE'; + const _EXPIRED = 'EXPIRED'; + const _EXPIRED_WITHIN_GRACE_PERIOD = 'EXPIRED_WITHIN_GRACE_PERIOD'; + const _PENDING_RENEWAL = 'PENDING_RENEWAL'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/SuppliesTypes.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/SuppliesTypes.php new file mode 100644 index 00000000..545f5367 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/SuppliesTypes.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class SuppliesTypes extends AbstractSimpleType +{ + const _FEDEX_PAK = 'FEDEX_PAK'; + const _FEDEX_SECURITY_BOX = 'FEDEX_SECURITY_BOX'; + const _NO_SPECIAL_SUPPLIES = 'NO_SPECIAL_SUPPLIES'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UploadDocumentType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UploadDocumentType.php index fd42a0a8..9cd34e1a 100644 --- a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UploadDocumentType.php +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UploadDocumentType.php @@ -15,8 +15,9 @@ class UploadDocumentType extends AbstractSimpleType const _CERTIFICATE_OF_ORIGIN = 'CERTIFICATE_OF_ORIGIN'; const _COMMERCIAL_INVOICE = 'COMMERCIAL_INVOICE'; const _ETD_LABEL = 'ETD_LABEL'; - const _NAFTA_CERTIFICATE_OF_ORIGIN = 'NAFTA_CERTIFICATE_OF_ORIGIN'; const _NET_RATE_SHEET = 'NET_RATE_SHEET'; const _OTHER = 'OTHER'; const _PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'; + const _USMCA_CERTIFICATION_OF_ORIGIN = 'USMCA_CERTIFICATION_OF_ORIGIN'; + const _USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN = 'USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN'; } diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsageType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsageType.php new file mode 100644 index 00000000..a963f09b --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsageType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class UsageType extends AbstractSimpleType +{ + const _PRIMARY = 'PRIMARY'; + const _SECONDARY = 'SECONDARY'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaCertifierSpecificationType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaCertifierSpecificationType.php new file mode 100644 index 00000000..45d5e4f9 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaCertifierSpecificationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class UsmcaCertifierSpecificationType extends AbstractSimpleType +{ + const _EXPORTER = 'EXPORTER'; + const _IMPORTER = 'IMPORTER'; + const _PRODUCER = 'PRODUCER'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaImporterSpecificationType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaImporterSpecificationType.php new file mode 100644 index 00000000..472afcff --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaImporterSpecificationType.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class UsmcaImporterSpecificationType extends AbstractSimpleType +{ + const _UNKNOWN = 'UNKNOWN'; + const _VARIOUS = 'VARIOUS'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaOriginCriterionCode.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaOriginCriterionCode.php new file mode 100644 index 00000000..fbb440d5 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaOriginCriterionCode.php @@ -0,0 +1,20 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class UsmcaOriginCriterionCode extends AbstractSimpleType +{ + const _A = 'A'; + const _B = 'B'; + const _C = 'C'; + const _D = 'D'; + const _E = 'E'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaProducerSpecificationType.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaProducerSpecificationType.php new file mode 100644 index 00000000..1fccedc2 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/UsmcaProducerSpecificationType.php @@ -0,0 +1,18 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class UsmcaProducerSpecificationType extends AbstractSimpleType +{ + const _AVAILABLE_UPON_REQUEST = 'AVAILABLE_UPON_REQUEST'; + const _SAME_AS_EXPORTER = 'SAME_AS_EXPORTER'; + const _VARIOUS = 'VARIOUS'; +} diff --git a/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/WeightSource.php b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/WeightSource.php new file mode 100644 index 00000000..7cbbbb83 --- /dev/null +++ b/src/FedEx/ValidationAvailabilityAndCommitmentService/SimpleType/WeightSource.php @@ -0,0 +1,17 @@ + + * @package PHP FedEx API wrapper + * @subpackage Validation Availability And Commitment Service Service + */ +class WeightSource extends AbstractSimpleType +{ + const _MANUAL = 'MANUAL'; + const _SCALE = 'SCALE'; +} diff --git a/src/FedEx/_wsdl/OpenshipService_v15.wsdl b/src/FedEx/_wsdl/OpenshipService_v20.wsdl old mode 100755 new mode 100644 similarity index 96% rename from src/FedEx/_wsdl/OpenshipService_v15.wsdl rename to src/FedEx/_wsdl/OpenshipService_v20.wsdl index 27695cd7..82ffdc85 --- a/src/FedEx/_wsdl/OpenshipService_v15.wsdl +++ b/src/FedEx/_wsdl/OpenshipService_v20.wsdl @@ -1,6 +1,6 @@ - + - + @@ -11,8 +11,6 @@ - - @@ -74,7 +72,11 @@ - + + + This field contains the service type values, like PRIORITY_OVERNIGHT and FEDEX_GROUND. + + Provides Completed Shipment Details for PAY AS YOU GO scenarios of FXRS @@ -274,8 +276,8 @@ - - + + Specifies the tracking id for the payment on the return. @@ -481,6 +483,7 @@ + @@ -763,7 +766,11 @@ - + + + The value of the commodity for customs purposes. The field should be the unit price multiplied by the quantity. + + Defines additional characteristic of commodity used to calculate duties and taxes @@ -773,11 +780,7 @@ - - - All data required for this commodity in NAFTA Certificate of Origin. - - + @@ -904,7 +907,7 @@ - Used with request containing PACKAGE_GROUPS, to identify which group of identical packages was used to produce a reply item. + An identifier of each group of identical packages. @@ -913,6 +916,7 @@ All package-level rating data for this package, which may include data for multiple rate types. + @@ -966,13 +970,9 @@ - - - DEPRECATED as of 201801: Use serviceDescription instead. - - - + + @@ -1186,6 +1186,7 @@ Empty unless error label behavior is PACKAGE_ERROR_LABELS and one or more errors occured during transaction processing. + @@ -1569,6 +1570,9 @@ + + Details the contents of the package. + @@ -1629,7 +1633,7 @@ This indicates whether the transaction was processed synchronously or asynchronously. - + @@ -1641,6 +1645,7 @@ Allows for assignment of index by creation processing. + @@ -2048,7 +2053,11 @@ - + + + This represents the total commodity value of the shipment plus the charges required by the destination country. + + Identifies responsibilities with respect to loss, damage, etc. @@ -2077,11 +2086,6 @@ This indicates the different statements, declarations, acts, and/or certifications that apply to this shipment. - - - Specifies the NAFTA low value statement information. - - @@ -2089,7 +2093,7 @@ This indicates the different statements, declarations, acts, and certifications that may apply to a shipment. - + @@ -2134,14 +2138,6 @@ - - - - - - - - @@ -2636,10 +2632,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2713,8 +2735,9 @@ - + + @@ -3190,7 +3213,7 @@ Specifies which party will be responsible for payment of any surcharges for Freight special services for which split billing is allowed. - + Identifies the special service. @@ -3240,6 +3263,7 @@ + @@ -3261,10 +3285,11 @@ - + + @@ -3288,6 +3313,7 @@ + @@ -3819,6 +3845,20 @@ + + + + + + + + + + + + + + @@ -3869,6 +3909,7 @@ Empty unless error label behavior is PACKAGE_ERROR_LABELS and one or more errors occured during transaction processing. + @@ -3964,118 +4005,6 @@ - - - Data required to produce a Certificate of Origin document. Remaining content (business data) to be defined once requirements have been completed. - - - - - - - Indicates which Party (if any) from the shipment is to be used as the source of importer data on the NAFTA COO form. - - - - - Contact information for "Authorized Signature" area of form. - - - - - - - - - - - - Defined by NAFTA regulations. - - - - - Defined by NAFTA regulations. - - - - - Identification of which producer is associated with this commodity (if multiple producers are used in a single shipment). - - - - - - Date range over which RVC net cost was calculated. - - - - - - - - - - - - - - - Specifies the information necessary for printing the NAFTA Low Value statement on customs documentation. - - - - - Specifies the NAFTA statement role. - - - - - - - - - - - - - See instructions for NAFTA Certificate of Origin for code definitions. - - - - - - - - - - - - - - - - - - - See instructions for NAFTA Certificate of Origin for code definitions. - - - - - - - - - - - - - - - - - @@ -4152,6 +4081,10 @@ + + + + @@ -4190,6 +4123,25 @@ + + + + + Unique identifier for this offering. + + + + + Specifies values like PRIORITY_OVERNIGHT, FEDEX_ENVELOPE, PRIORITY_ALERT, and other values typically used to identify various offerings in transactions. + + + + + Specifies the two character code used for operationalization of this offering. + + + + The instructions indicating how to print the OP-900 form for hazardous materials packages. @@ -4408,27 +4360,14 @@ - - - - - - - - - - - - - These special services are available at the package level for some or all service types. If the shipper is requesting a special service which requires additional data, the package special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. - + - The types of all special services requested for the enclosing shipment or package. + Indicates the package special service types that are requested on this shipment. For a list of the valid package special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. @@ -4449,21 +4388,19 @@ - - - - - - - - - - - - - - - + + + + + + + Branded, translated, and/or localized names for this packaging. + + + + + + @@ -4484,12 +4421,18 @@ + + + FOR FEDEX INTERNAL USE ONLY + + + @@ -4681,7 +4624,7 @@ - The type of branded, translated, and/or localized name to which this value refers. + The type of name (long, medium, short, etc.) to which this value refers. @@ -4692,6 +4635,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -4900,10 +4863,6 @@ - - - - @@ -4913,14 +4872,25 @@ + + + + + + + + + + + - + @@ -4941,6 +4911,37 @@ + + + + + + + + + This is a 1-based index identifying the commodity in the request that resulted in this COMMODITY or DOCUMENT type prohibition. + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY: The id of the waiver. + + + + + FOR FEDEX INTERNAL USE ONLY: The description of the waiver. + + + + + Describes the vertical position of an item relative to another item. @@ -5116,39 +5117,36 @@ - - This class rationalizes RequestedPackage and RequestedPackageSummary from previous interfaces. - - Used only with INDIVIDUAL_PACKAGE, as a unique identifier of each requested package. + A unique identifier of each requested package line item. - Used only with PACKAGE_GROUPS, as a unique identifier of each group of identical packages. + An identifier of each group of identical packages. - Used only with PACKAGE_GROUPS, as a count of packages within a group of identical packages. + Used as the number or count of identical packages in a group. - Only used for INDIVIDUAL_PACKAGES. + Only used when clients are assigning a tracking number to this package. Should not be used when groupPackageCount is greater than one. - Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. This field is only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored for PACKAGE_SUMMARY, in which case totalInsuredValue and packageCount on the shipment will be used to determine this value. + Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. - Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored for PACKAGE_SUMMARY, in which case total weight and packageCount on the shipment will be used to determine this value. + Represents the gross weight of the package line item. @@ -5172,18 +5170,27 @@ - Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. + Details the contents of the package. + - - + + + This field contains the service type values, like PRIORITY_OVERNIGHT and FEDEX_GROUND. + + + + + This field contains the packaging type values, like YOUR_PACKAGING and FEDEX_ENVELOPE. + + This specifies information related to the manifest associated with the shipment. @@ -5313,10 +5320,11 @@ - + + @@ -5329,7 +5337,7 @@ - + @@ -5571,7 +5579,6 @@ - @@ -5580,6 +5587,8 @@ + + @@ -5620,7 +5629,7 @@ - + @@ -5631,44 +5640,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -5986,7 +5962,6 @@ - @@ -6074,8 +6049,11 @@ Identifies special or custom features to be applied to a shipment. + + + @@ -6260,49 +6238,14 @@ + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + @@ -6310,9 +6253,9 @@ These special services are available at the shipment level for some or all service types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. - + - The types of all special services requested for the enclosing shipment (or other shipment-level transaction). + Indicates the shipment special service types that are requested on this shipment. For a list of the valid shipment special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. @@ -6363,6 +6306,15 @@ + + + + + This indicates the identifier of a conveyance, such as a trailer ID. + + + + @@ -6512,7 +6464,7 @@ - For those shipping document types which have both a "form" and "instructions" component (e.g. NAFTA Certificate of Origin and General Agency Agreement), this field indicates whether to provide the instructions. + For those shipping document types which have both a "form" and "instructions" component (e.g. General Agency Agreement), this field indicates whether to provide the instructions. @@ -6601,6 +6553,7 @@ + Specifies the production of each package-level custom document (the same specification is used for all packages). @@ -6613,7 +6566,7 @@ - + Specifies the production of the OP-900 document for hazardous materials packages. @@ -6754,6 +6707,12 @@ + + + + + + Specifies payment for a single aspect of a shipment. @@ -6842,7 +6801,6 @@ - @@ -6865,6 +6823,8 @@ + + @@ -6889,6 +6849,10 @@ + + + + @@ -7133,9 +7097,65 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7144,6 +7164,7 @@ + @@ -7366,7 +7387,7 @@ Identifies a system or sub-system which performs an operation. - + Identifies the service business level. @@ -7391,9 +7412,6 @@ - - - @@ -7487,9 +7505,6 @@ - - - @@ -7594,10 +7609,6 @@ - - - - @@ -7627,10 +7638,10 @@ - + - + @@ -7639,7 +7650,7 @@ - + @@ -7648,7 +7659,7 @@ - + @@ -7657,7 +7668,7 @@ - + @@ -7666,7 +7677,7 @@ - + @@ -7675,7 +7686,7 @@ - + @@ -7684,7 +7695,7 @@ - + @@ -7693,7 +7704,7 @@ - + @@ -7702,7 +7713,7 @@ - + @@ -7711,7 +7722,7 @@ - + @@ -7720,7 +7731,7 @@ - + @@ -7729,7 +7740,7 @@ - + @@ -7738,7 +7749,7 @@ - + @@ -7747,7 +7758,7 @@ - + @@ -7756,7 +7767,7 @@ - + @@ -7765,16 +7776,7 @@ - - - - - - - - - - + @@ -7783,7 +7785,7 @@ - + @@ -7792,7 +7794,7 @@ - + @@ -7801,7 +7803,7 @@ - + @@ -7810,7 +7812,7 @@ - + @@ -7819,7 +7821,7 @@ - + @@ -7828,7 +7830,7 @@ - + @@ -7837,7 +7839,7 @@ - + @@ -7847,7 +7849,7 @@ - + diff --git a/src/FedEx/_wsdl/PickupService_v22.wsdl b/src/FedEx/_wsdl/PickupService_v23.wsdl similarity index 70% rename from src/FedEx/_wsdl/PickupService_v22.wsdl rename to src/FedEx/_wsdl/PickupService_v23.wsdl index 17b487a1..3db0dfa6 100644 --- a/src/FedEx/_wsdl/PickupService_v22.wsdl +++ b/src/FedEx/_wsdl/PickupService_v23.wsdl @@ -1,2245 +1,3042 @@ - - - - - - - - - - - - Specifies the role that identifies the permissions the accessor of the pending shipment. - - - - - - - - - Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US). - - - - - Combination of number, street name, etc. At least one line is required for a valid physical address; empty lines should not be included. - - - - - Name of city, town, etc. - - - - - Identifying abbreviation for US state, Canada province, etc. Format and presence of this field will vary, depending on country. - - - - - Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country. - - - - - Relevant only to addresses in Puerto Rico. - - - - - The two-letter code used to identify a country. - - - - - The fully spelt out name of a country. - - - - - Indicates whether this address residential (as opposed to commercial). - - - - - The geographic coordinates cooresponding to this address. - - - - - - - - - - - - - This enumeration represents a kind of "legacy" account number from a FedEx operating entity. - - - - - - - - - - - - - - - - - - - - - - - - - - - Human readable message from dispatch system. - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - - - The local date which the pickup was originally scheduled to be picked up on. The date provided is the local to the client of the request. The date specification does not include any time zone designators. - - - - - - - - - The reason for canceling the pickup request. - - - - - Identifies the name of the person that requested pickup cancellation. - - - - - Identifies the phone number of the person that requested pickup cancellation. - - - - - Identifies the phone extension of the person that requested pickup cancellation. - - - - - - - Identification of a FedEx operating company (transportation). - - - - - - - - - - - - - - - - - - - - Descriptive data for the client submitting a transaction. - - - - - The FedEx account number associated with this transaction. - - - - - This number is assigned by FedEx and identifies the unique device from which the request is originating - - - - - - Only used in transactions which require identification of the FedEx Office integrator. - - - - - Indicates the region from which the transaction is submitted. - - - - - The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) - - - - - - - - - - - - - - - - - - - - - - - Select the type of rate from which the element is to be selected. - - - - - - - Select the type of rate used to calculate the percentage value of variable handling. - - - - - - - Identifies the type of funds FedEx should collect upon shipment delivery. - - - - - - - - - - - - Descriptive data required for a FedEx COD (Collect-On-Delivery) shipment. - - - - - - Specifies the details of the charges are to be added to the COD collect amount. - - - - - Identifies the type of funds FedEx should collect upon package delivery - - - - - For Express this is the descriptive data that is used for the recipient of the FedEx Letter containing the COD payment. For Ground this is the descriptive data for the party to receive the payment that prints the COD receipt. - - - - - When the FedEx COD payment type is not CASH, indicates the contact and address of the financial institution used to service the payment of the COD. - - - - - Specifies the name of person or company receiving the secured/unsecured funds payment - - - - - Indicates which type of reference information to include on the COD return shipping label. - - - - - Only used with multi-piece COD shipments sent in multiple transactions. Required on last transaction only. - - - - - - - - - - - - - - - Data resulting from the processing of an LTL Freight pickup request. - - - - - Describes the origin service center handling the pickup. - - - - - Describes the results for each line item in the original request. - - - - - Total number of pieces from all line items from request. - - - - - Total weight from all line items from request. - - - - - Total handling units from all line items from request. - - - - - Resulting status of pickup. - - - - - - - Data resulting from the processing of an individual line item in a LTL Freight pickup request. - - - - - Identifies the line item, to match reply line with request line. - - - - - Describes the destination service center handling the delivery of this line item. - - - - - Total travel time for this line item. - - - - - Identifies estimated delivery date and time for each line item. - - - - - - - The descriptive data for a point-of-contact person. - - - - - Client provided identifier corresponding to this contact information. - - - - - Identifies the contact person's name. - - - - - Identifies the contact person's title. - - - - - Identifies the company this contact is associated with. - - - - - Identifies the phone number associated with this contact. - - - - - Identifies the phone extension associated with this contact. - - - - - Identifies a toll free number, if any, associated with this contact. - - - - - Identifies the pager number associated with this contact. - - - - - Identifies the fax number associated with this contact. - - - - - Identifies the email address associated with this contact. - - - - - - - - - - - - - Describes relationship between origin and destination countries. - - - - - - - - - - - - - - - - - Coded value supplied by dispatch system. - - - - - Message supplied by dispatch system. - - - - - Package Return Program control number - - - - - Used with "stay late" requests; postal-code specific. - - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - - Specifies the tracking number to be used for processing a pickup for a return shipment. - - - - - - - - - - - - - This field is being deprecated and will not be removed in the June 2014 load. - - - - - - Describes the country relationship (domestic and/or international) among the shipments being picked up. - - - - - - - - - Indicates the type of custom delivery being requested. - - - - - Time by which delivery is requested. - - - - - Range of dates for custom delivery request; only used if type is BETWEEN. - - - - - Date for custom delivery request; only used for types of ON, BETWEEN, or AFTER. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the tracking id for the return, if preassigned. - - - - - - - Specifications for pup/set or vehicle delayed for loading or unloading. - - - - - Amount of time involved in the detention. - - - - - - - - - - - - - - - Driving or other transportation distances, distinct from dimension measurements. - - - - - Identifies the distance quantity. - - - - - Identifies the unit of measure for the distance value. - - - - - - - - - - - - - - - - Specifies the name associated with the email address. - - - - - - - - - Content of the email message. - - - - - - - - Information describing the address of of the email recipient, role of the email recipient and languages that are requested to be supported. - - - - - EMail address of the recipient. - - - - - The relationship that the customer has to the pending shipment. - - - - - Specifies how the email notification for the pending shipment need to be processed. - - - - - Localization and language details specified by the recipient of the EMail. - - - - - - - - - - - - - - Specifies how to apply the localization detail to the current context. - - - - - - - - - - - - - Specifies whether to confirm documents prior to processing a shipment with the ELECTRONIC_TRADE_DOCUMENTS special service. - - - - - - - - - Electronic Trade document references used with the ETD special service. - - - - - Specifies client's intent for whether all documents must be confirmed before shipment processing. - - - - - - Indicates the types of shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data. - - - - - - - - - - - This includes service type values like FEDEX_1_DAY_FREIGHT - - - - - - - - - - - Indicates a FedEx Express operating region. - - - - - - - - - - - - Specification for labor time spent handling shipment. - - - - - Total labor time. - - - - - - - - - - - - Identifies a kind of FedEx facility. - - - - - - - - - - - - - - - - - Specifies the optional features/characteristics requested for a Freight shipment utilizing a flatbed trailer. - - - - - - - - - - - - - - - - - Date for all Freight guarantee types. - - - - - Time for GUARANTEED_TIME only. - - - - - - - - - - - - - - - - Contact Information of origin service center representative that authorized the pickup - - - - - - - Used in connection with "Send Bill To" (SBT) identification of customer's account used for billing. - - - - - - - - - - - - - Identifies the line item, to match reply line with request line. - - - - - - - - - - - - - - - - This class describes the relationship between a customer-specified address and the FedEx Freight / FedEx National Freight Service Center that supports that address. - - - - - Freight Industry standard non-FedEx carrier identification - - - - - The name of the Interline carrier. - - - - - Additional time it might take at the origin or destination to pickup or deliver the freight. This is usually due to the remoteness of the location. This time is included in the total transit time. - - - - - - Distance between customer address (pickup or delivery) and the supporting Freight / National Freight service center. - - - - - Time to travel between customer address (pickup or delivery) and the supporting Freight / National Freight service center. - - - - - Specifies when/how the customer can arrange for pickup or delivery. - - - - - Specifies days of operation if localServiceScheduling is LIMITED. - - - - - Freight service center that is a gateway on the border of Canada or Mexico. - - - - - Alphabetical code identifying a Freight Service Center - - - - - Freight service center Contact and Address - - - - - - - Specifies the type of service scheduling offered from a Freight or National Freight Service Center to a customer-supplied address. - - - - - - - - - - Indicates the role of the party submitting the transaction. - - - - - - - - - Indicates which kind of hazardous content is being reported. - - - - - - - - - - - - - Identifies the source of regulation for hazardous commodity data. - - - - - - - - - - - - - Contact phone number for recipient of shipment. - - - - - Contact and address of FedEx facility at which shipment is to be held. - - - - - Type of facility at which package/shipment is to be held. - - - - - Location identification (for facilities identified by an alphanumeric location code). - - - - - Location identification (for facilities identified by an numeric location code). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifies the representation of human-readable text. - - - - - Two-letter code for language (e.g. EN, FR, etc.) - - - - - Two-letter code for the region (e.g. us, ca, etc..). - - - - - - - Specification for marking or tagging of pieces in shipment. - - - - - Number of pieces to be marked or tagged by FedEx. - - - - - - - - - - - - - Specification for services performed during non-business hours and/or days. - - - - - Total number of person days for full non-business days. - - - - - Total number of person hours (whole or partial hours) for non-business hours. - - - - - - - The descriptive data regarding the result of the submitted transaction. - - - - - The severity of this notification. This can indicate success or failure or some other information about the request. The values that can be returned are SUCCESS - Your transaction succeeded with no other applicable information. NOTE - Additional information that may be of interest to you about your transaction. WARNING - Additional information that you need to know about your transaction that you may need to take action on. ERROR - Information about an error that occurred while processing your transaction. FAILURE - FedEx was unable to process your transaction at this time due to a system failure. Please try again later - - - - - Indicates the source of this notification. Combined with the Code it uniquely identifies this notification - - - - - A code that represents this notification. Combined with the Source it uniquely identifies this notification. - - - - - Human-readable text that explains this notification. - - - - - The translated message. The language and locale specified in the ClientDetail. Localization are used to determine the representation. Currently only supported in a TrackReply. - - - - - A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) without having to parse the message string. - - - - - - - - - Indicates the type of notification that will be sent. - - - - - Specifies the email notification details. - - - - - Specifies the fax notification details. - - - - - Specifies the SMS notification details. - - - - - Specifies the localization for this notification. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifies the type of data contained in Value (e.g. SERVICE_TYPE, PACKAGE_SEQUENCE, etc..). - - - - - The value of the parameter (e.g. PRIORITY_OVERNIGHT, 2, etc..). - - - - - - - - - - - - - - - - - - - - - - - Specifications for pallets to be shrinkwrapped as part of a Freight shipment. - - - - - Number of pallets to be shrinkwrapped. - - - - - - - Specifications for pallets to be provided on Freight shipment. - - - - - Number of pallets to be provided. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This information describes the kind of pending shipment being requested. - - - - - - Date after which the pending shipment will no longer be available for completion. - - - - - Only used with type of EMAIL. - - - - - - These are documents that are recommended to be included with the shipment. - - - - - Upload document details provided by the initator of the shipment. - - - - - - - - - - - - - - - - - - - - - - This enumeration rationalizes the former FedEx Express international "admissibility package" types (based on ANSI X.12) and the FedEx Freight packaging types. The values represented are those common to both carriers. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifies whether the close time is specified by the customer or is the default time. - - - - - Close time corresponding to the above specified type - - - - - - Local time of the service center that will service the pickup - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - - Identifies the account number for Freight Pickup Availability - - - - - - - - Number of business days to consider when checking availability. - - - - - - - - - - - - - - - - - - - - - - Describes the regulation type the pickup dangerous goods. - - - - - - Specifies the option types of the pickup dangerous goods. - - - - - - - - - - - - - - - - - - - - - - FedEx USE ONLY (with IVR client) - - - - - - - - - - - FedEx IVR Only. Customer is willing to stay late for pickup. - - - - - FedEx USE ONLY (with IVR client) - - - - - FedEx IVR Only - - - - - Alternate postal code tied to pickup location (European pickups) - - - - - FedEx USE ONLY - - - - - FedEx USE ONLY (with IVR client) - - - - - - Applies only to Europe - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates whether residential pickup is available for the requested postal code. - - - - - Describes the country relationship (domestic and/or international) among the shipments being picked up. - - - - - - - Specifies the service category for the pick up being scheduled. - - - - - - - - - - - - - - - - - - - - - - - These values indicate the type of pickup being requested. - - - - - - - - - - - - - - - - - - - - - - - - - - - Select the type of rate from which the element is to be selected. - - - - - - - - - - - - Specifies the details about documents that are recommended to be included with the shipment for ease of shipment processing and transportation. - - - - - - - - Type of documents that are recommended to be included with the shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the tracking number of the master associated with the return shipment. - - - - - - - - These values are used to control the availability of certain special services at the time when a customer uses the e-mail label link to create a return shipment. - - - - - - - - - - - - Identifies the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created. Only services represented in EMailLabelAllowedSpecialServiceType will be controlled by this list. - - - - - - - - - - - - - - - - - - - - - - - - June 2011 ITG 121203 IR-RMA number has been removed from this structure and added as a new customer reference type. The structure remains because of the reason field below. - - - - - - - - Specification for assembly performed on shipment. - - - - - Number of pieces or packages to be assembled - - - - - Total weight of pieces or packages to be assembled - - - - - - - Shipment-level totals of dry ice data across all packages. - - - - - Total number of packages in the shipment that contain dry ice. - - - - - Total shipment dry ice weight for all packages. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - These special services are available at the shipment level for some or all service types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. - - - - - Indicates the shipment special service types that are requested on this shipment. For a list of the valid shipment special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. - - - - - - - - This replaces eMailNotificationDetail - - - - - - This field should be populated for pending shipments (e.g. e-mail label) It is required by a PENDING_SHIPMENT special service type. - - - - - - - - - - - Electronic Trade document references. - - - - - Specification for labor to be performed with the shipment. - - - - - Specifications for pallets to be shrinkwrapped as part of a Freight shipment. - - - - - Specifications for pallets to be provided on Freight shipment. - - - - - Specifications for pup/set or vehicle delayed for loading or unloading. - - - - - Specification for marking or tagging of pieces in shipment. - - - - - Specification for services performed during non-business hours and/or days. - - - - - Specification for assembly performed on shipment. - - - - - Specification for sorting and/or segregating performed on shipment. - - - - - Specification for special equipment used in loading/unloading shipment. - - - - - Specification for storage provided for shipment. - - - - - Specification for weighing services provided for shipment. - - - - - Specification for date or range of dates on which delivery is to be attempted. - - - - - - - - - - - - - Specification for sorting and/or segregating performed on shipment. - - - - - Number of pieces or packages to be sorted/segregated - - - - - Total weight of pieces or packages to be sorted/segregated - - - - - - - Specification for special equipment used in loading/unloading shipment. - - - - - Contains an entry for each type of special equipment used with shipment - - - - - - - Specifies the usage of a single type of special equipment while loading/unloading a shipment - - - - - Type of equipment used - - - - - Total amount of time the equipment was used - - - - - - - Identifies types of special equipment used in loading/unloading Freight shipments - - - - - - - - Specification for storage provided for shipment. - - - - - Total time shipment is held by carrier. - - - - - - - - - - - Identifies the usage of Tax Identification Number in Shipment processing - - - - - - - - - - - - - - - - - - - - - - For use with SmartPost tracking IDs only - - - - - - - - - - - - - - - - - - - - - - - - - - Free form text to be echoed back in the reply. Used to match requests and replies. - - - - - Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection). - - - - - - - - - - - - - - - - - - - - - - Specifies the date until which the document is available - - - - - - - Specifies the application that is responsible for managing the document id. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Description of the uploaded document. - - - - - - - - - - - - - - - - - - - - - - Specifies a single type of weighing performed on a shipment - - - - - Type of scale used - - - - - - - Identifies types of scales used in weighing Freight shipments - - - - - - - - - The descriptive data for the heaviness of an object. - - - - - Identifies the unit of measure associated with a weight value. - - - - - Identifies the weight value of a package/shipment. - - - - - - - - - - - - - Used in authentication of the sender's identity. - - - - - This was renamed from cspCredential. - - - - - Credential used to authenticate a specific software application. This value is provided by FedEx after registration. - - - - - - - Two part authentication string used for the sender's identity - - - - - Identifying part of authentication credential. This value is provided by FedEx after registration - - - - - Secret part of authentication key. This value is provided by FedEx after registration. - - - - - - - Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply). - - - - - Identifies a system or sub-system which performs an operation. - - - - - Identifies the service business level. - - - - - Identifies the service interface level. - - - - - Identifies the service code level. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + Specifies the role that identifies the permissions the accessor of the pending shipment. + + + + + + + + + Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US). + + + + + Combination of number, street name, etc. At least one line is required for a valid physical address; empty lines should not be included. + + + + + Name of city, town, etc. + + + + + Identifying abbreviation for US state, Canada province, etc. Format and presence of this field will vary, depending on country. + + + + + Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country. + + + + + Relevant only to addresses in Puerto Rico. + + + + + The two-letter code used to identify a country. + + + + + The fully spelt out name of a country. + + + + + Indicates whether this address residential (as opposed to commercial). + + + + + The geographic coordinates cooresponding to this address. + + + + + + + + + + + + + This enumeration represents a kind of "legacy" account number from a FedEx operating entity. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Human readable message from dispatch system. + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + + + + The local date which the pickup was originally scheduled to be picked up on. The date provided is the local to the client of the request. The date specification does not include any time zone designators. + + + + + + + + + The reason for canceling the pickup request. + + + + + Identifies the name of the person that requested pickup cancellation. + + + + + Identifies the phone number of the person that requested pickup cancellation. + + + + + Identifies the phone extension of the person that requested pickup cancellation. + + + + + FOR FEDEX INTERNAL USE ONLY: Restrictions and privileges associated with an entity based on one or more identifiers (for example, account number or unique user id). These restrictions and privileges can be used to determine whether an entity is enabled to perform various operations. + + + + + + + Identification of a FedEx operating company (transportation). + + + + + + + + + + + + + + + + + + + + Descriptive data for the client submitting a transaction. + + + + + The FedEx account number associated with this transaction. + + + + + The FedEx Ground account number. + + + + + This number is assigned by FedEx and identifies the unique device from which the request is originating + + + + + FedEx internal use only. + + + + + + FedEx internal use only. The PassKey company identifier. + + + + + Client software component (e.g. "CAFE", "INET", "WBUS", etc.) + + + + + Client software component version/revision (e.g. "1800", "2630", etc.) + + + + + A FedEx assigned identifier for a third party software product used by customer to do business with FedEx. Such as a Compatible Solution Provider's product. + + + + + The version of the third party product. + + + + + FedEx internal use only. + + + + + FedEx internal use only. + + + + + Only used in transactions which require identification of the FedEx Office integrator. + + + + + Indicates the region from which the transaction is submitted. + + + + + Used for off-line uploads only. + + + + + The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) + + + + + + + + + + + + + + + + + + + + + + + Select the type of rate from which the element is to be selected. + + + + + + + Select the type of rate used to calculate the percentage value of variable handling. + + + + + + + Identifies the type of funds FedEx should collect upon shipment delivery. + + + + + + + + + + + + Descriptive data required for a FedEx COD (Collect-On-Delivery) shipment. + + + + + + Specifies the details of the charges are to be added to the COD collect amount. + + + + + Identifies the type of funds FedEx should collect upon package delivery + + + + + For Express this is the descriptive data that is used for the recipient of the FedEx Letter containing the COD payment. For Ground this is the descriptive data for the party to receive the payment that prints the COD receipt. + + + + + When the FedEx COD payment type is not CASH, indicates the contact and address of the financial institution used to service the payment of the COD. + + + + + Specifies the name of person or company receiving the secured/unsecured funds payment + + + + + Indicates which type of reference information to include on the COD return shipping label. + + + + + Only used with multi-piece COD shipments sent in multiple transactions. Required on last transaction only. + + + + + + + + + + + + + + + Data resulting from the processing of an LTL Freight pickup request. + + + + + Describes the origin service center handling the pickup. + + + + + Describes the results for each line item in the original request. + + + + + Total number of pieces from all line items from request. + + + + + Total weight from all line items from request. + + + + + Total handling units from all line items from request. + + + + + Resulting status of pickup. + + + + + + + Data resulting from the processing of an individual line item in a LTL Freight pickup request. + + + + + Identifies the line item, to match reply line with request line. + + + + + Describes the destination service center handling the delivery of this line item. + + + + + Total travel time for this line item. + + + + + Identifies estimated delivery date and time for each line item. + + + + + + + The descriptive data for a point-of-contact person. + + + + + Client provided identifier corresponding to this contact information. + + + + + Identifies the contact person's name. + + + + + Identifies the contact person's title. + + + + + Identifies the company this contact is associated with. + + + + + Identifies the phone number associated with this contact. + + + + + Identifies the phone extension associated with this contact. + + + + + Identifies a toll free number, if any, associated with this contact. + + + + + Identifies the pager number associated with this contact. + + + + + Identifies the fax number associated with this contact. + + + + + Identifies the email address associated with this contact. + + + + + + + + + + + + + Describes relationship between origin and destination countries. + + + + + + + + + + + + + + + + + Coded value supplied by dispatch system. + + + + + Message supplied by dispatch system. + + + + + Package Return Program control number + + + + + Used with "stay late" requests; postal-code specific. + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + Specifies the options to be applied when creating the pickup. + + + + + + + Specifies the tracking number to be used for processing a pickup for a return shipment. + + + + + + + + + + + + + + + This field is being deprecated and will not be removed in the June 2014 load. + + + + + + Describes the country relationship (domestic and/or international) among the shipments being picked up. + + + + + FOR FEDEX INTERNAL USE ONLY: Restrictions and privileges associated with an entity based on one or more identifiers (for example, account number or unique user id). These restrictions and privileges can be used to determine whether an entity is enabled to perform various operations. + + + + + + + Specifies the options to be applied when creating the pickup. + + + + + + + + + + + + + + Indicates the type of custom delivery being requested. + + + + + Time by which delivery is requested. + + + + + Range of dates for custom delivery request; only used if type is BETWEEN. + + + + + Date for custom delivery request; only used for types of ON, BETWEEN, or AFTER. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the tracking id for the return, if preassigned. + + + + + + + Specifications for pup/set or vehicle delayed for loading or unloading. + + + + + Amount of time involved in the detention. + + + + + + + + + + + + + + + Driving or other transportation distances, distinct from dimension measurements. + + + + + Identifies the distance quantity. + + + + + Identifies the unit of measure for the distance value. + + + + + + + + + + + + + + + + Specifies the name associated with the email address. + + + + + + + + + Content of the email message. + + + + + + + + Information describing the address of of the email recipient, role of the email recipient and languages that are requested to be supported. + + + + + EMail address of the recipient. + + + + + The relationship that the customer has to the pending shipment. + + + + + Specifies how the email notification for the pending shipment need to be processed. + + + + + Localization and language details specified by the recipient of the EMail. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies how to apply the localization detail to the current context. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies whether to confirm documents prior to processing a shipment with the ELECTRONIC_TRADE_DOCUMENTS special service. + + + + + + + + + Electronic Trade document references used with the ETD special service. + + + + + Specifies client's intent for whether all documents must be confirmed before shipment processing. + + + + + + Indicates the types of shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data. + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY: The service code will be provided for transportation network management. + + + + + This includes service type values like FEDEX_1_DAY_FREIGHT + + + + + + + + + + + Indicates a FedEx Express operating region. + + + + + + + + + + + + Specification for labor time spent handling shipment. + + + + + Total labor time. + + + + + + + + + + + + Identifies a kind of FedEx facility. + + + + + + + + + + + + + + + + + + + Specifies the optional features/characteristics requested for a Freight shipment utilizing a flatbed trailer. + + + + + + + + + + + + + + + + + Date for all Freight guarantee types. + + + + + Time for GUARANTEED_TIME only. + + + + + + + + + + + + + + + + Contact Information of origin service center representative that authorized the pickup + + + + + + + Used in connection with "Send Bill To" (SBT) identification of customer's account used for billing. + + + + + + + + + + + + + Identifies the line item, to match reply line with request line. + + + + + + + + + + + + + + + + This class describes the relationship between a customer-specified address and the FedEx Freight / FedEx National Freight Service Center that supports that address. + + + + + Freight Industry standard non-FedEx carrier identification + + + + + The name of the Interline carrier. + + + + + Additional time it might take at the origin or destination to pickup or deliver the freight. This is usually due to the remoteness of the location. This time is included in the total transit time. + + + + + + Distance between customer address (pickup or delivery) and the supporting Freight / National Freight service center. + + + + + Time to travel between customer address (pickup or delivery) and the supporting Freight / National Freight service center. + + + + + Specifies when/how the customer can arrange for pickup or delivery. + + + + + Specifies days of operation if localServiceScheduling is LIMITED. + + + + + Freight service center that is a gateway on the border of Canada or Mexico. + + + + + Alphabetical code identifying a Freight Service Center + + + + + Freight service center Contact and Address + + + + + + + Specifies the type of service scheduling offered from a Freight or National Freight Service Center to a customer-supplied address. + + + + + + + + + + Indicates the role of the party submitting the transaction. + + + + + + + + + Indicates which kind of hazardous content is being reported. + + + + + + + + + + + + + Identifies the source of regulation for hazardous commodity data. + + + + + + + + + + + + + Contact phone number for recipient of shipment. + + + + + Contact and address of FedEx facility at which shipment is to be held. + + + + + Type of facility at which package/shipment is to be held. + + + + + Location identification (for facilities identified by an alphanumeric location code). + + + + + Location identification (for facilities identified by an numeric location code). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies the representation of human-readable text. + + + + + Two-letter code for language (e.g. EN, FR, etc.) + + + + + Two-letter code for the region (e.g. us, ca, etc..). + + + + + + + Specification for marking or tagging of pieces in shipment. + + + + + Number of pieces to be marked or tagged by FedEx. + + + + + + + + + + + + + Specification for services performed during non-business hours and/or days. + + + + + Total number of person days for full non-business days. + + + + + Total number of person hours (whole or partial hours) for non-business hours. + + + + + + + The descriptive data regarding the result of the submitted transaction. + + + + + The severity of this notification. This can indicate success or failure or some other information about the request. The values that can be returned are SUCCESS - Your transaction succeeded with no other applicable information. NOTE - Additional information that may be of interest to you about your transaction. WARNING - Additional information that you need to know about your transaction that you may need to take action on. ERROR - Information about an error that occurred while processing your transaction. FAILURE - FedEx was unable to process your transaction at this time due to a system failure. Please try again later + + + + + Indicates the source of this notification. Combined with the Code it uniquely identifies this notification + + + + + A code that represents this notification. Combined with the Source it uniquely identifies this notification. + + + + + Human-readable text that explains this notification. + + + + + The translated message. The language and locale specified in the ClientDetail. Localization are used to determine the representation. Currently only supported in a TrackReply. + + + + + A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) without having to parse the message string. + + + + + + + + + Indicates the type of notification that will be sent. + + + + + Specifies the email notification details. + + + + + Specifies the fax notification details. + + + + + Specifies the SMS notification details. + + + + + Specifies the localization for this notification. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies the type of data contained in Value (e.g. SERVICE_TYPE, PACKAGE_SEQUENCE, etc..). + + + + + The value of the parameter (e.g. PRIORITY_OVERNIGHT, 2, etc..). + + + + + + + + + + + + + + + + + + + + + + + Specifies the details needed organise results using paging mechanism. + + + + + An identifier for the set of data that supports paging. + + + + + When the MoreDataAvailable field is true in the results reply the PagingToken must be sent in the subsequent request to retrieve the next page of data. + + + + + Maximum number of results to be included per page. + + + + + + + Specifies details when results are organised using paging mechanism. + + + + + An identifier for the set of data that supports paging. + + + + + True if additional results remain to be retrieved. + + + + + Value that must be passed in a subsequent request to retrieve the next set of results (when MoreDataAvailable = true) + + + + + Total number of results available. + + + + + + + Specifications for pallets to be shrinkwrapped as part of a Freight shipment. + + + + + Number of pallets to be shrinkwrapped. + + + + + + + Specifications for pallets to be provided on Freight shipment. + + + + + Number of pallets to be provided. + + + + + + + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY + + + + + + + + + + + + + + + + + + + + + + + + + + This information describes the kind of pending shipment being requested. + + + + + + Date after which the pending shipment will no longer be available for completion. + + + + + Only used with type of EMAIL. + + + + + These are documents that are recommended to be included with the shipment. + + + + + Upload document details provided by the initator of the shipment. + + + + + + + + + + + + This enumeration rationalizes the former FedEx Express international "admissibility package" types (based on ANSI X.12) and the FedEx Freight packaging types. The values represented are those common to both carriers. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies whether the close time is specified by the customer or is the default time. + + + + + Close time corresponding to the above specified type + + + + + + Local time of the service center that will service the pickup + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + Identifies the account number for Freight Pickup Availability + + + + + + + + Number of business days to consider when checking availability. + + + + + + + + + + + + + + + + + + + + + + Describes the regulation type the pickup dangerous goods. + + + + + Specifies the option types of the pickup dangerous goods. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Describes the country relationship (domestic and/or international) among the shipments being picked up. + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + The local date which the pickup was originally scheduled to be picked up on. The date provided is the local to the client of the request. The date specification does not include any time zone designators. + + + + + + + + + + + + + + + + + + Only populated if event was EXCEPTION. + + + + + Date and time on when event occurred. + + + + + Employee Id of driver who picked up shipment + + + + + + + + + + + + + + + + + + + Identifies the shipper's company from which the shipment was picked up + + + + + + + + Specifies the time when a customer service representative assisted a customer. + + + + + + + + + + + + + + Describes the country relationship (domestic and/or international) among the shipments being picked up. + + + + + + + FOR FEDEX INTERNAL USE ONLY. FedEx internal system identifier. + + + + + + The status of the requested pickup. + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY: Status messages from the back-end services supporting pickup functionality. These messages are directly passed-through, without modification, and the content is not examined or validated by this service. Programmatic use of these messages is highly discouraged as they are subject to change without notice. + + + + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + + + + + Provides the information of Carrier for which pickup history summaries needs to be provided. + + + + + + + Set of criteria which must be satisfied by any resulting Pickup History Summary. + + + + + + + Specifies a condition to be used as part of a Pickup History Summary lookup. + + + + + Type of value to match. + + + + + Value to be matched. + + + + + + + + + + + + + + + + + + + + + + + + FedEx USE ONLY (with IVR client) + + + + + + + + + + + FedEx IVR Only. Customer is willing to stay late for pickup. + + + + + FedEx USE ONLY (with IVR client) + + + + + FedEx IVR Only + + + + + Alternate postal code tied to pickup location (European pickups) + + + + + FedEx USE ONLY + + + + + FedEx USE ONLY (with IVR client) + + + + + + Applies only to Europe + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates whether residential pickup is available for the requested postal code. + + + + + Describes the country relationship (domestic and/or international) among the shipments being picked up. + + + + + + + Specifies the service category for the pick up being scheduled. + + + + + + + + + + + + + + + These values control the level of validation performed on certain pickup requests. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + These values indicate the type of pickup being requested. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Select the type of rate from which the element is to be selected. + + + + + + + + + + + + Specifies the details about documents that are recommended to be included with the shipment for ease of shipment processing and transportation. + + + + + + + + Type of documents that are recommended to be included with the shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY: The service code will be provided for transportation network management. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the tracking number of the master associated with the return shipment. + + + + + + + + These values are used to control the availability of certain special services at the time when a customer uses the e-mail label link to create a return shipment. + + + + + + + + + + + + Identifies the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created. Only services represented in EMailLabelAllowedSpecialServiceType will be controlled by this list. + + + + + + + + + + + + + + + + + + + + + + + + June 2011 ITG 121203 IR-RMA number has been removed from this structure and added as a new customer reference type. The structure remains because of the reason field below. + + + + + + + + Specification for assembly performed on shipment. + + + + + Number of pieces or packages to be assembled + + + + + Total weight of pieces or packages to be assembled + + + + + + + Shipment-level totals of dry ice data across all packages. + + + + + Total number of packages in the shipment that contain dry ice. + + + + + Total shipment dry ice weight for all packages. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + These special services are available at the shipment level for some or all service types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. + + + + + Indicates the shipment special service types that are requested on this shipment. For a list of the valid shipment special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. + + + + + + + + This replaces eMailNotificationDetail + + + + + + This field should be populated for pending shipments (e.g. e-mail label) It is required by a PENDING_SHIPMENT special service type. + + + + + + + + + + + Electronic Trade document references. + + + + + Specification for labor to be performed with the shipment. + + + + + Specifications for pallets to be shrinkwrapped as part of a Freight shipment. + + + + + Specifications for pallets to be provided on Freight shipment. + + + + + Specifications for pup/set or vehicle delayed for loading or unloading. + + + + + Specification for marking or tagging of pieces in shipment. + + + + + Specification for services performed during non-business hours and/or days. + + + + + Specification for assembly performed on shipment. + + + + + Specification for sorting and/or segregating performed on shipment. + + + + + Specification for special equipment used in loading/unloading shipment. + + + + + Specification for storage provided for shipment. + + + + + Specification for weighing services provided for shipment. + + + + + Specification for date or range of dates on which delivery is to be attempted. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specification for sorting and/or segregating performed on shipment. + + + + + Number of pieces or packages to be sorted/segregated + + + + + Total weight of pieces or packages to be sorted/segregated + + + + + + + Specification for special equipment used in loading/unloading shipment. + + + + + Contains an entry for each type of special equipment used with shipment + + + + + + + Specifies the usage of a single type of special equipment while loading/unloading a shipment + + + + + Type of equipment used + + + + + Total amount of time the equipment was used + + + + + + + Identifies types of special equipment used in loading/unloading Freight shipments + + + + + + + + Specification for storage provided for shipment. + + + + + Total time shipment is held by carrier. + + + + + + + + + + + Identifies the usage of Tax Identification Number in Shipment processing + + + + + + + + + + + + + + + + + + + + + + For use with SmartPost tracking IDs only + + + + + + + + + + + + + + + + + + + + + + + + + + + + Free form text to be echoed back in the reply. Used to match requests and replies. + + + + + Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection). + + + + + Unique identifier assigned/forwarded by internal FAST services only, to associate service transactions comprising a single business work unit. + + + + + Each FAST service should log request/reply pairs for any transaction in which this attribute is true. This is for internal use only (capturing transaction data for diagnostic purposes). + + + + + Indicates the format in which the transaction was presented to FedEx, used to help identify error-translation context. + + + + + Identifies the environment (level) in which the current transaction should be processed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The new pickup confirmation number for a pickup requested that was reactivated after cancellation. + + + + + + Coded value supplied by dispatch system. + + + + + Message supplied by dispatch system. + + + + + Package Return Program control number + + + + + Used with "stay late" requests; postal-code specific. + + + + + The last time a change was made to the pickup record. + + + + + Provides reply information for FedEx Freight Pickup + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + + The local date which the pickup was originally scheduled to be picked up on. The date provided is the local to the client of the request. The date specification does not include any time zone designators. + + + + + Brief information for performing the pickup update + + + + + Descriptive information for performing the pickup update + + + + + Temporary customer id that is assigned to a non-account customer, who has called in to schedule a pickup. This temporary customer id is persisted at the backend for a certain window of time. Within this window of time, this temporary id can be re-used by the customer to request pickups. This is way to allow customers to process pickup without the need to create an account with FedEx. + + + + + + + + + + + + + + + + + Remarks for pickup Courier + + + + + + + + + + + + + + + + + + + + + + + Specifies the date until which the document is available + + + + + + + Specifies the application that is responsible for managing the document id. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Description of the uploaded document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Allows clients the ability to specify variations in their capabilities that may impact the set of features that are enabled in the called service. In a typical use case, id may correspond to the name of an initiative (or one feature of an initiative) and the values may contain SUPPORTED to indicate that the client is prepared to accept the feature. + + + + + Specifies the name or the key for the variation. + + + + + Specifies a set of values associated with this id that parameterize the variation. + + + + + + + Identifies the environment (level) for which an AuthenticationCredential is valid, and within which transactions are received. + + + + + + + + + Specifies a single type of weighing performed on a shipment + + + + + Type of scale used + + + + + + + Identifies types of scales used in weighing Freight shipments + + + + + + + + + The descriptive data for the heaviness of an object. + + + + + Identifies the unit of measure associated with a weight value. + + + + + Identifies the weight value of a package/shipment. + + + + + + + + + + + + + Used in authentication of the sender's identity. + + + + + This was renamed from cspCredential. + + + + + Credential used to authenticate a specific software application. This value is provided by FedEx after registration. + + + + + + + Two part authentication string used for the sender's identity + + + + + Identifying part of authentication credential. This value is provided by FedEx after registration + + + + + Secret part of authentication key. This value is provided by FedEx after registration. + + + + + + + Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply). + + + + + Identifies a system or sub-system which performs an operation. + + + + + Identifies the service business level. + + + + + Identifies the service interface level. + + + + + Identifies the service code level. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/FedEx/_wsdl/RateService_v28.wsdl b/src/FedEx/_wsdl/RateService_v31.wsdl similarity index 96% rename from src/FedEx/_wsdl/RateService_v28.wsdl rename to src/FedEx/_wsdl/RateService_v31.wsdl index bd80defb..b16d7996 100644 --- a/src/FedEx/_wsdl/RateService_v28.wsdl +++ b/src/FedEx/_wsdl/RateService_v31.wsdl @@ -1,5058 +1,5046 @@ - - - - - - - - Specifies additional labels to be produced. All required labels for shipments will be produced without the need to request additional labels. These are only available as thermal labels. - - - - - The type of additional labels to return. - - - - - The number of this type label to return - - - - - - - - - - - - - - - - - - - Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US). - - - - - Combination of number, street name, etc. At least one line is required for a valid physical address; empty lines should not be included. - - - - - Name of city, town, etc. - - - - - Identifying abbreviation for US state, Canada province, etc. Format and presence of this field will vary, depending on country. - - - - - Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country. - - - - - Relevant only to addresses in Puerto Rico. - - - - - The two-letter code used to identify a country. - - - - - The fully spelt out name of a country. - - - - - Indicates whether this address residential (as opposed to commercial). - - - - - The geographic coordinates cooresponding to this address. - - - - - - - Specifies details for a package containing alcohol - - - - - The license type that the recipient of the alcohol package. - - - - - - - Specifies the type of license that the recipient of the alcohol shipment has. - - - - - - - - - - - - - - - - - - - - - - - - - - A freight line item identifier referring to a freight shipment line item that describes goods contained within this handling unit. - - - - - - - - - - - - - - - - Identification of the type of barcode (symbology) used on FedEx documents and labels. - - - - - - - - - - - - - - - - - - - - Describes attributes of a battery or cell that are used for classification purposes. Typically this structure would be used to allow customers to declare batteries or cells for which full dangerous goods documentation and procedures are not required. - - - - - Describes the material composition of the battery or cell. - - - - - Describes the packing arrangement of the battery or cell with respect to other items within the same package. - - - - - A regulation specific classification for the battery or cell. - - - - - - - Describes the material composition of a battery or cell. - - - - - - - - - Describes the packing arrangement of a battery or cell with respect to other items within the same package. - - - - - - - - - A regulation specific classification for a battery or cell. - - - - - - - - - - - - - - - - - - - - Identification of a FedEx operating company (transportation). - - - - - - - - - - - - - - The instructions indicating how to print the Certificate of Origin ( e.g. whether or not to include the instructions, image type, etc ...) - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Specifies the usage and identification of customer supplied images to be used on this document. - - - - - - - - - - - - - - - This represents the internal FedEx-system recognized country code. - - - - - This represents the internal FedEx-system recognized state or province code. - - - - - This represents the internal FedEx-system recognized postal code. - - - - - - The unique location identifier - - - - - The op-co specific numeric identifier for a location - - - - - - - - Specifies the type of brokerage to be applied to a shipment. - - - - - - - - - - - - Descriptive data for the client submitting a transaction. - - - - - The FedEx account number associated with this transaction. - - - - - This number is assigned by FedEx and identifies the unique device from which the request is originating - - - - - Only used in transactions which require identification of the FedEx Office integrator. - - - - - Indicates the region from which the transaction is submitted. - - - - - The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) - - - - - - - - - - - - - - - - - Select the type of rate from which the element is to be selected. - - - - - - - - - Identifies the type of funds FedEx should collect upon shipment delivery. - - - - - - - - - - Descriptive data required for a FedEx COD (Collect-On-Delivery) shipment. - - - - - - Specifies the details of the charges are to be added to the COD collect amount. - - - - - Identifies the type of funds FedEx should collect upon package delivery - - - - - For Express this is the descriptive data that is used for the recipient of the FedEx Letter containing the COD payment. For Ground this is the descriptive data for the party to receive the payment that prints the COD receipt. - - - - - When the FedEx COD payment type is not CASH, indicates the contact and address of the financial institution used to service the payment of the COD. - - - - - Specifies the name of person or company receiving the secured/unsecured funds payment - - - - - Indicates which type of reference information to include on the COD return shipping label. - - - - - Only used with multi-piece COD shipments sent in multiple transactions. Required on last transaction only. - - - - - - - - - - - - - - - CommercialInvoice element is required for electronic upload of CI data. It will serve to create/transmit an Electronic Commercial Invoice through the FedEx Systems. Customers are responsible for printing their own Commercial Invoice.If you would likeFedEx to generate a Commercial Invoice and transmit it to Customs. for clearance purposes, you need to specify that in the ShippingDocumentSpecification element. If you would like a copy of the Commercial Invoice that FedEx generated returned to you in reply it needs to be specified in the ETDDetail/RequestedDocumentCopies element. Commercial Invoice support consists of maximum of 99 commodity line items. - - - - - Any comments that need to be communicated about this shipment. - - - - - Any freight charges that are associated with this shipment. - - - - - Any taxes or miscellaneous charges(other than Freight charges or Insurance charges) that are associated with this shipment. - - - - - Specifies which kind of charge is being recorded in the preceding field. - - - - - Any packing costs that are associated with this shipment. - - - - - Any handling costs that are associated with this shipment. - - - - - Free-form text. - - - - - Free-form text. - - - - - Free-form text. - - - - - The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice. - - - - - Name of the International Expert that completed the Commercial Invoice different from Sender. - - - - - Required for dutiable international Express or Ground shipments. This field is not applicable to an international PIB(document) or a non-document which does not require a Commercial Invoice. - - - - - - - The instructions indicating how to print the Commercial Invoice( e.g. image type) Specifies characteristics of a shipping document to be produced. - - - - - - Specifies the usage and identification of a customer supplied image to be used on this document. - - - - - - - Information about the transit time and delivery commitment date and time. - - - - - The Commodity applicable to this commitment. - - - - - - Descriptions and alternate identifiers for a service. - - - - - Shows the specific combination of service options combined with the service type that produced this committment in the set returned to the caller. - - - - - Supporting detail for applied options identified in preceding field. - - - - - - - - - THe delivery commitment date/time. Express Only. - - - - - The delivery commitment day of the week. - - - - - The number of transit days; applies to Ground and LTL Freight; indicates minimum transit time for SmartPost. - - - - - Maximum number of transit days, for SmartPost shipments. - - - - - The service area code for the destination of this shipment. Express only. - - - - - The address of the broker to be used for this shipment. - - - - - The FedEx location identifier for the broker. - - - - - The delivery commitment date/time the shipment will arrive at the border. - - - - - The delivery commitment day of the week the shipment will arrive at the border. - - - - - The number of days it will take for the shipment to make it from broker to destination - - - - - The delivery commitment date for shipment served by GSP (Global Service Provider) - - - - - The delivery commitment day of the week for the shipment served by GSP (Global Service Provider) - - - - - Messages concerning the ability to provide an accurate delivery commitment on an International commit quote. These could be messages providing information about why a commitment could not be returned or a successful message such as "REQUEST COMPLETED" - - - - - Messages concerning the delivery commitment on an International commit quote such as "0:00 A.M. IF NO CUSTOMS DELAY" - - - - - Information about why a shipment delivery is delayed and at what level (country/service etc.). - - - - - - Required documentation for this shipment. - - - - - Freight origin and destination city center information and total distance between origin and destination city centers. - - - - - - - The type of delay this shipment will encounter. - - - - - - - - - - - - - - - - - - - - FedEx internal commodity identifier - - - - - - A free-form description of the commodity, which could be used for customs clearance documentation. - - - - - - - - - - - Contains only additional quantitative information other than weight and quantity to calculate duties and taxes. - - - - - - The value of the commodity for customs purposes. The field should be the unit price multiplied by the quantity. - - - - - Defines additional characteristic of commodity used to calculate duties and taxes - - - - - - - - - All data required for this commodity in NAFTA Certificate of Origin. - - - - - - - - - - - - - - - - - - - - - Uniquely identifies a consolidation, which is a logical container for a collection of shipments. - - - - - Specifies the type of consolidation. - - - - - Uniquely identifies the consolidation, within a given type and date. - - - - - The date on which the consolidation was created. - - - - - - - - - - - - - - - - The descriptive data for a point-of-contact person. - - - - - Client provided identifier corresponding to this contact information. - - - - - Identifies the contact person's name. - - - - - Identifies the contact person's title. - - - - - Identifies the company this contact is associated with. - - - - - Identifies the phone number associated with this contact. - - - - - Identifies the phone extension associated with this contact. - - - - - Identifies a toll free number, if any, associated with this contact. - - - - - Identifies the pager number associated with this contact. - - - - - Identifies the fax number associated with this contact. - - - - - Identifies the email address associated with this contact. - - - - - - - - - - - - - Details the contents of the package. - - - - - - - - - - - - - The currency code for the original (converted FROM) currency. - - - - - The currency code for the final (converted INTO) currency. - - - - - Multiplier used to convert fromCurrency units to intoCurrency units. - - - - - - - - - Indicates the type of custom delivery being requested. - - - - - Time by which delivery is requested. - - - - - Range of dates for custom delivery request; only used if type is BETWEEN. - - - - - Date for custom delivery request; only used for types of ON, BETWEEN, or AFTER. - - - - - - - - - - - - - - - Data required to produce a custom-specified document, either at shipment or package level. - - - - - Common information controlling document production. - - - - - Applicable only to documents produced on thermal printers with roll stock. - - - - - Applicable only to documents produced on thermal printers with roll stock. - - - - - Identifies the formatting specification used to construct this custom document. - - - - - - - - Constructed string, based on format and zero or more data fields, printed in specified barcode symbology. - - - - - - - - - Width of thinnest bar/space element in the barcode. - - - - - - - - Solid (filled) rectangular area on label. - - - - - - - - - - - - - - - - - - - - - - - - - Image to be included from printer's memory, or from a local file for offline clients. - - - - - - Printer-specific index of graphic image to be printed. - - - - - Fully-qualified path and file name for graphic image to be printed. - - - - - - - - - Horizontal position, relative to left edge of custom area. - - - - - Vertical position, relative to top edge of custom area. - - - - - - - Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). - - - - - - - - - - Printer-specific font name for use with thermal printer labels. - - - - - Generic font name for use with plain paper labels. - - - - - Generic font size for use with plain paper labels. - - - - - - - - Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). - - - - - - - - Printer-specific font name for use with thermal printer labels. - - - - - Generic font name for use with plain paper labels. - - - - - Generic font size for use with plain paper labels. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Allows customer-specified control of label content. - - - - - If omitted, no doc tab will be produced (i.e. default is former NONE type). - - - - - Controls the position of the customer specified content relative to the FedEx portion. - - - - - - - Controls which data/sections will be suppressed. - - - - - For customers producing their own Ground labels, this field specifies which secondary barcode will be printed on the label; so that the primary barcode produced by FedEx has the correct SCNC. - - - - - - - Controls the number of additional copies of supplemental labels. - - - - - This value reduces the default quantity of destination/consignee air waybill labels. A value of zero indicates no change to default. A minimum of one copy will always be produced. - - - - - - - - - - - - - - - - - Interacts both with properties of the shipment and contractual relationship with the shipper. - - - - - - - Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. - - - - - - - This represents the total commodity value of the shipment plus the charges required by the destination country. - - - - - Identifies responsibilities with respect to loss, damage, etc. - - - - - Documents amount paid to third party for coverage of shipment content. - - - - - - - - - - - - - - - Specifies additional description about customs options. This is a required field when the customs options type is "OTHER". - - - - - - - - - - - - - - - - - - - - - - - - - - - Describes an approved container used to package dangerous goods commodities. This does not describe any individual inner receptacles that may be within this container. - - - - - Indicates whether there are additional inner receptacles within this container. - - - - - Indicates the type of this dangerous goods container, as specified by the IATA packing instructions. For example, steel cylinder, fiberboard box, plastic jerrican and steel drum. - - - - - Indicates the packaging type of the container used to package the radioactive materials. - - - - - Indicates the number of occurrences of this container with identical dangerous goods configuration. - - - - - Documents the kinds and quantities of all hazardous commodities in the current container. - - - - - - - - - - - Shipment is packaged/documented for movement ONLY on cargo aircraft. - - - - - Indicates which kinds of hazardous content are in the current package. - - - - - Indicates whether there is additional customer provided packaging enclosing the approved dangerous goods containers. - - - - - Identifies the configuration of this dangerous goods package. The common configuration is represented at the shipment level. - - - - - Indicates one or more containers used to pack dangerous goods commodities. - - - - - Description of the packaging of this commodity, suitable for use on OP-900 and OP-950 forms. - - - - - Name, title and place of the signatory for this shipment. - - - - - Telephone number to use for contact in the event of an emergency. - - - - - Offeror's name or contract number, per DOT regulation. - - - - - Specifies the contact of the party responsible for handling the infectious substances, if any, in the dangerous goods shipment. - - - - - Specifies additional handling information for the current package. - - - - - Specifies the radioactivity detail for the current package, if the package contains radioactive materials. - - - - - - - - - - - - The instructions indicating how to print the 1421c form for dangerous goods shipment. - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Specifies the usage and identification of customer supplied images to be used on this document. - - - - - - - Specifies that name, title and place of the signatory responsible for the dangerous goods shipment. - - - - - - - Indicates the place where the form is signed. - - - - - - - - - - - - - - - - - - - - - - - - Information about why a shipment delivery is delayed and at what level( country/service etc.). - - - - - The date of the delay - - - - - - The attribute of the shipment that caused the delay(e.g. Country, City, LocationId, Zip, service area, special handling ) - - - - - The point where the delay is occurring (e.g. Origin, Destination, Broker location) - - - - - The reason for the delay (e.g. holiday, weekend, etc.). - - - - - The name of the holiday in that country that is causing the delay. - - - - - - - The attribute of the shipment that caused the delay(e.g. Country, City, LocationId, Zip, service area, special handling ) - - - - - - - - - - - - - - The point where the delay is occurring ( e.g. Origin, Destination, Broker location). - - - - - - - - - - - - - - - Specifies the tracking id for the return, if preassigned. - - - - - - - Data required to complete the Destionation Control Statement for US exports. - - - - - - Comma-separated list of up to four country codes, required for DEPARTMENT_OF_STATE statement. - - - - - Name of end user, required for DEPARTMENT_OF_STATE statement. - - - - - - - - - - - - - - - - - - - - - Driving or other transportation distances, distinct from dimension measurements. - - - - - Identifies the distance quantity. - - - - - Identifies the unit of measure for the distance value. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the name associated with the email address. - - - - - - - - - - - - - - - - - - - - - - - - - Customer-declared value, with data type and legal values depending on excise condition, used in defining the taxable value of the item. - - - - - - - Specifies the types of Estimated Duties and Taxes to be included in a rate quotation for an international shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Electronic Trade document references used with the ETD special service. - - - - - - Indicates the types of shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data. - - - - - - - - The instructions indicating how to print the Export Declaration. - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Specifies the usage and identification of customer supplied images to be used on this document. - - - - - - - - - - General field for exporting-country-specific export data (e.g. B13A for CA, FTSR Exemption or AES Citation for US). - - - - - - - - - - - - - - - - - - - - - - - - - Indicates a FedEx Express operating region. - - - - - - - - - - - - Identifies a kind of FedEx facility. - - - - - - - - - - - - - - - - - Specifies the optional features/characteristics requested for a Freight shipment utilizing a flatbed trailer. - - - - - - - - - - - - - - Data required to produce the Freight handling-unit-level address labels. Note that the number of UNIQUE labels (the N as in 1 of N, 2 of N, etc.) is determined by total handling units. - - - - - - Indicates the number of copies to be produced for each unique label. - - - - - Specifies the quadrant of the page on which the label printing will start. - - - - - If omitted, no doc tab will be produced (i.e. default = former NONE type). - - - - - Controls the position of the customer specified content relative to the FedEx portion. - - - - - - - - Individual charge which contributes to the total base charge for the shipment. - - - - - Freight class for this line item. - - - - - Effective freight class used for rating this line item. - - - - - NMFC Code for commodity. - - - - - Customer-provided description for this commodity or class line. - - - - - Weight for this commodity or class line. - - - - - Rate or factor applied to this line item. - - - - - Identifies the manner in which the chargeRate for this line item was applied. - - - - - The net or extended charge for this line item. - - - - - - - Specifies the way in which base charges for a Freight shipment or shipment leg are calculated. - - - - - - - - - - - - - - - - These values represent the industry-standard freight classes used for FedEx Freight and FedEx National Freight shipment description. (Note: The alphabetic prefixes are required to distinguish these values from decimal numbers on some client platforms.) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Information about the Freight Service Centers associated with this shipment. - - - - - Information about the origin Freight Service Center. - - - - - Information about the destination Freight Service Center. - - - - - The distance between the origin and destination FreightService Centers - - - - - - - - - - Date for all Freight guarantee types. - - - - - - - - - - - - - Identifies responsibilities with respect to loss, damage, etc. - - - - - - - - - Rate data specific to FedEx Freight or FedEx National Freight services. - - - - - A unique identifier for a specific rate quotation. - - - - - Specifies whether the rate quote was automated or manual. - - - - - Specifies how total base charge is determined. - - - - - Freight charges which accumulate to the total base charge for the shipment. - - - - - Human-readable descriptions of additional information on this shipment rating. - - - - - - - Additional non-monetary data returned with Freight rates. - - - - - Unique identifier for notation. - - - - - Human-readable explanation of notation. - - - - - - - Specifies the type of rate quote - - - - - - - - - This class describes the relationship between a customer-specified address and the FedEx Freight / FedEx National Freight Service Center that supports that address. - - - - - Freight Industry standard non-FedEx carrier identification - - - - - The name of the Interline carrier. - - - - - Additional time it might take at the origin or destination to pickup or deliver the freight. This is usually due to the remoteness of the location. This time is included in the total transit time. - - - - - - Distance between customer address (pickup or delivery) and the supporting Freight / National Freight service center. - - - - - Time to travel between customer address (pickup or delivery) and the supporting Freight / National Freight service center. - - - - - Specifies when/how the customer can arrange for pickup or delivery. - - - - - Specifies days of operation if localServiceScheduling is LIMITED. - - - - - Freight service center that is a gateway on the border of Canada or Mexico. - - - - - Alphabetical code identifying a Freight Service Center - - - - - Freight service center Contact and Address - - - - - - - Specifies the type of service scheduling offered from a Freight or National Freight Service Center to a customer-supplied address. - - - - - - - - - - Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. - - - - - Account number used with FEDEX_FREIGHT service. - - - - - Used for validating FedEx Freight account number and (optionally) identifying third party payment on the bill of lading. - - - - - Used in connection with "Send Bill To" (SBT) identification of customer's account used for billing. - - - - - Indicates the role of the party submitting the transaction. - - - - - Designates the terms of the "collect" payment for a Freight Shipment. - - - - - Identifies the declared value for the shipment - - - - - Identifies the declared value units corresponding to the above defined declared value - - - - - - Identifiers for promotional discounts offered to customers. - - - - - Total number of individual handling units in the entire shipment (for unit pricing). - - - - - Estimated discount rate provided by client for unsecured rate quote. - - - - - Total weight of pallets used in shipment. - - - - - Overall shipment dimensions. - - - - - Description for the shipment. - - - - - Specifies which party will pay surcharges for any special services which support split billing. - - - - - - Details of the commodities in the shipment. - - - - - - - Description of an individual commodity or class of content in a shipment. - - - - - A unique identifier assigned to this line item. - - - - - Freight class for this line item. - - - - - Specification of handling-unit packaging for this commodity or class line. - - - - - Number of pieces for this commodity or class line. - - - - - Customer-provided description for this commodity or class line. - - - - - Weight for this commodity or class line. - - - - - - Volume (cubic measure) for this commodity or class line. - - - - - - - Indicates the role of the party submitting the transaction. - - - - - - - - - Specifies which party will be responsible for payment of any surcharges for Freight special services for which split billing is allowed. - - - - - Identifies the special service. - - - - - Indicates who will pay for the special service. - - - - - - - Data required to produce a General Agency Agreement document. Remaining content (business data) to be defined once requirements have been completed. - - - - - - - - Documents the kind and quantity of an individual hazardous commodity in a package. - - - - - Identifies and describes an individual hazardous commodity. - - - - - Specifies the amount of the commodity in alternate units. - - - - - This describes the inner receptacle details for a hazardous commodity within the dangerous goods container. - - - - - Customer-provided specifications for handling individual commodities. - - - - - Specifies the details of any radio active materials within the commodity. - - - - - The total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. - - - - - - - Identifies and describes an individual hazardous commodity. - - - - - Regulatory identifier for a commodity (e.g. "UN ID" value). - - - - - In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. - - - - - - - - - - - - - - Indicates any special processing options to be applied to the description of the dangerous goods commodity. - - - - - Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. - - - - - - - Specifies any special processing to be applied to the dangerous goods commodity description validation. - - - - - - - - This describes information about the inner receptacles for the hazardous commodity in a particular dangerous goods container. - - - - - This specifies the quantity contained in the inner receptacle. - - - - - - - Specifies how the commodity is to be labeled. - - - - - - - - - - Customer-provided specifications for handling individual commodities. - - - - - Specifies how the customer wishes the label text to be handled for this commodity in this package. - - - - - Text used in labeling the commodity under control of the labelTextOption field. - - - - - - - Indicates which kind of hazardous content is being reported. - - - - - - - - - - - - - Identifies number and type of packaging units for hazardous commodities. - - - - - Number of units of the type below. - - - - - Units in which the hazardous commodity is packaged. - - - - - - - Specifies documentation and limits for validation of an individual packing group/category. - - - - - - Coded specification for how commodity is to be packed. - - - - - - - Identifies DOT packing group for a hazardous commodity. - - - - - - - - - - - Identifies amount and units for quantity of hazardous commodities. - - - - - Number of units of the type below. - - - - - Units by which the hazardous commodity is measured. For IATA commodity, the units values are restricted based on regulation type. - - - - - Specifies which measure of quantity is to be validated. - - - - - - - Specifies the measure of quantity to be validated against a prescribed limit. - - - - - - - - - Identifies the source of regulation for hazardous commodity data. - - - - - - - - - - - - - - - - - - Contact phone number for recipient of shipment. - - - - - Contact and address of FedEx facility at which shipment is to be held. - - - - - Type of facility at which package/shipment is to be held. - - - - - Location identification (for facilities identified by an alphanumeric location code). - - - - - Location identification (for facilities identified by an numeric location code). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Names for data elements / areas which may be suppressed from printing on labels. - - - - - - - - - - - - - - - - - - Specifies the order in which the labels will be returned - - - - - - - - - - - - - - - Relative to normal orientation for the printer. - - - - - - - - - - - - - - - - - - Specifies the order in which the labels are requested to be returned - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifies the Liability Coverage Amount. For Jan 2010 this value represents coverage amount per pound - - - - - - - - - - - - - Represents a one-dimensional measurement in small units (e.g. suitable for measuring a package or document), contrasted with Distance, which represents a large one-dimensional measurement (e.g. distance between cities). - - - - - The numerical quantity of this measurement. - - - - - The units for this measurement. - - - - - - - - - - - - - Identifies the representation of human-readable text. - - - - - Two-letter code for language (e.g. EN, FR, etc.) - - - - - Two-letter code for the region (e.g. us, ca, etc..). - - - - - - - - - - - - - - - - - - - - - - - - - - - - Data required to produce a Certificate of Origin document. Remaining content (business data) to be defined once requirements have been completed. - - - - - - - Indicates which Party (if any) from the shipment is to be used as the source of importer data on the NAFTA COO form. - - - - - Contact information for "Authorized Signature" area of form. - - - - - - - - - - - - Defined by NAFTA regulations. - - - - - Defined by NAFTA regulations. - - - - - Identification of which producer is associated with this commodity (if multiple producers are used in a single shipment). - - - - - - Date range over which RVC net cost was calculated. - - - - - - - - - - - - - - - - - - - - - See instructions for NAFTA Certificate of Origin for code definitions. - - - - - - - - - - - - - - - - - - - See instructions for NAFTA Certificate of Origin for code definitions. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The descriptive data regarding the result of the submitted transaction. - - - - - The severity of this notification. This can indicate success or failure or some other information about the request. The values that can be returned are SUCCESS - Your transaction succeeded with no other applicable information. NOTE - Additional information that may be of interest to you about your transaction. WARNING - Additional information that you need to know about your transaction that you may need to take action on. ERROR - Information about an error that occurred while processing your transaction. FAILURE - FedEx was unable to process your transaction at this time due to a system failure. Please try again later - - - - - Indicates the source of this notification. Combined with the Code it uniquely identifies this notification - - - - - A code that represents this notification. Combined with the Source it uniquely identifies this notification. - - - - - Human-readable text that explains this notification. - - - - - The translated message. The language and locale specified in the ClientDetail. Localization are used to determine the representation. Currently only supported in a TrackReply. - - - - - A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) without having to parse the message string. - - - - - - - - - Indicates the type of notification that will be sent. - - - - - Specifies the email notification details. - - - - - Specifies the localization for this notification. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifies the type of data contained in Value (e.g. SERVICE_TYPE, PACKAGE_SEQUENCE, etc..). - - - - - The value of the parameter (e.g. PRIORITY_OVERNIGHT, 2, etc..). - - - - - - - - - - - - - - - - - - - - - The instructions indicating how to print the OP-900 form for hazardous materials packages. - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Identifies which reference type (from the package's customer references) is to be used as the source for the reference on this OP-900. - - - - - Specifies the usage and identification of customer supplied images to be used on this document. - - - - - Data field to be used when a name is to be printed in the document instead of (or in addition to) a signature image. - - - - - - - - - - - - - - Data for a package's rates, as calculated per a specific rate type. - - - - - Type used for this specific set of rate data. - - - - - Indicates which weight was used. - - - - - INTERNAL FEDEX USE ONLY. - - - - - - The dimensional weight of this package (if greater than actual). - - - - - The oversize weight of this package (if the package is oversize). - - - - - The transportation charge only (prior to any discounts applied) for this package. - - - - - The sum of all discounts on this package. - - - - - This package's baseCharge - totalFreightDiscounts. - - - - - The sum of all surcharges on this package. - - - - - This package's netFreight + totalSurcharges (not including totalTaxes). - - - - - The sum of all taxes on this package. - - - - - This package's netFreight + totalSurcharges + totalTaxes. - - - - - - All rate discounts that apply to this package. - - - - - All rebates that apply to this package. - - - - - All surcharges that apply to this package (either because of characteristics of the package itself, or because it is carrying per-shipment surcharges for the shipment of which it is a part). - - - - - All taxes applicable (or distributed to) this package. - - - - - - - - These special services are available at the package level for some or all service types. If the shipper is requesting a special service which requires additional data, the package special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. - - - - - Indicates the package special service types that are requested on this shipment. For a list of the valid package special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. - - - - - For use with FedEx Ground services only; COD must be present in shipment's special services. - - - - - - Provides details about the batteries or cells that are contained within this specific package. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This information describes the kind of pending shipment being requested. - - - - - - Date after which the pending shipment will no longer be available for completion. - - - - - - These are documents that are recommended to be included with the shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This enumeration rationalizes the former FedEx Express international "admissibility package" types (based on ANSI X.12) and the FedEx Freight packaging types. The values represented are those common to both carriers. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This class describes the pickup characteristics of a shipment (e.g. for use in a tag request). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The type of name (long, medium, short, etc.) to which this value refers. - - - - - The character encoding used to represent this product name. For example, UTF-8. - - - - - - - - - - - - - - - - - - Indicates the packaging type of the container used to package radioactive hazardous materials. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates whether packaging type "EXCEPTED" or "EXCEPTED_PACKAGE" is for radioactive material in reportable quantity. - - - - - - - - - Indicates the reason that a dim divisor value was chose. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Selects the value from a set of rate data to which the percentage is applied. - - - - - - - - - - - The response to a RateRequest. The Notifications indicate whether the request was successful or not. - - - - - This indicates the highest level of severity of all the notifications returned in this reply. - - - - - The descriptive data regarding the results of the submitted transaction. - - - - - Contains the CustomerTransactionId that was sent in the request. - - - - - The version of this reply. - - - - - Each element contains all rate data for a single service. If service was specified in the request, there will be a single entry in this array; if service was omitted in the request, there will be a separate entry in this array for each service being compared. - - - - - - - - - - Descriptions and alternate identifiers for a service. - - - - - - Shows the specific combination of service options combined with the service type that produced this committment in the set returned to the caller. - - - - - Supporting detail for applied options identified in preceding field. - - - - - - - - - - - Not populated by FAST service in Jan07. - - - - - Not populated by FAST service in Jan07. - - - - - Not populated by FAST service in Jan07. - - - - - Maximum expected transit time - - - - - Not populated by FAST service in Jan07. Actual signature option applied, to allow for cases in wihch the original value conflicted with other service features in the shipment. - - - - - - Each element contains all rate data for a single rate type. - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - Allows the caller to specify that the transit time and commit data are to be returned in the reply. - - - - - Candidate carriers for rate-shopping use case. This field is only considered if requestedShipment/serviceType is omitted. - - - - - Contains zero or more service options whose combinations are to be considered when replying with available services. - - - - - If provided, identifies the consolidation to which this open shipment should be added after successful creation. - - - - - The shipment for which a rate quote (or rate-shopping comparison) is desired. - - - - - - - - - - - - - - Select the type of rate from which the element is to be selected. - - - - - - - - - - - Echoed from the corresponding package in the rate request (if provided). - - - - - Used with request containing PACKAGE_GROUPS, to identify which group of identical packages was used to produce a reply item. - - - - - The difference between "list" and "account" net charge. - - - - - Ground COD is shipment level. - - - - - - Rate data that are tied to a specific package and rate type combination. - - - - - - - This class groups the shipment and package rating data for a specific rate type for use in a rating reply, which groups result data by rate type. - - - - - The difference between "list" and "account" total net charge. - - - - - Express COD is shipment level. - - - - - The shipment-level totals for this rate type. - - - - - The package-level data for this rate type. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. - - - - - Specifies the kind of identification being used. - - - - - Contains the actual ID value, of the type specified above. - - - - - - - - - - - - - - Specifies the details about documents that are recommended to be included with the shipment for ease of shipment processing and transportation. - - - - - - - - Type of documents that are recommended to be included with the shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies details needed to generate any label artifacts required due to regulatory requirements. - - - - - - Specifies how the customer requested the regulatory label to be generated. - - - - - - - - - - - - Describes the vertical position of an item relative to another item. - - - - - - - - - - - A unique identifier of each requested package line item. - - - - - An identifier of each group of identical packages. - - - - - Used as the number or count of identical packages in a group. - - - - - - Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. - - - - - Represents the gross weight of the package line item. - - - - - - Provides additional detail on how the customer has physically packaged this item. As of June 2009, required for packages moving under international and SmartPost services. - - - - - - Human-readable text describing the package. - - - - - Human-readable text describing the contents of the package to be used for clearance purposes. - - - - - - - Details the contents of the package. - - - - - - - - - - - - This field contains the service type values, like PRIORITY_OVERNIGHT and FEDEX_GROUND. - - - - - This field contains the packaging type values, like YOUR_PACKAGING and FEDEX_ENVELOPE. - - - - - The shipment variations for the current shipment expressed in key-value pairs. - - - - - - Specifies the total declared value for carriage of the shipment. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the shipment. - - - - - This attribute indicates the currency the caller requests to have used in all returned monetary values (when a choice is possible). - - - - - Specifies details about the entity responsible for the shipment. - - - - - - - - Physical starting address for the shipment, if different from shipper's address. - - - - - The sold-to party is used for customs clearance; for example, in support of US import customs rules. The need for this field could vary based on whether a sold-to party was specified on a consolidation. - - - - - - - - Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. - - - - - Used with Ground Home Delivery and Freight. - - - - - - Customs clearance data, used for both international and intra-country shipping. - - - - - For use in "process tag" transaction. - - - - - Specifies the characteristics of a shipment pertaining to SmartPost services. - - - - - If true, only the shipper/payor will have visibility of this shipment. - - - - - - Contains data used to create additional (non-label) shipping documents. - - - - - Specifies whether and what kind of rates the customer wishes to have quoted on this shipment. The reply will also be constrained by other data on the shipment and customer. - - - - - Specifies whether the customer wishes to have Estimated Duties and Taxes provided with the rate quotation on this shipment. Only applies with shipments moving under international services. - - - - - The total number of packages in the entire shipment (even when the shipment spans multiple transactions.) - - - - - Specifies which package-level data values are provided at the shipment-level only. The package-level data values types specified here will not be provided at the package-level. - - - - - Specifies data structures that may be re-used multiple times with s single shipment. - - - - - One or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics all packages in the shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the tracking number of the master associated with the return shipment. - - - - - - - - These values are used to control the availability of certain special services at the time when a customer uses the e-mail label link to create a return shipment. - - - - - - - - - - - - Identifies the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created. Only services represented in EMailLabelAllowedSpecialServiceType will be controlled by this list. - - - - - - - The instructions indicating how to print the return instructions( e.g. image type) Specifies characteristics of a shipping document to be produced. - - - - - - Specifies additional customer provided text to be inserted into the return document. - - - - - - - - - - - - - - - - - - - - - - The "PAYOR..." rates are expressed in the currency identified in the payor's rate table(s). The "RATED..." rates are expressed in the currency of the origin country. Former "...COUNTER..." values have become "...RETAIL..." values, except for PAYOR_COUNTER and RATED_COUNTER, which have been removed. - - - - - - - - - - - - - - - - - June 2011 ITG 121203 IR-RMA number has been removed from this structure and added as a new customer reference type. The structure remains because of the reason field below. - - - - - - - - Describes the rotation of an item from its default orientation. - - - - - - - - - - - - - - - - - - - - - - - Branded, translated, and/or localized names for this service. - - - - - - - - - These values control the optional features of service that may be combined in a commitment/rate comparision transaction. - - - - - - - - - - - - Supporting detail for applied options identified in a rate quote. - - - - - Identifies the type of Freight Guarantee applied, if FREIGHT_GUARANTEE is applied to the rate quote. - - - - - Identifies the smartPostHubId used during rate quote, if SMART_POST_HUB_ID is a variable option on the rate request. - - - - - Identifies the indicia used during rate quote, if SMART_POST_ALLOWED_INDICIA is a variable option on the rate request. - - - - - - - - - - - - Specifies data structures that may be re-used multiple times with s single shipment. - - - - - Specifies the data that is common to dangerous goods packages in the shipment. This is populated when the shipment contains packages with identical dangerous goods commodities. - - - - - - - Shipment-level totals of dry ice data across all packages. - - - - - Total number of packages in the shipment that contain dry ice. - - - - - Total shipment dry ice weight for all packages. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type. - - - - - Human-readable text describing the shipment leg. - - - - - Origin for this leg. - - - - - Specifies the location id the origin of shipment leg. - - - - - Destination for this leg. - - - - - Specifies the location id the destination of shipment leg. - - - - - Type used for this specific set of rate data. - - - - - Indicates the rate scale used. - - - - - Indicates the rate zone used (based on origin and destination). - - - - - - Indicates which weight was used. - - - - - INTERNAL FEDEX USE ONLY. - - - - - Specifies the currency exchange performed on financial amounts for this rate. - - - - - Indicates which special rating cases applied to this shipment. - - - - - - Identifies the type of dim divisor that was applied. - - - - - - - Sum of dimensional weights for all packages. - - - - - - - - - This shipment's totalNetFreight + totalSurcharges (not including totalTaxes). - - - - - Total of the transportation-based taxes. - - - - - - - Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment. - - - - - This shipment's totalNetCharge + totalDutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account. - - - - - Rate data specific to FedEx Freight and FedEx National Freight services. - - - - - All rate discounts that apply to this shipment. - - - - - All rebates that apply to this shipment. - - - - - All surcharges that apply to this shipment. - - - - - All transportation-based taxes applicable to this shipment. - - - - - All commodity-based duties and taxes applicable to this shipment. - - - - - The "order level" variable handling charges. - - - - - The total of all variable handling charges at both shipment (order) and package level. - - - - - - - - - - - - - - - - - - - - - - - - - - These values identify which package-level data values will be provided at the shipment-level. - - - - - - - - - - Data for a shipment's total/summary rates, as calculated per a specific rate type. The "total..." fields may differ from the sum of corresponding package data for Multiweight or Express MPS. - - - - - Type used for this specific set of rate data. - - - - - Indicates the rate scale used. - - - - - Indicates the rate zone used (based on origin and destination). - - - - - - Indicates which weight was used. - - - - - INTERNAL FEDEX USE ONLY. - - - - - Specifies the currency exchange performed on financial amounts for this rate. - - - - - Indicates which special rating cases applied to this shipment. - - - - - - Identifies the type of dim divisor that was applied. - - - - - - - Sum of dimensional weights for all packages. - - - - - - - - - This shipment's totalNetFreight + totalSurcharges (not including totalTaxes). - - - - - Total of the transportation-based taxes. - - - - - - - Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment. - - - - - Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. - - - - - The total of the totalDutiesAndTaxes plus the totalAncillaryFeesAndTaxes. - - - - - This shipment's totalNetCharge + totalDutiesTaxesAndFees; some duties and taxes are only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account. - - - - - Identifies the Rate Details per each leg in a Freight Shipment - - - - - Rate data specific to FedEx Freight and FedEx National Freight services. - - - - - All rate discounts that apply to this shipment. - - - - - All rebates that apply to this shipment. - - - - - All surcharges that apply to this shipment. - - - - - All transportation-based taxes applicable to this shipment. - - - - - All commodity-based duties and taxes applicable to this shipment. - - - - - Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. - - - - - The "order level" variable handling charges. - - - - - The total of all variable handling charges at both shipment (order) and package level. - - - - - - - These special services are available at the shipment level for some or all service types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. - - - - - Indicates the shipment special service types that are requested on this shipment. For a list of the valid shipment special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. - - - - - - - - This replaces eMailNotificationDetail - - - - - - This field should be populated for pending shipments (e.g. e-mail label) It is required by a PENDING_SHIPMENT special service type. - - - - - - - - - - - Electronic Trade document references. - - - - - Specification for date or range of dates on which delivery is to be attempted. - - - - - - - - - Specifies the name or the key for the shipment variation. - - - - - The values that are valid for the specified shipment variation in the context of the current shipment. - - - - - - - - - This indicates the identifier of a conveyance, such as a trailer ID. - - - - - - - Each occurrence of this class specifies a particular way in which a kind of shipping document is to be produced and provided. - - - - - Values in this field specify how to create and return the document. - - - - - Specifies how to organize all documents of this type. - - - - - Specifies how to e-mail document images. - - - - - Specifies how a queued document is to be printed. - - - - - - - Specifies how to return a shipping document to the caller. - - - - - - - - - - - - - - - Specifies how to e-mail shipping documents. - - - - - Provides the roles and email addresses for e-mail recipients. - - - - - Identifies the convention by which documents are to be grouped as e-mail attachments. - - - - - Specifies the language in which the email containing the document is requested to be composed. - - - - - - - - - - - - - Specifies an individual recipient of e-mailed shipping document(s). - - - - - Identifies the relationship of this recipient in the shipment. - - - - - Address to which the document is to be sent. - - - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Specifies how to create, organize, and return the document. - - - - - Specifies how far down the page to move the beginning of the image; allows for printing on letterhead and other pre-printed stock. - - - - - - - For those shipping document types which have both a "form" and "instructions" component (e.g. NAFTA Certificate of Origin and General Agency Agreement), this field indicates whether to provide the instructions. - - - - - - Governs the language to be used for this individual document, independently from other content returned for the same shipment. - - - - - - - Specifies how to organize all shipping documents of the same type. - - - - - - - - - Specifies the image format used for a shipping document. - - - - - - - - - - - Specifies printing options for a shipping document. - - - - - Provides environment-specific printer identification. - - - - - - - Contains all data required for additional (non-label) shipping documents to be produced in conjunction with a specific shipment. - - - - - Indicates the types of shipping documents requested by the shipper. - - - - - - - Specifies the production of each package-level custom document (the same specification is used for all packages). - - - - - Specifies the production of a shipment-level custom document. - - - - - - - - Specifies the production of the OP-900 document for hazardous materials packages. - - - - - Specifies the production of the 1421c document for dangerous goods shipment. - - - - - Specifies the production of the OP-900 document for hazardous materials. - - - - - Specifies the production of the return instructions document. - - - - - - - Specifies the type of paper (stock) on which a document will be printed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - These values are mutually exclusive; at most one of them can be attached to a SmartPost shipment. - - - - - - - - - - - - - - - - - - - - - Data required for shipments handled under the SMART_POST and GROUND_SMART_POST service types. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifice the kind of tax or miscellaneous charge being reported on a Commercial Invoice. - - - - - - - - - - - - - - - - - Identifies the usage of Tax Identification Number in Shipment processing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Free form text to be echoed back in the reply. Used to match requests and replies. - - - - - Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the application that is responsible for managing the document id. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Description of the uploaded document. - - - - - - - - - - - - - - - - - - - - - - This definition of variable handling charge detail is intended for use in Jan 2011 corp load. - - - - - - Actual percentage (10 means 10%, which is a mutiplier of 0.1) - - - - - Select the value from a set of rate data to which the percentage is applied. - - - - - Select the type of rate from which the element is to be selected. - - - - - - - - - - - - - - - Three-dimensional volume/cubic measurement. - - - - - - - - - Units of three-dimensional volume/cubic measure. - - - - - - - - - The descriptive data for the heaviness of an object. - - - - - Identifies the unit of measure associated with a weight value. - - - - - Identifies the weight value of a package/shipment. - - - - - - - - - - - - - Used in authentication of the sender's identity. - - - - - This was renamed from cspCredential. - - - - - Credential used to authenticate a specific software application. This value is provided by FedEx after registration. - - - - - - - Two part authentication string used for the sender's identity - - - - - Identifying part of authentication credential. This value is provided by FedEx after registration - - - - - Secret part of authentication key. This value is provided by FedEx after registration. - - - - - - - Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply). - - - - - Identifies a system or sub-system which performs an operation. - - - - - Identifies the service business level. - - - - - Identifies the service interface level. - - - - - Identifies the service code level. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + Specifies additional labels to be produced. All required labels for shipments will be produced without the need to request additional labels. These are only available as thermal labels. + + + + + The type of additional labels to return. + + + + + The number of this type label to return + + + + + + + + + + + + + + + + + + + Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US). + + + + + Combination of number, street name, etc. At least one line is required for a valid physical address; empty lines should not be included. + + + + + Name of city, town, etc. + + + + + Identifying abbreviation for US state, Canada province, etc. Format and presence of this field will vary, depending on country. + + + + + Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country. + + + + + Relevant only to addresses in Puerto Rico. + + + + + The two-letter code used to identify a country. + + + + + The fully spelt out name of a country. + + + + + Indicates whether this address residential (as opposed to commercial). + + + + + The geographic coordinates cooresponding to this address. + + + + + + + Specifies details for a package containing alcohol + + + + + The license type that the recipient of the alcohol package. + + + + + + + Specifies the type of license that the recipient of the alcohol shipment has. + + + + + + + + + + + + + + + + + + + + + + + + + + A freight line item identifier referring to a freight shipment line item that describes goods contained within this handling unit. + + + + + + + + + + + + + + + + Identification of the type of barcode (symbology) used on FedEx documents and labels. + + + + + + + + + + + + + + + + + + + + Describes attributes of a battery or cell that are used for classification purposes. Typically this structure would be used to allow customers to declare batteries or cells for which full dangerous goods documentation and procedures are not required. + + + + + Describes the material composition of the battery or cell. + + + + + Describes the packing arrangement of the battery or cell with respect to other items within the same package. + + + + + A regulation specific classification for the battery or cell. + + + + + + + Describes the material composition of a battery or cell. + + + + + + + + + Describes the packing arrangement of a battery or cell with respect to other items within the same package. + + + + + + + + + A regulation specific classification for a battery or cell. + + + + + + + + + + + + + + + + + + + + Identification of a FedEx operating company (transportation). + + + + + + + + + + + + + + The instructions indicating how to print the Certificate of Origin ( e.g. whether or not to include the instructions, image type, etc ...) + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + + + + + + + + + + + This represents the internal FedEx-system recognized country code. + + + + + This represents the internal FedEx-system recognized state or province code. + + + + + This represents the internal FedEx-system recognized postal code. + + + + + + The unique location identifier + + + + + The op-co specific numeric identifier for a location + + + + + + + + Specifies the type of brokerage to be applied to a shipment. + + + + + + + + + + + + Descriptive data for the client submitting a transaction. + + + + + The FedEx account number associated with this transaction. + + + + + This number is assigned by FedEx and identifies the unique device from which the request is originating + + + + + Only used in transactions which require identification of the FedEx Office integrator. + + + + + Indicates the region from which the transaction is submitted. + + + + + The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) + + + + + + + + + + + + + + + + + Select the type of rate from which the element is to be selected. + + + + + + + + + Identifies the type of funds FedEx should collect upon shipment delivery. + + + + + + + + + + Descriptive data required for a FedEx COD (Collect-On-Delivery) shipment. + + + + + + Specifies the details of the charges are to be added to the COD collect amount. + + + + + Identifies the type of funds FedEx should collect upon package delivery + + + + + For Express this is the descriptive data that is used for the recipient of the FedEx Letter containing the COD payment. For Ground this is the descriptive data for the party to receive the payment that prints the COD receipt. + + + + + When the FedEx COD payment type is not CASH, indicates the contact and address of the financial institution used to service the payment of the COD. + + + + + Specifies the name of person or company receiving the secured/unsecured funds payment + + + + + Indicates which type of reference information to include on the COD return shipping label. + + + + + Only used with multi-piece COD shipments sent in multiple transactions. Required on last transaction only. + + + + + + + + + + + + + + + CommercialInvoice element is required for electronic upload of CI data. It will serve to create/transmit an Electronic Commercial Invoice through the FedEx Systems. Customers are responsible for printing their own Commercial Invoice.If you would likeFedEx to generate a Commercial Invoice and transmit it to Customs. for clearance purposes, you need to specify that in the ShippingDocumentSpecification element. If you would like a copy of the Commercial Invoice that FedEx generated returned to you in reply it needs to be specified in the ETDDetail/RequestedDocumentCopies element. Commercial Invoice support consists of maximum of 99 commodity line items. + + + + + Any comments that need to be communicated about this shipment. + + + + + Any freight charges that are associated with this shipment. + + + + + Any taxes or miscellaneous charges(other than Freight charges or Insurance charges) that are associated with this shipment. + + + + + Specifies which kind of charge is being recorded in the preceding field. + + + + + Any packing costs that are associated with this shipment. + + + + + Any handling costs that are associated with this shipment. + + + + + Free-form text. + + + + + Free-form text. + + + + + Free-form text. + + + + + The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice. + + + + + Name of the International Expert that completed the Commercial Invoice different from Sender. + + + + + Required for dutiable international Express or Ground shipments. This field is not applicable to an international PIB(document) or a non-document which does not require a Commercial Invoice. + + + + + + + The instructions indicating how to print the Commercial Invoice( e.g. image type) Specifies characteristics of a shipping document to be produced. + + + + + + Specifies the usage and identification of a customer supplied image to be used on this document. + + + + + + + Information about the transit time and delivery commitment date and time. + + + + + The Commodity applicable to this commitment. + + + + + + Descriptions and alternate identifiers for a service. + + + + + Shows the specific combination of service options combined with the service type that produced this committment in the set returned to the caller. + + + + + Supporting detail for applied options identified in preceding field. + + + + + + + + + THe delivery commitment date/time. Express Only. + + + + + The delivery commitment day of the week. + + + + + The number of transit days; applies to Ground and LTL Freight; indicates minimum transit time for SmartPost. + + + + + Maximum number of transit days, for SmartPost shipments. + + + + + The service area code for the destination of this shipment. Express only. + + + + + The address of the broker to be used for this shipment. + + + + + The FedEx location identifier for the broker. + + + + + The delivery commitment date/time the shipment will arrive at the border. + + + + + The delivery commitment day of the week the shipment will arrive at the border. + + + + + The number of days it will take for the shipment to make it from broker to destination + + + + + The delivery commitment date for shipment served by GSP (Global Service Provider) + + + + + The delivery commitment day of the week for the shipment served by GSP (Global Service Provider) + + + + + Messages concerning the ability to provide an accurate delivery commitment on an International commit quote. These could be messages providing information about why a commitment could not be returned or a successful message such as "REQUEST COMPLETED" + + + + + Messages concerning the delivery commitment on an International commit quote such as "0:00 A.M. IF NO CUSTOMS DELAY" + + + + + Information about why a shipment delivery is delayed and at what level (country/service etc.). + + + + + + Required documentation for this shipment. + + + + + Freight origin and destination city center information and total distance between origin and destination city centers. + + + + + + + The type of delay this shipment will encounter. + + + + + + + + + + + + + + + + + + + + FedEx internal commodity identifier + + + + + + A free-form description of the commodity, which could be used for customs clearance documentation. + + + + + + + + + + + Contains only additional quantitative information other than weight and quantity to calculate duties and taxes. + + + + + + The value of the commodity for customs purposes. The field should be the unit price multiplied by the quantity. + + + + + Defines additional characteristic of commodity used to calculate duties and taxes + + + + + + + + + + + + + + + + + + + + + + + + + + Uniquely identifies a consolidation, which is a logical container for a collection of shipments. + + + + + Specifies the type of consolidation. + + + + + Uniquely identifies the consolidation, within a given type and date. + + + + + The date on which the consolidation was created. + + + + + + + + + + + + + + + + The descriptive data for a point-of-contact person. + + + + + Client provided identifier corresponding to this contact information. + + + + + Identifies the contact person's name. + + + + + Identifies the contact person's title. + + + + + Identifies the company this contact is associated with. + + + + + Identifies the phone number associated with this contact. + + + + + Identifies the phone extension associated with this contact. + + + + + Identifies a toll free number, if any, associated with this contact. + + + + + Identifies the pager number associated with this contact. + + + + + Identifies the fax number associated with this contact. + + + + + Identifies the email address associated with this contact. + + + + + + + + + + + + + Details the contents of the package. + + + + + + + + + + + + + The currency code for the original (converted FROM) currency. + + + + + The currency code for the final (converted INTO) currency. + + + + + Multiplier used to convert fromCurrency units to intoCurrency units. + + + + + + + + + Indicates the type of custom delivery being requested. + + + + + Time by which delivery is requested. + + + + + Range of dates for custom delivery request; only used if type is BETWEEN. + + + + + Date for custom delivery request; only used for types of ON, BETWEEN, or AFTER. + + + + + + + + + + + + + + + Data required to produce a custom-specified document, either at shipment or package level. + + + + + Common information controlling document production. + + + + + Applicable only to documents produced on thermal printers with roll stock. + + + + + Applicable only to documents produced on thermal printers with roll stock. + + + + + Identifies the formatting specification used to construct this custom document. + + + + + + + + Constructed string, based on format and zero or more data fields, printed in specified barcode symbology. + + + + + + + + + Width of thinnest bar/space element in the barcode. + + + + + + + + Solid (filled) rectangular area on label. + + + + + + + + + + + + + + + + + + + + + + + + + Image to be included from printer's memory, or from a local file for offline clients. + + + + + + Printer-specific index of graphic image to be printed. + + + + + Fully-qualified path and file name for graphic image to be printed. + + + + + + + + + Horizontal position, relative to left edge of custom area. + + + + + Vertical position, relative to top edge of custom area. + + + + + + + Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). + + + + + + + + + + Printer-specific font name for use with thermal printer labels. + + + + + Generic font name for use with plain paper labels. + + + + + Generic font size for use with plain paper labels. + + + + + + + + Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). + + + + + + + + Printer-specific font name for use with thermal printer labels. + + + + + Generic font name for use with plain paper labels. + + + + + Generic font size for use with plain paper labels. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Allows customer-specified control of label content. + + + + + If omitted, no doc tab will be produced (i.e. default is former NONE type). + + + + + Controls the position of the customer specified content relative to the FedEx portion. + + + + + + + Controls which data/sections will be suppressed. + + + + + For customers producing their own Ground labels, this field specifies which secondary barcode will be printed on the label; so that the primary barcode produced by FedEx has the correct SCNC. + + + + + + + Controls the number of additional copies of supplemental labels. + + + + + This value reduces the default quantity of destination/consignee air waybill labels. A value of zero indicates no change to default. A minimum of one copy will always be produced. + + + + + + + + + + + + + + + + + Interacts both with properties of the shipment and contractual relationship with the shipper. + + + + + + + Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. + + + + + + + This represents the total commodity value of the shipment plus the charges required by the destination country. + + + + + Identifies responsibilities with respect to loss, damage, etc. + + + + + Documents amount paid to third party for coverage of shipment content. + + + + + + + + + + + + + + + Specifies additional description about customs options. This is a required field when the customs options type is "OTHER". + + + + + + + + + + + + + + + + + + + + + + + + + + + Describes an approved container used to package dangerous goods commodities. This does not describe any individual inner receptacles that may be within this container. + + + + + Indicates whether there are additional inner receptacles within this container. + + + + + Indicates the type of this dangerous goods container, as specified by the IATA packing instructions. For example, steel cylinder, fiberboard box, plastic jerrican and steel drum. + + + + + Indicates the packaging type of the container used to package the radioactive materials. + + + + + Indicates the number of occurrences of this container with identical dangerous goods configuration. + + + + + Documents the kinds and quantities of all hazardous commodities in the current container. + + + + + + + + + + + Shipment is packaged/documented for movement ONLY on cargo aircraft. + + + + + Indicates which kinds of hazardous content are in the current package. + + + + + Indicates whether there is additional customer provided packaging enclosing the approved dangerous goods containers. + + + + + Identifies the configuration of this dangerous goods package. The common configuration is represented at the shipment level. + + + + + Indicates one or more containers used to pack dangerous goods commodities. + + + + + Description of the packaging of this commodity, suitable for use on OP-900 and OP-950 forms. + + + + + Name, title and place of the signatory for this shipment. + + + + + Telephone number to use for contact in the event of an emergency. + + + + + Offeror's name or contract number, per DOT regulation. + + + + + Specifies the contact of the party responsible for handling the infectious substances, if any, in the dangerous goods shipment. + + + + + Specifies additional handling information for the current package. + + + + + Specifies the radioactivity detail for the current package, if the package contains radioactive materials. + + + + + + + + + + + + The instructions indicating how to print the 1421c form for dangerous goods shipment. + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + + + Specifies that name, title and place of the signatory responsible for the dangerous goods shipment. + + + + + + + Indicates the place where the form is signed. + + + + + + + + + + + + + + + + + + + + + + + + Information about why a shipment delivery is delayed and at what level( country/service etc.). + + + + + The date of the delay + + + + + + The attribute of the shipment that caused the delay(e.g. Country, City, LocationId, Zip, service area, special handling ) + + + + + The point where the delay is occurring (e.g. Origin, Destination, Broker location) + + + + + The reason for the delay (e.g. holiday, weekend, etc.). + + + + + The name of the holiday in that country that is causing the delay. + + + + + + + The attribute of the shipment that caused the delay(e.g. Country, City, LocationId, Zip, service area, special handling ) + + + + + + + + + + + + + + The point where the delay is occurring ( e.g. Origin, Destination, Broker location). + + + + + + + + + + + + + + + Specifies the tracking id for the return, if preassigned. + + + + + + + Data required to complete the Destionation Control Statement for US exports. + + + + + + Comma-separated list of up to four country codes, required for DEPARTMENT_OF_STATE statement. + + + + + Name of end user, required for DEPARTMENT_OF_STATE statement. + + + + + + + + + + + + + + + + + + + + + Driving or other transportation distances, distinct from dimension measurements. + + + + + Identifies the distance quantity. + + + + + Identifies the unit of measure for the distance value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the name associated with the email address. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Customer-declared value, with data type and legal values depending on excise condition, used in defining the taxable value of the item. + + + + + + + Specifies the types of Estimated Duties and Taxes to be included in a rate quotation for an international shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Electronic Trade document references used with the ETD special service. + + + + + + Indicates the types of shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data. + + + + + + + + The instructions indicating how to print the Export Declaration. + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + + + + + + General field for exporting-country-specific export data (e.g. B13A for CA, FTSR Exemption or AES Citation for US). + + + + + + + + + + + + + + + + + + + + + + + + + Indicates a FedEx Express operating region. + + + + + + + + + + + + Identifies a kind of FedEx facility. + + + + + + + + + + + + + + + + + Specifies the optional features/characteristics requested for a Freight shipment utilizing a flatbed trailer. + + + + + + + + + + + + + + Data required to produce the Freight handling-unit-level address labels. Note that the number of UNIQUE labels (the N as in 1 of N, 2 of N, etc.) is determined by total handling units. + + + + + + Indicates the number of copies to be produced for each unique label. + + + + + Specifies the quadrant of the page on which the label printing will start. + + + + + If omitted, no doc tab will be produced (i.e. default = former NONE type). + + + + + Controls the position of the customer specified content relative to the FedEx portion. + + + + + + + + Individual charge which contributes to the total base charge for the shipment. + + + + + Freight class for this line item. + + + + + Effective freight class used for rating this line item. + + + + + NMFC Code for commodity. + + + + + Customer-provided description for this commodity or class line. + + + + + Weight for this commodity or class line. + + + + + Rate or factor applied to this line item. + + + + + Identifies the manner in which the chargeRate for this line item was applied. + + + + + The net or extended charge for this line item. + + + + + + + Specifies the way in which base charges for a Freight shipment or shipment leg are calculated. + + + + + + + + + + + + + + + + These values represent the industry-standard freight classes used for FedEx Freight and FedEx National Freight shipment description. (Note: The alphabetic prefixes are required to distinguish these values from decimal numbers on some client platforms.) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Information about the Freight Service Centers associated with this shipment. + + + + + Information about the origin Freight Service Center. + + + + + Information about the destination Freight Service Center. + + + + + The distance between the origin and destination FreightService Centers + + + + + + + + + + Date for all Freight guarantee types. + + + + + + + + + + + + + Identifies responsibilities with respect to loss, damage, etc. + + + + + + + + + Rate data specific to FedEx Freight or FedEx National Freight services. + + + + + A unique identifier for a specific rate quotation. + + + + + Specifies whether the rate quote was automated or manual. + + + + + Specifies how total base charge is determined. + + + + + Freight charges which accumulate to the total base charge for the shipment. + + + + + Human-readable descriptions of additional information on this shipment rating. + + + + + + + Additional non-monetary data returned with Freight rates. + + + + + Unique identifier for notation. + + + + + Human-readable explanation of notation. + + + + + + + Specifies the type of rate quote + + + + + + + + + This class describes the relationship between a customer-specified address and the FedEx Freight / FedEx National Freight Service Center that supports that address. + + + + + Freight Industry standard non-FedEx carrier identification + + + + + The name of the Interline carrier. + + + + + Additional time it might take at the origin or destination to pickup or deliver the freight. This is usually due to the remoteness of the location. This time is included in the total transit time. + + + + + + Distance between customer address (pickup or delivery) and the supporting Freight / National Freight service center. + + + + + Time to travel between customer address (pickup or delivery) and the supporting Freight / National Freight service center. + + + + + Specifies when/how the customer can arrange for pickup or delivery. + + + + + Specifies days of operation if localServiceScheduling is LIMITED. + + + + + Freight service center that is a gateway on the border of Canada or Mexico. + + + + + Alphabetical code identifying a Freight Service Center + + + + + Freight service center Contact and Address + + + + + + + Specifies the type of service scheduling offered from a Freight or National Freight Service Center to a customer-supplied address. + + + + + + + + + + Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. + + + + + Account number used with FEDEX_FREIGHT service. + + + + + Used for validating FedEx Freight account number and (optionally) identifying third party payment on the bill of lading. + + + + + Used in connection with "Send Bill To" (SBT) identification of customer's account used for billing. + + + + + Indicates the role of the party submitting the transaction. + + + + + Designates the terms of the "collect" payment for a Freight Shipment. + + + + + Identifies the declared value for the shipment + + + + + Identifies the declared value units corresponding to the above defined declared value + + + + + + Identifiers for promotional discounts offered to customers. + + + + + Total number of individual handling units in the entire shipment (for unit pricing). + + + + + Estimated discount rate provided by client for unsecured rate quote. + + + + + Total weight of pallets used in shipment. + + + + + Overall shipment dimensions. + + + + + Description for the shipment. + + + + + Specifies which party will pay surcharges for any special services which support split billing. + + + + + + Details of the commodities in the shipment. + + + + + + + Description of an individual commodity or class of content in a shipment. + + + + + A unique identifier assigned to this line item. + + + + + Freight class for this line item. + + + + + Specification of handling-unit packaging for this commodity or class line. + + + + + Number of pieces for this commodity or class line. + + + + + Customer-provided description for this commodity or class line. + + + + + Weight for this commodity or class line. + + + + + + Volume (cubic measure) for this commodity or class line. + + + + + + + Indicates the role of the party submitting the transaction. + + + + + + + + + Specifies which party will be responsible for payment of any surcharges for Freight special services for which split billing is allowed. + + + + + Identifies the special service. + + + + + Indicates who will pay for the special service. + + + + + + + Data required to produce a General Agency Agreement document. Remaining content (business data) to be defined once requirements have been completed. + + + + + + + + Documents the kind and quantity of an individual hazardous commodity in a package. + + + + + Identifies and describes an individual hazardous commodity. + + + + + Specifies the amount of the commodity in alternate units. + + + + + This describes the inner receptacle details for a hazardous commodity within the dangerous goods container. + + + + + Customer-provided specifications for handling individual commodities. + + + + + Specifies the details of any radio active materials within the commodity. + + + + + The total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. + + + + + + + Identifies and describes an individual hazardous commodity. + + + + + Regulatory identifier for a commodity (e.g. "UN ID" value). + + + + + In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. + + + + + + + + + + + + + + Indicates any special processing options to be applied to the description of the dangerous goods commodity. + + + + + Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. + + + + + + + Specifies any special processing to be applied to the dangerous goods commodity description validation. + + + + + + + + This describes information about the inner receptacles for the hazardous commodity in a particular dangerous goods container. + + + + + This specifies the quantity contained in the inner receptacle. + + + + + + + Specifies how the commodity is to be labeled. + + + + + + + + + + Customer-provided specifications for handling individual commodities. + + + + + Specifies how the customer wishes the label text to be handled for this commodity in this package. + + + + + Text used in labeling the commodity under control of the labelTextOption field. + + + + + + + Indicates which kind of hazardous content is being reported. + + + + + + + + + + + + + Identifies number and type of packaging units for hazardous commodities. + + + + + Number of units of the type below. + + + + + Units in which the hazardous commodity is packaged. + + + + + + + Specifies documentation and limits for validation of an individual packing group/category. + + + + + + Coded specification for how commodity is to be packed. + + + + + + + Identifies DOT packing group for a hazardous commodity. + + + + + + + + + + + Identifies amount and units for quantity of hazardous commodities. + + + + + Number of units of the type below. + + + + + Units by which the hazardous commodity is measured. For IATA commodity, the units values are restricted based on regulation type. + + + + + Specifies which measure of quantity is to be validated. + + + + + + + Specifies the measure of quantity to be validated against a prescribed limit. + + + + + + + + + Identifies the source of regulation for hazardous commodity data. + + + + + + + + + + + + + + + + + + Contact phone number for recipient of shipment. + + + + + Contact and address of FedEx facility at which shipment is to be held. + + + + + Type of facility at which package/shipment is to be held. + + + + + Location identification (for facilities identified by an alphanumeric location code). + + + + + Location identification (for facilities identified by an numeric location code). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Names for data elements / areas which may be suppressed from printing on labels. + + + + + + + + + + + + + + + + + + Specifies the order in which the labels will be returned + + + + + + + + + + + + + + + Relative to normal orientation for the printer. + + + + + + + + + + + + + + + + + + Specifies the order in which the labels are requested to be returned + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies the Liability Coverage Amount. For Jan 2010 this value represents coverage amount per pound + + + + + + + + + + + + + Represents a one-dimensional measurement in small units (e.g. suitable for measuring a package or document), contrasted with Distance, which represents a large one-dimensional measurement (e.g. distance between cities). + + + + + The numerical quantity of this measurement. + + + + + The units for this measurement. + + + + + + + + + + + + + Identifies the representation of human-readable text. + + + + + Two-letter code for language (e.g. EN, FR, etc.) + + + + + Two-letter code for the region (e.g. us, ca, etc..). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The descriptive data regarding the result of the submitted transaction. + + + + + The severity of this notification. This can indicate success or failure or some other information about the request. The values that can be returned are SUCCESS - Your transaction succeeded with no other applicable information. NOTE - Additional information that may be of interest to you about your transaction. WARNING - Additional information that you need to know about your transaction that you may need to take action on. ERROR - Information about an error that occurred while processing your transaction. FAILURE - FedEx was unable to process your transaction at this time due to a system failure. Please try again later + + + + + Indicates the source of this notification. Combined with the Code it uniquely identifies this notification + + + + + A code that represents this notification. Combined with the Source it uniquely identifies this notification. + + + + + Human-readable text that explains this notification. + + + + + The translated message. The language and locale specified in the ClientDetail. Localization are used to determine the representation. Currently only supported in a TrackReply. + + + + + A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) without having to parse the message string. + + + + + + + + + Indicates the type of notification that will be sent. + + + + + Specifies the email notification details. + + + + + Specifies the localization for this notification. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies the type of data contained in Value (e.g. SERVICE_TYPE, PACKAGE_SEQUENCE, etc..). + + + + + The value of the parameter (e.g. PRIORITY_OVERNIGHT, 2, etc..). + + + + + + + + + + + + + + + + + + + + + The instructions indicating how to print the OP-900 form for hazardous materials packages. + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Identifies which reference type (from the package's customer references) is to be used as the source for the reference on this OP-900. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + Data field to be used when a name is to be printed in the document instead of (or in addition to) a signature image. + + + + + + + + + + + + + + Data for a package's rates, as calculated per a specific rate type. + + + + + Type used for this specific set of rate data. + + + + + Indicates which weight was used. + + + + + INTERNAL FEDEX USE ONLY. + + + + + + The dimensional weight of this package (if greater than actual). + + + + + The oversize weight of this package (if the package is oversize). + + + + + The transportation charge only (prior to any discounts applied) for this package. + + + + + The sum of all discounts on this package. + + + + + This package's baseCharge - totalFreightDiscounts. + + + + + The sum of all surcharges on this package. + + + + + This package's netFreight + totalSurcharges (not including totalTaxes). + + + + + The sum of all taxes on this package. + + + + + This package's netFreight + totalSurcharges + totalTaxes. + + + + + + All rate discounts that apply to this package. + + + + + All rebates that apply to this package. + + + + + All surcharges that apply to this package (either because of characteristics of the package itself, or because it is carrying per-shipment surcharges for the shipment of which it is a part). + + + + + All taxes applicable (or distributed to) this package. + + + + + + + + These special services are available at the package level for some or all service types. If the shipper is requesting a special service which requires additional data, the package special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. + + + + + Indicates the package special service types that are requested on this shipment. For a list of the valid package special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. + + + + + For use with FedEx Ground services only; COD must be present in shipment's special services. + + + + + + Provides details about the batteries or cells that are contained within this specific package. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY + + + + + + + + + + + + + + + + + + This information describes the kind of pending shipment being requested. + + + + + + Date after which the pending shipment will no longer be available for completion. + + + + + + These are documents that are recommended to be included with the shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This enumeration rationalizes the former FedEx Express international "admissibility package" types (based on ANSI X.12) and the FedEx Freight packaging types. The values represented are those common to both carriers. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This class describes the pickup characteristics of a shipment (e.g. for use in a tag request). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The type of name (long, medium, short, etc.) to which this value refers. + + + + + The character encoding used to represent this product name. For example, UTF-8. + + + + + + + + + + + + + + + + + + Indicates the packaging type of the container used to package radioactive hazardous materials. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates whether packaging type "EXCEPTED" or "EXCEPTED_PACKAGE" is for radioactive material in reportable quantity. + + + + + + + + + Indicates the reason that a dim divisor value was chose. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Selects the value from a set of rate data to which the percentage is applied. + + + + + + + + + + + The response to a RateRequest. The Notifications indicate whether the request was successful or not. + + + + + This indicates the highest level of severity of all the notifications returned in this reply. + + + + + The descriptive data regarding the results of the submitted transaction. + + + + + Contains the CustomerTransactionId that was sent in the request. + + + + + The version of this reply. + + + + + Each element contains all rate data for a single service. If service was specified in the request, there will be a single entry in this array; if service was omitted in the request, there will be a separate entry in this array for each service being compared. + + + + + + + + + + Descriptions and alternate identifiers for a service. + + + + + + Shows the specific combination of service options combined with the service type that produced this committment in the set returned to the caller. + + + + + Supporting detail for applied options identified in preceding field. + + + + + + + + + + + Not populated by FAST service in Jan07. + + + + + Not populated by FAST service in Jan07. + + + + + Not populated by FAST service in Jan07. + + + + + Maximum expected transit time + + + + + Not populated by FAST service in Jan07. Actual signature option applied, to allow for cases in wihch the original value conflicted with other service features in the shipment. + + + + + + Each element contains all rate data for a single rate type. + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + Allows the caller to specify that the transit time and commit data are to be returned in the reply. + + + + + Candidate carriers for rate-shopping use case. This field is only considered if requestedShipment/serviceType is omitted. + + + + + Contains zero or more service options whose combinations are to be considered when replying with available services. + + + + + If provided, identifies the consolidation to which this open shipment should be added after successful creation. + + + + + The shipment for which a rate quote (or rate-shopping comparison) is desired. + + + + + + + + + + + + + + Select the type of rate from which the element is to be selected. + + + + + + + + + + + Echoed from the corresponding package in the rate request (if provided). + + + + + Used with request containing PACKAGE_GROUPS, to identify which group of identical packages was used to produce a reply item. + + + + + The difference between "list" and "account" net charge. + + + + + Ground COD is shipment level. + + + + + + Rate data that are tied to a specific package and rate type combination. + + + + + + + This class groups the shipment and package rating data for a specific rate type for use in a rating reply, which groups result data by rate type. + + + + + The difference between "list" and "account" total net charge. + + + + + Express COD is shipment level. + + + + + The shipment-level totals for this rate type. + + + + + The package-level data for this rate type. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. + + + + + Specifies the kind of identification being used. + + + + + Contains the actual ID value, of the type specified above. + + + + + + + + + + + + + + Specifies the details about documents that are recommended to be included with the shipment for ease of shipment processing and transportation. + + + + + + + + Type of documents that are recommended to be included with the shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies details needed to generate any label artifacts required due to regulatory requirements. + + + + + + Specifies how the customer requested the regulatory label to be generated. + + + + + + + + + + + + Describes the vertical position of an item relative to another item. + + + + + + + + + + + A unique identifier of each requested package line item. + + + + + An identifier of each group of identical packages. + + + + + Used as the number or count of identical packages in a group. + + + + + + Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. + + + + + Represents the gross weight of the package line item. + + + + + + Provides additional detail on how the customer has physically packaged this item. As of June 2009, required for packages moving under international and SmartPost services. + + + + + + Human-readable text describing the package. + + + + + Human-readable text describing the contents of the package to be used for clearance purposes. + + + + + + + Details the contents of the package. + + + + + + + + + + + + This field contains the service type values, like PRIORITY_OVERNIGHT and FEDEX_GROUND. + + + + + This field contains the packaging type values, like YOUR_PACKAGING and FEDEX_ENVELOPE. + + + + + The shipment variations for the current shipment expressed in key-value pairs. + + + + + + Specifies the total declared value for carriage of the shipment. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the shipment. + + + + + This attribute indicates the currency the caller requests to have used in all returned monetary values (when a choice is possible). + + + + + Specifies details about the entity responsible for the shipment. + + + + + + + + Physical starting address for the shipment, if different from shipper's address. + + + + + The sold-to party is used for customs clearance; for example, in support of US import customs rules. The need for this field could vary based on whether a sold-to party was specified on a consolidation. + + + + + + + + Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. + + + + + Used with Ground Home Delivery and Freight. + + + + + + Customs clearance data, used for both international and intra-country shipping. + + + + + For use in "process tag" transaction. + + + + + Specifies the characteristics of a shipment pertaining to SmartPost services. + + + + + If true, only the shipper/payor will have visibility of this shipment. + + + + + + Contains data used to create additional (non-label) shipping documents. + + + + + Specifies whether and what kind of rates the customer wishes to have quoted on this shipment. The reply will also be constrained by other data on the shipment and customer. + + + + + Specifies whether the customer wishes to have Estimated Duties and Taxes provided with the rate quotation on this shipment. Only applies with shipments moving under international services. + + + + + The total number of packages in the entire shipment (even when the shipment spans multiple transactions.) + + + + + Specifies which package-level data values are provided at the shipment-level only. The package-level data values types specified here will not be provided at the package-level. + + + + + Specifies data structures that may be re-used multiple times with s single shipment. + + + + + One or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics all packages in the shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the tracking number of the master associated with the return shipment. + + + + + + + + These values are used to control the availability of certain special services at the time when a customer uses the e-mail label link to create a return shipment. + + + + + + + + + + + + Identifies the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created. Only services represented in EMailLabelAllowedSpecialServiceType will be controlled by this list. + + + + + + + The instructions indicating how to print the return instructions( e.g. image type) Specifies characteristics of a shipping document to be produced. + + + + + + Specifies additional customer provided text to be inserted into the return document. + + + + + + + + + + + + + + + + + + + + + + The "PAYOR..." rates are expressed in the currency identified in the payor's rate table(s). The "RATED..." rates are expressed in the currency of the origin country. Former "...COUNTER..." values have become "...RETAIL..." values, except for PAYOR_COUNTER and RATED_COUNTER, which have been removed. + + + + + + + + + + + + + + + + + June 2011 ITG 121203 IR-RMA number has been removed from this structure and added as a new customer reference type. The structure remains because of the reason field below. + + + + + + + + Describes the rotation of an item from its default orientation. + + + + + + + + + + + + + + + + + + + + + + + Branded, translated, and/or localized names for this service. + + + + + + + + + These values control the optional features of service that may be combined in a commitment/rate comparision transaction. + + + + + + + + + + + + Supporting detail for applied options identified in a rate quote. + + + + + Identifies the type of Freight Guarantee applied, if FREIGHT_GUARANTEE is applied to the rate quote. + + + + + Identifies the smartPostHubId used during rate quote, if SMART_POST_HUB_ID is a variable option on the rate request. + + + + + Identifies the indicia used during rate quote, if SMART_POST_ALLOWED_INDICIA is a variable option on the rate request. + + + + + + + + + + + + Specifies data structures that may be re-used multiple times with s single shipment. + + + + + Specifies the data that is common to dangerous goods packages in the shipment. This is populated when the shipment contains packages with identical dangerous goods commodities. + + + + + + + Shipment-level totals of dry ice data across all packages. + + + + + Total number of packages in the shipment that contain dry ice. + + + + + Total shipment dry ice weight for all packages. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type. + + + + + Human-readable text describing the shipment leg. + + + + + Origin for this leg. + + + + + Specifies the location id the origin of shipment leg. + + + + + Destination for this leg. + + + + + Specifies the location id the destination of shipment leg. + + + + + Type used for this specific set of rate data. + + + + + Indicates the rate scale used. + + + + + Indicates the rate zone used (based on origin and destination). + + + + + + Indicates which weight was used. + + + + + INTERNAL FEDEX USE ONLY. + + + + + Specifies the currency exchange performed on financial amounts for this rate. + + + + + Indicates which special rating cases applied to this shipment. + + + + + + Identifies the type of dim divisor that was applied. + + + + + + + Sum of dimensional weights for all packages. + + + + + + + + + This shipment's totalNetFreight + totalSurcharges (not including totalTaxes). + + + + + Total of the transportation-based taxes. + + + + + + + Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment. + + + + + This shipment's totalNetCharge + totalDutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account. + + + + + Rate data specific to FedEx Freight and FedEx National Freight services. + + + + + All rate discounts that apply to this shipment. + + + + + All rebates that apply to this shipment. + + + + + All surcharges that apply to this shipment. + + + + + All transportation-based taxes applicable to this shipment. + + + + + All commodity-based duties and taxes applicable to this shipment. + + + + + The "order level" variable handling charges. + + + + + The total of all variable handling charges at both shipment (order) and package level. + + + + + + + + + + + + + + + + + + + + + + + + + + These values identify which package-level data values will be provided at the shipment-level. + + + + + + + + + + Data for a shipment's total/summary rates, as calculated per a specific rate type. The "total..." fields may differ from the sum of corresponding package data for Multiweight or Express MPS. + + + + + Type used for this specific set of rate data. + + + + + Indicates the rate scale used. + + + + + Indicates the rate zone used (based on origin and destination). + + + + + + Indicates which weight was used. + + + + + INTERNAL FEDEX USE ONLY. + + + + + Specifies the currency exchange performed on financial amounts for this rate. + + + + + Indicates which special rating cases applied to this shipment. + + + + + + Identifies the type of dim divisor that was applied. + + + + + + + Sum of dimensional weights for all packages. + + + + + + + + + This shipment's totalNetFreight + totalSurcharges (not including totalTaxes). + + + + + Total of the transportation-based taxes. + + + + + + + Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment. + + + + + Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. + + + + + The total of the totalDutiesAndTaxes plus the totalAncillaryFeesAndTaxes. + + + + + This shipment's totalNetCharge + totalDutiesTaxesAndFees; some duties and taxes are only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account. + + + + + Identifies the Rate Details per each leg in a Freight Shipment + + + + + Rate data specific to FedEx Freight and FedEx National Freight services. + + + + + All rate discounts that apply to this shipment. + + + + + All rebates that apply to this shipment. + + + + + All surcharges that apply to this shipment. + + + + + All transportation-based taxes applicable to this shipment. + + + + + All commodity-based duties and taxes applicable to this shipment. + + + + + Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. + + + + + The "order level" variable handling charges. + + + + + The total of all variable handling charges at both shipment (order) and package level. + + + + + + + These special services are available at the shipment level for some or all service types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. + + + + + Indicates the shipment special service types that are requested on this shipment. For a list of the valid shipment special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. + + + + + + + + This replaces eMailNotificationDetail + + + + + + This field should be populated for pending shipments (e.g. e-mail label) It is required by a PENDING_SHIPMENT special service type. + + + + + + + + + + + Electronic Trade document references. + + + + + Specification for date or range of dates on which delivery is to be attempted. + + + + + + + + + Specifies the name or the key for the shipment variation. + + + + + The values that are valid for the specified shipment variation in the context of the current shipment. + + + + + + + + + This indicates the identifier of a conveyance, such as a trailer ID. + + + + + + + Each occurrence of this class specifies a particular way in which a kind of shipping document is to be produced and provided. + + + + + Values in this field specify how to create and return the document. + + + + + Specifies how to organize all documents of this type. + + + + + Specifies how to e-mail document images. + + + + + Specifies how a queued document is to be printed. + + + + + + + Specifies how to return a shipping document to the caller. + + + + + + + + + + + + + + + Specifies how to e-mail shipping documents. + + + + + Provides the roles and email addresses for e-mail recipients. + + + + + Identifies the convention by which documents are to be grouped as e-mail attachments. + + + + + Specifies the language in which the email containing the document is requested to be composed. + + + + + + + + + + + + + Specifies an individual recipient of e-mailed shipping document(s). + + + + + Identifies the relationship of this recipient in the shipment. + + + + + Address to which the document is to be sent. + + + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies how to create, organize, and return the document. + + + + + Specifies how far down the page to move the beginning of the image; allows for printing on letterhead and other pre-printed stock. + + + + + + + For those shipping document types which have both a "form" and "instructions" component (e.g. General Agency Agreement), this field indicates whether to provide the instructions. + + + + + + Governs the language to be used for this individual document, independently from other content returned for the same shipment. + + + + + + + Specifies how to organize all shipping documents of the same type. + + + + + + + + + Specifies the image format used for a shipping document. + + + + + + + + + + + Specifies printing options for a shipping document. + + + + + Provides environment-specific printer identification. + + + + + + + Contains all data required for additional (non-label) shipping documents to be produced in conjunction with a specific shipment. + + + + + Indicates the types of shipping documents requested by the shipper. + + + + + + + + Specifies the production of each package-level custom document (the same specification is used for all packages). + + + + + Specifies the production of a shipment-level custom document. + + + + + + + + Specifies the production of the OP-900 document for hazardous materials packages. + + + + + Specifies the production of the 1421c document for dangerous goods shipment. + + + + + Specifies the production of the OP-900 document for hazardous materials. + + + + + Specifies the production of the return instructions document. + + + + + + + Specifies the type of paper (stock) on which a document will be printed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + These values are mutually exclusive; at most one of them can be attached to a SmartPost shipment. + + + + + + + + + + + + + + + + + + + + + Data required for shipments handled under the SMART_POST and GROUND_SMART_POST service types. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifice the kind of tax or miscellaneous charge being reported on a Commercial Invoice. + + + + + + + + + + + + + + + + + Identifies the usage of Tax Identification Number in Shipment processing + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Free form text to be echoed back in the reply. Used to match requests and replies. + + + + + Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the application that is responsible for managing the document id. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Description of the uploaded document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This definition of variable handling charge detail is intended for use in Jan 2011 corp load. + + + + + + Actual percentage (10 means 10%, which is a mutiplier of 0.1) + + + + + Select the value from a set of rate data to which the percentage is applied. + + + + + Select the type of rate from which the element is to be selected. + + + + + + + + + + + + + + + Three-dimensional volume/cubic measurement. + + + + + + + + + Units of three-dimensional volume/cubic measure. + + + + + + + + + The descriptive data for the heaviness of an object. + + + + + Identifies the unit of measure associated with a weight value. + + + + + Identifies the weight value of a package/shipment. + + + + + + + + + + + + + Used in authentication of the sender's identity. + + + + + This was renamed from cspCredential. + + + + + Credential used to authenticate a specific software application. This value is provided by FedEx after registration. + + + + + + + Two part authentication string used for the sender's identity + + + + + Identifying part of authentication credential. This value is provided by FedEx after registration + + + + + Secret part of authentication key. This value is provided by FedEx after registration. + + + + + + + Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply). + + + + + Identifies a system or sub-system which performs an operation. + + + + + Identifies the service business level. + + + + + Identifies the service interface level. + + + + + Identifies the service code level. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/FedEx/_wsdl/ShipService_v26.wsdl b/src/FedEx/_wsdl/ShipService_v28.wsdl similarity index 96% rename from src/FedEx/_wsdl/ShipService_v26.wsdl rename to src/FedEx/_wsdl/ShipService_v28.wsdl index 62b07299..1d238d40 100644 --- a/src/FedEx/_wsdl/ShipService_v26.wsdl +++ b/src/FedEx/_wsdl/ShipService_v28.wsdl @@ -1,6614 +1,6580 @@ - - - - - - - - - - - - - - Specifies the role that identifies the permissions the accessor of the pending shipment. - - - - - - - - - Specifies additional labels to be produced. All required labels for shipments will be produced without the need to request additional labels. These are only available as thermal labels. - - - - - The type of additional labels to return. - - - - - The number of this type label to return - - - - - - - - - - - - - - - - - - - - - - Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US). - - - - - Combination of number, street name, etc. At least one line is required for a valid physical address; empty lines should not be included. - - - - - Name of city, town, etc. - - - - - Identifying abbreviation for US state, Canada province, etc. Format and presence of this field will vary, depending on country. - - - - - Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country. - - - - - Relevant only to addresses in Puerto Rico. - - - - - The two-letter code used to identify a country. - - - - - The fully spelt out name of a country. - - - - - Indicates whether this address residential (as opposed to commercial). - - - - - The geographic coordinates cooresponding to this address. - - - - - - - Specifies the details around the ADR license required for shipping. - - - - - - - - Specifies details for a package containing alcohol - - - - - The license type that the recipient of the alcohol package. - - - - - - - Specifies the type of license that the recipient of the alcohol shipment has. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This enumeration represents a kind of "legacy" account number from a FedEx operating entity. - - - - - - - - - - - - - A freight line item identifier referring to a freight shipment line item that describes goods contained within this handling unit. - - - - - - - - - - - - - - Specifies the tracking id for the payment on the return. - - - - - Specifies additional customer reference data about the associated shipment. - - - - - Specifies shipment level operational information. - - - - - Specifies package level operational information on the associated shipment. This information is not tied to an individual outbound package. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identification of the type of barcode (symbology) used on FedEx documents and labels. - - - - - - - - - - - - - - - - - - - Describes attributes of a battery or cell that are used for classification purposes. Typically this structure would be used to allow customers to declare batteries or cells for which full dangerous goods documentation and procedures are not required. - - - - - Describes the material composition of the battery or cell. - - - - - Describes the packing arrangement of the battery or cell with respect to other items within the same package. - - - - - A regulation specific classification for the battery or cell. - - - - - - - Describes the material composition of a battery or cell. - - - - - - - - - - Describes the packing arrangement of a battery or cell with respect to other items within the same package. - - - - - - - - - - A regulation specific classification for a battery or cell. - - - - - - - - Each instance of this data type represents a barcode whose content must be represented as binary data (i.e. not ASCII text). - - - - - The kind of barcode data in this instance. - - - - - The data content of this instance. - - - - - - - - - - - - - - - - - - - - - - - - Identification of a FedEx operating company (transportation). - - - - - - - - - - - - - - The instructions indicating how to print the Certificate of Origin ( e.g. whether or not to include the instructions, image type, etc ...) - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Specifies the usage and identification of customer supplied images to be used on this document. - - - - - - - - - - - - - Specifies the type of brokerage to be applied to a shipment. - - - - - - - - - - - - Descriptive data for the client submitting a transaction. - - - - - The FedEx account number associated with this transaction. - - - - - The FedEx Ground account number. - - - - - This number is assigned by FedEx and identifies the unique device from which the request is originating - - - - - FedEx internal use only. - - - - - - FedEx internal use only. The PassKey company identifier. - - - - - Client software component (e.g. "CAFE", "INET", "WBUS", etc.) - - - - - Client software component version/revision (e.g. "1800", "2630", etc.) - - - - - A FedEx assigned identifier for a third party software product used by customer to do business with FedEx. Such as a Compatible Solution Provider's product. - - - - - The version of the third party product. - - - - - FedEx internal use only. - - - - - FedEx internal use only. - - - - - Only used in transactions which require identification of the FedEx Office integrator. - - - - - Indicates the region from which the transaction is submitted. - - - - - Used for off-line uploads only. - - - - - The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) - - - - - - - - - - - - - - - - - Select the type of rate from which the element is to be selected. - - - - - - - - - Specifies the type of adjustment was performed to the COD collection amount during rating. - - - - - - - - - Identifies the type of funds FedEx should collect upon shipment delivery. - - - - - - - - - - - - Descriptive data required for a FedEx COD (Collect-On-Delivery) shipment. - - - - - - Specifies the details of the charges are to be added to the COD collect amount. - - - - - Identifies the type of funds FedEx should collect upon package delivery - - - - - For Express this is the descriptive data that is used for the recipient of the FedEx Letter containing the COD payment. For Ground this is the descriptive data for the party to receive the payment that prints the COD receipt. - - - - - When the FedEx COD payment type is not CASH, indicates the contact and address of the financial institution used to service the payment of the COD. - - - - - Specifies the name of person or company receiving the secured/unsecured funds payment - - - - - Indicates which type of reference information to include on the COD return shipping label. - - - - - Only used with multi-piece COD shipments sent in multiple transactions. Required on last transaction only. - - - - - - - Specifies the information associated with a package that has COD special service in a ground shipment. - - - - - - - - - - - - - - - - - - - - CommercialInvoice element is required for electronic upload of CI data. It will serve to create/transmit an Electronic Commercial Invoice through the FedEx Systems. Customers are responsible for printing their own Commercial Invoice.If you would likeFedEx to generate a Commercial Invoice and transmit it to Customs. for clearance purposes, you need to specify that in the ShippingDocumentSpecification element. If you would like a copy of the Commercial Invoice that FedEx generated returned to you in reply it needs to be specified in the ETDDetail/RequestedDocumentCopies element. Commercial Invoice support consists of maximum of 99 commodity line items. - - - - - Any comments that need to be communicated about this shipment. - - - - - Any freight charges that are associated with this shipment. - - - - - Any taxes or miscellaneous charges(other than Freight charges or Insurance charges) that are associated with this shipment. - - - - - Specifies which kind of charge is being recorded in the preceding field. - - - - - Any packing costs that are associated with this shipment. - - - - - Any handling costs that are associated with this shipment. - - - - - Free-form text. - - - - - Free-form text. - - - - - Free-form text. - - - - - The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice. - - - - - Not exposed to Web Services customers; only present for use in mapping from CTS transactions. - - - - - Additional customer reference data. - - - - - Name of the International Expert that completed the Commercial Invoice different from Sender. - - - - - Required for dutiable international Express or Ground shipments. This field is not applicable to an international PIB(document) or a non-document which does not require a Commercial Invoice. - - - - - - - The instructions indicating how to print the Commercial Invoice( e.g. image type) Specifies characteristics of a shipping document to be produced. - - - - - - Specifies the usage and identification of a customer supplied image to be used on this document. - - - - - - - - - - Value used to identify a commodity description; must be unique within the containing shipment. - - - - - FedEx internal commodity identifier - - - - - - A free-form description of the commodity, which could be used for customs clearance documentation. - - - - - - - - - - - Contains only additional quantitative information other than weight and quantity to calculate duties and taxes. - - - - - - The value of the commodity for customs purposes. The field should be the unit price multiplied by the quantity. - - - - - Defines additional characteristic of commodity used to calculate duties and taxes - - - - - - - - - All data required for this commodity in NAFTA Certificate of Origin. - - - - - - - - - - - - - Specifies the results of processing for the COD special service. - - - - - - - - - - - The identifier for all clearance documents associated with this shipment. - - - - - - - - - - - - - - - Completed package-level hazardous commodity information for a single package. - - - - - A unique reference id that matches the package to a package configuration. This is populated if the client provided a package configuration for several packages that have the exact same dangerous goods content. - - - - - - When true indicates that the package can be transported only on a cargo aircraft. - - - - - - Specifies the maximum radiation level from the package (measured in microSieverts per hour at a distance of one meter from the external surface of the package, divided by 10). - - - - - Specifies the label that is to be put on a package containing radioactive material. The label type is determined in accordance with the Transportation of Dangerous Goods Act and indicates the type of radioactive material being handled as well as the relative risk. - - - - - Documents the kinds and quantities of all hazardous commodities in the current package. - - - - - - - Computed shipment level hazardous commodity information. - - - - - - - This contains the ADR License information, which identifies the license number and ADR category under which the customer is allowed to ship. - - - - - - - - - Specifies the total number of packages containing hazardous commodities in small exceptions. - - - - - - - - - Identifies the branded location name, the hold at location phone number and the address of the location. - - - - - Identifies the type of FedEx location. - - - - - - - - - - - - An identifier of each group of identical packages. - - - - - - All package-level rating data for this package, which may include data for multiple rate types. - - - - - - - - All package-level shipping documents (other than labels and barcodes). For use in loads after January, 2008. - - - - - Specifies the information associated with this package that has COD special service in a ground shipment. - - - - - Actual signature option applied, to allow for cases in which the original value conflicted with other service features in the shipment. - - - - - - Documents the kinds and quantities of all hazardous commodities in the current package, using updated hazardous commodity description data. - - - - - - - - - - - - - - - - Only used with pending shipments. - - - - - Only used in the reply to tag requests. - - - - - - Computed shipment level information about hazarous commodities. - - - - - All shipment-level rating data for this shipment, which may include data for multiple rate types. - - - - - Returns the default holding location information when HOLD_AT_LOCATION special service is requested and the client does not specify the hold location address. - - - - - Returns any defaults or updates applied to RequestedShipment.exportDetail.exportComplianceStatement. - - - - - This specifies what rules or requirements for documents are applicable for this shipment. This may identify required or prohibited documents. - - - - - - All shipment-level shipping documents (other than labels and barcodes). - - - - - - - - - - Provides reply information specific to SmartPost shipments. - - - - - Identifies the carrier that will pick up the SmartPost shipment. - - - - - Indicates whether the shipment is deemed to be machineable, based on dimensions, weight, and packaging. - - - - - - - Provides reply information specific to a tag request. - - - - - - As of June 2007, returned only for FedEx Express services. - - - - - As of June 2007, returned only for FedEx Express services. - - - - - As of June 2007, returned only for FedEx Express services. - - - - - As of June 2007, returned only for FedEx Express services. - - - - - FEDEX INTERNAL USE ONLY: for use by INET. - - - - - - - - - - - - - - - The descriptive data for a point-of-contact person. - - - - - Client provided identifier corresponding to this contact information. - - - - - Identifies the contact person's name. - - - - - Identifies the contact person's title. - - - - - Identifies the company this contact is associated with. - - - - - Identifies the phone number associated with this contact. - - - - - Identifies the phone extension associated with this contact. - - - - - Identifies a toll free number, if any, associated with this contact. - - - - - Identifies the pager number associated with this contact. - - - - - Identifies the fax number associated with this contact. - - - - - Identifies the email address associated with this contact. - - - - - - - - - - - - - Details the contents of the package. - - - - - - - - - - - - - - - Must be in one of the following formats: YYMM, YYYYMM, or YYYYMMDD. - - - - - - - - - - - - - - - - - - - - - - Specifies details about the credit card transaction that drive decisions about credit card processing. - - - - - - - - This class represents data tied to the use of a credit card in a specific transaction. - - - - - - - - Specifies details about the credit card transaction that drive decisions about credit card processing. - - - - - - - - - - - - - - - - This class is a rename of the previous VerifyCreditFraudDetail; the name change reflects the fact that it is no longer tied to a "verify" usage. - - - - - - - - - - - The currency code for the original (converted FROM) currency. - - - - - The currency code for the final (converted INTO) currency. - - - - - Multiplier used to convert fromCurrency units to intoCurrency units. - - - - - - - - - Indicates the type of custom delivery being requested. - - - - - Time by which delivery is requested. - - - - - Range of dates for custom delivery request; only used if type is BETWEEN. - - - - - Date for custom delivery request; only used for types of ON, BETWEEN, or AFTER. - - - - - - - - - - - - - - - - - Types of discounts that are excluded. - - - - - - - Data required to produce a custom-specified document, either at shipment or package level. - - - - - Common information controlling document production. - - - - - Applicable only to documents produced on thermal printers with roll stock. - - - - - Applicable only to documents produced on thermal printers with roll stock. - - - - - Identifies the formatting specification used to construct this custom document. - - - - - Identifies the individual document specified by the client. - - - - - If provided, thermal documents will include specified doc tab content. If omitted, document will be produced without doc tab content. - - - - - - - - Constructed string, based on format and zero or more data fields, printed in specified barcode symbology. - - - - - - - - - Width of thinnest bar/space element in the barcode. - - - - - - - - Solid (filled) rectangular area on label. - - - - - - - - - - - - - - - - - - - - - - - - - Image to be included from printer's memory, or from a local file for offline clients. - - - - - - Printer-specific index of graphic image to be printed. - - - - - Fully-qualified path and file name for graphic image to be printed. - - - - - - - - - Horizontal position, relative to left edge of custom area. - - - - - Vertical position, relative to top edge of custom area. - - - - - - - Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). - - - - - - - - - - Printer-specific font name for use with thermal printer labels. - - - - - Generic font name for use with plain paper labels. - - - - - Generic font size for use with plain paper labels. - - - - - - - - Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). - - - - - - - - Printer-specific font name for use with thermal printer labels. - - - - - Generic font name for use with plain paper labels. - - - - - Generic font size for use with plain paper labels. - - - - - - - - - - - - - - - - - - - Specifies custom transit time to be applied to the shipment. - - - - - Identifies options to be applied. - - - - - - - - - - - Internal Id used by INET to identify customer provided images during documents generation. Ex COO etc ... - - - - - Internal image type used by INET to identify customer provided images during documents generation. Ex COO etc .. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Allows customer-specified control of label content. - - - - - If omitted, no doc tab will be produced (i.e. default is former NONE type). - - - - - Controls the position of the customer specified content relative to the FedEx portion. - - - - - - - Controls which data/sections will be suppressed. - - - - - For customers producing their own Ground labels, this field specifies which secondary barcode will be printed on the label; so that the primary barcode produced by FedEx has the correct SCNC. - - - - - - - Controls the number of additional copies of supplemental labels. - - - - - This value reduces the default quantity of destination/consignee air waybill labels. A value of zero indicates no change to default. A minimum of one copy will always be produced. - - - - - - - - - - - - - - - - - Interacts both with properties of the shipment and contractual relationship with the shipper. - - - - - - - Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. - - - - - - - This represents the total commodity value of the shipment plus the charges required by the destination country. - - - - - Identifies responsibilities with respect to loss, damage, etc. - - - - - Documents amount paid to third party for coverage of shipment content. - - - - - - - - - - - - - This provides the information necessary to identify the different statements, declarations, acts, and/or certifications that apply to this shipment. - - - - - This indicates the different statements, declarations, acts, and/or certifications that apply to this shipment. - - - - - Specifies the NAFTA low value statement information. - - - - - - - This indicates the different statements, declarations, acts, and certifications that may apply to a shipment. - - - - - - - - - - - Specifies additional description about customs options. This is a required field when the customs options type is "OTHER". - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Describes an approved container used to package dangerous goods commodities. This does not describe any individual inner receptacles that may be within this container. - - - - - Indicates whether there are additional inner receptacles within this container. - - - - - Indicates the type of this dangerous goods container, as specified by the IATA packing instructions. For example, steel cylinder, fiberboard box, plastic jerrican and steel drum. - - - - - Indicates the packaging type of the container used to package the radioactive materials. - - - - - Indicates the number of occurrences of this container with identical dangerous goods configuration. - - - - - Documents the kinds and quantities of all hazardous commodities in the current container. - - - - - - - - - This field is used to identify an instance of an uploaded dangerous goods handling unit. - - - - - - - Shipment is packaged/documented for movement ONLY on cargo aircraft. - - - - - Indicates which kinds of hazardous content are in the current package. - - - - - Indicates whether there is additional customer provided packaging enclosing the approved dangerous goods containers. - - - - - Identifies the configuration of this dangerous goods package. The common configuration is represented at the shipment level. - - - - - Indicates one or more containers used to pack dangerous goods commodities. - - - - - Description of the packaging of this commodity, suitable for use on OP-900 and OP-950 forms. - - - - - Name, title and place of the signatory for this shipment. - - - - - Telephone number to use for contact in the event of an emergency. - - - - - Offeror's name or contract number, per DOT regulation. - - - - - Specifies the contact of the party responsible for handling the infectious substances, if any, in the dangerous goods shipment. - - - - - Specifies additional handling information for the current package. - - - - - Specifies the radioactivity detail for the current package, if the package contains radioactive materials. - - - - - - - - - - - - The instructions indicating how to print the 1421c form for dangerous goods shipment. - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Specifies the usage and identification of customer supplied images to be used on this document. - - - - - - - Specifies that name, title and place of the signatory responsible for the dangerous goods shipment. - - - - - - - Indicates the place where the form is signed. - - - - - - - - - - - - - - - - - - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - - Only used for tags which had FedEx Express services. - - - - - Only used for tags which had FedEx Express services. - - - - - If the original ProcessTagRequest specified third-party payment, then the delete request must contain the same pay type and payor account number for security purposes. - - - - - - - - Specifies the type of deletion to be performed on a shipment. - - - - - - - - - - - - - - Specifies the tracking id for the return, if preassigned. - - - - - - - Data required to complete the Destionation Control Statement for US exports. - - - - - - Comma-separated list of up to four country codes, required for DEPARTMENT_OF_STATE statement. - - - - - Name of end user, required for DEPARTMENT_OF_STATE statement. - - - - - - - - - - - - - Specifications for pup/set or vehicle delayed for loading or unloading. - - - - - Amount of time involved in the detention. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Lists the documents that are not accepted by FedEx for this shipment. - - - - - - - - - - - - - - - - - - - Specifies the name associated with the email address. - - - - - - - - - Content of the email message. - - - - - - - - - - - - - - - - - Information describing the address of of the email recipient, role of the email recipient and languages that are requested to be supported. - - - - - EMail address of the recipient. - - - - - The relationship that the customer has to the pending shipment. - - - - - Specifies how the email notification for the pending shipment need to be processed. - - - - - Localization and language details specified by the recipient of the EMail. - - - - - - - - - - - - - - - - - Customer-declared value, with data type and legal values depending on excise condition, used in defining the taxable value of the item. - - - - - - - Specifies the types of Estimated Duties and Taxes to be included in a rate quotation for an international shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies how to apply the localization detail to the current context. - - - - - - - - This identifies some of the document types recognized by Enterprise Document Management Service. - - - - - - - - - - - - - - - - - - - - - - - Specifies whether to confirm documents prior to processing a shipment with the ELECTRONIC_TRADE_DOCUMENTS special service. - - - - - - - - - Electronic Trade document references used with the ETD special service. - - - - - Specifies client's intent for whether all documents must be confirmed before shipment processing. - - - - - - Indicates the types of shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data. - - - - - - - - The instructions indicating how to print the Export Declaration. - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Specifies the usage and identification of customer supplied images to be used on this document. - - - - - - - - - - General field for exporting-country-specific export data (e.g. B13A for CA, FTSR Exemption or AES Citation for US). - - - - - - - - - - - - - - - - - - - - - - - - - Indicates a FedEx Express operating region. - - - - - - - - - - - - Specification for labor time spent handling shipment. - - - - - Total labor time. - - - - - - - Identifies a kind of FedEx facility. - - - - - - - - - - - - - - - - - - - Specifies the optional features/characteristics requested for a Freight shipment utilizing a flatbed trailer. - - - - - - - - - - - - - - Data required to produce the Freight handling-unit-level address labels. Note that the number of UNIQUE labels (the N as in 1 of N, 2 of N, etc.) is determined by total handling units. - - - - - - Indicates the number of copies to be produced for each unique label. - - - - - Specifies the quadrant of the page on which the label printing will start. - - - - - If omitted, no doc tab will be produced (i.e. default = former NONE type). - - - - - Controls the position of the customer specified content relative to the FedEx portion. - - - - - - - - Individual charge which contributes to the total base charge for the shipment. - - - - - Freight class for this line item. - - - - - Effective freight class used for rating this line item. - - - - - NMFC Code for commodity. - - - - - Customer-provided description for this commodity or class line. - - - - - Weight for this commodity or class line. - - - - - Rate or factor applied to this line item. - - - - - Identifies the manner in which the chargeRate for this line item was applied. - - - - - The net or extended charge for this line item. - - - - - - - Specifies the way in which base charges for a Freight shipment or shipment leg are calculated. - - - - - - - - - - - - - - - - - - - - - - These values represent the industry-standard freight classes used for FedEx Freight and FedEx National Freight shipment description. (Note: The alphabetic prefixes are required to distinguish these values from decimal numbers on some client platforms.) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Date for all Freight guarantee types. - - - - - Time for GUARANTEED_TIME only. - - - - - - - - - - - - - Identifies responsibilities with respect to loss, damage, etc. - - - - - - - - - Rate data specific to FedEx Freight or FedEx National Freight services. - - - - - A unique identifier for a specific rate quotation. - - - - - Specifies whether the rate quote was automated or manual. - - - - - Specifies how total base charge is determined. - - - - - Freight charges which accumulate to the total base charge for the shipment. - - - - - Human-readable descriptions of additional information on this shipment rating. - - - - - - - Additional non-monetary data returned with Freight rates. - - - - - Unique identifier for notation. - - - - - Human-readable explanation of notation. - - - - - - - Specifies the type of rate quote - - - - - - - - - Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. - - - - - Account number used with FEDEX_FREIGHT service. - - - - - Used for validating FedEx Freight account number and (optionally) identifying third party payment on the bill of lading. - - - - - Used in connection with "Send Bill To" (SBT) identification of customer's account used for billing. - - - - - Identification values to be printed during creation of a Freight bill of lading. - - - - - Indicates the role of the party submitting the transaction. - - - - - Designates the terms of the "collect" payment for a Freight Shipment. - - - - - Identifies the declared value for the shipment - - - - - Identifies the declared value units corresponding to the above defined declared value - - - - - - Identifiers for promotional discounts offered to customers. - - - - - Total number of individual handling units in the entire shipment (for unit pricing). - - - - - Estimated discount rate provided by client for unsecured rate quote. - - - - - Total weight of pallets used in shipment. - - - - - Overall shipment dimensions. - - - - - Description for the shipment. - - - - - Specifies which party will pay surcharges for any special services which support split billing. - - - - - Must be populated if any line items contain hazardous materials. - - - - - - Details of the commodities in the shipment. - - - - - - - Description of an individual commodity or class of content in a shipment. - - - - - A unique identifier assigned to this line item. - - - - - Freight class for this line item. - - - - - FEDEX INTERNAL USE ONLY: for FedEx system that estimate freight class from customer-provided dimensions and weight. - - - - - Identifies billing mask, if used to populate this line item. - - - - - Specifies line item level liability coverage. - - - - - Number of individual handling units to which this line applies. (NOTE: Total of line-item-level handling units may not balance to shipment-level total handling units.) - - - - - Specification of handling-unit packaging for this commodity or class line. - - - - - Number of pieces for this commodity or class line. - - - - - NMFC Code for commodity. - - - - - Indicates the kind of hazardous material content in this line item. - - - - - For printed reference per line item. - - - - - Customer-provided description for this commodity or class line. - - - - - Weight for this commodity or class line. - - - - - - Volume (cubic measure) for this commodity or class line. - - - - - - - Indicates the role of the party submitting the transaction. - - - - - - - - - Specifies which party will be responsible for payment of any surcharges for Freight special services for which split billing is allowed. - - - - - Identifies the special service. - - - - - Indicates who will pay for the special service. - - - - - - - Data required to produce a General Agency Agreement document. Remaining content (business data) to be defined once requirements have been completed. - - - - - - - - Represents features of FedEx Ground delivery for which the shipment is eligible. - - - - - - - - - - - - - - - - - Documents the kind and quantity of an individual hazardous commodity in a package. - - - - - Identifies and describes an individual hazardous commodity. - - - - - Specifies the amount of the commodity in alternate units. - - - - - This describes the inner receptacle details for a hazardous commodity within the dangerous goods container. - - - - - Customer-provided specifications for handling individual commodities. - - - - - Specifies the details of any radio active materials within the commodity. - - - - - The total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. - - - - - - - Identifies and describes an individual hazardous commodity. - - - - - Regulatory identifier for a commodity (e.g. "UN ID" value). - - - - - In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. - - - - - - - - - - - - - - Indicates any special processing options to be applied to the description of the dangerous goods commodity. - - - - - Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. - - - - - - - Specifies any special processing to be applied to the dangerous goods commodity description validation. - - - - - - - - This describes information about the inner receptacles for the hazardous commodity in a particular dangerous goods container. - - - - - This specifies the quantity contained in the inner receptacle. - - - - - - - Specifies how the commodity is to be labeled. - - - - - - - - - - Customer-provided specifications for handling individual commodities. - - - - - Specifies how the customer wishes the label text to be handled for this commodity in this package. - - - - - Text used in labeling the commodity under control of the labelTextOption field. - - - - - - - Indicates which kind of hazardous content is being reported. - - - - - - - - - - - - - Identifies number and type of packaging units for hazardous commodities. - - - - - Number of units of the type below. - - - - - Units in which the hazardous commodity is packaged. - - - - - - - Specifies documentation and limits for validation of an individual packing group/category. - - - - - - Coded specification for how commodity is to be packed. - - - - - - - Identifies DOT packing group for a hazardous commodity. - - - - - - - - - - - Identifies amount and units for quantity of hazardous commodities. - - - - - Number of units of the type below. - - - - - Units by which the hazardous commodity is measured. For IATA commodity, the units values are restricted based on regulation type. - - - - - Specifies which measure of quantity is to be validated. - - - - - - - Specifies the measure of quantity to be validated against a prescribed limit. - - - - - - - - - Identifies the source of regulation for hazardous commodity data. - - - - - - - - - - - - - - - - - - Contact phone number for recipient of shipment. - - - - - Contact and address of FedEx facility at which shipment is to be held. - - - - - Type of facility at which package/shipment is to be held. - - - - - Location identification (for facilities identified by an alphanumeric location code). - - - - - Location identification (for facilities identified by an numeric location code). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Names for data elements / areas which may be suppressed from printing on labels. - - - - - - - - - - - - - - - - - - Specifies the order in which the labels will be returned - - - - - - - - - - - - - - - Relative to normal orientation for the printer. - - - - - - - - - - - - - Specifies how to create, organize, and return the document. - - - - - - - - - - Specifies the order in which the labels are requested to be returned - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifies the Liability Coverage Amount. For Jan 2010 this value represents coverage amount per pound - - - - - - - - - - - - - - - License or Permit Number. - - - - - Specifies the effective date of the license. - - - - - Specifies the expiration date of the license. - - - - - - - Represents a one-dimensional measurement in small units (e.g. suitable for measuring a package or document), contrasted with Distance, which represents a large one-dimensional measurement (e.g. distance between cities). - - - - - The numerical quantity of this measurement. - - - - - The units for this measurement. - - - - - - - - - - - - - Identifies the representation of human-readable text. - - - - - Two-letter code for language (e.g. EN, FR, etc.) - - - - - Two-letter code for the region (e.g. us, ca, etc..). - - - - - - - Specification for marking or tagging of pieces in shipment. - - - - - Number of pieces to be marked or tagged by FedEx. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Data required to produce a Certificate of Origin document. Remaining content (business data) to be defined once requirements have been completed. - - - - - - - Indicates which Party (if any) from the shipment is to be used as the source of importer data on the NAFTA COO form. - - - - - Contact information for "Authorized Signature" area of form. - - - - - - - - - - - - Defined by NAFTA regulations. - - - - - Defined by NAFTA regulations. - - - - - Identification of which producer is associated with this commodity (if multiple producers are used in a single shipment). - - - - - - Date range over which RVC net cost was calculated. - - - - - - - - - - - - - - - Specifies the information necessary for printing the NAFTA Low Value statement on customs documentation. - - - - - Specifies the NAFTA statement role. - - - - - - - - - - - - - See instructions for NAFTA Certificate of Origin for code definitions. - - - - - - - - - - - - - - - - - - - See instructions for NAFTA Certificate of Origin for code definitions. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specification for services performed during non-business hours and/or days. - - - - - Total number of person days for full non-business days. - - - - - Total number of person hours (whole or partial hours) for non-business hours. - - - - - - - The descriptive data regarding the result of the submitted transaction. - - - - - The severity of this notification. This can indicate success or failure or some other information about the request. The values that can be returned are SUCCESS - Your transaction succeeded with no other applicable information. NOTE - Additional information that may be of interest to you about your transaction. WARNING - Additional information that you need to know about your transaction that you may need to take action on. ERROR - Information about an error that occurred while processing your transaction. FAILURE - FedEx was unable to process your transaction at this time due to a system failure. Please try again later - - - - - Indicates the source of this notification. Combined with the Code it uniquely identifies this notification - - - - - A code that represents this notification. Combined with the Source it uniquely identifies this notification. - - - - - Human-readable text that explains this notification. - - - - - The translated message. The language and locale specified in the ClientDetail. Localization are used to determine the representation. Currently only supported in a TrackReply. - - - - - A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) without having to parse the message string. - - - - - - - - - Indicates the type of notification that will be sent. - - - - - Specifies the email notification details. - - - - - Specifies the localization for this notification. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifies the type of data contained in Value (e.g. SERVICE_TYPE, PACKAGE_SEQUENCE, etc..). - - - - - The value of the parameter (e.g. PRIORITY_OVERNIGHT, 2, etc..). - - - - - - - - - - - - - - - - - - - - - - - Unique identifier for this offering. - - - - - Specifies values like PRIORITY_OVERNIGHT, FEDEX_ENVELOPE, PRIORITY_ALERT, and other values typically used to identify various offerings in transactions. - - - - - Specifies the two character code used for operationalization of this offering. - - - - - - - The instructions indicating how to print the OP-900 form for hazardous materials packages. - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Identifies which reference type (from the package's customer references) is to be used as the source for the reference on this OP-900. - - - - - Specifies the usage and identification of customer supplied images to be used on this document. - - - - - Data field to be used when a name is to be printed in the document instead of (or in addition to) a signature image. - - - - - - - - - Position of operational instruction element. - - - - - Content corresponding to the operational instruction. - - - - - - - - - - - - - - Each instance of this data type represents the set of barcodes (of all types) which are associated with a specific package. - - - - - Binary-style barcodes for this package. - - - - - String-style barcodes for this package. - - - - - - - Package-level data required for labeling and/or movement. - - - - - Human-readable text for pre-January 2011 clients. - - - - - Human-readable content for use on a label. - - - - - The operational barcodes pertaining to the current package. - - - - - The FedEx internal code that represents the service and/or features of service for the current package moving under a FedEx Ground service. - - - - - - - Data for a package's rates, as calculated per a specific rate type. - - - - - Type used for this specific set of rate data. - - - - - Indicates which weight was used. - - - - - INTERNAL FEDEX USE ONLY. - - - - - - The dimensional weight of this package (if greater than actual). - - - - - The oversize weight of this package (if the package is oversize). - - - - - The transportation charge only (prior to any discounts applied) for this package. - - - - - The sum of all discounts on this package. - - - - - This package's baseCharge - totalFreightDiscounts. - - - - - The sum of all surcharges on this package. - - - - - This package's netFreight + totalSurcharges (not including totalTaxes). - - - - - The sum of all taxes on this package. - - - - - This package's netFreight + totalSurcharges + totalTaxes. - - - - - - All rate discounts that apply to this package. - - - - - All rebates that apply to this package. - - - - - All surcharges that apply to this package (either because of characteristics of the package itself, or because it is carrying per-shipment surcharges for the shipment of which it is a part). - - - - - All taxes applicable (or distributed to) this package. - - - - - - - - This class groups together for a single package all package-level rate data (across all rate types) as part of the response to a shipping request, which groups shipment-level data together and groups package-level data by package. - - - - - This rate type identifies which entry in the following array is considered as presenting the "actual" rates for the package. - - - - - The "list" net charge minus "actual" net charge. - - - - - Each element of this field provides package-level rate data for a specific rate type. - - - - - - - These special services are available at the package level for some or all service types. If the shipper is requesting a special service which requires additional data, the package special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. - - - - - Indicates the package special service types that are requested on this shipment. For a list of the valid package special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. - - - - - For use with FedEx Ground services only; COD must be present in shipment's special services. - - - - - - Provides details about the batteries or cells that are contained within this specific package. - - - - - - - - - - - - - - - - Branded, translated, and/or localized names for this packaging. - - - - - - - - - - - - - - - - - Specifications for pallets to be shrinkwrapped as part of a Freight shipment. - - - - - Number of pallets to be shrinkwrapped. - - - - - - - Specifications for pallets to be provided on Freight shipment. - - - - - Number of pallets to be provided. - - - - - - - This type contains equivalent data to Contact, but uses a form of person name with separate first and last names. - - - - - - - - - - - - - - This type contains equivalent data to ContactAndAddress, but uses a form of person name with separate first, middle and last names. - - - - - - - - - The descriptive data for a person's name broken out into individual name elements such as first name, last name. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This information describes how and when a pending shipment may be accessed for completion. - - - - - - - - Specifies the details to be used by the user of the pending shipment - - - - - Specifies the role of the user who is trying to access the pending shipment. - - - - - - - - - - This information describes the kind of pending shipment being requested. - - - - - - Date after which the pending shipment will no longer be available for completion. - - - - - Only used with type of EMAIL. - - - - - - These are documents that are recommended to be included with the shipment. - - - - - Upload document details provided by the initator of the shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This enumeration rationalizes the former FedEx Express international "admissibility package" types (based on ANSI X.12) and the FedEx Freight packaging types. The values represented are those common to both carriers. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This class describes the pickup characteristics of a shipment (e.g. for use in a tag request). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Represents a reference identifier printed on Freight bills of lading - - - - - - - - - Identifies a particular reference identifier printed on a Freight bill of lading. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Empty unless error label behavior is PACKAGE_ERROR_LABELS and one or more errors occured during transaction processing. - - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - - - - - - - - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - - - - - - - The type of name (long, medium, short, etc.) to which this value refers. - - - - - The character encoding used to represent this product name. For example, UTF-8. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates the packaging type of the container used to package radioactive hazardous materials. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates whether packaging type "EXCEPTED" or "EXCEPTED_PACKAGE" is for radioactive material in reportable quantity. - - - - - - - - - Indicates the reason that a dim divisor value was chose. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Selects the value from a set of rate data to which the percentage is applied. - - - - - - - - - - - - - - - - - - - - - Select the type of rate from which the element is to be selected. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. - - - - - Specifies the kind of identification being used. - - - - - Contains the actual ID value, of the type specified above. - - - - - - - - - - - - - - Specifies the details about documents that are recommended to be included with the shipment for ease of shipment processing and transportation. - - - - - - - - Type of documents that are recommended to be included with the shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies details needed to generate any label artifacts required due to regulatory requirements. - - - - - - Specifies how the customer requested the regulatory label to be generated. - - - - - - - - - - - - - - - - - - This is a 1-based index identifying the commodity in the request that resulted in this COMMODITY or DOCUMENT type prohibition. - - - - - - - - - - - - FOR FEDEX INTERNAL USE ONLY: The id of the waiver. - - - - - FOR FEDEX INTERNAL USE ONLY: The description of the waiver. - - - - - - - - Describes the vertical position of an item relative to another item. - - - - - - - - - - - A unique identifier of each requested package line item. - - - - - An identifier of each group of identical packages. - - - - - Used as the number or count of identical packages in a group. - - - - - Only used when clients are assigning a tracking number to this package. Should not be used when groupPackageCount is greater than one. - - - - - - Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. - - - - - Represents the gross weight of the package line item. - - - - - FEDEX INTERNAL USE ONLY. - - - - - - Provides additional detail on how the customer has physically packaged this item. As of June 2009, required for packages moving under international and SmartPost services. - - - - - - Human-readable text describing the package. - - - - - Human-readable text describing the contents of the package to be used for clearance purposes. - - - - - - - Details the contents of the package. - - - - - - - - - - - - This field contains the service type values, like PRIORITY_OVERNIGHT and FEDEX_GROUND. - - - - - This field contains the packaging type values, like YOUR_PACKAGING and FEDEX_ENVELOPE. - - - - - The client's shipping cycle to which this shipment belongs. - - - - - This specifies information related to the manifest associated with the shipment. - - - - - The shipment variations for the current shipment expressed in key-value pairs. - - - - - - Specifies the total declared value for carriage of the shipment. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the shipment. - - - - - This attribute indicates the currency the caller requests to have used in all returned monetary values (when a choice is possible). - - - - - Specifies details about the entity responsible for the shipment. - - - - - - - - Physical starting address for the shipment, if different from shipper's address. - - - - - The sold-to party is used for customs clearance; for example, in support of US import customs rules. The need for this field could vary based on whether a sold-to party was specified on a consolidation. - - - - - - - Specifies any custom processing to be applied to this shipment. - - - - - - Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. - - - - - Used with Ground Home Delivery and Freight. - - - - - - Customs clearance data, used for both international and intra-country shipping. - - - - - For use in "process tag" transaction. - - - - - Specifies the characteristics of a shipment pertaining to SmartPost services. - - - - - If true, only the shipper/payor will have visibility of this shipment. - - - - - Specifies the client-requested response in the event of errors within shipment. - - - - - - Contains data used to create additional (non-label) shipping documents. - - - - - Specifies whether and what kind of rates the customer wishes to have quoted on this shipment. The reply will also be constrained by other data on the shipment and customer. - - - - - Specifies the type of rate the customer wishes to have used as the actual rate type. - - - - - Specifies whether the customer wishes to have Estimated Duties and Taxes provided with the rate quotation on this shipment. Only applies with shipments moving under international services. - - - - - Specifies the details for the custom rates. - - - - - Only used with multiple-transaction shipments, to identify the master package in a multi-piece shipment. - - - - - The total number of packages in the entire shipment (even when the shipment spans multiple transactions.) - - - - - Specifies data structures that may be re-used multiple times with s single shipment. - - - - - One or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics all packages in the shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - This identifies the document types that can be required. This can also indicate when either a COMMERCIAL_INVOICE or a PRO_FORMA_INVOICE is required through the COMMERCIAL_OR_PRO_FORMA_INVOICE option. - - - - - - - - - - - - - - - - - - - - - - Specifies the tracking number of the master associated with the return shipment. - - - - - - - - These values are used to control the availability of certain special services at the time when a customer uses the e-mail label link to create a return shipment. - - - - - - - - - - - - Identifies the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created. Only services represented in EMailLabelAllowedSpecialServiceType will be controlled by this list. - - - - - - - The instructions indicating how to print the return instructions( e.g. image type) Specifies characteristics of a shipping document to be produced. - - - - - - Specifies additional customer provided text to be inserted into the return document. - - - - - - - - - - - - - - - - - - - - - - - - The "PAYOR..." rates are expressed in the currency identified in the payor's rate table(s). The "RATED..." rates are expressed in the currency of the origin country. Former "...COUNTER..." values have become "...RETAIL..." values, except for PAYOR_COUNTER and RATED_COUNTER, which have been removed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - June 2011 ITG 121203 IR-RMA number has been removed from this structure and added as a new customer reference type. The structure remains because of the reason field below. - - - - - - - - Describes the rotation of an item from its default orientation. - - - - - - - - - - - - - - - - - - - - - - - Branded, translated, and/or localized names for this service. - - - - - - - - - - - - - - Specification for assembly performed on shipment. - - - - - Number of pieces or packages to be assembled - - - - - Total weight of pieces or packages to be assembled - - - - - - - - - - - - Specifies data structures that may be re-used multiple times with s single shipment. - - - - - Specifies the data that is common to dangerous goods packages in the shipment. This is populated when the shipment contains packages with identical dangerous goods commodities. - - - - - - - Shipment-level totals of dry ice data across all packages. - - - - - Total number of packages in the shipment that contain dry ice. - - - - - Total shipment dry ice weight for all packages. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type. - - - - - Human-readable text describing the shipment leg. - - - - - Origin for this leg. - - - - - Specifies the location id the origin of shipment leg. - - - - - Destination for this leg. - - - - - Specifies the location id the destination of shipment leg. - - - - - Type used for this specific set of rate data. - - - - - Indicates the rate scale used. - - - - - Indicates the rate zone used (based on origin and destination). - - - - - - Indicates which weight was used. - - - - - INTERNAL FEDEX USE ONLY. - - - - - Specifies the currency exchange performed on financial amounts for this rate. - - - - - Indicates which special rating cases applied to this shipment. - - - - - - Identifies the type of dim divisor that was applied. - - - - - - - Sum of dimensional weights for all packages. - - - - - - - - - This shipment's totalNetFreight + totalSurcharges (not including totalTaxes). - - - - - Total of the transportation-based taxes. - - - - - - - Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment. - - - - - This shipment's totalNetCharge + totalDutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account. - - - - - Rate data specific to FedEx Freight and FedEx National Freight services. - - - - - All rate discounts that apply to this shipment. - - - - - All rebates that apply to this shipment. - - - - - All surcharges that apply to this shipment. - - - - - All transportation-based taxes applicable to this shipment. - - - - - All commodity-based duties and taxes applicable to this shipment. - - - - - The "order level" variable handling charges. - - - - - The total of all variable handling charges at both shipment (order) and package level. - - - - - - - - - This identifies which customer reference field contains the manifest ID. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This is the state of the destination location ID, and is not necessarily the same as the postal state. - - - - - Expected/estimated date of delivery. - - - - - Expected/estimated day of week of delivery. - - - - - Delivery time, as published in Service Guide. - - - - - Committed date of delivery. - - - - - Committed day of week of delivery. - - - - - Standard transit time per origin, destination, and service. - - - - - Maximum expected transit time - - - - - Transit time based on customer eligibility. - - - - - Indicates that this shipment is not eligible for money back guarantee. - - - - - FedEx Ground delivery features for which this shipment may be eligible. - - - - - Text describing planned delivery. - - - - - - - - - - - - - - - Identifies special or custom features to be applied to a shipment. - - - - - - - - - - - - - - - - - - Specifies special or custom features to be applied during the processing of the enclosing RequestedShipment. - - - - - Identifies options to be applied. - - - - - Specifies custom transit time to be applied to the shipment. - - - - - - - Data for a shipment's total/summary rates, as calculated per a specific rate type. The "total..." fields may differ from the sum of corresponding package data for Multiweight or Express MPS. - - - - - Type used for this specific set of rate data. - - - - - Indicates the rate scale used. - - - - - Indicates the rate zone used (based on origin and destination). - - - - - - Indicates which weight was used. - - - - - INTERNAL FEDEX USE ONLY. - - - - - FEDEX INTERNAL USE ONLY - the user ID provided when this rate was created - - - - - Specifies the currency exchange performed on financial amounts for this rate. - - - - - Indicates which special rating cases applied to this shipment. - - - - - - Identifies the type of dim divisor that was applied. - - - - - - - Sum of dimensional weights for all packages. - - - - - - - - - This shipment's totalNetFreight + totalSurcharges (not including totalTaxes). - - - - - Total of the transportation-based taxes. - - - - - - - Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment. - - - - - Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. - - - - - The total of the totalDutiesAndTaxes plus the totalAncillaryFeesAndTaxes. - - - - - This shipment's totalNetCharge + totalDutiesTaxesAndFees; some duties and taxes are only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account. - - - - - Identifies the Rate Details per each leg in a Freight Shipment - - - - - Rate data specific to FedEx Freight and FedEx National Freight services. - - - - - All rate discounts that apply to this shipment. - - - - - All rebates that apply to this shipment. - - - - - All surcharges that apply to this shipment. - - - - - All transportation-based taxes applicable to this shipment. - - - - - All commodity-based duties and taxes applicable to this shipment. - - - - - Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. - - - - - The "order level" variable handling charges. - - - - - The total of all variable handling charges at both shipment (order) and package level. - - - - - - - This class groups together all shipment-level rate data (across all rate types) as part of the response to a shipping request, which groups shipment-level data together and groups package-level data by package. - - - - - This rate type identifies which entry in the following array is considered as presenting the "actual" rates for the shipment. - - - - - The "list" total net charge minus "actual" total net charge. - - - - - Each element of this field provides shipment-level rate totals for a specific rate type. - - - - - - - - - - - - - - - - - - - - - - - These special services are available at the shipment level for some or all service types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. - - - - - Indicates the shipment special service types that are requested on this shipment. For a list of the valid shipment special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. - - - - - - - - This replaces eMailNotificationDetail - - - - - - This field should be populated for pending shipments (e.g. e-mail label) It is required by a PENDING_SHIPMENT special service type. - - - - - - - - - - - Electronic Trade document references. - - - - - Specification for labor to be performed with the shipment. - - - - - Specifications for pallets to be shrinkwrapped as part of a Freight shipment. - - - - - Specifications for pallets to be provided on Freight shipment. - - - - - Specifications for pup/set or vehicle delayed for loading or unloading. - - - - - Specification for marking or tagging of pieces in shipment. - - - - - Specification for services performed during non-business hours and/or days. - - - - - Specification for assembly performed on shipment. - - - - - Specification for sorting and/or segregating performed on shipment. - - - - - Specification for special equipment used in loading/unloading shipment. - - - - - Specification for storage provided for shipment. - - - - - Specification for weighing services provided for shipment. - - - - - Specification for date or range of dates on which delivery is to be attempted. - - - - - - - - - Specifies the name or the key for the shipment variation. - - - - - The values that are valid for the specified shipment variation in the context of the current shipment. - - - - - - - - - This indicates the identifier of a conveyance, such as a trailer ID. - - - - - - - - - - The localizations are populated if multiple language versions of a shipping document are returned. - - - - - Specifies how this document image/file is organized. - - - - - - The name under which a STORED, DEFERRED or EMAILED document is written. - - - - - Specifies the image type of this shipping document. - - - - - Specifies the image resolution in DPI (dots per inch). - - - - - Can be zero for documents whose disposition implies that no content is included. - - - - - One or more document parts which make up a single logical document, such as multiple pages of a single form. - - - - - - - Each occurrence of this class specifies a particular way in which a kind of shipping document is to be produced and provided. - - - - - Values in this field specify how to create and return the document. - - - - - Specifies how to organize all documents of this type. - - - - - Specifies how to store document images. - - - - - Specifies how to e-mail document images. - - - - - Specifies how a queued document is to be printed. - - - - - - - Specifies how to return a shipping document to the caller. - - - - - - - - - - - - - Specifies how to e-mail shipping documents. - - - - - Provides the roles and email addresses for e-mail recipients. - - - - - Identifies the convention by which documents are to be grouped as e-mail attachments. - - - - - Specifies the language in which the email containing the document is requested to be composed. - - - - - - - - - - - - - Specifies an individual recipient of e-mailed shipping document(s). - - - - - Identifies the relationship of this recipient in the shipment. - - - - - Address to which the document is to be sent. - - - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Specifies how to create, organize, and return the document. - - - - - Specifies how far down the page to move the beginning of the image; allows for printing on letterhead and other pre-printed stock. - - - - - - - For those shipping document types which have both a "form" and "instructions" component (e.g. NAFTA Certificate of Origin and General Agency Agreement), this field indicates whether to provide the instructions. - - - - - - Governs the language to be used for this individual document, independently from other content returned for the same shipment. - - - - - Identifies the individual document specified by the client. - - - - - - - Specifies how to organize all shipping documents of the same type. - - - - - - - - - Specifies the image format used for a shipping document. - - - - - - - - - - - - - - - - Identifies the convention by which file names are constructed for STORED or DEFERRED documents. - - - - - - - - - A single part of a shipping document, such as one page of a multiple-page document whose format requires a separate image per page. - - - - - The one-origin position of this part within a document. - - - - - Graphic or printer commands for this image within a document. - - - - - - - Specifies printing options for a shipping document. - - - - - Provides environment-specific printer identification. - - - - - - - Contains all data required for additional (non-label) shipping documents to be produced in conjunction with a specific shipment. - - - - - Indicates the types of shipping documents requested by the shipper. - - - - - - - Specifies the production of each package-level custom document (the same specification is used for all packages). - - - - - Specifies the production of a shipment-level custom document. - - - - - - - - Specifies the production of the OP-900 document for hazardous materials packages. - - - - - Specifies the production of the 1421c document for dangerous goods shipment. - - - - - Specifies the production of the OP-900 document for hazardous materials. - - - - - - Specifies the production of the return instructions document. - - - - - - - Specifies the type of paper (stock) on which a document will be printed. - - - - - - - - - - - - - - - - - - - - - Specifies how to store shipping documents. - - - - - Indicates the mechanism by which a shipping document will be stored for later retrieval. - - - - - Provides the path to be used for STORED or DEFERRED documents. - - - - - Identifies the convention by which file names are constructed for STORED or DEFERRED documents. - - - - - Suffix to be placed at the end of the file name; required on some platforms to determine file type. - - - - - - - - - - - - - - - - - - - - - - - - - - - - These values are mutually exclusive; at most one of them can be attached to a SmartPost shipment. - - - - - - - - - - - - - - - - - - - - - Data required for shipments handled under the SMART_POST and GROUND_SMART_POST service types. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specification for sorting and/or segregating performed on shipment. - - - - - Number of pieces or packages to be sorted/segregated - - - - - Total weight of pieces or packages to be sorted/segregated - - - - - - - Specification for special equipment used in loading/unloading shipment. - - - - - Contains an entry for each type of special equipment used with shipment - - - - - - - Specifies the usage of a single type of special equipment while loading/unloading a shipment - - - - - Type of equipment used - - - - - Total amount of time the equipment was used - - - - - - - Identifies types of special equipment used in loading/unloading Freight shipments - - - - - - - - - - - - - - - - - - - - - Specification for storage provided for shipment. - - - - - Total time shipment is held by carrier. - - - - - - - Each instance of this data type represents a barcode whose content must be represented as ASCII text (i.e. not binary data). - - - - - The kind of barcode data in this instance. - - - - - The data content of this instance. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifice the kind of tax or miscellaneous charge being reported on a Commercial Invoice. - - - - - - - - - - - - - - - - - Identifies the usage of Tax Identification Number in Shipment processing - - - - - - - - - - - - - - - - - - - - - - For use with SmartPost tracking IDs only - - - - - - - - - - - - - - - - - - - - - Free form text to be echoed back in the reply. Used to match requests and replies. - - - - - Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection). - - - - - Unique identifier assigned/forwarded by internal FAST services only, to associate service transactions comprising a single business work unit. - - - - - Each FAST service should log request/reply pairs for any transaction in which this attribute is true. This is for internal use only (capturing transaction data for diagnostic purposes). - - - - - Indicates the format in which the transaction was presented to FedEx, used to help identify error-translation context. - - - - - Identifies the environment (level) in which the current transaction should be processed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the application that is responsible for managing the document id. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Description of the uploaded document. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - - - - - Documents the kind and quantity of an individual hazardous commodity in a package. - - - - - Identifies and describes an individual hazardous commodity. - - - - - Specifies the amount of the commodity in alternate units. - - - - - The mass points are a calculation used by ADR regulations for measuring the risk of a particular hazardous commodity. - - - - - Customer-provided specifications for handling individual commodities. - - - - - The total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. - - - - - - - Identifies and describes an individual hazardous commodity. For 201001 load, this is based on data from the FedEx Ground Hazardous Materials Shipping Guide. - - - - - Regulatory identifier for a commodity (e.g. "UN ID" value). - - - - - In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. - - - - - - - - Fully-expanded descriptive text for a hazardous commodity. - - - - - - - - Coded indications for special requirements or constraints. - - - - - - - - - - - - Specifies the concept of a container used to package dangerous goods commodities. - - - - - Indicates that the quantity of the dangerous goods packaged is permissible for shipping. This is used to ensure that the dangerous goods commodities do not exceed the net quantity per package restrictions. - - - - - Documents the kinds and quantities of all hazardous commodities in the current package. - - - - - - - This definition of variable handling charge detail is intended for use in Jan 2011 corp load. - - - - - - Actual percentage (10 means 10%, which is a mutiplier of 0.1) - - - - - Select the value from a set of rate data to which the percentage is applied. - - - - - Select the type of rate from which the element is to be selected. - - - - - - - - - - - - - - - Three-dimensional volume/cubic measurement. - - - - - - - - - Units of three-dimensional volume/cubic measure. - - - - - - - - - Identifies the environment (level) for which an AuthenticationCredential is valid, and within which transactions are received. - - - - - - - - - Specifies a single type of weighing performed on a shipment - - - - - Type of scale used - - - - - - - Identifies types of scales used in weighing Freight shipments - - - - - - - - - The descriptive data for the heaviness of an object. - - - - - Identifies the unit of measure associated with a weight value. - - - - - Identifies the weight value of a package/shipment. - - - - - - - - - - - - - - - - - - - Used in authentication of the sender's identity. - - - - - This was renamed from cspCredential. - - - - - Credential used to authenticate a specific software application. This value is provided by FedEx after registration. - - - - - - - Two part authentication string used for the sender's identity - - - - - Identifying part of authentication credential. This value is provided by FedEx after registration - - - - - Secret part of authentication key. This value is provided by FedEx after registration. - - - - - - - Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply). - - - - - Identifies a system or sub-system which performs an operation. - - - - - Identifies the service business level. - - - - - Identifies the service interface level. - - - - - Identifies the service code level. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + Specifies the role that identifies the permissions the accessor of the pending shipment. + + + + + + + + + Specifies additional labels to be produced. All required labels for shipments will be produced without the need to request additional labels. These are only available as thermal labels. + + + + + The type of additional labels to return. + + + + + The number of this type label to return + + + + + + + + + + + + + + + + + + + + + + Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US). + + + + + Combination of number, street name, etc. At least one line is required for a valid physical address; empty lines should not be included. + + + + + Name of city, town, etc. + + + + + Identifying abbreviation for US state, Canada province, etc. Format and presence of this field will vary, depending on country. + + + + + Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country. + + + + + Relevant only to addresses in Puerto Rico. + + + + + The two-letter code used to identify a country. + + + + + The fully spelt out name of a country. + + + + + Indicates whether this address residential (as opposed to commercial). + + + + + The geographic coordinates cooresponding to this address. + + + + + + + Specifies the details around the ADR license required for shipping. + + + + + + + + Specifies details for a package containing alcohol + + + + + The license type that the recipient of the alcohol package. + + + + + + + Specifies the type of license that the recipient of the alcohol shipment has. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This enumeration represents a kind of "legacy" account number from a FedEx operating entity. + + + + + + + + + + + + + A freight line item identifier referring to a freight shipment line item that describes goods contained within this handling unit. + + + + + + + + + + + + + + Specifies the tracking id for the payment on the return. + + + + + Specifies additional customer reference data about the associated shipment. + + + + + Specifies shipment level operational information. + + + + + Specifies package level operational information on the associated shipment. This information is not tied to an individual outbound package. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identification of the type of barcode (symbology) used on FedEx documents and labels. + + + + + + + + + + + + + + + + + + + Describes attributes of a battery or cell that are used for classification purposes. Typically this structure would be used to allow customers to declare batteries or cells for which full dangerous goods documentation and procedures are not required. + + + + + Describes the material composition of the battery or cell. + + + + + Describes the packing arrangement of the battery or cell with respect to other items within the same package. + + + + + A regulation specific classification for the battery or cell. + + + + + + + Describes the material composition of a battery or cell. + + + + + + + + + + Describes the packing arrangement of a battery or cell with respect to other items within the same package. + + + + + + + + + + A regulation specific classification for a battery or cell. + + + + + + + + Each instance of this data type represents a barcode whose content must be represented as binary data (i.e. not ASCII text). + + + + + The kind of barcode data in this instance. + + + + + The data content of this instance. + + + + + + + + + + + + + + + + + + + + + + + + Identification of a FedEx operating company (transportation). + + + + + + + + + + + + + + The instructions indicating how to print the Certificate of Origin ( e.g. whether or not to include the instructions, image type, etc ...) + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + + + + + + + + + Specifies the type of brokerage to be applied to a shipment. + + + + + + + + + + + + Descriptive data for the client submitting a transaction. + + + + + The FedEx account number associated with this transaction. + + + + + The FedEx Ground account number. + + + + + This number is assigned by FedEx and identifies the unique device from which the request is originating + + + + + FedEx internal use only. + + + + + + FedEx internal use only. The PassKey company identifier. + + + + + Client software component (e.g. "CAFE", "INET", "WBUS", etc.) + + + + + Client software component version/revision (e.g. "1800", "2630", etc.) + + + + + A FedEx assigned identifier for a third party software product used by customer to do business with FedEx. Such as a Compatible Solution Provider's product. + + + + + The version of the third party product. + + + + + FedEx internal use only. + + + + + FedEx internal use only. + + + + + Only used in transactions which require identification of the FedEx Office integrator. + + + + + Indicates the region from which the transaction is submitted. + + + + + Used for off-line uploads only. + + + + + The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) + + + + + + + + + + + + + + + + + Select the type of rate from which the element is to be selected. + + + + + + + + + Specifies the type of adjustment was performed to the COD collection amount during rating. + + + + + + + + + Identifies the type of funds FedEx should collect upon shipment delivery. + + + + + + + + + + + + Descriptive data required for a FedEx COD (Collect-On-Delivery) shipment. + + + + + + Specifies the details of the charges are to be added to the COD collect amount. + + + + + Identifies the type of funds FedEx should collect upon package delivery + + + + + For Express this is the descriptive data that is used for the recipient of the FedEx Letter containing the COD payment. For Ground this is the descriptive data for the party to receive the payment that prints the COD receipt. + + + + + When the FedEx COD payment type is not CASH, indicates the contact and address of the financial institution used to service the payment of the COD. + + + + + Specifies the name of person or company receiving the secured/unsecured funds payment + + + + + Indicates which type of reference information to include on the COD return shipping label. + + + + + Only used with multi-piece COD shipments sent in multiple transactions. Required on last transaction only. + + + + + + + Specifies the information associated with a package that has COD special service in a ground shipment. + + + + + + + + + + + + + + + + + + + + CommercialInvoice element is required for electronic upload of CI data. It will serve to create/transmit an Electronic Commercial Invoice through the FedEx Systems. Customers are responsible for printing their own Commercial Invoice.If you would likeFedEx to generate a Commercial Invoice and transmit it to Customs. for clearance purposes, you need to specify that in the ShippingDocumentSpecification element. If you would like a copy of the Commercial Invoice that FedEx generated returned to you in reply it needs to be specified in the ETDDetail/RequestedDocumentCopies element. Commercial Invoice support consists of maximum of 99 commodity line items. + + + + + Any comments that need to be communicated about this shipment. + + + + + Any freight charges that are associated with this shipment. + + + + + Any taxes or miscellaneous charges(other than Freight charges or Insurance charges) that are associated with this shipment. + + + + + Specifies which kind of charge is being recorded in the preceding field. + + + + + Any packing costs that are associated with this shipment. + + + + + Any handling costs that are associated with this shipment. + + + + + Free-form text. + + + + + Free-form text. + + + + + Free-form text. + + + + + The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice. + + + + + Not exposed to Web Services customers; only present for use in mapping from CTS transactions. + + + + + Additional customer reference data. + + + + + Name of the International Expert that completed the Commercial Invoice different from Sender. + + + + + Required for dutiable international Express or Ground shipments. This field is not applicable to an international PIB(document) or a non-document which does not require a Commercial Invoice. + + + + + + + The instructions indicating how to print the Commercial Invoice( e.g. image type) Specifies characteristics of a shipping document to be produced. + + + + + + Specifies the usage and identification of a customer supplied image to be used on this document. + + + + + + + + + + Value used to identify a commodity description; must be unique within the containing shipment. + + + + + FedEx internal commodity identifier + + + + + + A free-form description of the commodity, which could be used for customs clearance documentation. + + + + + + + + + + + Contains only additional quantitative information other than weight and quantity to calculate duties and taxes. + + + + + + The value of the commodity for customs purposes. The field should be the unit price multiplied by the quantity. + + + + + Defines additional characteristic of commodity used to calculate duties and taxes + + + + + + + + + + + + + + + + + + Specifies the results of processing for the COD special service. + + + + + + + + + + + The identifier for all clearance documents associated with this shipment. + + + + + + + + + + + + + + + Completed package-level hazardous commodity information for a single package. + + + + + A unique reference id that matches the package to a package configuration. This is populated if the client provided a package configuration for several packages that have the exact same dangerous goods content. + + + + + + When true indicates that the package can be transported only on a cargo aircraft. + + + + + + Specifies the maximum radiation level from the package (measured in microSieverts per hour at a distance of one meter from the external surface of the package, divided by 10). + + + + + Specifies the label that is to be put on a package containing radioactive material. The label type is determined in accordance with the Transportation of Dangerous Goods Act and indicates the type of radioactive material being handled as well as the relative risk. + + + + + Documents the kinds and quantities of all hazardous commodities in the current package. + + + + + + + Computed shipment level hazardous commodity information. + + + + + + + This contains the ADR License information, which identifies the license number and ADR category under which the customer is allowed to ship. + + + + + + + + + Specifies the total number of packages containing hazardous commodities in small exceptions. + + + + + + + + + Identifies the branded location name, the hold at location phone number and the address of the location. + + + + + Identifies the type of FedEx location. + + + + + + + + + + + + An identifier of each group of identical packages. + + + + + + All package-level rating data for this package, which may include data for multiple rate types. + + + + + + + + All package-level shipping documents (other than labels and barcodes). For use in loads after January, 2008. + + + + + Specifies the information associated with this package that has COD special service in a ground shipment. + + + + + Actual signature option applied, to allow for cases in which the original value conflicted with other service features in the shipment. + + + + + + Documents the kinds and quantities of all hazardous commodities in the current package, using updated hazardous commodity description data. + + + + + + + + + + + + + + + + Only used with pending shipments. + + + + + Only used in the reply to tag requests. + + + + + + Computed shipment level information about hazarous commodities. + + + + + All shipment-level rating data for this shipment, which may include data for multiple rate types. + + + + + Returns the default holding location information when HOLD_AT_LOCATION special service is requested and the client does not specify the hold location address. + + + + + Returns any defaults or updates applied to RequestedShipment.exportDetail.exportComplianceStatement. + + + + + This specifies what rules or requirements for documents are applicable for this shipment. This may identify required or prohibited documents. + + + + + + All shipment-level shipping documents (other than labels and barcodes). + + + + + + + + + + Provides reply information specific to SmartPost shipments. + + + + + Identifies the carrier that will pick up the SmartPost shipment. + + + + + Indicates whether the shipment is deemed to be machineable, based on dimensions, weight, and packaging. + + + + + + + Provides reply information specific to a tag request. + + + + + + As of June 2007, returned only for FedEx Express services. + + + + + As of June 2007, returned only for FedEx Express services. + + + + + As of June 2007, returned only for FedEx Express services. + + + + + As of June 2007, returned only for FedEx Express services. + + + + + FEDEX INTERNAL USE ONLY: for use by INET. + + + + + + + + + + + + + + + The descriptive data for a point-of-contact person. + + + + + Client provided identifier corresponding to this contact information. + + + + + Identifies the contact person's name. + + + + + Identifies the contact person's title. + + + + + Identifies the company this contact is associated with. + + + + + Identifies the phone number associated with this contact. + + + + + Identifies the phone extension associated with this contact. + + + + + Identifies a toll free number, if any, associated with this contact. + + + + + Identifies the pager number associated with this contact. + + + + + Identifies the fax number associated with this contact. + + + + + Identifies the email address associated with this contact. + + + + + + + + + + + + + Details the contents of the package. + + + + + + + + + + + + + + + Must be in one of the following formats: YYMM, YYYYMM, or YYYYMMDD. + + + + + + + + + + + + + + + + + + + + + + Specifies details about the credit card transaction that drive decisions about credit card processing. + + + + + + + + This class represents data tied to the use of a credit card in a specific transaction. + + + + + + + + + Specifies details about the credit card transaction that drive decisions about credit card processing. + + + + + + + + + + + + + + + + This class is a rename of the previous VerifyCreditFraudDetail; the name change reflects the fact that it is no longer tied to a "verify" usage. + + + + + + + + + + + The currency code for the original (converted FROM) currency. + + + + + The currency code for the final (converted INTO) currency. + + + + + Multiplier used to convert fromCurrency units to intoCurrency units. + + + + + + + + + Indicates the type of custom delivery being requested. + + + + + Time by which delivery is requested. + + + + + Range of dates for custom delivery request; only used if type is BETWEEN. + + + + + Date for custom delivery request; only used for types of ON, BETWEEN, or AFTER. + + + + + + + + + + + + + + + + + Types of discounts that are excluded. + + + + + + + Data required to produce a custom-specified document, either at shipment or package level. + + + + + Common information controlling document production. + + + + + Applicable only to documents produced on thermal printers with roll stock. + + + + + Applicable only to documents produced on thermal printers with roll stock. + + + + + Identifies the formatting specification used to construct this custom document. + + + + + Identifies the individual document specified by the client. + + + + + If provided, thermal documents will include specified doc tab content. If omitted, document will be produced without doc tab content. + + + + + + + + Constructed string, based on format and zero or more data fields, printed in specified barcode symbology. + + + + + + + + + Width of thinnest bar/space element in the barcode. + + + + + + + + Solid (filled) rectangular area on label. + + + + + + + + + + + + + + + + + + + + + + + + + Image to be included from printer's memory, or from a local file for offline clients. + + + + + + Printer-specific index of graphic image to be printed. + + + + + Fully-qualified path and file name for graphic image to be printed. + + + + + + + + + Horizontal position, relative to left edge of custom area. + + + + + Vertical position, relative to top edge of custom area. + + + + + + + Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). + + + + + + + + + + Printer-specific font name for use with thermal printer labels. + + + + + Generic font name for use with plain paper labels. + + + + + Generic font size for use with plain paper labels. + + + + + + + + Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). + + + + + + + + Printer-specific font name for use with thermal printer labels. + + + + + Generic font name for use with plain paper labels. + + + + + Generic font size for use with plain paper labels. + + + + + + + + + + + + + + + + + + + Specifies custom transit time to be applied to the shipment. + + + + + Identifies options to be applied. + + + + + + + + + + + Internal Id used by INET to identify customer provided images during documents generation. Ex COO etc ... + + + + + Internal image type used by INET to identify customer provided images during documents generation. Ex COO etc .. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Allows customer-specified control of label content. + + + + + If omitted, no doc tab will be produced (i.e. default is former NONE type). + + + + + Controls the position of the customer specified content relative to the FedEx portion. + + + + + + + Controls which data/sections will be suppressed. + + + + + For customers producing their own Ground labels, this field specifies which secondary barcode will be printed on the label; so that the primary barcode produced by FedEx has the correct SCNC. + + + + + + + Controls the number of additional copies of supplemental labels. + + + + + This value reduces the default quantity of destination/consignee air waybill labels. A value of zero indicates no change to default. A minimum of one copy will always be produced. + + + + + + + + + + + + + + + + + Interacts both with properties of the shipment and contractual relationship with the shipper. + + + + + + + Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. + + + + + + + This represents the total commodity value of the shipment plus the charges required by the destination country. + + + + + Identifies responsibilities with respect to loss, damage, etc. + + + + + Documents amount paid to third party for coverage of shipment content. + + + + + + + + + + + + + This provides the information necessary to identify the different statements, declarations, acts, and/or certifications that apply to this shipment. + + + + + This indicates the different statements, declarations, acts, and/or certifications that apply to this shipment. + + + + + + + This indicates the different statements, declarations, acts, and certifications that may apply to a shipment. + + + + + + + + + + + Specifies additional description about customs options. This is a required field when the customs options type is "OTHER". + + + + + + + + + + + + + + + + + + + + + + + + + + + Describes an approved container used to package dangerous goods commodities. This does not describe any individual inner receptacles that may be within this container. + + + + + Indicates whether there are additional inner receptacles within this container. + + + + + Indicates the type of this dangerous goods container, as specified by the IATA packing instructions. For example, steel cylinder, fiberboard box, plastic jerrican and steel drum. + + + + + Indicates the packaging type of the container used to package the radioactive materials. + + + + + Indicates the number of occurrences of this container with identical dangerous goods configuration. + + + + + Documents the kinds and quantities of all hazardous commodities in the current container. + + + + + + + + + This field is used to identify an instance of an uploaded dangerous goods handling unit. + + + + + + + Shipment is packaged/documented for movement ONLY on cargo aircraft. + + + + + Indicates which kinds of hazardous content are in the current package. + + + + + Indicates whether there is additional customer provided packaging enclosing the approved dangerous goods containers. + + + + + Identifies the configuration of this dangerous goods package. The common configuration is represented at the shipment level. + + + + + Indicates one or more containers used to pack dangerous goods commodities. + + + + + Description of the packaging of this commodity, suitable for use on OP-900 and OP-950 forms. + + + + + Name, title and place of the signatory for this shipment. + + + + + Telephone number to use for contact in the event of an emergency. + + + + + Offeror's name or contract number, per DOT regulation. + + + + + Specifies the contact of the party responsible for handling the infectious substances, if any, in the dangerous goods shipment. + + + + + Specifies additional handling information for the current package. + + + + + Specifies the radioactivity detail for the current package, if the package contains radioactive materials. + + + + + + + + + + + + The instructions indicating how to print the 1421c form for dangerous goods shipment. + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + + + Specifies that name, title and place of the signatory responsible for the dangerous goods shipment. + + + + + + + Indicates the place where the form is signed. + + + + + + + + + + + + + + + + + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + Only used for tags which had FedEx Express services. + + + + + Only used for tags which had FedEx Express services. + + + + + If the original ProcessTagRequest specified third-party payment, then the delete request must contain the same pay type and payor account number for security purposes. + + + + + + + + Specifies the type of deletion to be performed on a shipment. + + + + + + + + + + + + + + Specifies the tracking id for the return, if preassigned. + + + + + + + Data required to complete the Destionation Control Statement for US exports. + + + + + + Comma-separated list of up to four country codes, required for DEPARTMENT_OF_STATE statement. + + + + + Name of end user, required for DEPARTMENT_OF_STATE statement. + + + + + + + + + + + + + Specifications for pup/set or vehicle delayed for loading or unloading. + + + + + Amount of time involved in the detention. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Lists the documents that are not accepted by FedEx for this shipment. + + + + + + + + + + + + + + + + + + + Specifies the name associated with the email address. + + + + + + + + + Content of the email message. + + + + + + + + + + + + + + + + + Information describing the address of of the email recipient, role of the email recipient and languages that are requested to be supported. + + + + + EMail address of the recipient. + + + + + The relationship that the customer has to the pending shipment. + + + + + Specifies how the email notification for the pending shipment need to be processed. + + + + + Localization and language details specified by the recipient of the EMail. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Customer-declared value, with data type and legal values depending on excise condition, used in defining the taxable value of the item. + + + + + + + Specifies the types of Estimated Duties and Taxes to be included in a rate quotation for an international shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies how to apply the localization detail to the current context. + + + + + + + + This identifies some of the document types recognized by Enterprise Document Management Service. + + + + + + + + + + + + + + + + + + + + + + + + Specifies whether to confirm documents prior to processing a shipment with the ELECTRONIC_TRADE_DOCUMENTS special service. + + + + + + + + + Electronic Trade document references used with the ETD special service. + + + + + Specifies client's intent for whether all documents must be confirmed before shipment processing. + + + + + + Indicates the types of shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data. + + + + + + + + The instructions indicating how to print the Export Declaration. + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + + + + + + General field for exporting-country-specific export data (e.g. B13A for CA, FTSR Exemption or AES Citation for US). + + + + + + + + + + + + + + + + + + + + + + + + + Indicates a FedEx Express operating region. + + + + + + + + + + + + Specification for labor time spent handling shipment. + + + + + Total labor time. + + + + + + + Identifies a kind of FedEx facility. + + + + + + + + + + + + + + + + + + + Specifies the optional features/characteristics requested for a Freight shipment utilizing a flatbed trailer. + + + + + + + + + + + + + + Data required to produce the Freight handling-unit-level address labels. Note that the number of UNIQUE labels (the N as in 1 of N, 2 of N, etc.) is determined by total handling units. + + + + + + Indicates the number of copies to be produced for each unique label. + + + + + Specifies the quadrant of the page on which the label printing will start. + + + + + If omitted, no doc tab will be produced (i.e. default = former NONE type). + + + + + Controls the position of the customer specified content relative to the FedEx portion. + + + + + + + + Individual charge which contributes to the total base charge for the shipment. + + + + + Freight class for this line item. + + + + + Effective freight class used for rating this line item. + + + + + NMFC Code for commodity. + + + + + Customer-provided description for this commodity or class line. + + + + + Weight for this commodity or class line. + + + + + Rate or factor applied to this line item. + + + + + Identifies the manner in which the chargeRate for this line item was applied. + + + + + The net or extended charge for this line item. + + + + + + + Specifies the way in which base charges for a Freight shipment or shipment leg are calculated. + + + + + + + + + + + + + + + + + + + + + + These values represent the industry-standard freight classes used for FedEx Freight and FedEx National Freight shipment description. (Note: The alphabetic prefixes are required to distinguish these values from decimal numbers on some client platforms.) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Date for all Freight guarantee types. + + + + + Time for GUARANTEED_TIME only. + + + + + + + + + + + + + Identifies responsibilities with respect to loss, damage, etc. + + + + + + + + + Rate data specific to FedEx Freight or FedEx National Freight services. + + + + + A unique identifier for a specific rate quotation. + + + + + Specifies whether the rate quote was automated or manual. + + + + + Specifies how total base charge is determined. + + + + + Freight charges which accumulate to the total base charge for the shipment. + + + + + Human-readable descriptions of additional information on this shipment rating. + + + + + + + Additional non-monetary data returned with Freight rates. + + + + + Unique identifier for notation. + + + + + Human-readable explanation of notation. + + + + + + + Specifies the type of rate quote + + + + + + + + + Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. + + + + + Account number used with FEDEX_FREIGHT service. + + + + + Used for validating FedEx Freight account number and (optionally) identifying third party payment on the bill of lading. + + + + + Used in connection with "Send Bill To" (SBT) identification of customer's account used for billing. + + + + + Identification values to be printed during creation of a Freight bill of lading. + + + + + Indicates the role of the party submitting the transaction. + + + + + Designates the terms of the "collect" payment for a Freight Shipment. + + + + + Identifies the declared value for the shipment + + + + + Identifies the declared value units corresponding to the above defined declared value + + + + + + Identifiers for promotional discounts offered to customers. + + + + + Total number of individual handling units in the entire shipment (for unit pricing). + + + + + Estimated discount rate provided by client for unsecured rate quote. + + + + + Total weight of pallets used in shipment. + + + + + Overall shipment dimensions. + + + + + Description for the shipment. + + + + + Specifies which party will pay surcharges for any special services which support split billing. + + + + + Must be populated if any line items contain hazardous materials. + + + + + + Details of the commodities in the shipment. + + + + + + + Description of an individual commodity or class of content in a shipment. + + + + + A unique identifier assigned to this line item. + + + + + Freight class for this line item. + + + + + FEDEX INTERNAL USE ONLY: for FedEx system that estimate freight class from customer-provided dimensions and weight. + + + + + Identifies billing mask, if used to populate this line item. + + + + + Specifies line item level liability coverage. + + + + + Number of individual handling units to which this line applies. (NOTE: Total of line-item-level handling units may not balance to shipment-level total handling units.) + + + + + Specification of handling-unit packaging for this commodity or class line. + + + + + Number of pieces for this commodity or class line. + + + + + NMFC Code for commodity. + + + + + Indicates the kind of hazardous material content in this line item. + + + + + For printed reference per line item. + + + + + Customer-provided description for this commodity or class line. + + + + + Weight for this commodity or class line. + + + + + + Volume (cubic measure) for this commodity or class line. + + + + + + + Indicates the role of the party submitting the transaction. + + + + + + + + + Specifies which party will be responsible for payment of any surcharges for Freight special services for which split billing is allowed. + + + + + Identifies the special service. + + + + + Indicates who will pay for the special service. + + + + + + + Data required to produce a General Agency Agreement document. Remaining content (business data) to be defined once requirements have been completed. + + + + + + + + Represents features of FedEx Ground delivery for which the shipment is eligible. + + + + + + + + + + + + + + + + + Documents the kind and quantity of an individual hazardous commodity in a package. + + + + + Identifies and describes an individual hazardous commodity. + + + + + Specifies the amount of the commodity in alternate units. + + + + + This describes the inner receptacle details for a hazardous commodity within the dangerous goods container. + + + + + Customer-provided specifications for handling individual commodities. + + + + + Specifies the details of any radio active materials within the commodity. + + + + + The total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. + + + + + + + Identifies and describes an individual hazardous commodity. + + + + + Regulatory identifier for a commodity (e.g. "UN ID" value). + + + + + In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. + + + + + + + + + + + + + + Indicates any special processing options to be applied to the description of the dangerous goods commodity. + + + + + Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. + + + + + + + Specifies any special processing to be applied to the dangerous goods commodity description validation. + + + + + + + + This describes information about the inner receptacles for the hazardous commodity in a particular dangerous goods container. + + + + + This specifies the quantity contained in the inner receptacle. + + + + + + + Specifies how the commodity is to be labeled. + + + + + + + + + + Customer-provided specifications for handling individual commodities. + + + + + Specifies how the customer wishes the label text to be handled for this commodity in this package. + + + + + Text used in labeling the commodity under control of the labelTextOption field. + + + + + + + Indicates which kind of hazardous content is being reported. + + + + + + + + + + + + + Identifies number and type of packaging units for hazardous commodities. + + + + + Number of units of the type below. + + + + + Units in which the hazardous commodity is packaged. + + + + + + + Specifies documentation and limits for validation of an individual packing group/category. + + + + + + Coded specification for how commodity is to be packed. + + + + + + + Identifies DOT packing group for a hazardous commodity. + + + + + + + + + + + Identifies amount and units for quantity of hazardous commodities. + + + + + Number of units of the type below. + + + + + Units by which the hazardous commodity is measured. For IATA commodity, the units values are restricted based on regulation type. + + + + + Specifies which measure of quantity is to be validated. + + + + + + + Specifies the measure of quantity to be validated against a prescribed limit. + + + + + + + + + Identifies the source of regulation for hazardous commodity data. + + + + + + + + + + + + + + + + + + Contact phone number for recipient of shipment. + + + + + Contact and address of FedEx facility at which shipment is to be held. + + + + + Type of facility at which package/shipment is to be held. + + + + + Location identification (for facilities identified by an alphanumeric location code). + + + + + Location identification (for facilities identified by an numeric location code). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Names for data elements / areas which may be suppressed from printing on labels. + + + + + + + + + + + + + + + + + + Specifies the order in which the labels will be returned + + + + + + + + + + + + + + + Relative to normal orientation for the printer. + + + + + + + + + + + + + Specifies how to create, organize, and return the document. + + + + + + + + + + Specifies the order in which the labels are requested to be returned + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies the Liability Coverage Amount. For Jan 2010 this value represents coverage amount per pound + + + + + + + + + + + + + + + License or Permit Number. + + + + + Specifies the effective date of the license. + + + + + Specifies the expiration date of the license. + + + + + + + Represents a one-dimensional measurement in small units (e.g. suitable for measuring a package or document), contrasted with Distance, which represents a large one-dimensional measurement (e.g. distance between cities). + + + + + The numerical quantity of this measurement. + + + + + The units for this measurement. + + + + + + + + + + + + + Identifies the representation of human-readable text. + + + + + Two-letter code for language (e.g. EN, FR, etc.) + + + + + Two-letter code for the region (e.g. us, ca, etc..). + + + + + + + Specification for marking or tagging of pieces in shipment. + + + + + Number of pieces to be marked or tagged by FedEx. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specification for services performed during non-business hours and/or days. + + + + + Total number of person days for full non-business days. + + + + + Total number of person hours (whole or partial hours) for non-business hours. + + + + + + + The descriptive data regarding the result of the submitted transaction. + + + + + The severity of this notification. This can indicate success or failure or some other information about the request. The values that can be returned are SUCCESS - Your transaction succeeded with no other applicable information. NOTE - Additional information that may be of interest to you about your transaction. WARNING - Additional information that you need to know about your transaction that you may need to take action on. ERROR - Information about an error that occurred while processing your transaction. FAILURE - FedEx was unable to process your transaction at this time due to a system failure. Please try again later + + + + + Indicates the source of this notification. Combined with the Code it uniquely identifies this notification + + + + + A code that represents this notification. Combined with the Source it uniquely identifies this notification. + + + + + Human-readable text that explains this notification. + + + + + The translated message. The language and locale specified in the ClientDetail. Localization are used to determine the representation. Currently only supported in a TrackReply. + + + + + A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) without having to parse the message string. + + + + + + + + + Indicates the type of notification that will be sent. + + + + + Specifies the email notification details. + + + + + Specifies the localization for this notification. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies the type of data contained in Value (e.g. SERVICE_TYPE, PACKAGE_SEQUENCE, etc..). + + + + + The value of the parameter (e.g. PRIORITY_OVERNIGHT, 2, etc..). + + + + + + + + + + + + + + + + + + + + + + + Unique identifier for this offering. + + + + + Specifies values like PRIORITY_OVERNIGHT, FEDEX_ENVELOPE, PRIORITY_ALERT, and other values typically used to identify various offerings in transactions. + + + + + Specifies the two character code used for operationalization of this offering. + + + + + + + The instructions indicating how to print the OP-900 form for hazardous materials packages. + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Identifies which reference type (from the package's customer references) is to be used as the source for the reference on this OP-900. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + Data field to be used when a name is to be printed in the document instead of (or in addition to) a signature image. + + + + + + + + + Position of operational instruction element. + + + + + Content corresponding to the operational instruction. + + + + + + + + + + + + + + Each instance of this data type represents the set of barcodes (of all types) which are associated with a specific package. + + + + + Binary-style barcodes for this package. + + + + + String-style barcodes for this package. + + + + + + + Package-level data required for labeling and/or movement. + + + + + Human-readable text for pre-January 2011 clients. + + + + + Human-readable content for use on a label. + + + + + The operational barcodes pertaining to the current package. + + + + + The FedEx internal code that represents the service and/or features of service for the current package moving under a FedEx Ground service. + + + + + + + Data for a package's rates, as calculated per a specific rate type. + + + + + Type used for this specific set of rate data. + + + + + Indicates which weight was used. + + + + + INTERNAL FEDEX USE ONLY. + + + + + + The dimensional weight of this package (if greater than actual). + + + + + The oversize weight of this package (if the package is oversize). + + + + + The transportation charge only (prior to any discounts applied) for this package. + + + + + The sum of all discounts on this package. + + + + + This package's baseCharge - totalFreightDiscounts. + + + + + The sum of all surcharges on this package. + + + + + This package's netFreight + totalSurcharges (not including totalTaxes). + + + + + The sum of all taxes on this package. + + + + + This package's netFreight + totalSurcharges + totalTaxes. + + + + + + All rate discounts that apply to this package. + + + + + All rebates that apply to this package. + + + + + All surcharges that apply to this package (either because of characteristics of the package itself, or because it is carrying per-shipment surcharges for the shipment of which it is a part). + + + + + All taxes applicable (or distributed to) this package. + + + + + + + + This class groups together for a single package all package-level rate data (across all rate types) as part of the response to a shipping request, which groups shipment-level data together and groups package-level data by package. + + + + + This rate type identifies which entry in the following array is considered as presenting the "actual" rates for the package. + + + + + The "list" net charge minus "actual" net charge. + + + + + Each element of this field provides package-level rate data for a specific rate type. + + + + + + + These special services are available at the package level for some or all service types. If the shipper is requesting a special service which requires additional data, the package special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. + + + + + Indicates the package special service types that are requested on this shipment. For a list of the valid package special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. + + + + + For use with FedEx Ground services only; COD must be present in shipment's special services. + + + + + + Provides details about the batteries or cells that are contained within this specific package. + + + + + + + + + + + + + + + + Branded, translated, and/or localized names for this packaging. + + + + + + + + + + + + + + + + + Specifications for pallets to be shrinkwrapped as part of a Freight shipment. + + + + + Number of pallets to be shrinkwrapped. + + + + + + + Specifications for pallets to be provided on Freight shipment. + + + + + Number of pallets to be provided. + + + + + + + This type contains equivalent data to Contact, but uses a form of person name with separate first and last names. + + + + + + + + + + + + + + This type contains equivalent data to ContactAndAddress, but uses a form of person name with separate first, middle and last names. + + + + + + + + + The descriptive data for a person's name broken out into individual name elements such as first name, last name. + + + + + + + + + + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY + + + + + + + + + + + + + + + + + + + + + + + + + + + + This information describes how and when a pending shipment may be accessed for completion. + + + + + + + + Specifies the details to be used by the user of the pending shipment + + + + + Specifies the role of the user who is trying to access the pending shipment. + + + + + + + + + + This information describes the kind of pending shipment being requested. + + + + + + Date after which the pending shipment will no longer be available for completion. + + + + + Only used with type of EMAIL. + + + + + + These are documents that are recommended to be included with the shipment. + + + + + Upload document details provided by the initator of the shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This enumeration rationalizes the former FedEx Express international "admissibility package" types (based on ANSI X.12) and the FedEx Freight packaging types. The values represented are those common to both carriers. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This class describes the pickup characteristics of a shipment (e.g. for use in a tag request). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a reference identifier printed on Freight bills of lading + + + + + + + + + Identifies a particular reference identifier printed on a Freight bill of lading. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Empty unless error label behavior is PACKAGE_ERROR_LABELS and one or more errors occured during transaction processing. + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + + + + + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + + + + + The type of name (long, medium, short, etc.) to which this value refers. + + + + + The character encoding used to represent this product name. For example, UTF-8. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates the packaging type of the container used to package radioactive hazardous materials. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates whether packaging type "EXCEPTED" or "EXCEPTED_PACKAGE" is for radioactive material in reportable quantity. + + + + + + + + + Indicates the reason that a dim divisor value was chose. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Selects the value from a set of rate data to which the percentage is applied. + + + + + + + + + + + + + + + + + + + + + Select the type of rate from which the element is to be selected. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. + + + + + Specifies the kind of identification being used. + + + + + Contains the actual ID value, of the type specified above. + + + + + + + + + + + + + + Specifies the details about documents that are recommended to be included with the shipment for ease of shipment processing and transportation. + + + + + + + + Type of documents that are recommended to be included with the shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies details needed to generate any label artifacts required due to regulatory requirements. + + + + + + Specifies how the customer requested the regulatory label to be generated. + + + + + + + + + + + + + + + + + + This is a 1-based index identifying the commodity in the request that resulted in this COMMODITY or DOCUMENT type prohibition. + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY: The id of the waiver. + + + + + FOR FEDEX INTERNAL USE ONLY: The description of the waiver. + + + + + + + + Describes the vertical position of an item relative to another item. + + + + + + + + + + + A unique identifier of each requested package line item. + + + + + An identifier of each group of identical packages. + + + + + Used as the number or count of identical packages in a group. + + + + + Only used when clients are assigning a tracking number to this package. Should not be used when groupPackageCount is greater than one. + + + + + + Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. + + + + + Represents the gross weight of the package line item. + + + + + FEDEX INTERNAL USE ONLY. + + + + + + Provides additional detail on how the customer has physically packaged this item. As of June 2009, required for packages moving under international and SmartPost services. + + + + + + Human-readable text describing the package. + + + + + Human-readable text describing the contents of the package to be used for clearance purposes. + + + + + + + Details the contents of the package. + + + + + + + + + + + + This field contains the service type values, like PRIORITY_OVERNIGHT and FEDEX_GROUND. + + + + + This field contains the packaging type values, like YOUR_PACKAGING and FEDEX_ENVELOPE. + + + + + The client's shipping cycle to which this shipment belongs. + + + + + This specifies information related to the manifest associated with the shipment. + + + + + The shipment variations for the current shipment expressed in key-value pairs. + + + + + + Specifies the total declared value for carriage of the shipment. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the shipment. + + + + + This attribute indicates the currency the caller requests to have used in all returned monetary values (when a choice is possible). + + + + + Specifies details about the entity responsible for the shipment. + + + + + + + + Physical starting address for the shipment, if different from shipper's address. + + + + + The sold-to party is used for customs clearance; for example, in support of US import customs rules. The need for this field could vary based on whether a sold-to party was specified on a consolidation. + + + + + + + Specifies any custom processing to be applied to this shipment. + + + + + + Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. + + + + + Used with Ground Home Delivery and Freight. + + + + + + Customs clearance data, used for both international and intra-country shipping. + + + + + For use in "process tag" transaction. + + + + + Specifies the characteristics of a shipment pertaining to SmartPost services. + + + + + If true, only the shipper/payor will have visibility of this shipment. + + + + + Specifies the client-requested response in the event of errors within shipment. + + + + + + Contains data used to create additional (non-label) shipping documents. + + + + + Specifies whether and what kind of rates the customer wishes to have quoted on this shipment. The reply will also be constrained by other data on the shipment and customer. + + + + + Specifies the type of rate the customer wishes to have used as the actual rate type. + + + + + Specifies whether the customer wishes to have Estimated Duties and Taxes provided with the rate quotation on this shipment. Only applies with shipments moving under international services. + + + + + Specifies the details for the custom rates. + + + + + Only used with multiple-transaction shipments, to identify the master package in a multi-piece shipment. + + + + + The total number of packages in the entire shipment (even when the shipment spans multiple transactions.) + + + + + Specifies data structures that may be re-used multiple times with s single shipment. + + + + + One or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics all packages in the shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + This identifies the document types that can be required. This can also indicate when either a COMMERCIAL_INVOICE or a PRO_FORMA_INVOICE is required through the COMMERCIAL_OR_PRO_FORMA_INVOICE option. + + + + + + + + + + + + + + + + + + + + + + Specifies the tracking number of the master associated with the return shipment. + + + + + + + + These values are used to control the availability of certain special services at the time when a customer uses the e-mail label link to create a return shipment. + + + + + + + + + + + + Identifies the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created. Only services represented in EMailLabelAllowedSpecialServiceType will be controlled by this list. + + + + + + + The instructions indicating how to print the return instructions( e.g. image type) Specifies characteristics of a shipping document to be produced. + + + + + + Specifies additional customer provided text to be inserted into the return document. + + + + + + + + + + + + + + + + + + + + + + + + The "PAYOR..." rates are expressed in the currency identified in the payor's rate table(s). The "RATED..." rates are expressed in the currency of the origin country. Former "...COUNTER..." values have become "...RETAIL..." values, except for PAYOR_COUNTER and RATED_COUNTER, which have been removed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + June 2011 ITG 121203 IR-RMA number has been removed from this structure and added as a new customer reference type. The structure remains because of the reason field below. + + + + + + + + Describes the rotation of an item from its default orientation. + + + + + + + + + + + + + + + + + + + + + + + Branded, translated, and/or localized names for this service. + + + + + + + + + + + + + + Specification for assembly performed on shipment. + + + + + Number of pieces or packages to be assembled + + + + + Total weight of pieces or packages to be assembled + + + + + + + + + + + + Specifies data structures that may be re-used multiple times with s single shipment. + + + + + Specifies the data that is common to dangerous goods packages in the shipment. This is populated when the shipment contains packages with identical dangerous goods commodities. + + + + + + + Shipment-level totals of dry ice data across all packages. + + + + + Total number of packages in the shipment that contain dry ice. + + + + + Total shipment dry ice weight for all packages. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type. + + + + + Human-readable text describing the shipment leg. + + + + + Origin for this leg. + + + + + Specifies the location id the origin of shipment leg. + + + + + Destination for this leg. + + + + + Specifies the location id the destination of shipment leg. + + + + + Type used for this specific set of rate data. + + + + + Indicates the rate scale used. + + + + + Indicates the rate zone used (based on origin and destination). + + + + + + Indicates which weight was used. + + + + + INTERNAL FEDEX USE ONLY. + + + + + Specifies the currency exchange performed on financial amounts for this rate. + + + + + Indicates which special rating cases applied to this shipment. + + + + + + Identifies the type of dim divisor that was applied. + + + + + + + Sum of dimensional weights for all packages. + + + + + + + + + This shipment's totalNetFreight + totalSurcharges (not including totalTaxes). + + + + + Total of the transportation-based taxes. + + + + + + + Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment. + + + + + This shipment's totalNetCharge + totalDutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account. + + + + + Rate data specific to FedEx Freight and FedEx National Freight services. + + + + + All rate discounts that apply to this shipment. + + + + + All rebates that apply to this shipment. + + + + + All surcharges that apply to this shipment. + + + + + All transportation-based taxes applicable to this shipment. + + + + + All commodity-based duties and taxes applicable to this shipment. + + + + + The "order level" variable handling charges. + + + + + The total of all variable handling charges at both shipment (order) and package level. + + + + + + + + + This identifies which customer reference field contains the manifest ID. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This is the state of the destination location ID, and is not necessarily the same as the postal state. + + + + + Expected/estimated date of delivery. + + + + + Expected/estimated day of week of delivery. + + + + + Delivery time, as published in Service Guide. + + + + + Committed date of delivery. + + + + + Committed day of week of delivery. + + + + + Standard transit time per origin, destination, and service. + + + + + Maximum expected transit time + + + + + Transit time based on customer eligibility. + + + + + Indicates that this shipment is not eligible for money back guarantee. + + + + + FedEx Ground delivery features for which this shipment may be eligible. + + + + + Text describing planned delivery. + + + + + + + + + + + + + + + Identifies special or custom features to be applied to a shipment. + + + + + + + + + + + + + + + + + Specifies special or custom features to be applied during the processing of the enclosing RequestedShipment. + + + + + Identifies options to be applied. + + + + + Specifies custom transit time to be applied to the shipment. + + + + + + + Data for a shipment's total/summary rates, as calculated per a specific rate type. The "total..." fields may differ from the sum of corresponding package data for Multiweight or Express MPS. + + + + + Type used for this specific set of rate data. + + + + + Indicates the rate scale used. + + + + + Indicates the rate zone used (based on origin and destination). + + + + + + Indicates which weight was used. + + + + + INTERNAL FEDEX USE ONLY. + + + + + FEDEX INTERNAL USE ONLY - the user ID provided when this rate was created + + + + + Specifies the currency exchange performed on financial amounts for this rate. + + + + + Indicates which special rating cases applied to this shipment. + + + + + + Identifies the type of dim divisor that was applied. + + + + + + + Sum of dimensional weights for all packages. + + + + + + + + + This shipment's totalNetFreight + totalSurcharges (not including totalTaxes). + + + + + Total of the transportation-based taxes. + + + + + + + Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment. + + + + + Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. + + + + + The total of the totalDutiesAndTaxes plus the totalAncillaryFeesAndTaxes. + + + + + This shipment's totalNetCharge + totalDutiesTaxesAndFees; some duties and taxes are only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account. + + + + + Identifies the Rate Details per each leg in a Freight Shipment + + + + + Rate data specific to FedEx Freight and FedEx National Freight services. + + + + + All rate discounts that apply to this shipment. + + + + + All rebates that apply to this shipment. + + + + + All surcharges that apply to this shipment. + + + + + All transportation-based taxes applicable to this shipment. + + + + + All commodity-based duties and taxes applicable to this shipment. + + + + + Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. + + + + + The "order level" variable handling charges. + + + + + The total of all variable handling charges at both shipment (order) and package level. + + + + + + + This class groups together all shipment-level rate data (across all rate types) as part of the response to a shipping request, which groups shipment-level data together and groups package-level data by package. + + + + + This rate type identifies which entry in the following array is considered as presenting the "actual" rates for the shipment. + + + + + The "list" total net charge minus "actual" total net charge. + + + + + Each element of this field provides shipment-level rate totals for a specific rate type. + + + + + + + + + + + + + + + + + + + + + + + These special services are available at the shipment level for some or all service types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. + + + + + Indicates the shipment special service types that are requested on this shipment. For a list of the valid shipment special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. + + + + + + + + This replaces eMailNotificationDetail + + + + + + This field should be populated for pending shipments (e.g. e-mail label) It is required by a PENDING_SHIPMENT special service type. + + + + + + + + + + + Electronic Trade document references. + + + + + Specification for labor to be performed with the shipment. + + + + + Specifications for pallets to be shrinkwrapped as part of a Freight shipment. + + + + + Specifications for pallets to be provided on Freight shipment. + + + + + Specifications for pup/set or vehicle delayed for loading or unloading. + + + + + Specification for marking or tagging of pieces in shipment. + + + + + Specification for services performed during non-business hours and/or days. + + + + + Specification for assembly performed on shipment. + + + + + Specification for sorting and/or segregating performed on shipment. + + + + + Specification for special equipment used in loading/unloading shipment. + + + + + Specification for storage provided for shipment. + + + + + Specification for weighing services provided for shipment. + + + + + Specification for date or range of dates on which delivery is to be attempted. + + + + + + + + + Specifies the name or the key for the shipment variation. + + + + + The values that are valid for the specified shipment variation in the context of the current shipment. + + + + + + + + + This indicates the identifier of a conveyance, such as a trailer ID. + + + + + + + + + + The localizations are populated if multiple language versions of a shipping document are returned. + + + + + Specifies how this document image/file is organized. + + + + + + The name under which a STORED, DEFERRED or EMAILED document is written. + + + + + Specifies the image type of this shipping document. + + + + + Specifies the image resolution in DPI (dots per inch). + + + + + Can be zero for documents whose disposition implies that no content is included. + + + + + One or more document parts which make up a single logical document, such as multiple pages of a single form. + + + + + + + Each occurrence of this class specifies a particular way in which a kind of shipping document is to be produced and provided. + + + + + Values in this field specify how to create and return the document. + + + + + Specifies how to organize all documents of this type. + + + + + Specifies how to store document images. + + + + + Specifies how to e-mail document images. + + + + + Specifies how a queued document is to be printed. + + + + + + + Specifies how to return a shipping document to the caller. + + + + + + + + + + + + + Specifies how to e-mail shipping documents. + + + + + Provides the roles and email addresses for e-mail recipients. + + + + + Identifies the convention by which documents are to be grouped as e-mail attachments. + + + + + Specifies the language in which the email containing the document is requested to be composed. + + + + + + + + + + + + + Specifies an individual recipient of e-mailed shipping document(s). + + + + + Identifies the relationship of this recipient in the shipment. + + + + + Address to which the document is to be sent. + + + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies how to create, organize, and return the document. + + + + + Specifies how far down the page to move the beginning of the image; allows for printing on letterhead and other pre-printed stock. + + + + + + + For those shipping document types which have both a "form" and "instructions" component (e.g. General Agency Agreement), this field indicates whether to provide the instructions. + + + + + + Governs the language to be used for this individual document, independently from other content returned for the same shipment. + + + + + Identifies the individual document specified by the client. + + + + + + + Specifies how to organize all shipping documents of the same type. + + + + + + + + + Specifies the image format used for a shipping document. + + + + + + + + + + + + + + + + Identifies the convention by which file names are constructed for STORED or DEFERRED documents. + + + + + + + + + A single part of a shipping document, such as one page of a multiple-page document whose format requires a separate image per page. + + + + + The one-origin position of this part within a document. + + + + + Graphic or printer commands for this image within a document. + + + + + + + Specifies printing options for a shipping document. + + + + + Provides environment-specific printer identification. + + + + + + + Contains all data required for additional (non-label) shipping documents to be produced in conjunction with a specific shipment. + + + + + Indicates the types of shipping documents requested by the shipper. + + + + + + + + Specifies the production of each package-level custom document (the same specification is used for all packages). + + + + + Specifies the production of a shipment-level custom document. + + + + + + + + Specifies the production of the OP-900 document for hazardous materials packages. + + + + + Specifies the production of the 1421c document for dangerous goods shipment. + + + + + Specifies the production of the OP-900 document for hazardous materials. + + + + + + Specifies the production of the return instructions document. + + + + + + + Specifies the type of paper (stock) on which a document will be printed. + + + + + + + + + + + + + + + + + + + + + Specifies how to store shipping documents. + + + + + Indicates the mechanism by which a shipping document will be stored for later retrieval. + + + + + Provides the path to be used for STORED or DEFERRED documents. + + + + + Identifies the convention by which file names are constructed for STORED or DEFERRED documents. + + + + + Suffix to be placed at the end of the file name; required on some platforms to determine file type. + + + + + + + + + + + + + + + + + + + + + + + + + + + + These values are mutually exclusive; at most one of them can be attached to a SmartPost shipment. + + + + + + + + + + + + + + + + + + + + + Data required for shipments handled under the SMART_POST and GROUND_SMART_POST service types. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specification for sorting and/or segregating performed on shipment. + + + + + Number of pieces or packages to be sorted/segregated + + + + + Total weight of pieces or packages to be sorted/segregated + + + + + + + Specification for special equipment used in loading/unloading shipment. + + + + + Contains an entry for each type of special equipment used with shipment + + + + + + + Specifies the usage of a single type of special equipment while loading/unloading a shipment + + + + + Type of equipment used + + + + + Total amount of time the equipment was used + + + + + + + Identifies types of special equipment used in loading/unloading Freight shipments + + + + + + + + + + + + + + + + + + + + + Specification for storage provided for shipment. + + + + + Total time shipment is held by carrier. + + + + + + + Each instance of this data type represents a barcode whose content must be represented as ASCII text (i.e. not binary data). + + + + + The kind of barcode data in this instance. + + + + + The data content of this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifice the kind of tax or miscellaneous charge being reported on a Commercial Invoice. + + + + + + + + + + + + + + + + + Identifies the usage of Tax Identification Number in Shipment processing + + + + + + + + + + + + + + + + + + + + + + For use with SmartPost tracking IDs only + + + + + + + + + + + + + + + + + + + + + Free form text to be echoed back in the reply. Used to match requests and replies. + + + + + Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection). + + + + + Unique identifier assigned/forwarded by internal FAST services only, to associate service transactions comprising a single business work unit. + + + + + Each FAST service should log request/reply pairs for any transaction in which this attribute is true. This is for internal use only (capturing transaction data for diagnostic purposes). + + + + + Indicates the format in which the transaction was presented to FedEx, used to help identify error-translation context. + + + + + Identifies the environment (level) in which the current transaction should be processed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the application that is responsible for managing the document id. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Description of the uploaded document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + + + Documents the kind and quantity of an individual hazardous commodity in a package. + + + + + Identifies and describes an individual hazardous commodity. + + + + + Specifies the amount of the commodity in alternate units. + + + + + The mass points are a calculation used by ADR regulations for measuring the risk of a particular hazardous commodity. + + + + + Customer-provided specifications for handling individual commodities. + + + + + The total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. + + + + + + + Identifies and describes an individual hazardous commodity. For 201001 load, this is based on data from the FedEx Ground Hazardous Materials Shipping Guide. + + + + + Regulatory identifier for a commodity (e.g. "UN ID" value). + + + + + In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. + + + + + + + + Fully-expanded descriptive text for a hazardous commodity. + + + + + + + + Coded indications for special requirements or constraints. + + + + + + + + + + + + Specifies the concept of a container used to package dangerous goods commodities. + + + + + Indicates that the quantity of the dangerous goods packaged is permissible for shipping. This is used to ensure that the dangerous goods commodities do not exceed the net quantity per package restrictions. + + + + + Documents the kinds and quantities of all hazardous commodities in the current package. + + + + + + + This definition of variable handling charge detail is intended for use in Jan 2011 corp load. + + + + + + Actual percentage (10 means 10%, which is a mutiplier of 0.1) + + + + + Select the value from a set of rate data to which the percentage is applied. + + + + + Select the type of rate from which the element is to be selected. + + + + + + + + + + + + + + + Three-dimensional volume/cubic measurement. + + + + + + + + + Units of three-dimensional volume/cubic measure. + + + + + + + + + Identifies the environment (level) for which an AuthenticationCredential is valid, and within which transactions are received. + + + + + + + + + Specifies a single type of weighing performed on a shipment + + + + + Type of scale used + + + + + + + Identifies types of scales used in weighing Freight shipments + + + + + + + + + The descriptive data for the heaviness of an object. + + + + + Identifies the unit of measure associated with a weight value. + + + + + Identifies the weight value of a package/shipment. + + + + + + + + + + + + + + + + + + + Used in authentication of the sender's identity. + + + + + This was renamed from cspCredential. + + + + + Credential used to authenticate a specific software application. This value is provided by FedEx after registration. + + + + + + + Two part authentication string used for the sender's identity + + + + + Identifying part of authentication credential. This value is provided by FedEx after registration + + + + + Secret part of authentication key. This value is provided by FedEx after registration. + + + + + + + Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply). + + + + + Identifies a system or sub-system which performs an operation. + + + + + Identifies the service business level. + + + + + Identifies the service interface level. + + + + + Identifies the service code level. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/FedEx/_wsdl/TrackService_v19.wsdl b/src/FedEx/_wsdl/Trackservice_v20.wsdl similarity index 94% rename from src/FedEx/_wsdl/TrackService_v19.wsdl rename to src/FedEx/_wsdl/Trackservice_v20.wsdl index 994cf9a7..c5bb286d 100644 --- a/src/FedEx/_wsdl/TrackService_v19.wsdl +++ b/src/FedEx/_wsdl/Trackservice_v20.wsdl @@ -1,6 +1,7 @@ - + + - + @@ -188,11 +189,26 @@ This number is assigned by FedEx and identifies the unique device from which the request is originating + + + Client software component (e.g. "CAFE", "INET", "WBUS", etc.) + + + + + Client software component version/revision (e.g. "1800", "2630", etc.) + + Only used in transactions which require identification of the FedEx Office integrator. + + + Indicates the region from which the transaction is submitted. + + The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) @@ -244,11 +260,7 @@ - - - All data required for this commodity in NAFTA Certificate of Origin. - - + @@ -393,12 +405,6 @@ - - - - - - Details about the eligibility for a delivery option. @@ -485,6 +491,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + @@ -505,6 +536,18 @@ + + + Indicates a FedEx Express operating region. + + + + + + + + + @@ -546,6 +589,7 @@ + @@ -602,61 +646,6 @@ - - - - - Defined by NAFTA regulations. - - - - - Defined by NAFTA regulations. - - - - - Identification of which producer is associated with this commodity (if multiple producers are used in a single shipment). - - - - - - Date range over which RVC net cost was calculated. - - - - - - - - - - - - - See instructions for NAFTA Certificate of Origin for code definitions. - - - - - - - - - - - - - See instructions for NAFTA Certificate of Origin for code definitions. - - - - - - - - The descriptive data regarding the result of the submitted transaction. @@ -908,6 +897,7 @@ Descriptive data identifying the client submitting the transaction. + Contains a free form field that is echoed back in the reply to match requests with replies and data that governs the data payload language/translations @@ -961,6 +951,13 @@ + + + + + + + @@ -1086,6 +1083,22 @@ + + + + + + + + + + + + + + + + @@ -1265,6 +1278,11 @@ Specifies the details about the payments for the shipment being tracked. + + + FOR FEDEX INTERNAL USE ONLY + + (Returned for CSR SL only.) @@ -1430,6 +1448,7 @@ Literal description that pairs with the StatusExceptionCode. + @@ -1452,14 +1471,17 @@ + + + @@ -1474,6 +1496,7 @@ + @@ -1580,6 +1603,7 @@ + @@ -1663,6 +1687,7 @@ Descriptive data identifying the client submitting the transaction. + Contains a free form field that is echoed back in the reply to match requests with replies and data that governs the data payload language/translations. @@ -1688,6 +1713,7 @@ + @@ -1733,6 +1759,11 @@ Used to distinguish duplicate FedEx tracking numbers. + + + FOR FEDEX INTERNAL USE ONLY: This is only used to identify the appropriate backend source of rating data - particularly for specific acquisition systems. + + To narrow the search to a period in time the ShipDateRangeBegin and ShipDateRangeEnd can be used to help eliminate duplicates. @@ -1867,8 +1898,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -2007,6 +2062,27 @@ + + + + + + + + + + + + + + + + + + + + + The descriptive data for the heaviness of an object. @@ -2074,7 +2150,7 @@ Identifies a system or sub-system which performs an operation. - + Identifies the service business level. @@ -2128,7 +2204,7 @@ - + @@ -2137,7 +2213,7 @@ - + @@ -2146,7 +2222,7 @@ - + diff --git a/src/FedEx/_wsdl/UploadDocumentService_v11.wsdl b/src/FedEx/_wsdl/UploadDocumentService_v11.wsdl deleted file mode 100755 index 678edb5d..00000000 --- a/src/FedEx/_wsdl/UploadDocumentService_v11.wsdl +++ /dev/null @@ -1,506 +0,0 @@ - - - - - - - - - - Descriptive data for the client submitting a transaction. - - - - - The FedEx account number associated with this transaction. - - - - - This number is assigned by FedEx and identifies the unique device from which the request is originating - - - - - Only used in transactions which require identification of the FedEx Office integrator. - - - - - The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) - - - - - - - - - - - - - - - - - - - Lists the documents that are not accepted by FedEx for this shipment. - - - - - - - Specifies the usage or intent of the document in the current context. - - - - - - - - - This identifies some of the document types recognized by Enterprise Document Management Service. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifies the representation of human-readable text. - - - - - Two-letter code for language (e.g. EN, FR, etc.) - - - - - Two-letter code for the region (e.g. us, ca, etc..). - - - - - - - The descriptive data regarding the result of the submitted transaction. - - - - - The severity of this notification. This can indicate success or failure or some other information about the request. The values that can be returned are SUCCESS - Your transaction succeeded with no other applicable information. NOTE - Additional information that may be of interest to you about your transaction. WARNING - Additional information that you need to know about your transaction that you may need to take action on. ERROR - Information about an error that occurred while processing your transaction. FAILURE - FedEx was unable to process your transaction at this time due to a system failure. Please try again later - - - - - Indicates the source of this notification. Combined with the Code it uniquely identifies this notification - - - - - A code that represents this notification. Combined with the Source it uniquely identifies this notification. - - - - - Human-readable text that explains this notification. - - - - - The translated message. The language and locale specified in the ClientDetail. Localization are used to determine the representation. Currently only supported in a TrackReply. - - - - - A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) without having to parse the message string. - - - - - - - - - Identifies the type of data contained in Value (e.g. SERVICE_TYPE, PACKAGE_SEQUENCE, etc..). - - - - - The value of the parameter (e.g. PRIORITY_OVERNIGHT, 2, etc..). - - - - - - - - - - - - - - - - - - The tracking number field should be provided when uploading documents after the shipment has been processed or confirmed. This is only applicable if the shipment has been processed with the POST_SHIPMENT_UPLOAD_REQUESTED ETD attribute. - - - - - - - This identifies the document types that can be required. This can also indicate when either a COMMERCIAL_INVOICE or a PRO_FORMA_INVOICE is required through the COMMERCIAL_OR_PRO_FORMA_INVOICE option. - - - - - - - - - - - - - - - - - - - - - - Free form text to be echoed back in the reply. Used to match requests and replies. - - - - - Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection). - - - - - - - - - - - - - - Specifies the date until which the document is available - - - - - - - Specifies the application that is responsible for managing the document id. - - - - - - - - - - - - - - - - - - - - - Distinct value for reason status was assigned. - - - - - Human-readable explanation of document status. - - - - - - - - - Each of these values identifies a specific reason why a document or reference could not be uploaded or associated with a shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - For an upload making use of the POST_SHIPMENT_UPLOAD option, this will indicate information about the required documents necessary for package movement. - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - - - - - Specifies the intent or the usage of the documents being uploaded. This provides details about how the documents are relevant to the current transaction. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - - - - Used in authentication of the sender's identity. - - - - - This was renamed from cspCredential. - - - - - Credential used to authenticate a specific software application. This value is provided by FedEx after registration. - - - - - - - Two part authentication string used for the sender's identity - - - - - Identifying part of authentication credential. This value is provided by FedEx after registration - - - - - Secret part of authentication key. This value is provided by FedEx after registration. - - - - - - - Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply). - - - - - Identifies a system or sub-system which performs an operation. - - - - - Identifies the service business level. - - - - - Identifies the service interface level. - - - - - Identifies the service code level. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/FedEx/_wsdl/UploadDocumentService_v19.wsdl b/src/FedEx/_wsdl/UploadDocumentService_v19.wsdl new file mode 100644 index 00000000..47415c53 --- /dev/null +++ b/src/FedEx/_wsdl/UploadDocumentService_v19.wsdl @@ -0,0 +1,7191 @@ + + + + + + + + + + + + Specifies the role that identifies the permissions the accessor of the pending shipment. + + + + + + + + + Specifies additional labels to be produced. All required labels for shipments will be produced without the need to request additional labels. These are only available as thermal labels. + + + + + The type of additional labels to return. + + + + + The number of this type label to return + + + + + + + + + + + + + + + + + + + + + + Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US). + + + + + Combination of number, street name, etc. At least one line is required for a valid physical address; empty lines should not be included. + + + + + Name of city, town, etc. + + + + + Identifying abbreviation for US state, Canada province, etc. Format and presence of this field will vary, depending on country. + + + + + Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country. + + + + + Relevant only to addresses in Puerto Rico. + + + + + The two-letter code used to identify a country. + + + + + The fully spelt out name of a country. + + + + + Indicates whether this address residential (as opposed to commercial). + + + + + The geographic coordinates cooresponding to this address. + + + + + + + Specifies the details around the ADR license required for shipping. + + + + + + + + Specifies details for a package containing alcohol + + + + + The license type that the recipient of the alcohol package. + + + + + Specifies what type of entity the shipper of the alcohol shipment is registered as, for example, fulfillment house, retailer or a winery. + + + + + + + Specifies the type of license that the recipient of the alcohol shipment has. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This enumeration represents a kind of "legacy" account number from a FedEx operating entity. + + + + + + + + + + + + + A freight line item identifier referring to a freight shipment line item that describes goods contained within this handling unit. + + + + + + + + + + + + + + Specifies the tracking id for the payment on the return. + + + + + Specifies additional customer reference data about the associated shipment. + + + + + Specifies shipment level operational information. + + + + + Specifies package level operational information on the associated shipment. This information is not tied to an individual outbound package. + + + + + + + + + + + + + + + Identifies a relationship from one tracked entity to another. + + + + + Specifies the relationship/reason for the other tracking ID. + + + + + Identifies the other entity. + + + + + + + Specifies a relationship between two tracking IDs (the role of the "other" tracking ID relative to "this" tracking ID). + + + + + + + + + + + + + + + + + + + + + Identification of the type of barcode (symbology) used on FedEx documents and labels. + + + + + + + + + + + + + + + + + + + + Describes attributes of a battery or cell that are used for classification purposes. Typically this structure would be used to allow customers to declare batteries or cells for which full dangerous goods documentation and procedures are not required. + + + + + Describes the material composition of the battery or cell. + + + + + Describes the packing arrangement of the battery or cell with respect to other items within the same package. + + + + + A regulation specific classification for the battery or cell. + + + + + + + Describes the material composition of a battery or cell. + + + + + + + + + + Describes the packing arrangement of a battery or cell with respect to other items within the same package. + + + + + + + + + + A regulation specific classification for a battery or cell. + + + + + + + + Each instance of this data type represents a barcode whose content must be represented as binary data (i.e. not ASCII text). + + + + + The kind of barcode data in this instance. + + + + + The data content of this instance. + + + + + + + + + + + + + + + + Specifies details about how the charges for the brokerage processing are paid for. + + + + + + + + + + + + + Identification of a FedEx operating company (transportation). + + + + + + + + + + + + + + The instructions indicating how to print the Certificate of Origin ( e.g. whether or not to include the instructions, image type, etc ...) + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + + + + + + + + + Specifies the type of brokerage to be applied to a shipment. + + + + + + + + + + + + Descriptive data for the client submitting a transaction. + + + + + The FedEx account number associated with this transaction. + + + + + This number is assigned by FedEx and identifies the unique device from which the request is originating + + + + + Only used in transactions which require identification of the FedEx Office integrator. + + + + + The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) + + + + + + + + + + + + + + + + + Select the type of rate from which the element is to be selected. + + + + + + + Select the type of rate used to calculate the percentage value of variable handling. + + + + + + + Specifies the type of adjustment was performed to the COD collection amount during rating. + + + + + + + + + Identifies the type of funds FedEx should collect upon shipment delivery. + + + + + + + + + + + + Descriptive data required for a FedEx COD (Collect-On-Delivery) shipment. + + + + + + Specifies the details of the charges are to be added to the COD collect amount. + + + + + Identifies the type of funds FedEx should collect upon package delivery + + + + + For Express this is the descriptive data that is used for the recipient of the FedEx Letter containing the COD payment. For Ground this is the descriptive data for the party to receive the payment that prints the COD receipt. + + + + + When the FedEx COD payment type is not CASH, indicates the contact and address of the financial institution used to service the payment of the COD. + + + + + Specifies the name of person or company receiving the secured/unsecured funds payment + + + + + Indicates which type of reference information to include on the COD return shipping label. + + + + + Only used with multi-piece COD shipments sent in multiple transactions. Required on last transaction only. + + + + + + + Specifies the information associated with a package that has COD special service in a ground shipment. + + + + + + + + + + + + + + + + + + + + CommercialInvoice element is required for electronic upload of CI data. It will serve to create/transmit an Electronic Commercial Invoice through the FedEx Systems. Customers are responsible for printing their own Commercial Invoice.If you would likeFedEx to generate a Commercial Invoice and transmit it to Customs. for clearance purposes, you need to specify that in the ShippingDocumentSpecification element. If you would like a copy of the Commercial Invoice that FedEx generated returned to you in reply it needs to be specified in the ETDDetail/RequestedDocumentCopies element. Commercial Invoice support consists of maximum of 99 commodity line items. + + + + + Any comments that need to be communicated about this shipment. + + + + + Any freight charges that are associated with this shipment. + + + + + Any taxes or miscellaneous charges(other than Freight charges or Insurance charges) that are associated with this shipment. + + + + + Specifies which kind of charge is being recorded in the preceding field. + + + + + Any packing costs that are associated with this shipment. + + + + + Any handling costs that are associated with this shipment. + + + + + Free-form text. + + + + + Free-form text. + + + + + Free-form text. + + + + + The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice. + + + + + Not exposed to Web Services customers; only present for use in mapping from CTS transactions. + + + + + Additional customer reference data. + + + + + Name of the International Expert that completed the Commercial Invoice different from Sender. + + + + + Required for dutiable international Express or Ground shipments. This field is not applicable to an international PIB(document) or a non-document which does not require a Commercial Invoice. + + + + + + + The instructions indicating how to print the Commercial Invoice( e.g. image type) Specifies characteristics of a shipping document to be produced. + + + + + + Specifies the usage and identification of a customer supplied image to be used on this document. + + + + + + + + + + Value used to identify a commodity description; must be unique within the containing shipment. + + + + + FedEx internal commodity identifier + + + + + + A free-form description of the commodity, which could be used for customs clearance documentation. + + + + + + + + + + + Contains only additional quantitative information other than weight and quantity to calculate duties and taxes. + + + + + + The value of the commodity for customs purposes. The field should be the unit price multiplied by the quantity. + + + + + Defines additional characteristic of commodity used to calculate duties and taxes + + + + + + + + + + + + + + + + + + Specifies the results of processing for the COD special service. + + + + + + + + + + + The identifier for all clearance documents associated with this shipment. + + + + + + + + + + + + + + + Completed package-level hazardous commodity information for a single package. + + + + + A unique reference id that matches the package to a package configuration. This is populated if the client provided a package configuration for several packages that have the exact same dangerous goods content. + + + + + + When true indicates that the package can be transported only on a cargo aircraft. + + + + + + Specifies the maximum radiation level from the package (measured in microSieverts per hour at a distance of one meter from the external surface of the package, divided by 10). + + + + + Specifies the label that is to be put on a package containing radioactive material. The label type is determined in accordance with the Transportation of Dangerous Goods Act and indicates the type of radioactive material being handled as well as the relative risk. + + + + + Documents the kinds and quantities of all hazardous commodities in the current package. + + + + + + + Computed shipment level hazardous commodity information. + + + + + + + This contains the ADR License information, which identifies the license number and ADR category under which the customer is allowed to ship. + + + + + + + + + Specifies the total number of packages containing hazardous commodities in small exceptions. + + + + + + + + + Identifies the branded location name, the hold at location phone number and the address of the location. + + + + + Identifies the type of FedEx location. + + + + + + + + + + + + An identifier of each group of identical packages. + + + + + + All package-level rating data for this package, which may include data for multiple rate types. + + + + + + + + All package-level shipping documents (other than labels and barcodes). For use in loads after January, 2008. + + + + + Specifies the information associated with this package that has COD special service in a ground shipment. + + + + + Actual signature option applied, to allow for cases in which the original value conflicted with other service features in the shipment. + + + + + + Documents the kinds and quantities of all hazardous commodities in the current package, using updated hazardous commodity description data. + + + + + + + Associates a shipment within a consolidation with data about the consolidation. + + + + + Identifies the type of consolidation containing this shipment. + + + + + Identifies the role of this shipment within the consolidation. + + + + + + Identifies other tracking IDs associated with this shipment in the same consolidation. + + + + + + + + + + + + + + + + Only used with pending shipments. + + + + + Only used in the reply to tag requests. + + + + + + Computed shipment level information about hazarous commodities. + + + + + All shipment-level rating data for this shipment, which may include data for multiple rate types. + + + + + Result data for a shipment within a consolidation. + + + + + Returns the default holding location information when HOLD_AT_LOCATION special service is requested and the client does not specify the hold location address. + + + + + Returns any defaults or updates applied to RequestedShipment.exportDetail.exportComplianceStatement. + + + + + This specifies what rules or requirements for documents are applicable for this shipment. This may identify required or prohibited documents. + + + + + + All shipment-level shipping documents (other than labels and barcodes). + + + + + + + + + + Provides reply information specific to SmartPost shipments. + + + + + Identifies the carrier that will pick up the SmartPost shipment. + + + + + Indicates whether the shipment is deemed to be machineable, based on dimensions, weight, and packaging. + + + + + + + Provides reply information specific to a tag request. + + + + + + As of June 2007, returned only for FedEx Express services. + + + + + As of June 2007, returned only for FedEx Express services. + + + + + As of June 2007, returned only for FedEx Express services. + + + + + As of June 2007, returned only for FedEx Express services. + + + + + FEDEX INTERNAL USE ONLY: for use by INET. + + + + + + + Result data for a transborder distribution shipment. + + + + + Postal code of the destination country entry point; this is the location at which the constituent shipments are tendered into the destination country network. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + These special services are available at the consolidation level for some or all consolidation types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the consolidation special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. + + + + + The types of all special services requested for the enclosing consolidation. + + + + + + + + + + + + + + + + + + The descriptive data for a point-of-contact person. + + + + + Client provided identifier corresponding to this contact information. + + + + + Identifies the contact person's name. + + + + + Identifies the contact person's title. + + + + + Identifies the company this contact is associated with. + + + + + Identifies the phone number associated with this contact. + + + + + Identifies the phone extension associated with this contact. + + + + + Identifies a toll free number, if any, associated with this contact. + + + + + Identifies the pager number associated with this contact. + + + + + Identifies the fax number associated with this contact. + + + + + Identifies the email address associated with this contact. + + + + + + + + + + + + + Details the contents of the package. + + + + + + + + + + + + + + + Must be in one of the following formats: YYMM, YYYYMM, or YYYYMMDD. + + + + + Date when the credit card was last used in a FedEx online transaction. + + + + + + + This field contains the track data from the credit card stripe. + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies details about the credit card transaction that drive decisions about credit card processing. + + + + + + + + This class represents data tied to the use of a credit card in a specific transaction. + + + + + + + + + Specifies a secure code used for payor authentication in the credit card transaction. + + + + + + Specifies details about the credit card transaction that drive decisions about credit card processing. + + + + + + + + + + + + + + + + + + This class is a rename of the previous VerifyCreditFraudDetail; the name change reflects the fact that it is no longer tied to a "verify" usage. + + + + + + + + + + + + The currency code for the original (converted FROM) currency. + + + + + The currency code for the final (converted INTO) currency. + + + + + Multiplier used to convert fromCurrency units to intoCurrency units. + + + + + + + + + Indicates the type of custom delivery being requested. + + + + + Time by which delivery is requested. + + + + + Range of dates for custom delivery request; only used if type is BETWEEN. + + + + + Date for custom delivery request; only used for types of ON, BETWEEN, or AFTER. + + + + + + + + + + + + + + + + + Types of discounts that are excluded. + + + + + + + Data required to produce a custom-specified document, either at shipment or package level. + + + + + Common information controlling document production. + + + + + Applicable only to documents produced on thermal printers with roll stock. + + + + + Applicable only to documents produced on thermal printers with roll stock. + + + + + Identifies the formatting specification used to construct this custom document. + + + + + Identifies the individual document specified by the client. + + + + + If provided, thermal documents will include specified doc tab content. If omitted, document will be produced without doc tab content. + + + + + + + + Constructed string, based on format and zero or more data fields, printed in specified barcode symbology. + + + + + + + + + Width of thinnest bar/space element in the barcode. + + + + + + + + Solid (filled) rectangular area on label. + + + + + + + + + + + + + + + + + + + + + + + + + Image to be included from printer's memory, or from a local file for offline clients. + + + + + + Printer-specific index of graphic image to be printed. + + + + + Fully-qualified path and file name for graphic image to be printed. + + + + + + + + + Horizontal position, relative to left edge of custom area. + + + + + Vertical position, relative to top edge of custom area. + + + + + + + Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). + + + + + + + + + + Printer-specific font name for use with thermal printer labels. + + + + + Generic font name for use with plain paper labels. + + + + + Generic font size for use with plain paper labels. + + + + + + + + Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). + + + + + + + + Printer-specific font name for use with thermal printer labels. + + + + + Generic font name for use with plain paper labels. + + + + + Generic font size for use with plain paper labels. + + + + + + + + + + + + + + + + + + + Specifies custom transit time to be applied to the shipment. + + + + + Identifies options to be applied. + + + + + + + + + + + Internal Id used by INET to identify customer provided images during documents generation. Ex COO etc ... + + + + + Internal image type used by INET to identify customer provided images during documents generation. Ex COO etc .. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Allows customer-specified control of label content. + + + + + If omitted, no doc tab will be produced (i.e. default is former NONE type). + + + + + Controls the position of the customer specified content relative to the FedEx portion. + + + + + + + Controls which data/sections will be suppressed. + + + + + For customers producing their own Ground labels, this field specifies which secondary barcode will be printed on the label; so that the primary barcode produced by FedEx has the correct SCNC. + + + + + + + Controls the number of additional copies of supplemental labels. + + + + + This value reduces the default quantity of destination/consignee air waybill labels. A value of zero indicates no change to default. A minimum of one copy will always be produced. + + + + + + + + + + + + + + + + + Interacts both with properties of the shipment and contractual relationship with the shipper. + + + + + + + Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. + + + + + + + This represents the total commodity value of the shipment plus the charges required by the destination country. + + + + + Identifies responsibilities with respect to loss, damage, etc. + + + + + Documents amount paid to third party for coverage of shipment content. + + + + + + + + + + + + + This provides the information necessary to identify the different statements, declarations, acts, and/or certifications that apply to this shipment. + + + + + This indicates the different statements, declarations, acts, and/or certifications that apply to this shipment. + + + + + + + This indicates the different statements, declarations, acts, and certifications that may apply to a shipment. + + + + + + + + + + + Specifies additional description about customs options. This is a required field when the customs options type is "OTHER". + + + + + + + + + + + + + + + + + + + + + Indicates the damage status of a package. + + + + + + + + + + + + + + + Describes an approved container used to package dangerous goods commodities. This does not describe any individual inner receptacles that may be within this container. + + + + + Indicates whether there are additional inner receptacles within this container. + + + + + Indicates the type of this dangerous goods container, as specified by the IATA packing instructions. For example, steel cylinder, fiberboard box, plastic jerrican and steel drum. + + + + + Indicates the packaging type of the container used to package the radioactive materials. + + + + + Indicates the number of occurrences of this container with identical dangerous goods configuration. + + + + + Documents the kinds and quantities of all hazardous commodities in the current container. + + + + + + + FEDEX INTERNAL USE ONLY: Describes the characteristics of the dangerous goods inferred from the commodity data. + + + + + + + + + + + + + + + This field is used to identify an instance of an uploaded dangerous goods handling unit. + + + + + + + Shipment is packaged/documented for movement ONLY on cargo aircraft. + + + + + Indicates the characteristics of the package inferred from the dangerous goods commodity data. + + + + + Indicates which kinds of hazardous content are in the current package. + + + + + Indicates whether there is additional customer provided packaging enclosing the approved dangerous goods containers. + + + + + Identifies the configuration of this dangerous goods package. The common configuration is represented at the shipment level. + + + + + Indicates one or more containers used to pack dangerous goods commodities. + + + + + Description of the packaging of this commodity, suitable for use on OP-900 and OP-950 forms. + + + + + Name, title and place of the signatory for this shipment. + + + + + Telephone number to use for contact in the event of an emergency. + + + + + Offeror's name or contract number, per DOT regulation. + + + + + Specifies the contact of the party responsible for handling the infectious substances, if any, in the dangerous goods shipment. + + + + + Specifies additional handling information for the current package. + + + + + Specifies the radioactivity detail for the current package, if the package contains radioactive materials. + + + + + FOR FEDEX INTERNAL USE ONLY: Describes the regulatory data elements required to move the package. + + + + + + + + + + + + The instructions indicating how to print the 1421c form for dangerous goods shipment. + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + + + Specifies that name, title and place of the signatory responsible for the dangerous goods shipment. + + + + + + + Indicates the place where the form is signed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the tracking id for the return, if preassigned. + + + + + + + Data required to complete the Destionation Control Statement for US exports. + + + + + + Comma-separated list of up to four country codes, required for DEPARTMENT_OF_STATE statement. + + + + + Name of end user, required for DEPARTMENT_OF_STATE statement. + + + + + + + + + + + + + Specifications for pup/set or vehicle delayed for loading or unloading. + + + + + Amount of time involved in the detention. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This is a structure for providing document line item content (in part or in whole) to a service. + + + + + + + + + + + + Lists the documents that are not accepted by FedEx for this shipment. + + + + + + + Specifies the usage or intent of the document in the current context. + + + + + + + + + + + + + + + + + + + + + Specifies the name associated with the email address. + + + + + + + + + Content of the email message. + + + + + + + + + + + + + + + + + Information describing the address of of the email recipient, role of the email recipient and languages that are requested to be supported. + + + + + EMail address of the recipient. + + + + + The relationship that the customer has to the pending shipment. + + + + + Specifies how the email notification for the pending shipment need to be processed. + + + + + Localization and language details specified by the recipient of the EMail. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Customer-declared value, with data type and legal values depending on excise condition, used in defining the taxable value of the item. + + + + + + + Specifies the types of Estimated Duties and Taxes to be included in a rate quotation for an international shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies how to apply the localization detail to the current context. + + + + + + + + This identifies some of the document types recognized by Enterprise Document Management Service. + + + + + + + + + + + + + + + + + + + + + + + + Specifies whether to confirm documents prior to processing a shipment with the ELECTRONIC_TRADE_DOCUMENTS special service. + + + + + + + + + Electronic Trade document references used with the ETD special service. + + + + + Specifies client's intent for whether all documents must be confirmed before shipment processing. + + + + + + Indicates the types of shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data. + + + + + + + + + The instructions indicating how to print the Export Declaration. + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + + + + + + General field for exporting-country-specific export data (e.g. B13A for CA, FTSR Exemption or AES Citation for US). + + + + + + + + + + + + + + + + + + + + + + + + + Specification for labor time spent handling shipment. + + + + + Total labor time. + + + + + + + + + + + + Specifies the type of FedEx distribution location. + + + + + + + + + + + Identifies a kind of FedEx facility. + + + + + + + + + + + + + + + + + + + Specifies the optional features/characteristics requested for a Freight shipment utilizing a flatbed trailer. + + + + + + + + + + + + + + Data required to produce the Freight handling-unit-level address labels. Note that the number of UNIQUE labels (the N as in 1 of N, 2 of N, etc.) is determined by total handling units. + + + + + + Indicates the number of copies to be produced for each unique label. + + + + + Specifies the quadrant of the page on which the label printing will start. + + + + + If omitted, no doc tab will be produced (i.e. default = former NONE type). + + + + + Controls the position of the customer specified content relative to the FedEx portion. + + + + + + + + Individual charge which contributes to the total base charge for the shipment. + + + + + Freight class for this line item. + + + + + Effective freight class used for rating this line item. + + + + + NMFC Code for commodity. + + + + + Customer-provided description for this commodity or class line. + + + + + Weight for this commodity or class line. + + + + + Rate or factor applied to this line item. + + + + + Identifies the manner in which the chargeRate for this line item was applied. + + + + + The net or extended charge for this line item. + + + + + + + Specifies the way in which base charges for a Freight shipment or shipment leg are calculated. + + + + + + + + + + + + + + + + + + + + + + These values represent the industry-standard freight classes used for FedEx Freight and FedEx National Freight shipment description. (Note: The alphabetic prefixes are required to distinguish these values from decimal numbers on some client platforms.) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Date for all Freight guarantee types. + + + + + Time for GUARANTEED_TIME only. + + + + + + + + + + + + + + Identifies responsibilities with respect to loss, damage, etc. + + + + + + + + + Rate data specific to FedEx Freight or FedEx National Freight services. + + + + + A unique identifier for a specific rate quotation. + + + + + Specifies whether the rate quote was automated or manual. + + + + + Specifies how total base charge is determined. + + + + + Freight charges which accumulate to the total base charge for the shipment. + + + + + Human-readable descriptions of additional information on this shipment rating. + + + + + + + Additional non-monetary data returned with Freight rates. + + + + + Unique identifier for notation. + + + + + Human-readable explanation of notation. + + + + + + + Specifies the type of rate quote + + + + + + + + + Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. + + + + + Account number used with FEDEX_FREIGHT service. + + + + + Used for validating FedEx Freight account number and (optionally) identifying third party payment on the bill of lading. + + + + + Used in connection with "Send Bill To" (SBT) identification of customer's account used for billing. + + + + + Identification values to be printed during creation of a Freight bill of lading. + + + + + Indicates the role of the party submitting the transaction. + + + + + Designates the terms of the "collect" payment for a Freight Shipment. + + + + + Identifies the declared value for the shipment + + + + + Identifies the declared value units corresponding to the above defined declared value + + + + + + Identifiers for promotional discounts offered to customers. + + + + + Total number of individual handling units in the entire shipment (for unit pricing). + + + + + Estimated discount rate provided by client for unsecured rate quote. + + + + + Total weight of pallets used in shipment. + + + + + Overall shipment dimensions. + + + + + Description for the shipment. + + + + + Specifies which party will pay surcharges for any special services which support split billing. + + + + + Must be populated if any line items contain hazardous materials. + + + + + + Details of the commodities in the shipment. + + + + + + + Description of an individual commodity or class of content in a shipment. + + + + + A unique identifier assigned to this line item. + + + + + Freight class for this line item. + + + + + FEDEX INTERNAL USE ONLY: for FedEx system that estimate freight class from customer-provided dimensions and weight. + + + + + Identifies billing mask, if used to populate this line item. + + + + + Specifies line item level liability coverage. + + + + + Number of individual handling units to which this line applies. (NOTE: Total of line-item-level handling units may not balance to shipment-level total handling units.) + + + + + Specification of handling-unit packaging for this commodity or class line. + + + + + Number of pieces for this commodity or class line. + + + + + NMFC Code for commodity. + + + + + Indicates the kind of hazardous material content in this line item. + + + + + For printed reference per line item. + + + + + Customer-provided description for this commodity or class line. + + + + + Weight for this commodity or class line. + + + + + + Volume (cubic measure) for this commodity or class line. + + + + + + + Indicates the role of the party submitting the transaction. + + + + + + + + + Specifies which party will be responsible for payment of any surcharges for Freight special services for which split billing is allowed. + + + + + Identifies the special service. + + + + + Indicates who will pay for the special service. + + + + + + + Data required to produce a General Agency Agreement document. Remaining content (business data) to be defined once requirements have been completed. + + + + + + + + Represents features of FedEx Ground delivery for which the shipment is eligible. + + + + + + + + + + + + + + + + + Documents the kind and quantity of an individual hazardous commodity in a package. + + + + + Identifies and describes an individual hazardous commodity. + + + + + Specifies the amount of the commodity in alternate units. + + + + + This describes the inner receptacle details for a hazardous commodity within the dangerous goods container. + + + + + Customer-provided specifications for handling individual commodities. + + + + + Specifies the details of any radio active materials within the commodity. + + + + + The total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. + + + + + + + Identifies and describes an individual hazardous commodity. + + + + + Regulatory identifier for a commodity (e.g. "UN ID" value). + + + + + In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. + + + + + + + + + + + + + + Indicates any special processing options to be applied to the description of the dangerous goods commodity. + + + + + Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. + + + + + + + Specifies any special processing to be applied to the dangerous goods commodity description validation. + + + + + + + + This describes information about the inner receptacles for the hazardous commodity in a particular dangerous goods container. + + + + + This specifies the quantity contained in the inner receptacle. + + + + + + + Specifies how the commodity is to be labeled. + + + + + + + + + + Customer-provided specifications for handling individual commodities. + + + + + Specifies how the customer wishes the label text to be handled for this commodity in this package. + + + + + Text used in labeling the commodity under control of the labelTextOption field. + + + + + + + Indicates which kind of hazardous content is being reported. + + + + + + + + + + + + + Identifies number and type of packaging units for hazardous commodities. + + + + + Number of units of the type below. + + + + + Units in which the hazardous commodity is packaged. + + + + + + + Specifies documentation and limits for validation of an individual packing group/category. + + + + + + Coded specification for how commodity is to be packed. + + + + + + + Identifies DOT packing group for a hazardous commodity. + + + + + + + + + + + Identifies amount and units for quantity of hazardous commodities. + + + + + Number of units of the type below. + + + + + Units by which the hazardous commodity is measured. For IATA commodity, the units values are restricted based on regulation type. + + + + + Specifies which measure of quantity is to be validated. + + + + + + + Specifies the measure of quantity to be validated against a prescribed limit. + + + + + + + + + Identifies the source of regulation for hazardous commodity data. + + + + + + + + + + + + + + + + + + Contact phone number for recipient of shipment. + + + + + Contact and address of FedEx facility at which shipment is to be held. + + + + + Type of facility at which package/shipment is to be held. + + + + + Branded text associated with this location type. + + + + + Location identification (for facilities identified by an alphanumeric location code). + + + + + Location identification (for facilities identified by an numeric location code). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents the internal index used by INET to identify an image + + + + + Represents the internal image type used by INET + + + + + + + + + + + + + + + Indicates the status of a package inspection performed by an agent. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Totals accumulated during the processing of CRNs into the consolidation. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Names for data elements / areas which may be suppressed from printing on labels. + + + + + + + + + + + + + + + + + + + + Specifies the order in which the labels will be returned + + + + + + + + + + + + + + + Relative to normal orientation for the printer. + + + + + + + + + + + + + + Specifies how to create, organize, and return the document. + + + + + + + + + + Specifies the order in which the labels are requested to be returned + + + + + Governs the language to be used in the labels generated for this shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies the Liability Coverage Amount. For Jan 2010 this value represents coverage amount per pound + + + + + + + + + + + + + + + License or Permit Number. + + + + + Specifies the effective date of the license. + + + + + Specifies the expiration date of the license. + + + + + + + Represents a one-dimensional measurement in small units (e.g. suitable for measuring a package or document), contrasted with Distance, which represents a large one-dimensional measurement (e.g. distance between cities). + + + + + The numerical quantity of this measurement. + + + + + The units for this measurement. + + + + + + + + + + + + + Identifies the representation of human-readable text. + + + + + Two-letter code for language (e.g. EN, FR, etc.) + + + + + Two-letter code for the region (e.g. us, ca, etc..). + + + + + + + Specification for marking or tagging of pieces in shipment. + + + + + Number of pieces to be marked or tagged by FedEx. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specification for services performed during non-business hours and/or days. + + + + + Total number of person days for full non-business days. + + + + + Total number of person hours (whole or partial hours) for non-business hours. + + + + + + + The descriptive data regarding the result of the submitted transaction. + + + + + The severity of this notification. This can indicate success or failure or some other information about the request. The values that can be returned are SUCCESS - Your transaction succeeded with no other applicable information. NOTE - Additional information that may be of interest to you about your transaction. WARNING - Additional information that you need to know about your transaction that you may need to take action on. ERROR - Information about an error that occurred while processing your transaction. FAILURE - FedEx was unable to process your transaction at this time due to a system failure. Please try again later + + + + + Indicates the source of this notification. Combined with the Code it uniquely identifies this notification + + + + + A code that represents this notification. Combined with the Source it uniquely identifies this notification. + + + + + Human-readable text that explains this notification. + + + + + The translated message. The language and locale specified in the ClientDetail. Localization are used to determine the representation. Currently only supported in a TrackReply. + + + + + A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) without having to parse the message string. + + + + + + + + + + + + + + + + + + + Indicates the type of notification that will be sent. + + + + + Specifies the email notification details. + + + + + Specifies the fax notification details. + + + + + Specifies the SMS notification details. + + + + + Specifies the localization for this notification. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies the type of data contained in Value (e.g. SERVICE_TYPE, PACKAGE_SEQUENCE, etc..). + + + + + The value of the parameter (e.g. PRIORITY_OVERNIGHT, 2, etc..). + + + + + + + + + + + + + + + + + + + + + + + + + Unique identifier for this offering. + + + + + Specifies values like PRIORITY_OVERNIGHT, FEDEX_ENVELOPE, PRIORITY_ALERT, and other values typically used to identify various offerings in transactions. + + + + + Specifies the two character code used for operationalization of this offering. + + + + + + + The instructions indicating how to print the OP-900 form for hazardous materials packages. + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Identifies which reference type (from the package's customer references) is to be used as the source for the reference on this OP-900. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + Data field to be used when a name is to be printed in the document instead of (or in addition to) a signature image. + + + + + + + + + Position of operational instruction element. + + + + + Content corresponding to the operational instruction. + + + + + + + + + + + + + + Each instance of this data type represents the set of barcodes (of all types) which are associated with a specific package. + + + + + Binary-style barcodes for this package. + + + + + String-style barcodes for this package. + + + + + + + + + + + + + + Package-level data required for labeling and/or movement. + + + + + Human-readable text for pre-January 2011 clients. + + + + + Human-readable content for use on a label. + + + + + The operational barcodes pertaining to the current package. + + + + + The FedEx internal code that represents the service and/or features of service for the current package moving under a FedEx Ground service. + + + + + + + + + + + + + Data for a package's rates, as calculated per a specific rate type. + + + + + Type used for this specific set of rate data. + + + + + Indicates which weight was used. + + + + + INTERNAL FEDEX USE ONLY. + + + + + + The dimensional weight of this package (if greater than actual). + + + + + The oversize weight of this package (if the package is oversize). + + + + + The transportation charge only (prior to any discounts applied) for this package. + + + + + The sum of all discounts on this package. + + + + + This package's baseCharge - totalFreightDiscounts. + + + + + The sum of all surcharges on this package. + + + + + This package's netFreight + totalSurcharges (not including totalTaxes). + + + + + The sum of all taxes on this package. + + + + + This package's netFreight + totalSurcharges + totalTaxes. + + + + + + All rate discounts that apply to this package. + + + + + All rebates that apply to this package. + + + + + All surcharges that apply to this package (either because of characteristics of the package itself, or because it is carrying per-shipment surcharges for the shipment of which it is a part). + + + + + All taxes applicable (or distributed to) this package. + + + + + + + + This class groups together for a single package all package-level rate data (across all rate types) as part of the response to a shipping request, which groups shipment-level data together and groups package-level data by package. + + + + + This rate type identifies which entry in the following array is considered as presenting the "actual" rates for the package. + + + + + The "list" net charge minus "actual" net charge. + + + + + Each element of this field provides package-level rate data for a specific rate type. + + + + + + + Specifies the condition of a package when it was received at a FedEx location. + + + + + Indicates the party who packed the package. + + + + + Specifies whether any damange to the contents of the package was known. + + + + + Specifies whether the package contents were inspected by the agent. + + + + + + + These special services are available at the package level for some or all service types. If the shipper is requesting a special service which requires additional data, the package special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. + + + + + Indicates the package special service types that are requested on this shipment. For a list of the valid package special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. + + + + + For use with FedEx Ground services only; COD must be present in shipment's special services. + + + + + + Provides details about the batteries or cells that are contained within this specific package. + + + + + + + + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY: Designates the packaging ID. + + + + + + + Branded, translated, and/or localized names for this packaging. + + + + + + + + + + + + + + + + + Specifications for pallets to be shrinkwrapped as part of a Freight shipment. + + + + + Number of pallets to be shrinkwrapped. + + + + + + + Specifications for pallets to be provided on Freight shipment. + + + + + Number of pallets to be provided. + + + + + + + This type contains equivalent data to Contact, but uses a form of person name with separate first and last names. + + + + + + + + Specifies the country code to be dialled when calling the phone number listed as a part of the contact. + + + + + Specifies the area code of the phone number listed as a part of the contact. + + + + + + + + + + + + This type contains equivalent data to ContactAndAddress, but uses a form of person name with separate first, middle and last names. + + + + + + + + + The descriptive data for a person's name broken out into individual name elements such as first name, last name. + + + + + Specifies the salutation part of the name, if any is specified. Examples of prefix: Sir, Madam, Monsieur. + + + + + Specifies the professional title in the person name, if any is specified. + + + + + + + + Identifies the contact person's name suffix. + + + + + + + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY + + + + + + + + + + + + + + + + + + + + + + + + + + + + This information describes how and when a pending shipment may be accessed for completion. + + + + + + + + Specifies the details to be used by the user of the pending shipment + + + + + Specifies the role of the user who is trying to access the pending shipment. + + + + + + + + + + This information describes the kind of pending shipment being requested. + + + + + + Date after which the pending shipment will no longer be available for completion. + + + + + Only used with type of EMAIL. + + + + + + These are documents that are recommended to be included with the shipment. + + + + + Upload document details provided by the initator of the shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This enumeration rationalizes the former FedEx Express international "admissibility package" types (based on ANSI X.12) and the FedEx Freight packaging types. The values represented are those common to both carriers. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This class describes the pickup characteristics of a shipment (e.g. for use in a tag request). + + + + + + + + + + + + + + + + + + + + + + + + + + The tracking number field should be provided when uploading documents after the shipment has been processed or confirmed. This is only applicable if the shipment has been processed with the POST_SHIPMENT_UPLOAD_REQUESTED ETD attribute. + + + + + + + + + + + + + + + + + + + + + + + + Represents a reference identifier printed on Freight bills of lading + + + + + + + + + Identifies a particular reference identifier printed on a Freight bill of lading. + + + + + + + + + + + + + + + + + + + + + + + + + The type of name (long, medium, short, etc.) to which this value refers. + + + + + The character encoding used to represent this product name. For example, UTF-8. + + + + + + + + + + + + + + + + + + Indicates the packaging type of the container used to package radioactive hazardous materials. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates whether packaging type "EXCEPTED" or "EXCEPTED_PACKAGE" is for radioactive material in reportable quantity. + + + + + + + + + Indicates the reason that a dim divisor value was chose. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Selects the value from a set of rate data to which the percentage is applied. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Select the type of rate from which the element is to be selected. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. + + + + + Specifies the kind of identification being used. + + + + + Contains the actual ID value, of the type specified above. + + + + + + + + + + + + + + Specifies the details about documents that are recommended to be included with the shipment for ease of shipment processing and transportation. + + + + + + + + Type of documents that are recommended to be included with the shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies details needed to generate any label artifacts required due to regulatory requirements. + + + + + + Specifies how the customer requested the regulatory label to be generated. + + + + + + + + + + + + Describes the vertical position of an item relative to another item. + + + + + + + + + Specifies the type and location id of a distribution location used to process a consolidation. + + + + + This is a customer-specified or system-assigned identifier that uniquely identifies the specific distibution location within a collection of distribution locations. This is not the same as the FedEx locationId or locationNumber. + + + + + Identifies whether the distirbution location is a FedEx Express Station or a FedEx Ground Terminal. + + + + + + + + This specifies the clearance number (e.g.- PAPS number for US imports) associated with the distribution location. + + + + + Specifies which kinds of shipments will be processed by this distribution location. + + + + + + + + + A unique identifier of each requested package line item. + + + + + An identifier of each group of identical packages. + + + + + Used as the number or count of identical packages in a group. + + + + + + Only used when clients are assigning a tracking number to this package. Should not be used when groupPackageCount is greater than one. + + + + + + Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. + + + + + Represents the gross weight of the package line item. + + + + + FEDEX INTERNAL USE ONLY. + + + + + + Provides additional detail on how the customer has physically packaged this item. As of June 2009, required for packages moving under international and SmartPost services. + + + + + + Human-readable text describing the package. + + + + + Human-readable text describing the contents of the package to be used for clearance purposes. + + + + + + + + Details the contents of the package. + + + + + + + + + + + + + This field contains the service type values, like PRIORITY_OVERNIGHT and FEDEX_GROUND. + + + + + This field contains the packaging type values, like YOUR_PACKAGING and FEDEX_ENVELOPE. + + + + + The client's shipping cycle to which this shipment belongs. + + + + + This specifies information related to the manifest associated with the shipment. + + + + + The shipment variations for the current shipment expressed in key-value pairs. + + + + + + Specifies the total declared value for carriage of the shipment. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the shipment. + + + + + + This attribute indicates the currency the caller requests to have used in all returned monetary values (when a choice is possible). + + + + + Specifies details about the entity responsible for the shipment. + + + + + + + + Physical starting address for the shipment, if different from shipper's address. + + + + + The sold-to party is used for customs clearance; for example, in support of US import customs rules. The need for this field could vary based on whether a sold-to party was specified on a consolidation. + + + + + + + Specifies any custom processing to be applied to this shipment. + + + + + + Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. + + + + + Data applicable to shipments that are a part of a consolidation. + + + + + Used with Ground Home Delivery and Freight. + + + + + + Customs clearance data, used for both international and intra-country shipping. + + + + + For use in "process tag" transaction. + + + + + Specifies the characteristics of a shipment pertaining to SmartPost services. + + + + + If true, only the shipper/payor will have visibility of this shipment. + + + + + Specifies the client-requested response in the event of errors within shipment. + + + + + + Contains data used to create additional (non-label) shipping documents. + + + + + Specifies whether and what kind of rates the customer wishes to have quoted on this shipment. The reply will also be constrained by other data on the shipment and customer. + + + + + Specifies the type of rate the customer wishes to have used as the actual rate type. + + + + + Specifies whether the customer wishes to have Estimated Duties and Taxes provided with the rate quotation on this shipment. Only applies with shipments moving under international services. + + + + + Specifies the details for the custom rates. + + + + + Only used with multiple-transaction shipments, to identify the master package in a multi-piece shipment. + + + + + The total number of packages in the entire shipment (even when the shipment spans multiple transactions.) + + + + + Specifies which package-level data values are provided at the shipment-level only. The package-level data values types specified here will not be provided at the package-level. + + + + + Specifies data structures that may be re-used multiple times with s single shipment. + + + + + One or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics all packages in the shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This identifies the document types that can be required. This can also indicate when either a COMMERCIAL_INVOICE or a PRO_FORMA_INVOICE is required through the COMMERCIAL_OR_PRO_FORMA_INVOICE option. + + + + + + + + + + + + + + + + + + + + + + Specifies the tracking number of the master associated with the return shipment. + + + + + + + + These values are used to control the availability of certain special services at the time when a customer uses the e-mail label link to create a return shipment. + + + + + + + + + + + + Identifies the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created. Only services represented in EMailLabelAllowedSpecialServiceType will be controlled by this list. + + + + + + + The instructions indicating how to print the return instructions( e.g. image type) Specifies characteristics of a shipping document to be produced. + + + + + + Specifies additional customer provided text to be inserted into the return document. + + + + + + + + + + + + + + + + + + + + + + + + The "PAYOR..." rates are expressed in the currency identified in the payor's rate table(s). The "RATED..." rates are expressed in the currency of the origin country. Former "...COUNTER..." values have become "...RETAIL..." values, except for PAYOR_COUNTER and RATED_COUNTER, which have been removed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + June 2011 ITG 121203 IR-RMA number has been removed from this structure and added as a new customer reference type. The structure remains because of the reason field below. + + + + + + + + Describes the rotation of an item from its default orientation. + + + + + + + + + + + + + + + + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY: Designates the service ID. + + + + + + + Branded, translated, and/or localized names for this service. + + + + + FOR FEDEX INTERNAL USE ONLY: The operating org code in a service. + + + + + FOR FEDEX INTERNAL USE ONLY: This is tied to the Product EFS interface definition which will currently contain the values of 'parcel' or 'freight'. + + + + + + + + + Specification for assembly performed on shipment. + + + + + Number of pieces or packages to be assembled + + + + + Total weight of pieces or packages to be assembled + + + + + + + + + + + + Specifies data structures that may be re-used multiple times with s single shipment. + + + + + Specifies the data that is common to dangerous goods packages in the shipment. This is populated when the shipment contains packages with identical dangerous goods commodities. + + + + + + + Specifies the characteristics of the containing RequestedShipment that define its participation in a consolidation. + + + + + The time at which this shipment was associated with the consolidation. + + + + + The type of consolidation that contains this shipment. + + + + + The role this shipment plays within the consolidation. + + + + + Identifies other tracking IDs related to this shipment within the same consolidation. + + + + + Specifies the consolidation-level special services to be performed for this shipment. + + + + + This is the origin address of the consolidation. + + + + + Specifies attributes of a shipment within an international distribution. + + + + + Specifies attributes of a shipment within a transborder distribution. + + + + + FOR INTERNAL FEDEX USE ONLY: Identifies the distribution facility where this shipment will be de-consolidated and distributed. + + + + + + + Shipment-level totals of dry ice data across all packages. + + + + + Total number of packages in the shipment that contain dry ice. + + + + + Total shipment dry ice weight for all packages. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies which carrier should be included. + + + + + + + + Specifies the attributes of a shipment related to its role in an international distribution (consolidation). + + + + + Identifies the FedEx facility at which customs clearance will be performed. + + + + + Identifies the type of clearance performed at the clearance facility. + + + + + Provides summary totals across all CRNs in a distribution. + + + + + Specifies how charges relating to different aspects of a shipment are to be paid. + + + + + + + Data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type. + + + + + Human-readable text describing the shipment leg. + + + + + Origin for this leg. + + + + + Specifies the location id the origin of shipment leg. + + + + + Destination for this leg. + + + + + Specifies the location id the destination of shipment leg. + + + + + Type used for this specific set of rate data. + + + + + Indicates the rate scale used. + + + + + Indicates the rate zone used (based on origin and destination). + + + + + + Indicates which weight was used. + + + + + INTERNAL FEDEX USE ONLY. + + + + + Specifies the currency exchange performed on financial amounts for this rate. + + + + + Indicates which special rating cases applied to this shipment. + + + + + + Identifies the type of dim divisor that was applied. + + + + + + + Sum of dimensional weights for all packages. + + + + + + + + + This shipment's totalNetFreight + totalSurcharges (not including totalTaxes). + + + + + Total of the transportation-based taxes. + + + + + + + Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment. + + + + + This shipment's totalNetCharge + totalDutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account. + + + + + Rate data specific to FedEx Freight and FedEx National Freight services. + + + + + All rate discounts that apply to this shipment. + + + + + All rebates that apply to this shipment. + + + + + All surcharges that apply to this shipment. + + + + + All transportation-based taxes applicable to this shipment. + + + + + All commodity-based duties and taxes applicable to this shipment. + + + + + The "order level" variable handling charges. + + + + + The total of all variable handling charges at both shipment (order) and package level. + + + + + + + + + This identifies which customer reference field contains the manifest ID. + + + + + + + + + + + + + + + + + + + + + + + + + + These values identify which package-level data values will be provided at the shipment-level. + + + + + + + + + + + + + + + + + + + + This is the state of the destination location ID, and is not necessarily the same as the postal state. + + + + + Expected/estimated date of delivery. + + + + + Expected/estimated day of week of delivery. + + + + + Delivery time, as published in Service Guide. + + + + + Committed date of delivery. + + + + + Committed day of week of delivery. + + + + + Standard transit time per origin, destination, and service. + + + + + Maximum expected transit time + + + + + Transit time based on customer eligibility. + + + + + Indicates that this shipment is not eligible for money back guarantee. + + + + + FedEx Ground delivery features for which this shipment may be eligible. + + + + + Text describing planned delivery. + + + + + + + + + + + + + + + Identifies special or custom features to be applied to a shipment. + + + + + + + + + + + + + + + + + + + + + + + Specifies special or custom features to be applied during the processing of the enclosing RequestedShipment. + + + + + Identifies options to be applied. + + + + + Specifies custom transit time to be applied to the shipment. + + + + + + + Data for a shipment's total/summary rates, as calculated per a specific rate type. The "total..." fields may differ from the sum of corresponding package data for Multiweight or Express MPS. + + + + + Type used for this specific set of rate data. + + + + + Indicates the rate scale used. + + + + + Indicates the rate zone used (based on origin and destination). + + + + + + Indicates which weight was used. + + + + + INTERNAL FEDEX USE ONLY. + + + + + FEDEX INTERNAL USE ONLY - the user ID provided when this rate was created + + + + + Specifies the currency exchange performed on financial amounts for this rate. + + + + + Indicates which special rating cases applied to this shipment. + + + + + + Identifies the type of dim divisor that was applied. + + + + + + + Sum of dimensional weights for all packages. + + + + + + + + + This shipment's totalNetFreight + totalSurcharges (not including totalTaxes). + + + + + Total of the transportation-based taxes. + + + + + + + Total of all values under this shipment's dutiesAndTaxes; only provided if estimated duties and taxes were calculated for this shipment. + + + + + Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. + + + + + The total of the totalDutiesAndTaxes plus the totalAncillaryFeesAndTaxes. + + + + + This shipment's totalNetCharge + totalDutiesTaxesAndFees; some duties and taxes are only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account. + + + + + Identifies the Rate Details per each leg in a Freight Shipment + + + + + Rate data specific to FedEx Freight and FedEx National Freight services. + + + + + All rate discounts that apply to this shipment. + + + + + All rebates that apply to this shipment. + + + + + All surcharges that apply to this shipment. + + + + + All transportation-based taxes applicable to this shipment. + + + + + All commodity-based duties and taxes applicable to this shipment. + + + + + Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. + + + + + The "order level" variable handling charges. + + + + + The total of all variable handling charges at both shipment (order) and package level. + + + + + + + This class groups together all shipment-level rate data (across all rate types) as part of the response to a shipping request, which groups shipment-level data together and groups package-level data by package. + + + + + This rate type identifies which entry in the following array is considered as presenting the "actual" rates for the shipment. + + + + + The "list" total net charge minus "actual" total net charge. + + + + + Each element of this field provides shipment-level rate totals for a specific rate type. + + + + + + + These special services are available at the shipment level for some or all service types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. + + + + + Indicates the shipment special service types that are requested on this shipment. For a list of the valid shipment special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. + + + + + + + + This replaces eMailNotificationDetail + + + + + + This field should be populated for pending shipments (e.g. e-mail label) It is required by a PENDING_SHIPMENT special service type. + + + + + + + + + + + Electronic Trade document references. + + + + + Specification for labor to be performed with the shipment. + + + + + Specifications for pallets to be shrinkwrapped as part of a Freight shipment. + + + + + Specifications for pallets to be provided on Freight shipment. + + + + + Specifications for pup/set or vehicle delayed for loading or unloading. + + + + + Specification for marking or tagging of pieces in shipment. + + + + + Specification for services performed during non-business hours and/or days. + + + + + Specification for assembly performed on shipment. + + + + + Specification for sorting and/or segregating performed on shipment. + + + + + Specification for special equipment used in loading/unloading shipment. + + + + + Specification for storage provided for shipment. + + + + + Specification for weighing services provided for shipment. + + + + + Specification for date or range of dates on which delivery is to be attempted. + + + + + + + Specifies the attributes of a shipment related to its role in a transborder distribution (consolidation). + + + + + Specifies special services to be performed on this shipment as part of a transborder distribution. + + + + + Provides summary totals across all CRNs in a distribution. + + + + + + + + + Specifies the name or the key for the shipment variation. + + + + + The values that are valid for the specified shipment variation in the context of the current shipment. + + + + + + + + + This indicates the identifier of a conveyance, such as a trailer ID. + + + + + + + + + + The localizations are populated if multiple language versions of a shipping document are returned. + + + + + Specifies how this document image/file is organized. + + + + + + The name under which a STORED, DEFERRED or EMAILED document is written. + + + + + Specifies the image type of this shipping document. + + + + + Specifies the image resolution in DPI (dots per inch). + + + + + Can be zero for documents whose disposition implies that no content is included. + + + + + One or more document parts which make up a single logical document, such as multiple pages of a single form. + + + + + + + Each occurrence of this class specifies a particular way in which a kind of shipping document is to be produced and provided. + + + + + Values in this field specify how to create and return the document. + + + + + Specifies how to organize all documents of this type. + + + + + Specifies how to store document images. + + + + + Specifies how to e-mail document images. + + + + + Specifies how a queued document is to be printed. + + + + + + + Specifies how to return a shipping document to the caller. + + + + + + + + + + + + + + + Specifies how to e-mail shipping documents. + + + + + Provides the roles and email addresses for e-mail recipients. + + + + + Identifies the convention by which documents are to be grouped as e-mail attachments. + + + + + Specifies the language in which the email containing the document is requested to be composed. + + + + + + + + + + + + + Specifies an individual recipient of e-mailed shipping document(s). + + + + + Identifies the relationship of this recipient in the shipment. + + + + + Address to which the document is to be sent. + + + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies how to create, organize, and return the document. + + + + + Specifies how far down the page to move the beginning of the image; allows for printing on letterhead and other pre-printed stock. + + + + + + + For those shipping document types which have both a "form" and "instructions" component (e.g. General Agency Agreement), this field indicates whether to provide the instructions. + + + + + + Governs the language to be used for this individual document, independently from other content returned for the same shipment. + + + + + Identifies the individual document specified by the client. + + + + + + + Specifies how to organize all shipping documents of the same type. + + + + + + + + + + Specifies the image format used for a shipping document. + + + + + + + + + + + + + + + + + Identifies the convention by which file names are constructed for STORED or DEFERRED documents. + + + + + + + + + A single part of a shipping document, such as one page of a multiple-page document whose format requires a separate image per page. + + + + + The one-origin position of this part within a document. + + + + + Graphic or printer commands for this image within a document. + + + + + + + Specifies printing options for a shipping document. + + + + + Provides environment-specific printer identification. + + + + + + + Contains all data required for additional (non-label) shipping documents to be produced in conjunction with a specific shipment. + + + + + Indicates the types of shipping documents requested by the shipper. + + + + + + + + + Specifies the production of each package-level custom document (the same specification is used for all packages). + + + + + Specifies the production of a shipment-level custom document. + + + + + + + + Specifies the production of the OP-900 document for hazardous materials packages. + + + + + Specifies the production of the 1421c document for dangerous goods shipment. + + + + + Specifies the production of the OP-900 document for hazardous materials. + + + + + + Specifies the production of the return instructions document. + + + + + + + Specifies the type of paper (stock) on which a document will be printed. + + + + + + + + + + + + + + + + + + + + + Specifies how to store shipping documents. + + + + + Indicates the mechanism by which a shipping document will be stored for later retrieval. + + + + + Provides the path to be used for STORED or DEFERRED documents. + + + + + Identifies the convention by which file names are constructed for STORED or DEFERRED documents. + + + + + Suffix to be placed at the end of the file name; required on some platforms to determine file type. + + + + + + + + + + + + + + + + + + + + + + + + + + + + These values are mutually exclusive; at most one of them can be attached to a SmartPost shipment. + + + + + + + + + + + + + + + + + + + + + Data required for shipments handled under the SMART_POST and GROUND_SMART_POST service types. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specification for sorting and/or segregating performed on shipment. + + + + + Number of pieces or packages to be sorted/segregated + + + + + Total weight of pieces or packages to be sorted/segregated + + + + + + + Specification for special equipment used in loading/unloading shipment. + + + + + Contains an entry for each type of special equipment used with shipment + + + + + + + Specifies the usage of a single type of special equipment while loading/unloading a shipment + + + + + Type of equipment used + + + + + Total amount of time the equipment was used + + + + + + + Identifies types of special equipment used in loading/unloading Freight shipments + + + + + + + + + + + + + + + + + + + + + Specifies payment for a single aspect of a shipment. + + + + + Identifies the aspect of the shiipment to be paid separately. + + + + + Specifies the form of payment to be used. + + + + + + + Specifies how charges relating to different aspects of a shipment are to be paid. + + + + + Each entry specifies payement for a single aspect of the shipment. + + + + + + + Identifies an aspect of a shipment that may be paid separately. + + + + + + + + + Specification for storage provided for shipment. + + + + + Total time shipment is held by carrier. + + + + + + + Each instance of this data type represents a barcode whose content must be represented as ASCII text (i.e. not binary data). + + + + + The kind of barcode data in this instance. + + + + + The data content of this instance. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifice the kind of tax or miscellaneous charge being reported on a Commercial Invoice. + + + + + + + + + + + + + + + + + Identifies the usage of Tax Identification Number in Shipment processing + + + + + + + + + + + + + + + + + + + + + + For use with SmartPost tracking IDs only + + + + + + + + + + + + + + + + + + + + + Free form text to be echoed back in the reply. Used to match requests and replies. + + + + + Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection). + + + + + + + Specifies details for origin-country LTL services performed by FedEx. + + + + + Payment for LTL transportation. + + + + + Standard Carrier Alpha Code for origin-country LTL services. + + + + + + + Identifies features of service requested for a Transborder Distribution shipment. + + + + + + + + Specifies features of service within a Transborder Distribution shipment. + + + + + Identifies features of service requested for the current Transborder Distribution shipment. + + + + + Specifies details for origin-country LTL services performed by FedEx. + + + + + + + Specifies the summary of aggregates that are maintianed for a transborder consolidation. + + + + + + + + + + + + + + The number of commodities that are unique commodities in the consolidation. These commodities are mentioned as separate items on the consolidated commercial invoice. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the date until which the document is available + + + + + + + Specifies the application that is responsible for managing the document id. + + + + + + + + + + + + + + + + + Description of the uploaded document. + + + + + + + + + + + + + + + + + + + Distinct value for reason status was assigned. + + + + + Human-readable explanation of document status. + + + + + + + + + Each of these values identifies a specific reason why a document or reference could not be uploaded or associated with a shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + For an upload making use of the POST_SHIPMENT_UPLOAD option, this will indicate information about the required documents necessary for package movement. + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY: This is used to identify the origin state or province code. + + + + + FOR FEDEX INTERNAL USE ONLY: This is used to identify the origin postal code. + + + + + FOR FEDEX INTERNAL USE ONLY: This field is used to identify the origin location ID by the offline automation platforms for a post-shipment upload. + + + + + + FOR FEDEX INTERNAL USE ONLY: This is used to identify the destination state or province code. + + + + + FOR FEDEX INTERNAL USE ONLY: This is used to identify the destination postal code. + + + + + FOR FEDEX INTERNAL USE ONLY: This is used to identify the destination location id. + + + + + FOR FEDEX INTERNAL USE ONLY: Folder into which the uploaded documents will be stored. + + + + + FOR FEDEX INTERNAL USE ONLY: This field is used to identify the shipping timestamp by the offline automation platforms for a post-shipment upload. + + + + + FOR FEDEX INTERNAL USE ONLY: This field is used to identify the origin location ID by the offline automation platforms for a post-shipment upload. + + + + + Specifies the intent or the usage of the documents being uploaded. This provides details about how the documents are relevant to the current transaction. + + + + + + + + + + + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + Specifies which type of document(s) should be produced by FedEx (using the shipment data below) and forwarded along with any customer-provided documents or references. + + + + + Contains images provided by customer for inclusion on FedEx-produced documents. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Documents the kind and quantity of an individual hazardous commodity in a package. + + + + + Identifies and describes an individual hazardous commodity. + + + + + Specifies the amount of the commodity in alternate units. + + + + + The mass points are a calculation used by ADR regulations for measuring the risk of a particular hazardous commodity. + + + + + Customer-provided specifications for handling individual commodities. + + + + + The total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. + + + + + + + Identifies and describes an individual hazardous commodity. For 201001 load, this is based on data from the FedEx Ground Hazardous Materials Shipping Guide. + + + + + Regulatory identifier for a commodity (e.g. "UN ID" value). + + + + + In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. + + + + + + + + Fully-expanded descriptive text for a hazardous commodity. + + + + + + + + Coded indications for special requirements or constraints. + + + + + + + + + + + + Specifies the concept of a container used to package dangerous goods commodities. + + + + + Indicates that the quantity of the dangerous goods packaged is permissible for shipping. This is used to ensure that the dangerous goods commodities do not exceed the net quantity per package restrictions. + + + + + Documents the kinds and quantities of all hazardous commodities in the current package. + + + + + + + This definition of variable handling charge detail is intended for use in Jan 2011 corp load. + + + + + + Actual percentage (10 means 10%, which is a mutiplier of 0.1) + + + + + Select the value from a set of rate data to which the percentage is applied. + + + + + Select the type of rate from which the element is to be selected. + + + + + Select the type of rate used to calculate the percentage value of variable handling. + + + + + + + + + + + + + + + Three-dimensional volume/cubic measurement. + + + + + + + + + Units of three-dimensional volume/cubic measure. + + + + + + + + + Specifies a single type of weighing performed on a shipment + + + + + Type of scale used + + + + + + + Identifies types of scales used in weighing Freight shipments + + + + + + + + + The descriptive data for the heaviness of an object. + + + + + Identifies the unit of measure associated with a weight value. + + + + + Identifies the weight value of a package/shipment. + + + + + + + + + + + + + + + + + + + Used in authentication of the sender's identity. + + + + + This was renamed from cspCredential. + + + + + Credential used to authenticate a specific software application. This value is provided by FedEx after registration. + + + + + + + Two part authentication string used for the sender's identity + + + + + Identifying part of authentication credential. This value is provided by FedEx after registration + + + + + Secret part of authentication key. This value is provided by FedEx after registration. + + + + + + + Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply). + + + + + Identifies a system or sub-system which performs an operation. + + + + + Identifies the service business level. + + + + + Identifies the service interface level. + + + + + Identifies the service code level. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/FedEx/_wsdl/ValidationAvailabilityAndCommitmentService_v14.wsdl b/src/FedEx/_wsdl/ValidationAvailabilityAndCommitmentService_v17.wsdl similarity index 74% rename from src/FedEx/_wsdl/ValidationAvailabilityAndCommitmentService_v14.wsdl rename to src/FedEx/_wsdl/ValidationAvailabilityAndCommitmentService_v17.wsdl index 17940c02..d59b5cf3 100644 --- a/src/FedEx/_wsdl/ValidationAvailabilityAndCommitmentService_v14.wsdl +++ b/src/FedEx/_wsdl/ValidationAvailabilityAndCommitmentService_v17.wsdl @@ -1,5348 +1,7050 @@ - - - - - - - - - - - - Specifies the role that identifies the permissions the accessor of the pending shipment. - - - - - - - - - Specifies additional labels to be produced. All required labels for shipments will be produced without the need to request additional labels. These are only available as thermal labels. - - - - - The type of additional labels to return. - - - - - The number of this type label to return - - - - - - - - - - - - - - - - - - - - - - Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US). - - - - - Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country. - - - - - The two-letter code used to identify a country. - - - - - - - Specifies details for a package containing alcohol - - - - - The license type that the recipient of the alcohol package. - - - - - Specifies what type of entity the shipper of the alcohol shipment is registered as, for example, fulfillment house, retailer or a winery. - - - - - - - Specifies the type of license that the recipient of the alcohol shipment has. - - - - - - - - - - - - - - - This enumeration represents a kind of "legacy" account number from a FedEx operating entity. - - - - - - - - - - - - - A freight line item identifier referring to a freight shipment line item that describes goods contained within this handling unit. - - - - - - - Identifies a relationship from one tracked entity to another. - - - - - Specifies the relationship/reason for the other tracking ID. - - - - - Identifies the other entity. - - - - - - - Specifies a relationship between two tracking IDs (the role of the "other" tracking ID relative to "this" tracking ID). - - - - - - - - - - - - - - - - - - - - - Identification of the type of barcode (symbology) used on FedEx documents and labels. - - - - - - - - - - - - - - - - - - - - Describes attributes of a battery or cell that are used for classification purposes. Typically this structure would be used to allow customers to declare batteries or cells for which full dangerous goods documentation and procedures are not required. - - - - - Describes the material composition of the battery or cell. - - - - - Describes the packing arrangement of the battery or cell with respect to other items within the same package. - - - - - A regulation specific classification for the battery or cell. - - - - - - - Describes the material composition of a battery or cell. - - - - - - - - - - Describes the packing arrangement of a battery or cell with respect to other items within the same package. - - - - - - - - - - A regulation specific classification for a battery or cell. - - - - - - - - - - - - Specifies details about how the charges for the brokerage processing are paid for. - - - - - - - - - - - - - Identification of a FedEx operating company (transportation). - - - - - - - - - - The instructions indicating how to print the Certificate of Origin ( e.g. whether or not to include the instructions, image type, etc ...) - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Specifies the usage and identification of customer supplied images to be used on this document. - - - - - - - - - - - - - Specifies the type of brokerage to be applied to a shipment. - - - - - - - - - - - - Descriptive data for the client submitting a transaction. - - - - - The FedEx account number associated with this transaction. - - - - - This number is assigned by FedEx and identifies the unique device from which the request is originating - - - - - The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) - - - - - - - - - - - - - - - - - Select the type of rate from which the element is to be selected. - - - - - - - Select the type of rate used to calculate the percentage value of variable handling. - - - - - - - Identifies the type of funds FedEx should collect upon shipment delivery. - - - - - - - - - - - - Descriptive data required for a FedEx COD (Collect-On-Delivery) shipment. - - - - - - Specifies the details of the charges are to be added to the COD collect amount. - - - - - Identifies the type of funds FedEx should collect upon package delivery - - - - - For Express this is the descriptive data that is used for the recipient of the FedEx Letter containing the COD payment. For Ground this is the descriptive data for the party to receive the payment that prints the COD receipt. - - - - - When the FedEx COD payment type is not CASH, indicates the contact and address of the financial institution used to service the payment of the COD. - - - - - Specifies the name of person or company receiving the secured/unsecured funds payment - - - - - Indicates which type of reference information to include on the COD return shipping label. - - - - - Only used with multi-piece COD shipments sent in multiple transactions. Required on last transaction only. - - - - - - - - - - - - - - - CommercialInvoice element is required for electronic upload of CI data. It will serve to create/transmit an Electronic Commercial Invoice through the FedEx Systems. Customers are responsible for printing their own Commercial Invoice.If you would likeFedEx to generate a Commercial Invoice and transmit it to Customs. for clearance purposes, you need to specify that in the ShippingDocumentSpecification element. If you would like a copy of the Commercial Invoice that FedEx generated returned to you in reply it needs to be specified in the ETDDetail/RequestedDocumentCopies element. Commercial Invoice support consists of maximum of 99 commodity line items. - - - - - Any comments that need to be communicated about this shipment. - - - - - Any freight charges that are associated with this shipment. - - - - - Any taxes or miscellaneous charges(other than Freight charges or Insurance charges) that are associated with this shipment. - - - - - Specifies which kind of charge is being recorded in the preceding field. - - - - - Any packing costs that are associated with this shipment. - - - - - Any handling costs that are associated with this shipment. - - - - - Free-form text. - - - - - Free-form text. - - - - - Free-form text. - - - - - The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice. - - - - - Not exposed to Web Services customers; only present for use in mapping from CTS transactions. - - - - - Additional customer reference data. - - - - - Name of the International Expert that completed the Commercial Invoice different from Sender. - - - - - Required for dutiable international Express or Ground shipments. This field is not applicable to an international PIB(document) or a non-document which does not require a Commercial Invoice. - - - - - - - The instructions indicating how to print the Commercial Invoice( e.g. image type) Specifies characteristics of a shipping document to be produced. - - - - - - Specifies the usage and identification of a customer supplied image to be used on this document. - - - - - - - - - - Value used to identify a commodity description; must be unique within the containing shipment. - - - - - FedEx internal commodity identifier - - - - - - A free-form description of the commodity, which could be used for customs clearance documentation. - - - - - - - - - - - Contains only additional quantitative information other than weight and quantity to calculate duties and taxes. - - - - - - The value of the commodity for customs purposes. The field should be the unit price multiplied by the quantity. - - - - - Defines additional characteristic of commodity used to calculate duties and taxes - - - - - - - - - All data required for this commodity in NAFTA Certificate of Origin. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - These special services are available at the consolidation level for some or all consolidation types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the consolidation special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. - - - - - The types of all special services requested for the enclosing consolidation. - - - - - - - - - - - - - - - - - - The descriptive data for a point-of-contact person. - - - - - Client provided identifier corresponding to this contact information. - - - - - Identifies the contact person's name. - - - - - Identifies the contact person's title. - - - - - Identifies the company this contact is associated with. - - - - - Identifies the phone number associated with this contact. - - - - - Identifies the phone extension associated with this contact. - - - - - Identifies a toll free number, if any, associated with this contact. - - - - - Identifies the pager number associated with this contact. - - - - - Identifies the fax number associated with this contact. - - - - - Identifies the email address associated with this contact. - - - - - - - - - - - - - Details the contents of the package. - - - - - - - - - - - - - - - Must be in one of the following formats: YYMM, YYYYMM, or YYYYMMDD. - - - - - Date when the credit card was last used in a FedEx online transaction. - - - - - - - This field contains the track data from the credit card stripe. - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies details about the credit card transaction that drive decisions about credit card processing. - - - - - - - - This class represents data tied to the use of a credit card in a specific transaction. - - - - - - - - - Specifies a secure code used for payor authentication in the credit card transaction. - - - - - Specifies details about the credit card transaction that drive decisions about credit card processing. - - - - - - - - - - - - - - - - - - This class is a rename of the previous VerifyCreditFraudDetail; the name change reflects the fact that it is no longer tied to a "verify" usage. - - - - - - - - - - - - Indicates the type of custom delivery being requested. - - - - - Time by which delivery is requested. - - - - - Range of dates for custom delivery request; only used if type is BETWEEN. - - - - - Date for custom delivery request; only used for types of ON, BETWEEN, or AFTER. - - - - - - - - - - - - - - - - - Types of discounts that are excluded. - - - - - - - Data required to produce a custom-specified document, either at shipment or package level. - - - - - Common information controlling document production. - - - - - Applicable only to documents produced on thermal printers with roll stock. - - - - - Applicable only to documents produced on thermal printers with roll stock. - - - - - Identifies the formatting specification used to construct this custom document. - - - - - Identifies the individual document specified by the client. - - - - - If provided, thermal documents will include specified doc tab content. If omitted, document will be produced without doc tab content. - - - - - - - - Constructed string, based on format and zero or more data fields, printed in specified barcode symbology. - - - - - - - - - Width of thinnest bar/space element in the barcode. - - - - - - - - Solid (filled) rectangular area on label. - - - - - - - - - - - - - - - - - - - - - - - - - Image to be included from printer's memory, or from a local file for offline clients. - - - - - - Printer-specific index of graphic image to be printed. - - - - - Fully-qualified path and file name for graphic image to be printed. - - - - - - - - - Horizontal position, relative to left edge of custom area. - - - - - Vertical position, relative to top edge of custom area. - - - - - - - Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). - - - - - - - - - - Printer-specific font name for use with thermal printer labels. - - - - - Generic font name for use with plain paper labels. - - - - - Generic font size for use with plain paper labels. - - - - - - - - Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). - - - - - - - - Printer-specific font name for use with thermal printer labels. - - - - - Generic font name for use with plain paper labels. - - - - - Generic font size for use with plain paper labels. - - - - - - - - - - - - - - - - - - - Specifies custom transit time to be applied to the shipment. - - - - - Identifies options to be applied. - - - - - - - - - - - Internal Id used by INET to identify customer provided images during documents generation. Ex COO etc ... - - - - - Internal image type used by INET to identify customer provided images during documents generation. Ex COO etc .. - - - - - - - - - - - - - The Customer Integration Mode Type is intended to provide clients the ability to know how new products like special services can be supported. Some special services are STANDARD and can be supported with just the special service type in the request. CUSTOM special services will require the client application to send more information. For example, HOLD_AT_LOCATION requires the holdAtLocationDetail to be populated. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Allows customer-specified control of label content. - - - - - If omitted, no doc tab will be produced (i.e. default is former NONE type). - - - - - Controls the position of the customer specified content relative to the FedEx portion. - - - - - - - Controls which data/sections will be suppressed. - - - - - For customers producing their own Ground labels, this field specifies which secondary barcode will be printed on the label; so that the primary barcode produced by FedEx has the correct SCNC. - - - - - - - Controls the number of additional copies of supplemental labels. - - - - - This value reduces the default quantity of destination/consignee air waybill labels. A value of zero indicates no change to default. A minimum of one copy will always be produced. - - - - - - - - - - - - - - - - - Interacts both with properties of the shipment and contractual relationship with the shipper. - - - - - - - Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. - - - - - - - This represents the total commodity value of the shipment plus the charges required by the destination country. - - - - - Identifies responsibilities with respect to loss, damage, etc. - - - - - Documents amount paid to third party for coverage of shipment content. - - - - - - - - - - - - - This provides the information necessary to identify the different statements, declarations, acts, and/or certifications that apply to this shipment. - - - - - This indicates the different statements, declarations, acts, and/or certifications that apply to this shipment. - - - - - Specifies the NAFTA low value statement information. - - - - - - - This indicates the different statements, declarations, acts, and certifications that may apply to a shipment. - - - - - - - - - - - Specifies additional description about customs options. This is a required field when the customs options type is "OTHER". - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates the damage status of a package. - - - - - - - - - - - - - - - Describes an approved container used to package dangerous goods commodities. This does not describe any individual inner receptacles that may be within this container. - - - - - Indicates whether there are additional inner receptacles within this container. - - - - - Indicates the type of this dangerous goods container, as specified by the IATA packing instructions. For example, steel cylinder, fiberboard box, plastic jerrican and steel drum. - - - - - Indicates the packaging type of the container used to package the radioactive materials. - - - - - Indicates the number of occurrences of this container with identical dangerous goods configuration. - - - - - Documents the kinds and quantities of all hazardous commodities in the current container. - - - - - - - - - This field is used to identify an instance of an uploaded dangerous goods handling unit. - - - - - - - Shipment is packaged/documented for movement ONLY on cargo aircraft. - - - - - Indicates which kinds of hazardous content are in the current package. - - - - - Indicates whether there is additional customer provided packaging enclosing the approved dangerous goods containers. - - - - - Identifies the configuration of this dangerous goods package. The common configuration is represented at the shipment level. - - - - - Indicates one or more containers used to pack dangerous goods commodities. - - - - - Description of the packaging of this commodity, suitable for use on OP-900 and OP-950 forms. - - - - - Name, title and place of the signatory for this shipment. - - - - - Telephone number to use for contact in the event of an emergency. - - - - - Offeror's name or contract number, per DOT regulation. - - - - - Specifies the contact of the party responsible for handling the infectious substances, if any, in the dangerous goods shipment. - - - - - Specifies additional handling information for the current package. - - - - - Specifies the radioactivity detail for the current package, if the package contains radioactive materials. - - - - - - - - - - - - The instructions indicating how to print the 1421c form for dangerous goods shipment. - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Specifies the usage and identification of customer supplied images to be used on this document. - - - - - - - Specifies that name, title and place of the signatory responsible for the dangerous goods shipment. - - - - - - - Indicates the place where the form is signed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the tracking id for the return, if preassigned. - - - - - - - Data required to complete the Destionation Control Statement for US exports. - - - - - - Comma-separated list of up to four country codes, required for DEPARTMENT_OF_STATE statement. - - - - - Name of end user, required for DEPARTMENT_OF_STATE statement. - - - - - - - - - - - - - Specifications for pup/set or vehicle delayed for loading or unloading. - - - - - Amount of time involved in the detention. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the name associated with the email address. - - - - - - - - - Content of the email message. - - - - - - - - - - - - - - - - - Information describing the address of of the email recipient, role of the email recipient and languages that are requested to be supported. - - - - - EMail address of the recipient. - - - - - The relationship that the customer has to the pending shipment. - - - - - Specifies how the email notification for the pending shipment need to be processed. - - - - - Localization and language details specified by the recipient of the EMail. - - - - - - - - - - Customer-declared value, with data type and legal values depending on excise condition, used in defining the taxable value of the item. - - - - - - - Specifies the types of Estimated Duties and Taxes to be included in a rate quotation for an international shipment. - - - - - - - - - - - - - - - - Specifies how to apply the localization detail to the current context. - - - - - - - - - - - - - - - - - - - Specifies whether to confirm documents prior to processing a shipment with the ELECTRONIC_TRADE_DOCUMENTS special service. - - - - - - - - - Electronic Trade document references used with the ETD special service. - - - - - Specifies client's intent for whether all documents must be confirmed before shipment processing. - - - - - - Indicates the types of shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data. - - - - - - - - - The instructions indicating how to print the Export Declaration. - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Specifies the usage and identification of customer supplied images to be used on this document. - - - - - - - - - - General field for exporting-country-specific export data (e.g. B13A for CA, FTSR Exemption or AES Citation for US). - - - - - - - - - - - - - - - - - - - - - - - - - Specification for labor time spent handling shipment. - - - - - Total labor time. - - - - - - - - - - - - Identifies a kind of FedEx facility. - - - - - - - - - - - - - - - - - - - Specifies the optional features/characteristics requested for a Freight shipment utilizing a flatbed trailer. - - - - - - - - - - - - - - Data required to produce the Freight handling-unit-level address labels. Note that the number of UNIQUE labels (the N as in 1 of N, 2 of N, etc.) is determined by total handling units. - - - - - - Indicates the number of copies to be produced for each unique label. - - - - - Specifies the quadrant of the page on which the label printing will start. - - - - - If omitted, no doc tab will be produced (i.e. default = former NONE type). - - - - - Controls the position of the customer specified content relative to the FedEx portion. - - - - - - - - - - - - - These values represent the industry-standard freight classes used for FedEx Freight and FedEx National Freight shipment description. (Note: The alphabetic prefixes are required to distinguish these values from decimal numbers on some client platforms.) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Date for all Freight guarantee types. - - - - - Time for GUARANTEED_TIME only. - - - - - - - - - - - - - - Identifies responsibilities with respect to loss, damage, etc. - - - - - - - - - Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. - - - - - Account number used with FEDEX_FREIGHT service. - - - - - Used for validating FedEx Freight account number and (optionally) identifying third party payment on the bill of lading. - - - - - Used in connection with "Send Bill To" (SBT) identification of customer's account used for billing. - - - - - Identification values to be printed during creation of a Freight bill of lading. - - - - - Indicates the role of the party submitting the transaction. - - - - - Designates the terms of the "collect" payment for a Freight Shipment. - - - - - Identifies the declared value for the shipment - - - - - Identifies the declared value units corresponding to the above defined declared value - - - - - - Identifiers for promotional discounts offered to customers. - - - - - Total number of individual handling units in the entire shipment (for unit pricing). - - - - - Estimated discount rate provided by client for unsecured rate quote. - - - - - Total weight of pallets used in shipment. - - - - - Overall shipment dimensions. - - - - - Description for the shipment. - - - - - Specifies which party will pay surcharges for any special services which support split billing. - - - - - Must be populated if any line items contain hazardous materials. - - - - - - Details of the commodities in the shipment. - - - - - - - Description of an individual commodity or class of content in a shipment. - - - - - A unique identifier assigned to this line item. - - - - - Freight class for this line item. - - - - - Identifies billing mask, if used to populate this line item. - - - - - Specifies line item level liability coverage. - - - - - Number of individual handling units to which this line applies. (NOTE: Total of line-item-level handling units may not balance to shipment-level total handling units.) - - - - - Specification of handling-unit packaging for this commodity or class line. - - - - - Number of pieces for this commodity or class line. - - - - - NMFC Code for commodity. - - - - - Indicates the kind of hazardous material content in this line item. - - - - - For printed reference per line item. - - - - - Customer-provided description for this commodity or class line. - - - - - Weight for this commodity or class line. - - - - - - Volume (cubic measure) for this commodity or class line. - - - - - - - Indicates the role of the party submitting the transaction. - - - - - - - - - Specifies which party will be responsible for payment of any surcharges for Freight special services for which split billing is allowed. - - - - - Identifies the special service. - - - - - Indicates who will pay for the special service. - - - - - - - Data required to produce a General Agency Agreement document. Remaining content (business data) to be defined once requirements have been completed. - - - - - - - - - - - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - Contains zero or more service options whose combinations are to be considered when replying with available services. - - - - - FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include originRoutingCode. - - - - - FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include destinationRoutingCode. - - - - - FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include formId. - - - - - - - - - The response from PMIS requests for special services data. - - - - - - - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include originRoutingCode. - - - - - FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include destinationRoutingCode. - - - - - FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include formId. - - - - - - - - - Documents the kind and quantity of an individual hazardous commodity in a package. - - - - - Identifies and describes an individual hazardous commodity. - - - - - Specifies the amount of the commodity in alternate units. - - - - - This describes the inner receptacle details for a hazardous commodity within the dangerous goods container. - - - - - Customer-provided specifications for handling individual commodities. - - - - - Specifies the details of any radio active materials within the commodity. - - - - - The total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. - - - - - - - Identifies and describes an individual hazardous commodity. - - - - - Regulatory identifier for a commodity (e.g. "UN ID" value). - - - - - In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. - - - - - - - - - - - - - - Indicates any special processing options to be applied to the description of the dangerous goods commodity. - - - - - Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. - - - - - - - Specifies any special processing to be applied to the dangerous goods commodity description validation. - - - - - - - - This describes information about the inner receptacles for the hazardous commodity in a particular dangerous goods container. - - - - - This specifies the quantity contained in the inner receptacle. - - - - - - - Specifies how the commodity is to be labeled. - - - - - - - - - - Customer-provided specifications for handling individual commodities. - - - - - Specifies how the customer wishes the label text to be handled for this commodity in this package. - - - - - Text used in labeling the commodity under control of the labelTextOption field. - - - - - - - Indicates which kind of hazardous content is being reported. - - - - - - - - - - - - - Identifies number and type of packaging units for hazardous commodities. - - - - - Number of units of the type below. - - - - - Units in which the hazardous commodity is packaged. - - - - - - - Specifies documentation and limits for validation of an individual packing group/category. - - - - - - Coded specification for how commodity is to be packed. - - - - - - - Identifies DOT packing group for a hazardous commodity. - - - - - - - - - - - Identifies amount and units for quantity of hazardous commodities. - - - - - Number of units of the type below. - - - - - Units by which the hazardous commodity is measured. For IATA commodity, the units values are restricted based on regulation type. - - - - - Specifies which measure of quantity is to be validated. - - - - - - - Specifies the measure of quantity to be validated against a prescribed limit. - - - - - - - - - Identifies the source of regulation for hazardous commodity data. - - - - - - - - - - - - - - - - - - Contact phone number for recipient of shipment. - - - - - Contact and address of FedEx facility at which shipment is to be held. - - - - - Type of facility at which package/shipment is to be held. - - - - - Branded text associated with this location type. - - - - - Location identification (for facilities identified by an alphanumeric location code). - - - - - Location identification (for facilities identified by an numeric location code). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates the status of a package inspection performed by an agent. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Totals accumulated during the processing of CRNs into the consolidation. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Names for data elements / areas which may be suppressed from printing on labels. - - - - - - - - - - - - - - - - - - - - Specifies the order in which the labels will be returned - - - - - - - - - - - - - - - Relative to normal orientation for the printer. - - - - - - - - - - - - - - Specifies how to create, organize, and return the document. - - - - - - - - - - Specifies the order in which the labels are requested to be returned - - - - - Governs the language to be used in the labels generated for this shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifies the Liability Coverage Amount. For Jan 2010 this value represents coverage amount per pound - - - - - - - - - - - - - Represents a one-dimensional measurement in small units (e.g. suitable for measuring a package or document), contrasted with Distance, which represents a large one-dimensional measurement (e.g. distance between cities). - - - - - The numerical quantity of this measurement. - - - - - The units for this measurement. - - - - - - - - - - - - - Identifies the representation of human-readable text. - - - - - Two-letter code for language (e.g. EN, FR, etc.) - - - - - Two-letter code for the region (e.g. us, ca, etc..). - - - - - - - Specification for marking or tagging of pieces in shipment. - - - - - Number of pieces to be marked or tagged by FedEx. - - - - - - - - - - - - - - - - - - - Data required to produce a Certificate of Origin document. Remaining content (business data) to be defined once requirements have been completed. - - - - - - - Indicates which Party (if any) from the shipment is to be used as the source of importer data on the NAFTA COO form. - - - - - Contact information for "Authorized Signature" area of form. - - - - - - - - - - - - Defined by NAFTA regulations. - - - - - Defined by NAFTA regulations. - - - - - Identification of which producer is associated with this commodity (if multiple producers are used in a single shipment). - - - - - - Date range over which RVC net cost was calculated. - - - - - - - - - - - - - - - Specifies the information necessary for printing the NAFTA Low Value statement on customs documentation. - - - - - Specifies the NAFTA statement role. - - - - - - - - - - - - - See instructions for NAFTA Certificate of Origin for code definitions. - - - - - - - - - - - - - - - - - - - See instructions for NAFTA Certificate of Origin for code definitions. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specification for services performed during non-business hours and/or days. - - - - - Total number of person days for full non-business days. - - - - - Total number of person hours (whole or partial hours) for non-business hours. - - - - - - - The descriptive data regarding the result of the submitted transaction. - - - - - The severity of this notification. This can indicate success or failure or some other information about the request. The values that can be returned are SUCCESS - Your transaction succeeded with no other applicable information. NOTE - Additional information that may be of interest to you about your transaction. WARNING - Additional information that you need to know about your transaction that you may need to take action on. ERROR - Information about an error that occurred while processing your transaction. FAILURE - FedEx was unable to process your transaction at this time due to a system failure. Please try again later - - - - - Indicates the source of this notification. Combined with the Code it uniquely identifies this notification - - - - - A code that represents this notification. Combined with the Source it uniquely identifies this notification. - - - - - Human-readable text that explains this notification. - - - - - The translated message. The language and locale specified in the ClientDetail. Localization are used to determine the representation. Currently only supported in a TrackReply. - - - - - A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) without having to parse the message string. - - - - - - - - - - - - - - - - - - - Indicates the type of notification that will be sent. - - - - - Specifies the email notification details. - - - - - Specifies the fax notification details. - - - - - Specifies the SMS notification details. - - - - - Specifies the localization for this notification. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifies the type of data contained in Value (e.g. SERVICE_TYPE, PACKAGE_SEQUENCE, etc..). - - - - - The value of the parameter (e.g. PRIORITY_OVERNIGHT, 2, etc..). - - - - - - - - - - - - - - - - - - - - - - - The instructions indicating how to print the OP-900 form for hazardous materials packages. - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Identifies which reference type (from the package's customer references) is to be used as the source for the reference on this OP-900. - - - - - Specifies the usage and identification of customer supplied images to be used on this document. - - - - - Data field to be used when a name is to be printed in the document instead of (or in addition to) a signature image. - - - - - - - - - - - - - - - - - - - - Specifies the condition of a package when it was received at a FedEx location. - - - - - Indicates the party who packed the package. - - - - - Specifies whether any damange to the contents of the package was known. - - - - - Specifies whether the package contents were inspected by the agent. - - - - - - - - - Specifies the carrier codes and service types that the special service is valid for. - - - - - This field specifies the sub-special service offering ID. - - - - - - This field specifies the package special service offering ID. - - - - - - - Specific subtype of service with multiple exclusive variations: such as DANGEROUS_GOODS and SIGNATURE_OPTION. - - - - - - - - Indicates what kind of integration is required to support the special service. - - - - - - - These special services are available at the package level for some or all service types. If the shipper is requesting a special service which requires additional data, the package special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. - - - - - Indicates the package special service types that are requested on this shipment. For a list of the valid package special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. - - - - - For use with FedEx Ground services only; COD must be present in shipment's special services. - - - - - - Provides details about the batteries or cells that are contained within this specific package. - - - - - - - - - - - - - - - - - - - - - - Branded, translated, and/or localized names for this packaging. - - - - - - - - - - - - - - - - - Specifications for pallets to be shrinkwrapped as part of a Freight shipment. - - - - - Number of pallets to be shrinkwrapped. - - - - - - - Specifications for pallets to be provided on Freight shipment. - - - - - Number of pallets to be provided. - - - - - - - This type contains equivalent data to Contact, but uses a form of person name with separate first and last names. - - - - - - - - Specifies the country code to be dialled when calling the phone number listed as a part of the contact. - - - - - Specifies the area code of the phone number listed as a part of the contact. - - - - - - - - - - - - This type contains equivalent data to ContactAndAddress, but uses a form of person name with separate first, middle and last names. - - - - - - - - - The descriptive data for a person's name broken out into individual name elements such as first name, last name. - - - - - Specifies the salutation part of the name, if any is specified. Examples of prefix: Sir, Madam, Monsieur. - - - - - Specifies the professional title in the person name, if any is specified. - - - - - - - - Identifies the contact person's name suffix. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This information describes the kind of pending shipment being requested. - - - - - - Date after which the pending shipment will no longer be available for completion. - - - - - Only used with type of EMAIL. - - - - - - These are documents that are recommended to be included with the shipment. - - - - - Upload document details provided by the initator of the shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This enumeration rationalizes the former FedEx Express international "admissibility package" types (based on ANSI X.12) and the FedEx Freight packaging types. The values represented are those common to both carriers. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This class describes the pickup characteristics of a shipment (e.g. for use in a tag request). - - - - - - - - - - - - - - - - - - - - - - - - Represents a reference identifier printed on Freight bills of lading - - - - - - - - - Identifies a particular reference identifier printed on a Freight bill of lading. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Supporting detail for applied options. - - - - - - - - - - - - - - - - The type of name (long, medium, short, etc.) to which this value refers. - - - - - The character encoding used to represent this product name. For example, UTF-8. - - - - - - - - - - - - - - - - - - Indicates the packaging type of the container used to package radioactive hazardous materials. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates whether packaging type "EXCEPTED" or "EXCEPTED_PACKAGE" is for radioactive material in reportable quantity. - - - - - - - - - - - - - - - - - - - Selects the value from a set of rate data to which the percentage is applied. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Select the type of rate from which the element is to be selected. - - - - - - - - - - - - Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. - - - - - Specifies the kind of identification being used. - - - - - Contains the actual ID value, of the type specified above. - - - - - - - - - - - - - - Specifies the details about documents that are recommended to be included with the shipment for ease of shipment processing and transportation. - - - - - - - - Type of documents that are recommended to be included with the shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies details needed to generate any label artifacts required due to regulatory requirements. - - - - - - Specifies how the customer requested the regulatory label to be generated. - - - - - - - - - - - - Describes the vertical position of an item relative to another item. - - - - - - - - - - - A unique identifier of each requested package line item. - - - - - An identifier of each group of identical packages. - - - - - Used as the number or count of identical packages in a group. - - - - - - Only used when clients are assigning a tracking number to this package. Should not be used when groupPackageCount is greater than one. - - - - - - Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. - - - - - Represents the gross weight of the package line item. - - - - - - Provides additional detail on how the customer has physically packaged this item. As of June 2009, required for packages moving under international and SmartPost services. - - - - - - Human-readable text describing the package. - - - - - Human-readable text describing the contents of the package to be used for clearance purposes. - - - - - - - - Details the contents of the package. - - - - - - - - - - - - - This field contains the service type values, like PRIORITY_OVERNIGHT and FEDEX_GROUND. - - - - - This field contains the packaging type values, like YOUR_PACKAGING and FEDEX_ENVELOPE. - - - - - The client's shipping cycle to which this shipment belongs. - - - - - This specifies information related to the manifest associated with the shipment. - - - - - The shipment variations for the current shipment expressed in key-value pairs. - - - - - - Specifies the total declared value for carriage of the shipment. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the shipment. - - - - - - This attribute indicates the currency the caller requests to have used in all returned monetary values (when a choice is possible). - - - - - Specifies details about the entity responsible for the shipment. - - - - - - - - Physical starting address for the shipment, if different from shipper's address. - - - - - The sold-to party is used for customs clearance; for example, in support of US import customs rules. The need for this field could vary based on whether a sold-to party was specified on a consolidation. - - - - - - - Specifies any custom processing to be applied to this shipment. - - - - - - Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. - - - - - Data applicable to shipments that are a part of a consolidation. - - - - - Used with Ground Home Delivery and Freight. - - - - - - Customs clearance data, used for both international and intra-country shipping. - - - - - For use in "process tag" transaction. - - - - - Specifies the characteristics of a shipment pertaining to SmartPost services. - - - - - If true, only the shipper/payor will have visibility of this shipment. - - - - - Specifies the client-requested response in the event of errors within shipment. - - - - - - Contains data used to create additional (non-label) shipping documents. - - - - - Specifies whether and what kind of rates the customer wishes to have quoted on this shipment. The reply will also be constrained by other data on the shipment and customer. - - - - - Specifies the type of rate the customer wishes to have used as the actual rate type. - - - - - Specifies whether the customer wishes to have Estimated Duties and Taxes provided with the rate quotation on this shipment. Only applies with shipments moving under international services. - - - - - Specifies the details for the custom rates. - - - - - Only used with multiple-transaction shipments, to identify the master package in a multi-piece shipment. - - - - - The total number of packages in the entire shipment (even when the shipment spans multiple transactions.) - - - - - Specifies which package-level data values are provided at the shipment-level only. The package-level data values types specified here will not be provided at the package-level. - - - - - Specifies data structures that may be re-used multiple times with s single shipment. - - - - - One or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics all packages in the shipment. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the tracking number of the master associated with the return shipment. - - - - - - - - These values are used to control the availability of certain special services at the time when a customer uses the e-mail label link to create a return shipment. - - - - - - - - - - - - Identifies the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created. Only services represented in EMailLabelAllowedSpecialServiceType will be controlled by this list. - - - - - - - The instructions indicating how to print the return instructions( e.g. image type) Specifies characteristics of a shipping document to be produced. - - - - - - Specifies additional customer provided text to be inserted into the return document. - - - - - - - - - - - - - - - - - - - - - - - - The "PAYOR..." rates are expressed in the currency identified in the payor's rate table(s). The "RATED..." rates are expressed in the currency of the origin country. Former "...COUNTER..." values have become "...RETAIL..." values, except for PAYOR_COUNTER and RATED_COUNTER, which have been removed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - June 2011 ITG 121203 IR-RMA number has been removed from this structure and added as a new customer reference type. The structure remains because of the reason field below. - - - - - - - - Describes the rotation of an item from its default orientation. - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the commit time for a FedEx Ground shipment. - - - - - - - - - - - - - - - - - - Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). - - - - - - - - - - - Optionally supplied instead of service to restrict reply to services for a specific carrier. - - - - - - - - - - - - - Branded, translated, and/or localized names for this service. - - - - - - - - - These values control the optional features of service that may be combined in a commitment/rate comparision transaction. - - - - - - - - - - - - Supporting detail for applied options identified in a rate quote. - - - - - Identifies the type of Freight Guarantee applied, if FREIGHT_GUARANTEE is applied to the rate quote. - - - - - Identifies the smartPostHubId used during rate quote, if SMART_POST_HUB_ID is a variable option on the rate request. - - - - - Identifies the indicia used during rate quote, if SMART_POST_ALLOWED_INDICIA is a variable option on the rate request. - - - - - - - Specifies the services types supported for a specific carrier code. - - - - - - - - - Specification for assembly performed on shipment. - - - - - Number of pieces or packages to be assembled - - - - - Total weight of pieces or packages to be assembled - - - - - - - - - - - - Specifies data structures that may be re-used multiple times with s single shipment. - - - - - Specifies the data that is common to dangerous goods packages in the shipment. This is populated when the shipment contains packages with identical dangerous goods commodities. - - - - - - - Specifies the characteristics of the containing RequestedShipment that define its participation in a consolidation. - - - - - The time at which this shipment was associated with the consolidation. - - - - - The type of consolidation that contains this shipment. - - - - - The role this shipment plays within the consolidation. - - - - - Identifies other tracking IDs related to this shipment within the same consolidation. - - - - - Specifies the consolidation-level special services to be performed for this shipment. - - - - - This is the origin address of the consolidation. - - - - - Specifies attributes of a shipment within an international distribution. - - - - - Specifies attributes of a shipment within a transborder distribution. - - - - - - - Shipment-level totals of dry ice data across all packages. - - - - - Total number of packages in the shipment that contain dry ice. - - - - - Total shipment dry ice weight for all packages. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the attributes of a shipment related to its role in an international distribution (consolidation). - - - - - Identifies the FedEx facility at which customs clearance will be performed. - - - - - Identifies the type of clearance performed at the clearance facility. - - - - - Provides summary totals across all CRNs in a distribution. - - - - - Specifies how charges relating to different aspects of a shipment are to be paid. - - - - - - - - - This identifies which customer reference field contains the manifest ID. - - - - - - - - - - - - - - - - - - - - - - - - - - These values identify which package-level data values will be provided at the shipment-level. - - - - - - - - - - Identifies special or custom features to be applied to a shipment. - - - - - - - - - - - - - - - - - - - - - - - - Specifies special or custom features to be applied during the processing of the enclosing RequestedShipment. - - - - - Identifies options to be applied. - - - - - Specifies custom transit time to be applied to the shipment. - - - - - - - - - Specifies the carrier codes and service types that the special service is valid for. - - - - - This field specifies the sub-special service offering ID. - - - - - - This field specifies the shipment special service offering ID. - - - - - - - Specific subtype of service with multiple exclusive variations, such as HOME_DELIVERY_PREMIUM. - - - - - - - - Indicates what kind of integration is required to support the special service. - - - - - - - These special services are available at the shipment level for some or all service types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. - - - - - Indicates the shipment special service types that are requested on this shipment. For a list of the valid shipment special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. - - - - - - - - This replaces eMailNotificationDetail - - - - - - This field should be populated for pending shipments (e.g. e-mail label) It is required by a PENDING_SHIPMENT special service type. - - - - - - - - - - - Electronic Trade document references. - - - - - Specification for labor to be performed with the shipment. - - - - - Specifications for pallets to be shrinkwrapped as part of a Freight shipment. - - - - - Specifications for pallets to be provided on Freight shipment. - - - - - Specifications for pup/set or vehicle delayed for loading or unloading. - - - - - Specification for marking or tagging of pieces in shipment. - - - - - Specification for services performed during non-business hours and/or days. - - - - - Specification for assembly performed on shipment. - - - - - Specification for sorting and/or segregating performed on shipment. - - - - - Specification for special equipment used in loading/unloading shipment. - - - - - Specification for storage provided for shipment. - - - - - Specification for weighing services provided for shipment. - - - - - Specification for date or range of dates on which delivery is to be attempted. - - - - - - - Specifies the attributes of a shipment related to its role in a transborder distribution (consolidation). - - - - - Specifies special services to be performed on this shipment as part of a transborder distribution. - - - - - Provides summary totals across all CRNs in a distribution. - - - - - - - - - Specifies the name or the key for the shipment variation. - - - - - The values that are valid for the specified shipment variation in the context of the current shipment. - - - - - - - - - This indicates the identifier of a conveyance, such as a trailer ID. - - - - - - - Each occurrence of this class specifies a particular way in which a kind of shipping document is to be produced and provided. - - - - - Values in this field specify how to create and return the document. - - - - - Specifies how to organize all documents of this type. - - - - - Specifies how to store document images. - - - - - Specifies how to e-mail document images. - - - - - Specifies how a queued document is to be printed. - - - - - - - Specifies how to return a shipping document to the caller. - - - - - - - - - - - - - - - Specifies how to e-mail shipping documents. - - - - - Provides the roles and email addresses for e-mail recipients. - - - - - Identifies the convention by which documents are to be grouped as e-mail attachments. - - - - - Specifies the language in which the email containing the document is requested to be composed. - - - - - - - - - - - - - Specifies an individual recipient of e-mailed shipping document(s). - - - - - Identifies the relationship of this recipient in the shipment. - - - - - Address to which the document is to be sent. - - - - - - - Specifies characteristics of a shipping document to be produced. - - - - - Specifies how to create, organize, and return the document. - - - - - Specifies how far down the page to move the beginning of the image; allows for printing on letterhead and other pre-printed stock. - - - - - - - For those shipping document types which have both a "form" and "instructions" component (e.g. NAFTA Certificate of Origin and General Agency Agreement), this field indicates whether to provide the instructions. - - - - - - Governs the language to be used for this individual document, independently from other content returned for the same shipment. - - - - - Identifies the individual document specified by the client. - - - - - - - Specifies how to organize all shipping documents of the same type. - - - - - - - - - - Specifies the image format used for a shipping document. - - - - - - - - - - - - - - - - - Identifies the convention by which file names are constructed for STORED or DEFERRED documents. - - - - - - - - - Specifies printing options for a shipping document. - - - - - Provides environment-specific printer identification. - - - - - - - Contains all data required for additional (non-label) shipping documents to be produced in conjunction with a specific shipment. - - - - - Indicates the types of shipping documents requested by the shipper. - - - - - - - - Specifies the production of each package-level custom document (the same specification is used for all packages). - - - - - Specifies the production of a shipment-level custom document. - - - - - - - - Specifies the production of the OP-900 document for hazardous materials packages. - - - - - Specifies the production of the 1421c document for dangerous goods shipment. - - - - - Specifies the production of the OP-900 document for hazardous materials. - - - - - - Specifies the production of the return instructions document. - - - - - - - Specifies the type of paper (stock) on which a document will be printed. - - - - - - - - - - - - - - - - - - - - - Specifies how to store shipping documents. - - - - - Indicates the mechanism by which a shipping document will be stored for later retrieval. - - - - - Provides the path to be used for STORED or DEFERRED documents. - - - - - Identifies the convention by which file names are constructed for STORED or DEFERRED documents. - - - - - Suffix to be placed at the end of the file name; required on some platforms to determine file type. - - - - - - - - - - - - - - - - - - - - - - - - - - - - These values are mutually exclusive; at most one of them can be attached to a SmartPost shipment. - - - - - - - - - - - - - - - - - - - - - Data required for shipments handled under the SMART_POST and GROUND_SMART_POST service types. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specification for sorting and/or segregating performed on shipment. - - - - - Number of pieces or packages to be sorted/segregated - - - - - Total weight of pieces or packages to be sorted/segregated - - - - - - - Specification for special equipment used in loading/unloading shipment. - - - - - Contains an entry for each type of special equipment used with shipment - - - - - - - Specifies the usage of a single type of special equipment while loading/unloading a shipment - - - - - Type of equipment used - - - - - Total amount of time the equipment was used - - - - - - - Identifies types of special equipment used in loading/unloading Freight shipments - - - - - - - - Specifies payment for a single aspect of a shipment. - - - - - Identifies the aspect of the shiipment to be paid separately. - - - - - Specifies the form of payment to be used. - - - - - - - Specifies how charges relating to different aspects of a shipment are to be paid. - - - - - Each entry specifies payement for a single aspect of the shipment. - - - - - - - Identifies an aspect of a shipment that may be paid separately. - - - - - - - - - Specification for storage provided for shipment. - - - - - Total time shipment is held by carrier. - - - - - - - Specifice the kind of tax or miscellaneous charge being reported on a Commercial Invoice. - - - - - - - - - - - - - - - - - Identifies the usage of Tax Identification Number in Shipment processing - - - - - - - - - - - - - - - - - - - - - - For use with SmartPost tracking IDs only - - - - - - - - - - - - - - - - - - - - - Free form text to be echoed back in the reply. Used to match requests and replies. - - - - - Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection). - - - - - - - Specifies details for origin-country LTL services performed by FedEx. - - - - - Payment for LTL transportation. - - - - - Standard Carrier Alpha Code for origin-country LTL services. - - - - - - - Identifies features of service requested for a Transborder Distribution shipment. - - - - - - - - Specifies features of service within a Transborder Distribution shipment. - - - - - Identifies features of service requested for the current Transborder Distribution shipment. - - - - - Specifies details for origin-country LTL services performed by FedEx. - - - - - - - Specifies the summary of aggregates that are maintianed for a transborder consolidation. - - - - - - - - - - - - - - The number of commodities that are unique commodities in the consolidation. These commodities are mentioned as separate items on the consolidated commercial invoice. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the date until which the document is available - - - - - - - Specifies the application that is responsible for managing the document id. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Description of the uploaded document. - - - - - - - - - - - - - - - - - - - - - - This definition of variable handling charge detail is intended for use in Jan 2011 corp load. - - - - - - Actual percentage (10 means 10%, which is a mutiplier of 0.1) - - - - - Select the value from a set of rate data to which the percentage is applied. - - - - - Select the type of rate from which the element is to be selected. - - - - - Select the type of rate used to calculate the percentage value of variable handling. - - - - - - - Three-dimensional volume/cubic measurement. - - - - - - - - - Units of three-dimensional volume/cubic measure. - - - - - - - - - Specifies a single type of weighing performed on a shipment - - - - - Type of scale used - - - - - - - Identifies types of scales used in weighing Freight shipments - - - - - - - - - The descriptive data for the heaviness of an object. - - - - - Identifies the unit of measure associated with a weight value. - - - - - Identifies the weight value of a package/shipment. - - - - - - - - - - - - - Used in authentication of the sender's identity. - - - - - This was renamed from cspCredential. - - - - - Credential used to authenticate a specific software application. This value is provided by FedEx after registration. - - - - - - - Two part authentication string used for the sender's identity - - - - - Identifying part of authentication credential. This value is provided by FedEx after registration - - - - - Secret part of authentication key. This value is provided by FedEx after registration. - - - - - - - Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply). - - - - - Identifies a system or sub-system which performs an operation. - - - - - Identifies the service business level. - - - - - Identifies the service interface level. - - - - - Identifies the service code level. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + Specifies the role that identifies the permissions the accessor of the pending shipment. + + + + + + + + + + + + + + + + + Unique identifier for this alias. + + + + + + + + + + + + + + + + + + + Specifies the group code for the account group that the account belongs to. + + + + + Specifies the group id of the account group that the account belongs to. + + + + + Details about the master account associated with the account group. + + + + + + + + + Specifies the account number that is identified as the master account number for the account group. This is not specified for all possbile group codes. In case of Freight, this is can be the national account number. + + + + + Specifies the FedEx operating company under which the master account number is registered. + + + + + Specifies the pricing subgroup that the master account belongs to. + + + + + + + + Specifies the details about the account group the account is a member of + + + + + + Date when the account group membership is effective. + + + + + Date when the account group membership expires. + + + + + + + Specifies additional labels to be produced. All required labels for shipments will be produced without the need to request additional labels. These are only available as thermal labels. + + + + + The type of additional labels to return. + + + + + The number of this type label to return + + + + + + + + + + + + + + + + + + + + + + Descriptive data for a physical location. May be used as an actual physical address (place to which one could go), or as a container of "address parts" which should be handled as a unit (such as a city-state-ZIP combination within the US). + + + + + Combination of number, street name, etc. At least one line is required for a valid physical address; empty lines should not be included. + + + + + Name of city, town, etc. + + + + + Identifying abbreviation for US state, Canada province, etc. Format and presence of this field will vary, depending on country. + + + + + Identification of a region (usually small) for mail/package delivery. Format and presence of this field will vary, depending on country. + + + + + Relevant only to addresses in Puerto Rico. + + + + + The two-letter code used to identify a country. + + + + + The fully spelt out name of a country. + + + + + Indicates whether this address residential (as opposed to commercial). + + + + + The geographic coordinates cooresponding to this address. + + + + + + + Additional information about a physical location, such as suite number, cross street, floor number in a building. These details are not typically a part of a standard address definition; however, these details might help locate the address. + + + + + + + Indicates whether how this location can be accessed. + + + + + Specifies building number or name. + + + + + Specifies a department in the company or retail store. + + + + + Specifies the floor number. + + + + + + Specifies apartment number. + + + + + Specifies the room number, if one is specified. + + + + + + This is used to specify additional details about the address such as landmark. For e.g. This field is used to capture details such as an address being inside a facility such as, Chilli's Care Center, St. Jude - Inside. + + + + + + + Specifies the reason to override address verification. + + + + + + + + + + Specifies additional details about an air cargo account. + + + + + Business mode for the air cargo account. + + + + + Values of additional ids for the airport + + + + + Specifies whether the broker is a paying or non-paying broker + + + + + Account number of the broker. + + + + + Specifies the id of the IATA agent at the airport. + + + + + TBD + + + + + Specifies the airport id associated with the account. + + + + + Billing instructions for the air cargo account. + + + + + + + Specifies details for a package containing alcohol + + + + + The license type that the recipient of the alcohol package. + + + + + Specifies what type of entity the shipper of the alcohol shipment is registered as, for example, fulfillment house, retailer or a winery. + + + + + + + Specifies the type of license that the recipient of the alcohol shipment has. + + + + + + + + + + + + + + + This enumeration represents a kind of "legacy" account number from a FedEx operating entity. + + + + + + + + + + + + + An identifier for the acquired/associated company (for example, TNT, FXOP, etc.) + + + + + + A set of attributes associated with this account. + + + + + + + + + A freight line item identifier referring to a freight shipment line item that describes goods contained within this handling unit. + + + + + + + Identifies a relationship from one tracked entity to another. + + + + + Specifies the relationship/reason for the other tracking ID. + + + + + Identifies the other entity. + + + + + + + Specifies a relationship between two tracking IDs (the role of the "other" tracking ID relative to "this" tracking ID). + + + + + + + + + + + + Specifies the address and a sequence number to identify the address. + + + + + FOR FEDEX INTERNAL USE ONLY. This the sequence number used by Customer Identity (CI) to identify the address. + + + + + + + + + + + + + + + + + + + + + + Also known as the SWIFT code. + + + + + + + + + + + + + + Identification of the type of barcode (symbology) used on FedEx documents and labels. + + + + + + + + + + + + + + + + + + + + Describes attributes of a battery or cell that are used for classification purposes. Typically this structure would be used to allow customers to declare batteries or cells for which full dangerous goods documentation and procedures are not required. + + + + + Describes the material composition of the battery or cell. + + + + + Describes the packing arrangement of the battery or cell with respect to other items within the same package. + + + + + A regulation specific classification for the battery or cell. + + + + + + + Describes the material composition of a battery or cell. + + + + + + + + + + Describes the packing arrangement of a battery or cell with respect to other items within the same package. + + + + + + + + + + A regulation specific classification for a battery or cell. + + + + + + + + + + + + + + + + + Specifies details about how the charges for the brokerage processing are paid for. + + + + + + + + + + + + + + + + + + + Identification of a FedEx operating company (transportation). + + + + + + + + + + + + + + The instructions indicating how to print the Certificate of Origin ( e.g. whether or not to include the instructions, image type, etc ...) + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + + + + + + + + + + + + + + + Specifies the type of brokerage to be applied to a shipment. + + + + + + + + + + + + Descriptive data for the client submitting a transaction. + + + + + The FedEx account number associated with this transaction. + + + + + This number is assigned by FedEx and identifies the unique device from which the request is originating + + + + + + Only used in transactions which require identification of the FedEx Office integrator. + + + + + Indicates the region from which the transaction is submitted. + + + + + The language to be used for human-readable Notification.localizedMessages in responses to the request containing this ClientDetail object. Different requests from the same client may contain different Localization data. (Contrast with TransactionDetail.localization, which governs data payload language/translation.) + + + + + + + + + + + + + + + + + Select the type of rate from which the element is to be selected. + + + + + + + Select the type of rate used to calculate the percentage value of variable handling. + + + + + + + Identifies the type of funds FedEx should collect upon shipment delivery. + + + + + + + + + + + + Descriptive data required for a FedEx COD (Collect-On-Delivery) shipment. + + + + + + Specifies the details of the charges are to be added to the COD collect amount. + + + + + Identifies the type of funds FedEx should collect upon package delivery + + + + + For Express this is the descriptive data that is used for the recipient of the FedEx Letter containing the COD payment. For Ground this is the descriptive data for the party to receive the payment that prints the COD receipt. + + + + + When the FedEx COD payment type is not CASH, indicates the contact and address of the financial institution used to service the payment of the COD. + + + + + Specifies the name of person or company receiving the secured/unsecured funds payment + + + + + Indicates which type of reference information to include on the COD return shipping label. + + + + + Only used with multi-piece COD shipments sent in multiple transactions. Required on last transaction only. + + + + + + + + + + + + + + + CommercialInvoice element is required for electronic upload of CI data. It will serve to create/transmit an Electronic Commercial Invoice through the FedEx Systems. Customers are responsible for printing their own Commercial Invoice.If you would likeFedEx to generate a Commercial Invoice and transmit it to Customs. for clearance purposes, you need to specify that in the ShippingDocumentSpecification element. If you would like a copy of the Commercial Invoice that FedEx generated returned to you in reply it needs to be specified in the ETDDetail/RequestedDocumentCopies element. Commercial Invoice support consists of maximum of 99 commodity line items. + + + + + Any comments that need to be communicated about this shipment. + + + + + Any freight charges that are associated with this shipment. + + + + + Any taxes or miscellaneous charges(other than Freight charges or Insurance charges) that are associated with this shipment. + + + + + Specifies which kind of charge is being recorded in the preceding field. + + + + + Any packing costs that are associated with this shipment. + + + + + Any handling costs that are associated with this shipment. + + + + + Free-form text. + + + + + Free-form text. + + + + + Free-form text. + + + + + The reason for the shipment. Note: SOLD is not a valid purpose for a Proforma Invoice. + + + + + Not exposed to Web Services customers; only present for use in mapping from CTS transactions. + + + + + Additional customer reference data. + + + + + Name of the International Expert that completed the Commercial Invoice different from Sender. + + + + + Required for dutiable international Express or Ground shipments. This field is not applicable to an international PIB(document) or a non-document which does not require a Commercial Invoice. + + + + + + + The instructions indicating how to print the Commercial Invoice( e.g. image type) Specifies characteristics of a shipping document to be produced. + + + + + + Specifies the usage and identification of a customer supplied image to be used on this document. + + + + + + + + + + Value used to identify a commodity description; must be unique within the containing shipment. + + + + + FedEx internal commodity identifier + + + + + + A free-form description of the commodity, which could be used for customs clearance documentation. + + + + + + + + + + + Contains only additional quantitative information other than weight and quantity to calculate duties and taxes. + + + + + + The value of the commodity for customs purposes. The field should be the unit price multiplied by the quantity. + + + + + Defines additional characteristic of commodity used to calculate duties and taxes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + These special services are available at the consolidation level for some or all consolidation types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the consolidation special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. + + + + + The types of all special services requested for the enclosing consolidation. + + + + + + + + + + + + + + + + + + The descriptive data for a point-of-contact person. + + + + + Client provided identifier corresponding to this contact information. + + + + + Identifies the contact person's name. + + + + + Identifies the contact person's title. + + + + + Identifies the company this contact is associated with. + + + + + Identifies the phone number associated with this contact. + + + + + Identifies the phone extension associated with this contact. + + + + + Identifies a toll free number, if any, associated with this contact. + + + + + Identifies the pager number associated with this contact. + + + + + Identifies the fax number associated with this contact. + + + + + Identifies the email address associated with this contact. + + + + + + + + + + + + + Details the contents of the package. + + + + + + + + + + + + + + + + + + + + + + + + + + + Must be in one of the following formats: YYMM, YYYYMM, or YYYYMMDD. + + + + + Date when the credit card was last used in a FedEx online transaction. + + + + + + + This field contains the track data from the credit card stripe. + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies details about the credit card transaction that drive decisions about credit card processing. + + + + + + + + This class represents data tied to the use of a credit card in a specific transaction. + + + + + + + + + Specifies a secure code used for payor authentication in the credit card transaction. + + + + + + Specifies details about the credit card transaction that drive decisions about credit card processing. + + + + + + + + + + + + + + + + + + This class is a rename of the previous VerifyCreditFraudDetail; the name change reflects the fact that it is no longer tied to a "verify" usage. + + + + + + + + + + + + Indicates the type of custom delivery being requested. + + + + + Time by which delivery is requested. + + + + + Range of dates for custom delivery request; only used if type is BETWEEN. + + + + + Date for custom delivery request; only used for types of ON, BETWEEN, or AFTER. + + + + + + + + + + + + + + + + + Types of discounts that are excluded. + + + + + + + Data required to produce a custom-specified document, either at shipment or package level. + + + + + Common information controlling document production. + + + + + Applicable only to documents produced on thermal printers with roll stock. + + + + + Applicable only to documents produced on thermal printers with roll stock. + + + + + Identifies the formatting specification used to construct this custom document. + + + + + Identifies the individual document specified by the client. + + + + + If provided, thermal documents will include specified doc tab content. If omitted, document will be produced without doc tab content. + + + + + + + + Constructed string, based on format and zero or more data fields, printed in specified barcode symbology. + + + + + + + + + Width of thinnest bar/space element in the barcode. + + + + + + + + Solid (filled) rectangular area on label. + + + + + + + + + + + + + + + + + + + + + + + + + Image to be included from printer's memory, or from a local file for offline clients. + + + + + + Printer-specific index of graphic image to be printed. + + + + + Fully-qualified path and file name for graphic image to be printed. + + + + + + + + + Horizontal position, relative to left edge of custom area. + + + + + Vertical position, relative to top edge of custom area. + + + + + + + Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). + + + + + + + + + + Printer-specific font name for use with thermal printer labels. + + + + + Generic font name for use with plain paper labels. + + + + + Generic font size for use with plain paper labels. + + + + + + + + Constructed string, based on format and zero or more data fields, printed in specified printer font (for thermal labels) or generic font/size (for plain paper labels). + + + + + + + + Printer-specific font name for use with thermal printer labels. + + + + + Generic font name for use with plain paper labels. + + + + + Generic font size for use with plain paper labels. + + + + + + + + + + + + + + + + + + + Specifies custom transit time to be applied to the shipment. + + + + + Identifies options to be applied. + + + + + + + + + + + + + Describes the Franchisee relationship(s) of a customer account. + + + + + Specifies the country codes in which the customer account has a relationship with a Franchisee. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indication of cash-only account standing. + + + + + + + + + + + Specifies the customer's preferred mode of communication by FedEx. This specifies how the customer wants to be contacted by FedEx for customer service notifications. + + + + + Governs the language to be used for communicating with this customer. + + + + + Specifies the format email such as HTML or TEXT. + + + + + Specifies how FedEx can contact the customer for marketing purposes. + + + + + Identifies the name to be put on the attentionTo field of a correspondence. + + + + + + + + + + + + + + + + + + + + + + + + + Internal Id used by INET to identify customer provided images during documents generation. Ex COO etc ... + + + + + Internal image type used by INET to identify customer provided images during documents generation. Ex COO etc .. + + + + + + + + + + + + + The Customer Integration Mode Type is intended to provide clients the ability to know how new products like special services can be supported. Some special services are STANDARD and can be supported with just the special service type in the request. CUSTOM special services will require the client application to send more information. For example, HOLD_AT_LOCATION requires the holdAtLocationDetail to be populated. + + + + + + + + + + + + + + + + Bank information for the customer profile + + + + + The identification of the bank, where the customer has an account + + + + + The account number of the customer's bank account. + + + + + The giro number is a five-digit number, which replaces the name, bank code and account number of the beneficiary. + + + + + Identifies the place where a bill of exchange is made payable. + + + + + The identification of the branch where the customer has an account + + + + + Address of the bank branch + + + + + + + Specifies how VAT (value added tax) is applied to the customer's account. + + + + + Specifies the VAT response code for the customer's account.The response code is applied only in LAC region. The valid values are integer values from 1 through 5. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies details used for billing and invoicing the account. + + + + + + + + + + + + + + + + + + + + + Specifies the customer's preferred billing currency type to be used to print invoices and remit payment. If not specified, the currency type defaults to the currency based on the customer payor's country code. + + + + + Specifies the collection zone assigned to the customer's account. In some countries, the invoices are hand delivered to the customers. The collection zone is used to organise (gather and sort) all the invoices for convenience of the FedEx personnel making deliveries. The hand delivery of invoices is performed in several LAC countries such as Mexico. + + + + + Maximum number of days the customer has to pay the invoice. The value must be -1 when creating an account to indicate the value is unspecified. + + + + + Maximum number of days the customer has to pay the duties. The value must be -1 when creating an account to indicate the value is unspecified. + + + + + + + + Specifies the shipping enablements a customer has. + + + + + + + + + + + + + + + + + + + Specifies the global territory for sales that is assigned to the customer's account, which is different from the sales territory which represents the local domestic US sales territory. + + + + + This field is deprecated and will be removed in a future release. + + + + + + + + + + + + + Allows customer-specified control of label content. + + + + + If omitted, no doc tab will be produced (i.e. default is former NONE type). + + + + + Controls the position of the customer specified content relative to the FedEx portion. + + + + + + + Controls which data/sections will be suppressed. + + + + + For customers producing their own Ground labels, this field specifies which secondary barcode will be printed on the label; so that the primary barcode produced by FedEx has the correct SCNC. + + + + + + + Controls the number of additional copies of supplemental labels. + + + + + This value reduces the default quantity of destination/consignee air waybill labels. A value of zero indicates no change to default. A minimum of one copy will always be produced. + + + + + + + + + + + + + + Specifies details about the supplies the customer is contracted to receive + + + + + Specifies the types of supplies the customer is eligible to receive, per contractual agreement. + + + + + + + + + + Interacts both with properties of the shipment and contractual relationship with the shipper. + + + + + + + Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. + + + + + + + This represents the total commodity value of the shipment plus the charges required by the destination country. + + + + + Identifies responsibilities with respect to loss, damage, etc. + + + + + Documents amount paid to third party for coverage of shipment content. + + + + + + + + + + + + + This provides the information necessary to identify the different statements, declarations, acts, and/or certifications that apply to this shipment. + + + + + This indicates the different statements, declarations, acts, and/or certifications that apply to this shipment. + + + + + + + This indicates the different statements, declarations, acts, and certifications that may apply to a shipment. + + + + + + + + + + + Specifies additional description about customs options. This is a required field when the customs options type is "OTHER". + + + + + + + + + + + + + + + + + + + + + Indicates the damage status of a package. + + + + + + + + + + + + + + + Describes an approved container used to package dangerous goods commodities. This does not describe any individual inner receptacles that may be within this container. + + + + + Indicates whether there are additional inner receptacles within this container. + + + + + Indicates the type of this dangerous goods container, as specified by the IATA packing instructions. For example, steel cylinder, fiberboard box, plastic jerrican and steel drum. + + + + + Indicates the packaging type of the container used to package the radioactive materials. + + + + + Indicates the number of occurrences of this container with identical dangerous goods configuration. + + + + + Documents the kinds and quantities of all hazardous commodities in the current container. + + + + + + + FEDEX INTERNAL USE ONLY: Describes the characteristics of the dangerous goods inferred from the commodity data. + + + + + + + + + + + + + + + This field is used to identify an instance of an uploaded dangerous goods handling unit. + + + + + + + Shipment is packaged/documented for movement ONLY on cargo aircraft. + + + + + Indicates the characteristics of the package inferred from the dangerous goods commodity data. + + + + + Indicates which kinds of hazardous content are in the current package. + + + + + Indicates whether there is additional customer provided packaging enclosing the approved dangerous goods containers. + + + + + Identifies the configuration of this dangerous goods package. The common configuration is represented at the shipment level. + + + + + Indicates one or more containers used to pack dangerous goods commodities. + + + + + Description of the packaging of this commodity, suitable for use on OP-900 and OP-950 forms. + + + + + Name, title and place of the signatory for this shipment. + + + + + Telephone number to use for contact in the event of an emergency. + + + + + Offeror's name or contract number, per DOT regulation. + + + + + Specifies the contact of the party responsible for handling the infectious substances, if any, in the dangerous goods shipment. + + + + + Specifies additional handling information for the current package. + + + + + Specifies the radioactivity detail for the current package, if the package contains radioactive materials. + + + + + FOR FEDEX INTERNAL USE ONLY: Describes the regulatory data elements required to move the package. + + + + + + + + + + + + The instructions indicating how to print the 1421c form for dangerous goods shipment. + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + + + Specifies that name, title and place of the signatory responsible for the dangerous goods shipment. + + + + + + + Indicates the place where the form is signed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the tracking id for the return, if preassigned. + + + + + + + Data required to complete the Destionation Control Statement for US exports. + + + + + + Comma-separated list of up to four country codes, required for DEPARTMENT_OF_STATE statement. + + + + + Name of end user, required for DEPARTMENT_OF_STATE statement. + + + + + + + + + + + + + Specifications for pup/set or vehicle delayed for loading or unloading. + + + + + Amount of time involved in the detention. + + + + + + + + + + + + + + + + + + This represents the legal entity that is being approved to receive direct debit funds from the customer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This is a structure for providing document line item content (in part or in whole) to a service. + + + + + + + + + + + + + + + + + + + + + + + + + This specifies whether the customer would like to be contacted via email. The context of permission and use of this email address is country specific. In the United States, the permission of ALLOWED specifies whether the customer can be contacted via email for marketing correspondence. In United States, the customer can still be contacted for customer service notifications, even though the permission is DISALLOWED. + + + + + + + + + + Specifies the name associated with the email address. + + + + + + + + + Content of the email message. + + + + + + + + The format of the email + + + + + + + + + + + + + + + + + + + Information describing the address of of the email recipient, role of the email recipient and languages that are requested to be supported. + + + + + EMail address of the recipient. + + + + + The relationship that the customer has to the pending shipment. + + + + + Specifies how the email notification for the pending shipment need to be processed. + + + + + Localization and language details specified by the recipient of the EMail. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Customer-declared value, with data type and legal values depending on excise condition, used in defining the taxable value of the item. + + + + + + + Specifies the types of Estimated Duties and Taxes to be included in a rate quotation for an international shipment. + + + + + + + + + + + + + + + + Specifies how to apply the localization detail to the current context. + + + + + + + + Specifies a refinement of the customer entity type. This represents the customer account type for the EAN. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This provides the date/time ranges for which discounts apply. Date/time ranges for which discounts do not apply are not returned. + + + + + + + + + + + + + + + + + + + + + + Specifies the details for an Enterprise profile. + + + + + + + + Specifies the account type. This specifies the account type in addition to the customer entity type + + + + + + Identifies the type of entity the account belongs to. + + + + + + Specifies the details about the correspondence of a welcome kit to the customer. + + + + + Specifies additional properties of the customer's enterprise profile. + + + + + Per-carrier specifications for which reference fields are to be used for multiplier grouping for this customer. + + + + + + Accounts for acquired/associated companies that are linked to the enterprise profile + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies whether to confirm documents prior to processing a shipment with the ELECTRONIC_TRADE_DOCUMENTS special service. + + + + + + + + + Electronic Trade document references used with the ETD special service. + + + + + Specifies client's intent for whether all documents must be confirmed before shipment processing. + + + + + + Indicates the types of shipping documents produced for the shipper by FedEx (see ShippingDocumentSpecification) which should be copied back to the shipper in the shipment result data. + + + + + + + + + + + + + + + The instructions indicating how to print the Export Declaration. + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + + + + + + General field for exporting-country-specific export data (e.g. B13A for CA, FTSR Exemption or AES Citation for US). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the details for an Express profile. + + + + + + + + Specifies additional details about the account status and status management. + + + + + + Specifies the account type associated with the Express profile for the account. + + + + + Provides information about the priority customer call receives. + + + + + + + + + Indication of cash standing, to assist with rating and eligibility. + + + + + + Identifies that entity who is responsible for paying for freight charges. + + + + + + + + This is the account number associated with the customer's cost center. + + + + + This is the account number used to bill the invoices to. For example, a department at a university has a shipping account number but uses the university's account number to bill invoices to. + + + + + + + + For the US and Canada, it is derived from the shipper postal code. For international customers, it is a result of the station alpha id. + + + + + A free-form field used primarily for accounts that may have numerous branches. This id helps to distinguish one store from another, especially within the same city. + + + + + + Specifies the details about the bank provided by the customer. These banking details can be used when conducting business with the customer. + + + + + + Specifies the details about the VAT (value added tax) handling for the customer's account. + + + + + Specifies the details of an interline customer. + + + + + Specifies details used for billing and invoicing the account. + + + + + + + Details about the FedEx Sales representative assigned to this account. + + + + + + Describes the Franchisee relationship(s) of this customer account. + + + + + + Describes when and why a profile was archived. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates a FedEx Express operating region. + + + + + + + + + + + + Specification for labor time spent handling shipment. + + + + + Total labor time. + + + + + + + + + + + + Specifies the type of FedEx distribution location. + + + + + + + + + + + Specifies the details about a FedEx employee. + + + + + Unique identifier for an employee such as employee number. + + + + + Contact details for the employee. + + + + + Specifies the operating company the employee represents. + + + + + In case of an employee providing customer service, specifies the call center the employee is assigned to. + + + + + + + Identifies a kind of FedEx facility. + + + + + + + + + + + + + + + + + + + Specifies the optional features/characteristics requested for a Freight shipment utilizing a flatbed trailer. + + + + + + + + + + + + + + + + Freight or National Freight account number. + + + + + Carrier code under which Freight account number was issued. + + + + + Usage of Freight account. + + + + + Kind of rating used for this account. + + + + + Account status unique to FedEx Freight. + + + + + + + Identifies account status unique to FedEx Freight. + + + + + + + + + + This attribute of a Freight account controls how the account relates to role in shipment. + + + + + + + + + + + Data required to produce the Freight handling-unit-level address labels. Note that the number of UNIQUE labels (the N as in 1 of N, 2 of N, etc.) is determined by total handling units. + + + + + + Indicates the number of copies to be produced for each unique label. + + + + + Specifies the quadrant of the page on which the label printing will start. + + + + + If omitted, no doc tab will be produced (i.e. default = former NONE type). + + + + + Controls the position of the customer specified content relative to the FedEx portion. + + + + + + + + + + + + + These values represent the industry-standard freight classes used for FedEx Freight and FedEx National Freight shipment description. (Note: The alphabetic prefixes are required to distinguish these values from decimal numbers on some client platforms.) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Date for all Freight guarantee types. + + + + + Time for GUARANTEED_TIME only. + + + + + + + + + + + + + + Identifies responsibilities with respect to loss, damage, etc. + + + + + + + + + Specifies the details for a Freight profile. + + + + + + + Provides information about the priority customer call receives. + + + + + + + + Specifies additional details about the account status and status management. + + + + + Specifies details used for billing and invoicing the account. + + + + + + + + + + + + Describes when and why a profile was archived. + + + + + + + + + + + + + + + + + + + + + + + + + Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. + + + + + Account number used with FEDEX_FREIGHT service. + + + + + Used for validating FedEx Freight account number and (optionally) identifying third party payment on the bill of lading. + + + + + Used in connection with "Send Bill To" (SBT) identification of customer's account used for billing. + + + + + Identification values to be printed during creation of a Freight bill of lading. + + + + + Indicates the role of the party submitting the transaction. + + + + + Designates the terms of the "collect" payment for a Freight Shipment. + + + + + Identifies the declared value for the shipment + + + + + Identifies the declared value units corresponding to the above defined declared value + + + + + + Identifiers for promotional discounts offered to customers. + + + + + Total number of individual handling units in the entire shipment (for unit pricing). + + + + + Estimated discount rate provided by client for unsecured rate quote. + + + + + Total weight of pallets used in shipment. + + + + + Overall shipment dimensions. + + + + + Description for the shipment. + + + + + Specifies which party will pay surcharges for any special services which support split billing. + + + + + Must be populated if any line items contain hazardous materials. + + + + + + Details of the commodities in the shipment. + + + + + + + Description of an individual commodity or class of content in a shipment. + + + + + A unique identifier assigned to this line item. + + + + + Freight class for this line item. + + + + + FEDEX INTERNAL USE ONLY: for FedEx system that estimate freight class from customer-provided dimensions and weight. + + + + + Identifies billing mask, if used to populate this line item. + + + + + Specifies line item level liability coverage. + + + + + Number of individual handling units to which this line applies. (NOTE: Total of line-item-level handling units may not balance to shipment-level total handling units.) + + + + + Specification of handling-unit packaging for this commodity or class line. + + + + + Number of pieces for this commodity or class line. + + + + + NMFC Code for commodity. + + + + + Indicates the kind of hazardous material content in this line item. + + + + + For printed reference per line item. + + + + + Customer-provided description for this commodity or class line. + + + + + Weight for this commodity or class line. + + + + + + Volume (cubic measure) for this commodity or class line. + + + + + + + Indicates the role of the party submitting the transaction. + + + + + + + + + Specifies which party will be responsible for payment of any surcharges for Freight special services for which split billing is allowed. + + + + + Identifies the special service. + + + + + Indicates who will pay for the special service. + + + + + + + Indicates the basis for pricing/rating Freight shipments. + + + + + + + + + + + + + + + + Data required to produce a General Agency Agreement document. Remaining content (business data) to be defined once requirements have been completed. + + + + + + + + + + + + + + + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY: Processing options controlling availability and validation rules. + + + + + + + + + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + FOR FEDEX INTERNAL USE ONLY: These processing options are presently all internal. + + + + + Contains zero or more service options whose combinations are to be considered when replying with available services. + + + + + FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include customer. + + + + + FOR FEDEX INTERNAL USE ONLY: Restrictions and privileges associated with an entity based on one or more identifiers (for example, account number or unique user id). These restrictions and privileges can be used to determine whether an entity is enabled to perform various operations. + + + + + FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include originRoutingCode. + + + + + FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include destinationRoutingCode. + + + + + FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include formId. + + + + + + + + + + + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY: Processing options controlling availability and validation rules. + + + + + + + The response from PMIS requests for special services data. + + + + + + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + FOR FEDEX INTERNAL USE ONLY: These processing options are presently all internal. + + + + + FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include customer. + + + + + FOR FEDEX INTERNAL USE ONLY: Restrictions and privileges associated with an entity based on one or more identifiers (for example, account number or unique user id). These restrictions and privileges can be used to determine whether an entity is enabled to perform various operations. + + + + + FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include originRoutingCode. + + + + + FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include destinationRoutingCode. + + + + + FOR FEDEX INTERNAL USE ONLY: Only internal FedEx applications can include formId. + + + + + + + + + Specifies the details for a ground profile. + + + + + + + + + + + + + + + + + + + + + Specification of multiplier grouping data per carrier. + + + + + Identifies which carrier is being described. + + + + + Specifies which reference field is to be used for multiplier grouping. + + + + + + + Documents the kind and quantity of an individual hazardous commodity in a package. + + + + + Identifies and describes an individual hazardous commodity. + + + + + Specifies the amount of the commodity in alternate units. + + + + + This describes the inner receptacle details for a hazardous commodity within the dangerous goods container. + + + + + Customer-provided specifications for handling individual commodities. + + + + + Specifies the details of any radio active materials within the commodity. + + + + + The total mass of the contained explosive substances, without the mass of any casings, bullets, shells, etc. + + + + + + + Identifies and describes an individual hazardous commodity. + + + + + Regulatory identifier for a commodity (e.g. "UN ID" value). + + + + + In conjunction with the regulatory identifier, this field uniquely identifies a specific hazardous materials commodity. + + + + + + + + + + + + + + Indicates any special processing options to be applied to the description of the dangerous goods commodity. + + + + + Information related to quantity limitations and operator or state variations as may be applicable to the dangerous goods commodity. + + + + + + + Specifies any special processing to be applied to the dangerous goods commodity description validation. + + + + + + + + This describes information about the inner receptacles for the hazardous commodity in a particular dangerous goods container. + + + + + This specifies the quantity contained in the inner receptacle. + + + + + + + Specifies how the commodity is to be labeled. + + + + + + + + + + Customer-provided specifications for handling individual commodities. + + + + + Specifies how the customer wishes the label text to be handled for this commodity in this package. + + + + + Text used in labeling the commodity under control of the labelTextOption field. + + + + + + + Indicates which kind of hazardous content is being reported. + + + + + + + + + + + + + Identifies number and type of packaging units for hazardous commodities. + + + + + Number of units of the type below. + + + + + Units in which the hazardous commodity is packaged. + + + + + + + Specifies documentation and limits for validation of an individual packing group/category. + + + + + + Coded specification for how commodity is to be packed. + + + + + + + Identifies DOT packing group for a hazardous commodity. + + + + + + + + + + + Identifies amount and units for quantity of hazardous commodities. + + + + + Number of units of the type below. + + + + + Units by which the hazardous commodity is measured. For IATA commodity, the units values are restricted based on regulation type. + + + + + Specifies which measure of quantity is to be validated. + + + + + + + Specifies the measure of quantity to be validated against a prescribed limit. + + + + + + + + + Identifies the source of regulation for hazardous commodity data. + + + + + + + + + + + + + + + + + + Contact phone number for recipient of shipment. + + + + + Contact and address of FedEx facility at which shipment is to be held. + + + + + Type of facility at which package/shipment is to be held. + + + + + Branded text associated with this location type. + + + + + Location identification (for facilities identified by an alphanumeric location code). + + + + + Location identification (for facilities identified by an numeric location code). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates the status of a package inspection performed by an agent. + + + + + + + + + + Specifies the details of an interline customer. + + + + + Identifies the interline code associated with the account. + + + + + An employee id (within the affiliated interline company) associated with this interline customer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Totals accumulated during the processing of CRNs into the consolidation. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Names for data elements / areas which may be suppressed from printing on labels. + + + + + + + + + + + + + + + + + + + + Specifies the order in which the labels will be returned + + + + + + + + + + + + + + + Relative to normal orientation for the printer. + + + + + + + + + + + + + + Specifies how to create, organize, and return the document. + + + + + + + + + + Specifies the order in which the labels are requested to be returned + + + + + Governs the language to be used in the labels generated for this shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies the Liability Coverage Amount. For Jan 2010 this value represents coverage amount per pound + + + + + + + + + + + + + Represents a one-dimensional measurement in small units (e.g. suitable for measuring a package or document), contrasted with Distance, which represents a large one-dimensional measurement (e.g. distance between cities). + + + + + The numerical quantity of this measurement. + + + + + The units for this measurement. + + + + + + + + + + + + + Identifies the representation of human-readable text. + + + + + Two-letter code for language (e.g. EN, FR, etc.) + + + + + Two-letter code for the region (e.g. us, ca, etc..). + + + + + + + Indicates how this can be accessed. + + + + + + + + + Specification for marking or tagging of pieces in shipment. + + + + + Number of pieces to be marked or tagged by FedEx. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specification for services performed during non-business hours and/or days. + + + + + Total number of person days for full non-business days. + + + + + Total number of person hours (whole or partial hours) for non-business hours. + + + + + + + The descriptive data regarding the result of the submitted transaction. + + + + + The severity of this notification. This can indicate success or failure or some other information about the request. The values that can be returned are SUCCESS - Your transaction succeeded with no other applicable information. NOTE - Additional information that may be of interest to you about your transaction. WARNING - Additional information that you need to know about your transaction that you may need to take action on. ERROR - Information about an error that occurred while processing your transaction. FAILURE - FedEx was unable to process your transaction at this time due to a system failure. Please try again later + + + + + Indicates the source of this notification. Combined with the Code it uniquely identifies this notification + + + + + A code that represents this notification. Combined with the Source it uniquely identifies this notification. + + + + + Human-readable text that explains this notification. + + + + + The translated message. The language and locale specified in the ClientDetail. Localization are used to determine the representation. Currently only supported in a TrackReply. + + + + + A collection of name/value pairs that provide specific data to help the client determine the nature of an error (or warning, etc.) without having to parse the message string. + + + + + + + + + + + + + + + + + + + Indicates the type of notification that will be sent. + + + + + Specifies the email notification details. + + + + + Specifies the fax notification details. + + + + + Specifies the SMS notification details. + + + + + Specifies the localization for this notification. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies the type of data contained in Value (e.g. SERVICE_TYPE, PACKAGE_SEQUENCE, etc..). + + + + + The value of the parameter (e.g. PRIORITY_OVERNIGHT, 2, etc..). + + + + + + + + + + + + + + + + + + + + + + + The instructions indicating how to print the OP-900 form for hazardous materials packages. + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Identifies which reference type (from the package's customer references) is to be used as the source for the reference on this OP-900. + + + + + Specifies the usage and identification of customer supplied images to be used on this document. + + + + + Data field to be used when a name is to be printed in the document instead of (or in addition to) a signature image. + + + + + + + Identification for a FedEx operating company (transportation and non-transportation). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the condition of a package when it was received at a FedEx location. + + + + + Indicates the party who packed the package. + + + + + Specifies whether any damange to the contents of the package was known. + + + + + Specifies whether the package contents were inspected by the agent. + + + + + + + + + Specifies the carrier codes and service types that the special service is valid for. + + + + + This field specifies the sub-special service offering ID. + + + + + + This field specifies the package special service offering ID. + + + + + + + Specific subtype of service with multiple exclusive variations: such as DANGEROUS_GOODS and SIGNATURE_OPTION. + + + + + + + + Indicates what kind of integration is required to support the special service. + + + + + + + These special services are available at the package level for some or all service types. If the shipper is requesting a special service which requires additional data, the package special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. + + + + + Indicates the package special service types that are requested on this shipment. For a list of the valid package special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. + + + + + For use with FedEx Ground services only; COD must be present in shipment's special services. + + + + + + Provides details about the batteries or cells that are contained within this specific package. + + + + + + + + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY: Designates the packaging ID. + + + + + + + Branded, translated, and/or localized names for this packaging. + + + + + + + + + + + + + + + + + Specifications for pallets to be shrinkwrapped as part of a Freight shipment. + + + + + Number of pallets to be shrinkwrapped. + + + + + + + Specifications for pallets to be provided on Freight shipment. + + + + + Number of pallets to be provided. + + + + + + + This type contains equivalent data to Contact, but uses a form of person name with separate first and last names. + + + + + + + + Specifies the country code to be dialled when calling the phone number listed as a part of the contact. + + + + + Specifies the area code of the phone number listed as a part of the contact. + + + + + + + + + + + + This type contains equivalent data to ContactAndAddress, but uses a form of person name with separate first, middle and last names. + + + + + + + + + The descriptive data for a person's name broken out into individual name elements such as first name, last name. + + + + + Specifies the salutation part of the name, if any is specified. Examples of prefix: Sir, Madam, Monsieur. + + + + + Specifies the professional title in the person name, if any is specified. + + + + + + + + Identifies the contact person's name suffix. + + + + + + + + + + + + + + + + + Specifies the type of phone number such as HOME, MOBILE. + + + + + Specifies the relation of the customer to the phone number such as primary, secondary, et al. + + + + + + Specifies whether the customer phone number is registered as a Federal Do no Call number. + + + + + Specifies whether the customer allows FedEx send a text message to this phone number. This permission only captures that the customer has selected for text messages to be sent to a particular phone number. This permission does not identify particular correspondence types such as marketing. + + + + + + + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY + + + + + + + + + + + + + + + + + + + + + + + + + + + + This information describes the kind of pending shipment being requested. + + + + + + Date after which the pending shipment will no longer be available for completion. + + + + + Only used with type of EMAIL. + + + + + + These are documents that are recommended to be included with the shipment. + + + + + Upload document details provided by the initator of the shipment. + + + + + + + + + + + + + + + + + + + + + + Specifies the permission. + + + + + + + + + + + + + + + + + + + + + + + + + + + This enumeration rationalizes the former FedEx Express international "admissibility package" types (based on ANSI X.12) and the FedEx Freight packaging types. The values represented are those common to both carriers. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This class describes the pickup characteristics of a shipment (e.g. for use in a tag request). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a reference identifier printed on Freight bills of lading + + + + + + + + + Identifies a particular reference identifier printed on a Freight bill of lading. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Supporting detail for applied options. + + + + + + + + + + + + + + + + The type of name (long, medium, short, etc.) to which this value refers. + + + + + The character encoding used to represent this product name. For example, UTF-8. + + + + + + + + + + Uniquely identifies a profile contact + + + + + Identifies the type of contact. + + + + + Specifies additional attributes about this contact. + + + + + + + + + + + + + + Specifies additional details about the address. + + + + + Specifies the reason to override address verification. + + + + + + Customer specified reference for this contact. + + + + + + + Specifies attributes of a profile contact. + + + + + + + + + + + + + + + + + + + + + + + + Specifies the credit status for a particular profile. + + + + + Specifies the credit status of the account such as CASH, CREDIT_CARD. + + + + + + Specifies the credit reason code for the status specified. + + + + + Specifies the cash reason code for the status specified. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates the packaging type of the container used to package radioactive hazardous materials. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates whether packaging type "EXCEPTED" or "EXCEPTED_PACKAGE" is for radioactive material in reportable quantity. + + + + + + + + + + + + + + + + + + + Selects the value from a set of rate data to which the percentage is applied. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Select the type of rate from which the element is to be selected. + + + + + + + + + + + + Specifies how the recipient is identified for customs purposes; the requirements on this information vary with destination country. + + + + + Specifies the kind of identification being used. + + + + + Contains the actual ID value, of the type specified above. + + + + + + + + + + + + + + Specifies the details for a Recipient profile. + + + + + + List of alternate first names that can be used as contact. + + + + + Specifies the legal name associated with the recipient profile. + + + + + All the addresses that are authorized to be used with this profile. + + + + + Specifies an alternate source for the credit card data. + + + + + + + + + + + + + + Specifies the details about documents that are recommended to be included with the shipment for ease of shipment processing and transportation. + + + + + + + + Type of documents that are recommended to be included with the shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies details needed to generate any label artifacts required due to regulatory requirements. + + + + + + Specifies how the customer requested the regulatory label to be generated. + + + + + + + + + + + + Describes the vertical position of an item relative to another item. + + + + + + + + + Specifies the type and location id of a distribution location used to process a consolidation. + + + + + This is a customer-specified or system-assigned identifier that uniquely identifies the specific distibution location within a collection of distribution locations. This is not the same as the FedEx locationId or locationNumber. + + + + + Identifies whether the distirbution location is a FedEx Express Station or a FedEx Ground Terminal. + + + + + + + + This specifies the clearance number (e.g.- PAPS number for US imports) associated with the distribution location. + + + + + Specifies which kinds of shipments will be processed by this distribution location. + + + + + + + + + A unique identifier of each requested package line item. + + + + + An identifier of each group of identical packages. + + + + + Used as the number or count of identical packages in a group. + + + + + + Only used when clients are assigning a tracking number to this package. Should not be used when groupPackageCount is greater than one. + + + + + + Specifies the declared value for carriage of the package. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the package. + + + + + Represents the gross weight of the package line item. + + + + + FEDEX INTERNAL USE ONLY. + + + + + + Provides additional detail on how the customer has physically packaged this item. As of June 2009, required for packages moving under international and SmartPost services. + + + + + + Human-readable text describing the package. + + + + + Human-readable text describing the contents of the package to be used for clearance purposes. + + + + + + + + Details the contents of the package. + + + + + + + + + + + + + This field contains the service type values, like PRIORITY_OVERNIGHT and FEDEX_GROUND. + + + + + This field contains the packaging type values, like YOUR_PACKAGING and FEDEX_ENVELOPE. + + + + + The client's shipping cycle to which this shipment belongs. + + + + + This specifies information related to the manifest associated with the shipment. + + + + + The shipment variations for the current shipment expressed in key-value pairs. + + + + + + Specifies the total declared value for carriage of the shipment. The declared value for carriage represents the maximum liability of FedEx in connection with a shipment, including, but not limited to, any loss, damage, delay, mis-delivery, nondelivery, misinformation, any failure to provide information, or mis-delivery of information relating to the shipment. + + + + + + This attribute indicates the currency the caller requests to have used in all returned monetary values (when a choice is possible). + + + + + Specifies details about the entity responsible for the shipment. + + + + + + + + Physical starting address for the shipment, if different from shipper's address. + + + + + The sold-to party is used for customs clearance; for example, in support of US import customs rules. The need for this field could vary based on whether a sold-to party was specified on a consolidation. + + + + + + + Specifies any custom processing to be applied to this shipment. + + + + + + Data applicable to shipments using FEDEX_FREIGHT_ECONOMY and FEDEX_FREIGHT_PRIORITY services. + + + + + Data applicable to shipments that are a part of a consolidation. + + + + + Used with Ground Home Delivery and Freight. + + + + + + Customs clearance data, used for both international and intra-country shipping. + + + + + For use in "process tag" transaction. + + + + + Specifies the characteristics of a shipment pertaining to SmartPost services. + + + + + If true, only the shipper/payor will have visibility of this shipment. + + + + + Specifies the client-requested response in the event of errors within shipment. + + + + + + Contains data used to create additional (non-label) shipping documents. + + + + + Specifies whether and what kind of rates the customer wishes to have quoted on this shipment. The reply will also be constrained by other data on the shipment and customer. + + + + + Specifies the type of rate the customer wishes to have used as the actual rate type. + + + + + Specifies whether the customer wishes to have Estimated Duties and Taxes provided with the rate quotation on this shipment. Only applies with shipments moving under international services. + + + + + Specifies the details for the custom rates. + + + + + Only used with multiple-transaction shipments, to identify the master package in a multi-piece shipment. + + + + + The total number of packages in the entire shipment (even when the shipment spans multiple transactions.) + + + + + Specifies which package-level data values are provided at the shipment-level only. The package-level data values types specified here will not be provided at the package-level. + + + + + Specifies data structures that may be re-used multiple times with s single shipment. + + + + + One or more package-attribute descriptions, each of which describes an individual package, a group of identical packages, or (for the total-piece-total-weight case) common characteristics all packages in the shipment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the tracking number of the master associated with the return shipment. + + + + + + + + These values are used to control the availability of certain special services at the time when a customer uses the e-mail label link to create a return shipment. + + + + + + + + + + + + Identifies the allowed (merchant-authorized) special services which may be selected when the subsequent shipment is created. Only services represented in EMailLabelAllowedSpecialServiceType will be controlled by this list. + + + + + + + The instructions indicating how to print the return instructions( e.g. image type) Specifies characteristics of a shipping document to be produced. + + + + + + Specifies additional customer provided text to be inserted into the return document. + + + + + + + + + + + + + + + + + + + + + + + + The "PAYOR..." rates are expressed in the currency identified in the payor's rate table(s). The "RATED..." rates are expressed in the currency of the origin country. Former "...COUNTER..." values have become "...RETAIL..." values, except for PAYOR_COUNTER and RATED_COUNTER, which have been removed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + June 2011 ITG 121203 IR-RMA number has been removed from this structure and added as a new customer reference type. The structure remains because of the reason field below. + + + + + + + + Describes the rotation of an item from its default orientation. + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the commit time for a FedEx Ground shipment. + + + + + + + + + + + + + + + + + + Descriptive data to be used in authentication of the sender's identity (and right to use FedEx web services). + + + + + + + + + + + Optionally supplied instead of service to restrict reply to services for a specific carrier. + + + + + + + + + + + + + + + + + + + FOR FEDEX INTERNAL USE ONLY: Designates the service ID. + + + + + + + Branded, translated, and/or localized names for this service. + + + + + FOR FEDEX INTERNAL USE ONLY: The operating org code in a service. + + + + + FOR FEDEX INTERNAL USE ONLY: This is tied to the Product EFS interface definition which will currently contain the values of 'parcel' or 'freight'. + + + + + + + + + These values control the optional features of service that may be combined in a commitment/rate comparision transaction. + + + + + + + + + + + + Supporting detail for applied options identified in a rate quote. + + + + + Identifies the type of Freight Guarantee applied, if FREIGHT_GUARANTEE is applied to the rate quote. + + + + + Identifies the smartPostHubId used during rate quote, if SMART_POST_HUB_ID is a variable option on the rate request. + + + + + Identifies the indicia used during rate quote, if SMART_POST_ALLOWED_INDICIA is a variable option on the rate request. + + + + + + + Specifies the services types supported for a specific carrier code. + + + + + + + + + Specification for assembly performed on shipment. + + + + + Number of pieces or packages to be assembled + + + + + Total weight of pieces or packages to be assembled + + + + + + + + + + + + Specifies data structures that may be re-used multiple times with s single shipment. + + + + + Specifies the data that is common to dangerous goods packages in the shipment. This is populated when the shipment contains packages with identical dangerous goods commodities. + + + + + + + Specifies the characteristics of the containing RequestedShipment that define its participation in a consolidation. + + + + + The time at which this shipment was associated with the consolidation. + + + + + The type of consolidation that contains this shipment. + + + + + The role this shipment plays within the consolidation. + + + + + Identifies other tracking IDs related to this shipment within the same consolidation. + + + + + Specifies the consolidation-level special services to be performed for this shipment. + + + + + This is the origin address of the consolidation. + + + + + Specifies attributes of a shipment within an international distribution. + + + + + Specifies attributes of a shipment within a transborder distribution. + + + + + FOR INTERNAL FEDEX USE ONLY: Identifies the distribution facility where this shipment will be de-consolidated and distributed. + + + + + + + Shipment-level totals of dry ice data across all packages. + + + + + Total number of packages in the shipment that contain dry ice. + + + + + Total shipment dry ice weight for all packages. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies which carrier should be included. + + + + + + + + Specifies the attributes of a shipment related to its role in an international distribution (consolidation). + + + + + Identifies the FedEx facility at which customs clearance will be performed. + + + + + Identifies the type of clearance performed at the clearance facility. + + + + + Provides summary totals across all CRNs in a distribution. + + + + + Specifies how charges relating to different aspects of a shipment are to be paid. + + + + + + + + + This identifies which customer reference field contains the manifest ID. + + + + + + + + + + + + + + + + + + + + + + + + + + These values identify which package-level data values will be provided at the shipment-level. + + + + + + + + + + Identifies special or custom features to be applied to a shipment. + + + + + + + + + + + + + + + + + + + + + + + + Specifies special or custom features to be applied during the processing of the enclosing RequestedShipment. + + + + + Identifies options to be applied. + + + + + Specifies custom transit time to be applied to the shipment. + + + + + + + + + Specifies the carrier codes and service types that the special service is valid for. + + + + + This field specifies the sub-special service offering ID. + + + + + + This field specifies the shipment special service offering ID. + + + + + + + Specific subtype of service with multiple exclusive variations, such as HOME_DELIVERY_PREMIUM. + + + + + + + + Indicates what kind of integration is required to support the special service. + + + + + + + These special services are available at the shipment level for some or all service types. If the shipper is requesting a special service which requires additional data (such as the COD amount), the shipment special service type must be present in the specialServiceTypes collection, and the supporting detail must be provided in the appropriate sub-object below. + + + + + Indicates the shipment special service types that are requested on this shipment. For a list of the valid shipment special service types, please consult your integration documentation or get the list of the available special services from the getAllSpecialServices method of the Validation Availability and Commitment service. + + + + + + + + This replaces eMailNotificationDetail + + + + + + This field should be populated for pending shipments (e.g. e-mail label) It is required by a PENDING_SHIPMENT special service type. + + + + + + + + + + + Electronic Trade document references. + + + + + Specification for labor to be performed with the shipment. + + + + + Specifications for pallets to be shrinkwrapped as part of a Freight shipment. + + + + + Specifications for pallets to be provided on Freight shipment. + + + + + Specifications for pup/set or vehicle delayed for loading or unloading. + + + + + Specification for marking or tagging of pieces in shipment. + + + + + Specification for services performed during non-business hours and/or days. + + + + + Specification for assembly performed on shipment. + + + + + Specification for sorting and/or segregating performed on shipment. + + + + + Specification for special equipment used in loading/unloading shipment. + + + + + Specification for storage provided for shipment. + + + + + Specification for weighing services provided for shipment. + + + + + Specification for date or range of dates on which delivery is to be attempted. + + + + + + + Specifies the attributes of a shipment related to its role in a transborder distribution (consolidation). + + + + + Specifies special services to be performed on this shipment as part of a transborder distribution. + + + + + Provides summary totals across all CRNs in a distribution. + + + + + + + + + Specifies the name or the key for the shipment variation. + + + + + The values that are valid for the specified shipment variation in the context of the current shipment. + + + + + + + + + This indicates the identifier of a conveyance, such as a trailer ID. + + + + + + + Each occurrence of this class specifies a particular way in which a kind of shipping document is to be produced and provided. + + + + + Values in this field specify how to create and return the document. + + + + + Specifies how to organize all documents of this type. + + + + + Specifies how to store document images. + + + + + Specifies how to e-mail document images. + + + + + Specifies how a queued document is to be printed. + + + + + + + Specifies how to return a shipping document to the caller. + + + + + + + + + + + + + + + Specifies how to e-mail shipping documents. + + + + + Provides the roles and email addresses for e-mail recipients. + + + + + Identifies the convention by which documents are to be grouped as e-mail attachments. + + + + + Specifies the language in which the email containing the document is requested to be composed. + + + + + + + + + + + + + Specifies an individual recipient of e-mailed shipping document(s). + + + + + Identifies the relationship of this recipient in the shipment. + + + + + Address to which the document is to be sent. + + + + + + + Specifies characteristics of a shipping document to be produced. + + + + + Specifies how to create, organize, and return the document. + + + + + Specifies how far down the page to move the beginning of the image; allows for printing on letterhead and other pre-printed stock. + + + + + + + For those shipping document types which have both a "form" and "instructions" component (e.g. General Agency Agreement), this field indicates whether to provide the instructions. + + + + + + Governs the language to be used for this individual document, independently from other content returned for the same shipment. + + + + + Identifies the individual document specified by the client. + + + + + + + Specifies how to organize all shipping documents of the same type. + + + + + + + + + + Specifies the image format used for a shipping document. + + + + + + + + + + + + + + + + + Identifies the convention by which file names are constructed for STORED or DEFERRED documents. + + + + + + + + + Specifies printing options for a shipping document. + + + + + Provides environment-specific printer identification. + + + + + + + Contains all data required for additional (non-label) shipping documents to be produced in conjunction with a specific shipment. + + + + + Indicates the types of shipping documents requested by the shipper. + + + + + + + + + Specifies the production of each package-level custom document (the same specification is used for all packages). + + + + + Specifies the production of a shipment-level custom document. + + + + + + + + Specifies the production of the OP-900 document for hazardous materials packages. + + + + + Specifies the production of the 1421c document for dangerous goods shipment. + + + + + Specifies the production of the OP-900 document for hazardous materials. + + + + + + Specifies the production of the return instructions document. + + + + + + + Specifies the type of paper (stock) on which a document will be printed. + + + + + + + + + + + + + + + + + + + + + Specifies how to store shipping documents. + + + + + Indicates the mechanism by which a shipping document will be stored for later retrieval. + + + + + Provides the path to be used for STORED or DEFERRED documents. + + + + + Identifies the convention by which file names are constructed for STORED or DEFERRED documents. + + + + + Suffix to be placed at the end of the file name; required on some platforms to determine file type. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the zone type that SmartPost classifies the customer account as. This controls how the SmartPost outbound shipments are rated, routed, tracked and reported. + + + + + + Array containing only those indicia that this account is contracted to use. + + + + + Specifies features of SmartPost shipping which apply to shipments processed using the enclosing account. + + + + + + + Identifies features of SmartPost shipping which apply to a customer account per contract. + + + + + + + + + + Specifies the zone type that SmartPost classifies the customer account as. This controls how the SmartPost outbound shipments are rated, routed, tracked and reported. + + + + + + + + + + + + These values are mutually exclusive; at most one of them can be attached to a SmartPost shipment. + + + + + + + + + + + + + + + + + + + + + Data required for shipments handled under the SMART_POST and GROUND_SMART_POST service types. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the details about customer's social media accounts and contact persmissions. + + + + + Specifies the platform ID of the social media platform. + + + + + Specifies the user id of the customer's account on the social media platform specified. + + + + + + + Specification for sorting and/or segregating performed on shipment. + + + + + Number of pieces or packages to be sorted/segregated + + + + + Total weight of pieces or packages to be sorted/segregated + + + + + + + Specification for special equipment used in loading/unloading shipment. + + + + + Contains an entry for each type of special equipment used with shipment + + + + + + + Specifies the usage of a single type of special equipment while loading/unloading a shipment + + + + + Type of equipment used + + + + + Total amount of time the equipment was used + + + + + + + Identifies types of special equipment used in loading/unloading Freight shipments + + + + + + + + Specifies payment for a single aspect of a shipment. + + + + + Identifies the aspect of the shiipment to be paid separately. + + + + + Specifies the form of payment to be used. + + + + + + + Specifies how charges relating to different aspects of a shipment are to be paid. + + + + + Each entry specifies payement for a single aspect of the shipment. + + + + + + + Identifies an aspect of a shipment that may be paid separately. + + + + + + + + + Specifies different statuses. + + + + + + + + + + + Specification for storage provided for shipment. + + + + + Total time shipment is held by carrier. + + + + + + + + + + + + + + Specifies the tax exemption details for the entity under considertaion. + + + + + Specifies whehther exempt or not. + + + + + The specific tax code type for which the exemption is specified. + + + + + Tax Identification code for the entity under consideration. + + + + + The geo-political entity where the tax details are relevant. + + + + + + + Specifice the kind of tax or miscellaneous charge being reported on a Commercial Invoice. + + + + + + + + + + + + + + + + + Identifies the usage of Tax Identification Number in Shipment processing + + + + + + + + + + + + + + + + + + + + + + For use with SmartPost tracking IDs only + + + + + + + + + + + + + + + + + + + + + Free form text to be echoed back in the reply. Used to match requests and replies. + + + + + Governs data payload language/translations (contrasted with ClientDetail.localization, which governs Notification.localizedMessage language selection). + + + + + + + Specifies details for origin-country LTL services performed by FedEx. + + + + + Payment for LTL transportation. + + + + + Standard Carrier Alpha Code for origin-country LTL services. + + + + + + + Identifies features of service requested for a Transborder Distribution shipment. + + + + + + + + Specifies features of service within a Transborder Distribution shipment. + + + + + Identifies features of service requested for the current Transborder Distribution shipment. + + + + + Specifies details for origin-country LTL services performed by FedEx. + + + + + + + Specifies the summary of aggregates that are maintianed for a transborder consolidation. + + + + + + + + + + + + + + The number of commodities that are unique commodities in the consolidation. These commodities are mentioned as separate items on the consolidated commercial invoice. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the date until which the document is available + + + + + + + Specifies the application that is responsible for managing the document id. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Description of the uploaded document. + + + + + + + + + + + + + + + + + + + + + + + Specifies the usage type of the data item under consideration. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This definition of variable handling charge detail is intended for use in Jan 2011 corp load. + + + + + + Actual percentage (10 means 10%, which is a mutiplier of 0.1) + + + + + Select the value from a set of rate data to which the percentage is applied. + + + + + Select the type of rate from which the element is to be selected. + + + + + Select the type of rate used to calculate the percentage value of variable handling. + + + + + + + Three-dimensional volume/cubic measurement. + + + + + + + + + Units of three-dimensional volume/cubic measure. + + + + + + + + + Specifies a single type of weighing performed on a shipment + + + + + Type of scale used + + + + + + + Identifies types of scales used in weighing Freight shipments + + + + + + + + + The descriptive data for the heaviness of an object. + + + + + Identifies the unit of measure associated with a weight value. + + + + + Identifies the weight value of a package/shipment. + + + + + + + + + + + + + + + + + + + + + + + + + Used in authentication of the sender's identity. + + + + + This was renamed from cspCredential. + + + + + Credential used to authenticate a specific software application. This value is provided by FedEx after registration. + + + + + + + Two part authentication string used for the sender's identity + + + + + Identifying part of authentication credential. This value is provided by FedEx after registration + + + + + Secret part of authentication key. This value is provided by FedEx after registration. + + + + + + + Identifies the version/level of a service operation expected by a caller (in each request) and performed by the callee (in each reply). + + + + + Identifies a system or sub-system which performs an operation. + + + + + Identifies the service business level. + + + + + Identifies the service interface level. + + + + + Identifies the service code level. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/FedEx/Tests/OpenShipServiceTest.php b/tests/FedEx/Tests/OpenShipServiceTest.php index c031cca5..976a62da 100644 --- a/tests/FedEx/Tests/OpenShipServiceTest.php +++ b/tests/FedEx/Tests/OpenShipServiceTest.php @@ -80,7 +80,6 @@ public function testOpenShipServiceRequest() $mockSoapClient->method('getConfirmConsolidationResults')->will($this->returnValue(ComplexType\GetConfirmConsolidationResultsReply::class)); $mockSoapClient->method('modifyOpenShipment')->will($this->returnValue(ComplexType\ModifyOpenShipmentReply::class)); $mockSoapClient->method('confirmConsolidation')->will($this->returnValue(ComplexType\ConfirmConsolidationReply::class)); - $mockSoapClient->method('createPendingShipment')->will($this->returnValue(CreatePendingShipmentReply::class)); $mockSoapClient->method('getModifyOpenShipmentResults')->will($this->returnValue(ComplexType\ModifyOpenShipmentReply::class)); $mockSoapClient->method('deletePackagesFromOpenShipment')->will($this->returnValue(ComplexType\DeletePackagesFromOpenShipmentReply::class)); $mockSoapClient->method('reprintShippingDocuments')->will($this->returnValue(ComplexType\ReprintShippingDocumentsReply::class)); @@ -107,7 +106,6 @@ public function testOpenShipServiceRequest() $this->assertEquals(ComplexType\ConfirmOpenShipmentReply::class, $request->getConfirmOpenShipmentReply($confirmOpenShipmentRequest, true)); $this->assertEquals(ComplexType\ModifyOpenShipmentReply::class, $request->getModifyOpenShipmentReply($modifyOpenShipmentRequest, true)); $this->assertEquals(ComplexType\ConfirmConsolidationReply::class, $request->getConfirmConsolidationReply($confirmConsolidationRequest, true)); - $this->assertEquals(CreatePendingShipmentReply::class, $request->getCreatePendingShipmentReply($createOpenShipmentRequest, true)); $this->assertEquals(ComplexType\ModifyOpenShipmentReply::class, $request->getModifyOpenShipmentReply($modifyOpenShipmentRequest, true)); $this->assertEquals(ComplexType\DeletePackagesFromOpenShipmentReply::class, $request->getDeletePackagesFromOpenShipmentReply($deletePackagesFromOpenShipmentRequest, true)); $this->assertEquals(ComplexType\ReprintShippingDocumentsReply::class, $request->getReprintShippingDocumentsReply($reprintShipmentDocumentsRequest, true)); diff --git a/util/Cli/GenerateCode/Command/GenerateCode.php b/util/Cli/GenerateCode/Command/GenerateCode.php index 3c1db0eb..e00c09d9 100644 --- a/util/Cli/GenerateCode/Command/GenerateCode.php +++ b/util/Cli/GenerateCode/Command/GenerateCode.php @@ -32,7 +32,7 @@ protected function configure() * @param InputInterface $input * @param OutputInterface $output * @throws \Exception - * @return void + * @return int */ protected function execute(InputInterface $input, OutputInterface $output) { @@ -48,8 +48,10 @@ protected function execute(InputInterface $input, OutputInterface $output) throw new \Exception('Cannot write to directory: ' . $fedexSrcDir); } - //RateRequest - $wsdlPath = $fedexSrcDir . '/_wsdl/RateService_v28.wsdl'; + /** + * RateService v31 + */ + $wsdlPath = $fedexSrcDir . '/_wsdl/RateService_v31.wsdl'; $baseNamespace = 'FedEx\RateService'; $subpackageName = 'Rate Service'; @@ -69,7 +71,9 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes = new CodeGenerator\GenerateComplexTypeClasses($exportPath, $wsdlPath, $baseNamespace, $subpackageName); $generateComplexTypes->run(); - //PackageMovementInformationService + /** + * PackageMovementInformationService v5 + */ $wsdlPath = $fedexSrcDir . '/_wsdl/PackageMovementInformationService_v5.wsdl'; $baseNamespace = 'FedEx\PackageMovementInformationService'; @@ -90,9 +94,10 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes = new CodeGenerator\GenerateComplexTypeClasses($exportPath, $wsdlPath, $baseNamespace, $subpackageName); $generateComplexTypes->run(); - - //TrackService - $wsdlPath = $fedexSrcDir . '/_wsdl/TrackService_v19.wsdl'; + /** + * TrackService v20 + */ + $wsdlPath = $fedexSrcDir . '/_wsdl/TrackService_v20.wsdl'; $baseNamespace = 'FedEx\TrackService'; $subPackageName = 'Track Service'; @@ -112,8 +117,9 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes = new CodeGenerator\GenerateComplexTypeClasses($exportPath, $wsdlPath, $baseNamespace, $subpackageName); $generateComplexTypes->run(); - - //AddressValidationService + /** + * AddressValidationService v4 + */ $wsdlPath = $fedexSrcDir . '/_wsdl/AddressValidationService_v4.wsdl'; $baseNamespace = 'FedEx\AddressValidationService'; @@ -134,8 +140,9 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes = new CodeGenerator\GenerateComplexTypeClasses($exportPath, $wsdlPath, $baseNamespace, $subPackageName); $generateComplexTypes->run(); - - //LocationsService + /** + * LocationsService v12 + */ $wsdlPath = $fedexSrcDir . '/_wsdl/LocationsService_v12.wsdl'; $baseNamespace = 'FedEx\LocationsService'; @@ -156,9 +163,10 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes = new CodeGenerator\GenerateComplexTypeClasses($exportPath, $wsdlPath, $baseNamespace, $subPackageName); $generateComplexTypes->run(); - - //ShipService - $wsdlPath = $fedexSrcDir . '/_wsdl/ShipService_v26.wsdl'; + /** + * ShipService v28 + */ + $wsdlPath = $fedexSrcDir . '/_wsdl/ShipService_v28.wsdl'; $baseNamespace = 'FedEx\ShipService'; $subPackageName = 'Ship Service'; @@ -178,8 +186,9 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes = new CodeGenerator\GenerateComplexTypeClasses($exportPath, $wsdlPath, $baseNamespace, $subPackageName); $generateComplexTypes->run(); - - //CourierDispatchService + /** + * CourierDispatchService v3 + */ $wsdlPath = $fedexSrcDir . '/_wsdl/CourierDispatchService_v3.wsdl'; $baseNamespace = 'FedEx\CourierDispatchService'; @@ -200,8 +209,9 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes = new CodeGenerator\GenerateComplexTypeClasses($exportPath, $wsdlPath, $baseNamespace, $subPackageName); $generateComplexTypes->run(); - - //CloseService + /** + * CloseService v5 + */ $wsdlPath = $fedexSrcDir . '/_wsdl/CloseService_v5.wsdl'; $baseNamespace = 'FedEx\CloseService'; @@ -221,7 +231,9 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes = new CodeGenerator\GenerateComplexTypeClasses($exportPath, $wsdlPath, $baseNamespace, $subPackageName); $generateComplexTypes->run(); - //ReturnTagService + /** + * ReturnTagService v1 + */ $wsdlPath = $fedexSrcDir . '/_wsdl/ReturnTagService_v1.wsdl'; $baseNamespace = 'FedEx\ReturnTagService'; @@ -245,9 +257,10 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes = new CodeGenerator\GenerateComplexTypeClasses($exportPath, $wsdlPath, $baseNamespace, $subPackageName); $generateComplexTypes->run(); - - //UploadDocumentService - $wsdlPath = $fedexSrcDir . '/_wsdl/UploadDocumentService_v11.wsdl'; + /** + * UploadDocumentService v19 + */ + $wsdlPath = $fedexSrcDir . '/_wsdl/UploadDocumentService_v19.wsdl'; $baseNamespace = 'FedEx\UploadDocumentService'; $subPackageName = 'Upload Document Service'; @@ -267,8 +280,10 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes = new CodeGenerator\GenerateComplexTypeClasses($exportPath, $wsdlPath, $baseNamespace, $subPackageName); $generateComplexTypes->run(); - //PickupService - $wsdlPath = $fedexSrcDir . '/_wsdl/PickupService_v22.wsdl'; + /** + * PickupService v23 + */ + $wsdlPath = $fedexSrcDir . '/_wsdl/PickupService_v23.wsdl'; $baseNamespace = 'FedEx\PickupService'; $subPackageName = 'Pickup Service'; @@ -278,7 +293,6 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateRequestClassFile = new CodeGenerator\GenerateRequestClass($pathToRequestClassFile, $wsdlPath, $baseNamespace, $subPackageName); $generateRequestClassFile->run(); - //generate SimpleType classes $exportPath = $fedexSrcDir . '/PickupService/SimpleType'; $generateSimpleTypes = new CodeGenerator\GenerateSimpleTypeClasses($exportPath, $wsdlPath, $baseNamespace, $subPackageName); @@ -290,9 +304,9 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes->run(); /* - * Open Ship Service (v11) + * Open Ship Service v20 */ - $wsdlPath = $fedexSrcDir . '/_wsdl/OpenshipService_v15.wsdl'; + $wsdlPath = $fedexSrcDir . '/_wsdl/OpenshipService_v20.wsdl'; $baseNamespace = 'FedEx\OpenShipService'; $subPackageName = 'OpenShip Service'; @@ -313,9 +327,9 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes->run(); /* - * Validation and Commitment Service (v6) + * Validation and Commitment Service v17 */ - $wsdlPath = $fedexSrcDir . '/_wsdl/ValidationAvailabilityAndCommitmentService_v14.wsdl'; + $wsdlPath = $fedexSrcDir . '/_wsdl/ValidationAvailabilityAndCommitmentService_v17.wsdl'; $baseNamespace = 'FedEx\ValidationAvailabilityAndCommitmentService'; $subPackageName = 'Validation Availability And Commitment Service Service'; @@ -336,7 +350,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes->run(); /* - * ASYNC Service (v4) + * ASYNC Service v4 */ $wsdlPath = $fedexSrcDir . '/_wsdl/ASYNCService_v4.wsdl'; @@ -359,7 +373,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes->run(); /* - * In Flight Shipment Service (v1) + * In Flight Shipment Service v1 */ $wsdlPath = $fedexSrcDir . '/_wsdl/InFlightShipmentService_v1.wsdl'; @@ -382,7 +396,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes->run(); /* - * List Dangerous Goods Service (v1) + * List Dangerous Goods Service v1 */ $wsdlPath = $fedexSrcDir . '/_wsdl/DGLD_v1.wsdl'; @@ -405,7 +419,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes->run(); /* - * Dangerous Goods Data Service (v1) + * Dangerous Goods Data Service v3 */ $wsdlPath = $fedexSrcDir . '/_wsdl/DGDS_v3.wsdl'; @@ -428,7 +442,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $generateComplexTypes->run(); /* - * Country Service (v8) + * Country Service v8 */ $wsdlPath = $fedexSrcDir . '/_wsdl/CountryService_v8.wsdl'; @@ -449,5 +463,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $exportPath = $fedexSrcDir . '/CountryService/ComplexType'; $generateComplexTypes = new CodeGenerator\GenerateComplexTypeClasses($exportPath, $wsdlPath, $baseNamespace, $subPackageName); $generateComplexTypes->run(); + + return 0; } } From bce84fbbf71f9dcc990a88c1b04f545e0f2c769a Mon Sep 17 00:00:00 2001 From: Mikus Rozenbergs Date: Fri, 5 Nov 2021 02:14:01 +0200 Subject: [PATCH 3/3] Updated: - php version --- .travis.yml | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 99eee7ee..8e38860f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ language: php php: - 7.3 - 7.4 + - 8.0 install: - composer update --no-interaction --no-ansi --no-progress --optimize-autoloader --prefer-stable diff --git a/composer.json b/composer.json index 0cb4c4c2..baf97f46 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require": { - "php": "^7.3", + "php": "^7.3|^8.0", "ext-soap": "*" }, "require-dev": {