├── .env.dist ├── .php-cs-fixer.php ├── .phpstorm.meta.php ├── CHANGELOG.md ├── bin └── generate.sh ├── composer.json ├── phpunit.xml ├── rector-php-rules.php ├── rector-php-sets.php ├── rector-php.php ├── resources └── php-amazon-selling-partner-api │ ├── api.mustache │ ├── api_interface.mustache │ ├── model.mustache │ ├── model_enum.mustache │ ├── model_generic.mustache │ └── partial_header.mustache └── src └── AmazonPHP └── SellingPartner ├── AccessToken.php ├── Api ├── AplusContentApi │ ├── APlusSDK.php │ └── APlusSDKInterface.php ├── ApplicationsApi │ ├── ApplicationManagementSDK.php │ └── ApplicationManagementSDKInterface.php ├── AwdApi │ ├── WarehousingAndDistributionSDK.php │ └── WarehousingAndDistributionSDKInterface.php ├── CatalogItemsApi │ ├── CatalogItemSDK.php │ └── CatalogItemSDKInterface.php ├── CreateContainerLabelApi │ ├── VendorDirectFulfillmentShippingSDK.php │ └── VendorDirectFulfillmentShippingSDKInterface.php ├── CustomerInvoicesApi │ ├── VendorDirectFulfillmentShippingSDK.php │ └── VendorDirectFulfillmentShippingSDKInterface.php ├── DefaultApi │ ├── FinancialEventsSDK.php │ ├── FinancialEventsSDKInterface.php │ ├── FinancialTransactionsSDK.php │ ├── FinancialTransactionsSDKInterface.php │ ├── FinancialTransfersSDK.php │ └── FinancialTransfersSDKInterface.php ├── DefinitionsApi │ ├── ProductTypesDefinitionsSDK.php │ └── ProductTypesDefinitionsSDKInterface.php ├── FbaInboundApi │ ├── FBAInboundSDK.php │ ├── FBAInboundSDKInterface.php │ ├── FulfillmentInboundSDK.php │ ├── FulfillmentInboundSDKInterface.php │ ├── FulfillmentInboundV0SDK.php │ └── FulfillmentInboundV0SDKInterface.php ├── FbaInventoryApi │ ├── FBAInventorySDK.php │ └── FBAInventorySDKInterface.php ├── FbaOutboundApi │ ├── FulfillmentOutboundSDK.php │ └── FulfillmentOutboundSDKInterface.php ├── FeedsApi │ ├── FeedsSDK.php │ └── FeedsSDKInterface.php ├── FeesApi │ ├── ProductFeesSDK.php │ └── ProductFeesSDKInterface.php ├── ListingsApi │ ├── ListingsItemsSDK.php │ └── ListingsItemsSDKInterface.php ├── MerchantFulfillmentApi │ ├── MerchantFulfillmentSDK.php │ └── MerchantFulfillmentSDKInterface.php ├── MessagingApi │ ├── MessagingSDK.php │ └── MessagingSDKInterface.php ├── NotificationsApi │ ├── NotificationsSDK.php │ └── NotificationsSDKInterface.php ├── OrdersApi │ ├── OrdersSDK.php │ └── OrdersSDKInterface.php ├── ProductPricingApi │ ├── ProductPricingSDK.php │ └── ProductPricingSDKInterface.php ├── ReportsApi │ ├── ReportsSDK.php │ └── ReportsSDKInterface.php ├── SalesApi │ ├── SalesSDK.php │ └── SalesSDKInterface.php ├── SellersApi │ ├── SellersSDK.php │ └── SellersSDKInterface.php ├── ServiceApi │ ├── ServicesSDK.php │ └── ServicesSDKInterface.php ├── ShipmentInvoiceApi │ ├── ShipmentInvoicingSDK.php │ └── ShipmentInvoicingSDKInterface.php ├── ShippingApi │ ├── ShippingSDK.php │ └── ShippingSDKInterface.php ├── SolicitationsApi │ ├── SolicitationsSDK.php │ └── SolicitationsSDKInterface.php ├── TokensApi │ ├── TokensSDK.php │ └── TokensSDKInterface.php ├── UpdateInventoryApi │ ├── VendorDirectFulfillmentInventorySDK.php │ └── VendorDirectFulfillmentInventorySDKInterface.php ├── UploadsApi │ ├── UploadsSDK.php │ └── UploadsSDKInterface.php ├── VendorInvoiceApi │ ├── VendorDirectFulfillmentPaymentsSDK.php │ └── VendorDirectFulfillmentPaymentsSDKInterface.php ├── VendorInvoicesApi │ ├── VendorInvoicesSDK.php │ └── VendorInvoicesSDKInterface.php ├── VendorOrdersApi │ ├── VendorDirectFulfillmentOrdersSDK.php │ ├── VendorDirectFulfillmentOrdersSDKInterface.php │ ├── VendorOrdersSDK.php │ └── VendorOrdersSDKInterface.php ├── VendorShippingApi │ ├── VendorDirectFulfillmentShippingSDK.php │ ├── VendorDirectFulfillmentShippingSDKInterface.php │ ├── VendorShipmentsSDK.php │ └── VendorShipmentsSDKInterface.php ├── VendorShippingLabelsApi │ ├── VendorDirectFulfillmentShippingSDK.php │ └── VendorDirectFulfillmentShippingSDKInterface.php └── VendorTransactionApi │ ├── VendorDirectFulfillmentTransactionsSDK.php │ ├── VendorDirectFulfillmentTransactionsSDKInterface.php │ ├── VendorTransactionStatusSDK.php │ └── VendorTransactionStatusSDKInterface.php ├── Configuration.php ├── Configuration └── LoggerConfiguration.php ├── Exception ├── ApiException.php ├── AssertionException.php ├── Exception.php └── InvalidArgumentException.php ├── Extension.php ├── Extensions.php ├── HttpFactory.php ├── HttpSignatureHeaders.php ├── IdGenerator.php ├── IdGenerator └── UniqidGenerator.php ├── Marketplace.php ├── Model ├── APlus │ ├── AplusPaginatedResponse.php │ ├── AplusResponse.php │ ├── AsinBadge.php │ ├── AsinMetadata.php │ ├── ColorType.php │ ├── ContentBadge.php │ ├── ContentDocument.php │ ├── ContentMetadata.php │ ├── ContentMetadataRecord.php │ ├── ContentModule.php │ ├── ContentModuleType.php │ ├── ContentRecord.php │ ├── ContentStatus.php │ ├── ContentType.php │ ├── Decorator.php │ ├── DecoratorType.php │ ├── Error.php │ ├── ErrorList.php │ ├── GetContentDocumentResponse.php │ ├── ImageComponent.php │ ├── ImageCropSpecification.php │ ├── ImageDimensions.php │ ├── ImageOffsets.php │ ├── IntegerWithUnits.php │ ├── ListContentDocumentAsinRelationsResponse.php │ ├── ParagraphComponent.php │ ├── PlainTextItem.php │ ├── PositionType.php │ ├── PostContentDocumentApprovalSubmissionResponse.php │ ├── PostContentDocumentAsinRelationsRequest.php │ ├── PostContentDocumentAsinRelationsResponse.php │ ├── PostContentDocumentRequest.php │ ├── PostContentDocumentResponse.php │ ├── PostContentDocumentSuspendSubmissionResponse.php │ ├── PublishRecord.php │ ├── SearchContentDocumentsResponse.php │ ├── SearchContentPublishRecordsResponse.php │ ├── StandardCompanyLogoModule.php │ ├── StandardComparisonProductBlock.php │ ├── StandardComparisonTableModule.php │ ├── StandardFourImageTextModule.php │ ├── StandardFourImageTextQuadrantModule.php │ ├── StandardHeaderImageTextModule.php │ ├── StandardHeaderTextListBlock.php │ ├── StandardImageCaptionBlock.php │ ├── StandardImageSidebarModule.php │ ├── StandardImageTextBlock.php │ ├── StandardImageTextCaptionBlock.php │ ├── StandardImageTextOverlayModule.php │ ├── StandardMultipleImageTextModule.php │ ├── StandardProductDescriptionModule.php │ ├── StandardSingleImageHighlightsModule.php │ ├── StandardSingleImageSpecsDetailModule.php │ ├── StandardSingleSideImageModule.php │ ├── StandardTechSpecsModule.php │ ├── StandardTextBlock.php │ ├── StandardTextListBlock.php │ ├── StandardTextModule.php │ ├── StandardTextPairBlock.php │ ├── StandardThreeImageTextModule.php │ ├── TextComponent.php │ ├── TextItem.php │ └── ValidateContentDocumentAsinRelationsResponse.php ├── ApplicationManagement │ ├── Error.php │ └── ErrorList.php ├── CatalogItem │ ├── BrandRefinement.php │ ├── ClassificationRefinement.php │ ├── Dimension.php │ ├── Dimensions.php │ ├── Error.php │ ├── ErrorList.php │ ├── Item.php │ ├── ItemBrowseClassification.php │ ├── ItemBrowseClassificationsByMarketplace.php │ ├── ItemClassificationSalesRank.php │ ├── ItemContributor.php │ ├── ItemContributorRole.php │ ├── ItemDimensionsByMarketplace.php │ ├── ItemDisplayGroupSalesRank.php │ ├── ItemIdentifier.php │ ├── ItemIdentifiersByMarketplace.php │ ├── ItemImage.php │ ├── ItemImagesByMarketplace.php │ ├── ItemProductTypeByMarketplace.php │ ├── ItemRelationship.php │ ├── ItemRelationshipsByMarketplace.php │ ├── ItemSalesRanksByMarketplace.php │ ├── ItemSearchResults.php │ ├── ItemSummaryByMarketplace.php │ ├── ItemVariationTheme.php │ ├── ItemVendorDetailsByMarketplace.php │ ├── ItemVendorDetailsCategory.php │ ├── Pagination.php │ └── Refinements.php ├── FBAInbound │ ├── Error.php │ ├── GetItemEligibilityPreviewResponse.php │ └── ItemEligibilityPreview.php ├── FBAInventory │ ├── AddInventoryRequest.php │ ├── AddInventoryResponse.php │ ├── CreateInventoryItemRequest.php │ ├── CreateInventoryItemResponse.php │ ├── DeleteInventoryItemResponse.php │ ├── Error.php │ ├── GetInventorySummariesResponse.php │ ├── GetInventorySummariesResult.php │ ├── Granularity.php │ ├── InventoryDetails.php │ ├── InventoryItem.php │ ├── InventorySummary.php │ ├── Pagination.php │ ├── ResearchingQuantity.php │ ├── ResearchingQuantityEntry.php │ ├── ReservedQuantity.php │ └── UnfulfillableQuantity.php ├── Feeds │ ├── CreateFeedDocumentResponse.php │ ├── CreateFeedDocumentSpecification.php │ ├── CreateFeedResponse.php │ ├── CreateFeedSpecification.php │ ├── Error.php │ ├── ErrorList.php │ ├── Feed.php │ ├── FeedDocument.php │ └── GetFeedsResponse.php ├── Finances │ ├── FinancialEvents │ │ ├── AdhocDisbursementEvent.php │ │ ├── AdjustmentEvent.php │ │ ├── AdjustmentItem.php │ │ ├── AffordabilityExpenseEvent.php │ │ ├── CapacityReservationBillingEvent.php │ │ ├── ChargeComponent.php │ │ ├── ChargeInstrument.php │ │ ├── ChargeRefundEvent.php │ │ ├── ChargeRefundTransaction.php │ │ ├── CouponPaymentEvent.php │ │ ├── Currency.php │ │ ├── DebtRecoveryEvent.php │ │ ├── DebtRecoveryItem.php │ │ ├── DirectPayment.php │ │ ├── Error.php │ │ ├── FBALiquidationEvent.php │ │ ├── FailedAdhocDisbursementEvent.php │ │ ├── FeeComponent.php │ │ ├── FinancialEventGroup.php │ │ ├── FinancialEvents.php │ │ ├── ImagingServicesFeeEvent.php │ │ ├── ListFinancialEventGroupsPayload.php │ │ ├── ListFinancialEventGroupsResponse.php │ │ ├── ListFinancialEventsPayload.php │ │ ├── ListFinancialEventsResponse.php │ │ ├── LoanServicingEvent.php │ │ ├── NetworkComminglingTransactionEvent.php │ │ ├── PayWithAmazonEvent.php │ │ ├── ProductAdsPaymentEvent.php │ │ ├── Promotion.php │ │ ├── RemovalShipmentAdjustmentEvent.php │ │ ├── RemovalShipmentEvent.php │ │ ├── RemovalShipmentItem.php │ │ ├── RemovalShipmentItemAdjustment.php │ │ ├── RentalTransactionEvent.php │ │ ├── RetrochargeEvent.php │ │ ├── SAFETReimbursementEvent.php │ │ ├── SAFETReimbursementItem.php │ │ ├── SellerDealPaymentEvent.php │ │ ├── SellerReviewEnrollmentPaymentEvent.php │ │ ├── ServiceFeeEvent.php │ │ ├── ShipmentEvent.php │ │ ├── ShipmentItem.php │ │ ├── SolutionProviderCreditEvent.php │ │ ├── TDSReimbursementEvent.php │ │ ├── TaxWithheldComponent.php │ │ ├── TaxWithholdingEvent.php │ │ ├── TaxWithholdingPeriod.php │ │ ├── TrialShipmentEvent.php │ │ └── ValueAddedServiceChargeEvent.php │ ├── FinancialTransactions │ │ ├── AmazonPayContext.php │ │ ├── Breakdown.php │ │ ├── Context.php │ │ ├── Currency.php │ │ ├── DeferredContext.php │ │ ├── Error.php │ │ ├── ErrorList.php │ │ ├── Item.php │ │ ├── ItemRelatedIdentifier.php │ │ ├── ListTransactionsResponse.php │ │ ├── MarketplaceDetails.php │ │ ├── PaymentsContext.php │ │ ├── ProductContext.php │ │ ├── RelatedIdentifier.php │ │ ├── SellingPartnerMetadata.php │ │ ├── TimeRangeContext.php │ │ └── Transaction.php │ └── FinancialTransfers │ │ ├── AssignmentType.php │ │ ├── Error.php │ │ ├── ErrorList.php │ │ ├── ExpiryDate.php │ │ ├── GetPaymentMethodsResponse.php │ │ ├── InitiatePayoutRequest.php │ │ ├── InitiatePayoutResponse.php │ │ ├── PaymentMethodDetails.php │ │ └── PaymentMethodType.php ├── FulfillmentInbound │ ├── Address.php │ ├── AddressInput.php │ ├── AllOwnersConstraint.php │ ├── AppointmentSlot.php │ ├── AppointmentSlotTime.php │ ├── Box.php │ ├── BoxContentInformationSource.php │ ├── BoxInput.php │ ├── BoxRequirements.php │ ├── BoxUpdateInput.php │ ├── CancelInboundPlanResponse.php │ ├── CancelSelfShipAppointmentRequest.php │ ├── CancelSelfShipAppointmentResponse.php │ ├── Carrier.php │ ├── CarrierAppointment.php │ ├── ComplianceDetail.php │ ├── ConfirmDeliveryWindowOptionsResponse.php │ ├── ConfirmPackingOptionResponse.php │ ├── ConfirmPlacementOptionResponse.php │ ├── ConfirmShipmentContentUpdatePreviewResponse.php │ ├── ConfirmTransportationOptionsRequest.php │ ├── ConfirmTransportationOptionsResponse.php │ ├── ContactInformation.php │ ├── ContentUpdatePreview.php │ ├── CreateInboundPlanRequest.php │ ├── CreateInboundPlanResponse.php │ ├── CreateMarketplaceItemLabelsRequest.php │ ├── CreateMarketplaceItemLabelsResponse.php │ ├── Currency.php │ ├── CustomPlacementInput.php │ ├── Dates.php │ ├── DeliveryWindowOption.php │ ├── Dimensions.php │ ├── DocumentDownload.php │ ├── Error.php │ ├── ErrorList.php │ ├── FreightInformation.php │ ├── GenerateDeliveryWindowOptionsResponse.php │ ├── GeneratePackingOptionsResponse.php │ ├── GeneratePlacementOptionsRequest.php │ ├── GeneratePlacementOptionsResponse.php │ ├── GenerateSelfShipAppointmentSlotsRequest.php │ ├── GenerateSelfShipAppointmentSlotsResponse.php │ ├── GenerateShipmentContentUpdatePreviewsRequest.php │ ├── GenerateShipmentContentUpdatePreviewsResponse.php │ ├── GenerateTransportationOptionsRequest.php │ ├── GenerateTransportationOptionsResponse.php │ ├── GetDeliveryChallanDocumentResponse.php │ ├── GetSelfShipAppointmentSlotsResponse.php │ ├── InboundOperationStatus.php │ ├── InboundPlan.php │ ├── InboundPlanSummary.php │ ├── Incentive.php │ ├── Item.php │ ├── ItemInput.php │ ├── ItemLabelPageType.php │ ├── LabelOwner.php │ ├── LabelPrintType.php │ ├── ListDeliveryWindowOptionsResponse.php │ ├── ListInboundPlanBoxesResponse.php │ ├── ListInboundPlanItemsResponse.php │ ├── ListInboundPlanPalletsResponse.php │ ├── ListInboundPlansResponse.php │ ├── ListItemComplianceDetailsResponse.php │ ├── ListPackingGroupBoxesResponse.php │ ├── ListPackingGroupItemsResponse.php │ ├── ListPackingOptionsResponse.php │ ├── ListPlacementOptionsResponse.php │ ├── ListPrepDetailsResponse.php │ ├── ListShipmentBoxesResponse.php │ ├── ListShipmentContentUpdatePreviewsResponse.php │ ├── ListShipmentItemsResponse.php │ ├── ListShipmentPalletsResponse.php │ ├── ListTransportationOptionsResponse.php │ ├── LtlTrackingDetail.php │ ├── LtlTrackingDetailInput.php │ ├── MskuPrepDetail.php │ ├── MskuPrepDetailInput.php │ ├── MskuQuantity.php │ ├── OperationProblem.php │ ├── OperationStatus.php │ ├── OwnerConstraint.php │ ├── PackageGroupingInput.php │ ├── PackingConfiguration.php │ ├── PackingOption.php │ ├── PackingOptionSummary.php │ ├── Pagination.php │ ├── Pallet.php │ ├── PalletInput.php │ ├── PlacementOption.php │ ├── PlacementOptionSummary.php │ ├── PrepCategory.php │ ├── PrepInstruction.php │ ├── PrepOwner.php │ ├── PrepType.php │ ├── Quote.php │ ├── ReasonComment.php │ ├── Region.php │ ├── RequestedUpdates.php │ ├── ScheduleSelfShipAppointmentRequest.php │ ├── ScheduleSelfShipAppointmentResponse.php │ ├── SelectedDeliveryWindow.php │ ├── SelfShipAppointmentDetails.php │ ├── SelfShipAppointmentSlotsAvailability.php │ ├── SetPackingInformationRequest.php │ ├── SetPackingInformationResponse.php │ ├── SetPrepDetailsRequest.php │ ├── SetPrepDetailsResponse.php │ ├── Shipment.php │ ├── ShipmentDestination.php │ ├── ShipmentSource.php │ ├── ShipmentSummary.php │ ├── ShipmentTransportationConfiguration.php │ ├── ShippingConfiguration.php │ ├── ShippingRequirements.php │ ├── SpdTrackingDetail.php │ ├── SpdTrackingDetailInput.php │ ├── SpdTrackingItem.php │ ├── SpdTrackingItemInput.php │ ├── Stackability.php │ ├── TaxDetails.php │ ├── TaxRate.php │ ├── TrackingDetails.php │ ├── TrackingDetailsInput.php │ ├── TransportationOption.php │ ├── TransportationSelection.php │ ├── UnitOfMeasurement.php │ ├── UnitOfWeight.php │ ├── UpdateInboundPlanNameRequest.php │ ├── UpdateItemComplianceDetailsRequest.php │ ├── UpdateItemComplianceDetailsResponse.php │ ├── UpdateShipmentNameRequest.php │ ├── UpdateShipmentSourceAddressRequest.php │ ├── UpdateShipmentSourceAddressResponse.php │ ├── UpdateShipmentTrackingDetailsRequest.php │ ├── UpdateShipmentTrackingDetailsResponse.php │ ├── Weight.php │ ├── WeightRange.php │ ├── Window.php │ └── WindowInput.php ├── FulfillmentInboundV0 │ ├── ASINPrepInstructions.php │ ├── Address.php │ ├── AmazonPrepFeesDetails.php │ ├── Amount.php │ ├── BarcodeInstruction.php │ ├── BillOfLadingDownloadURL.php │ ├── BoxContentsFeeDetails.php │ ├── BoxContentsSource.php │ ├── CurrencyCode.php │ ├── Error.php │ ├── ErrorReason.php │ ├── GetBillOfLadingResponse.php │ ├── GetLabelsResponse.php │ ├── GetPrepInstructionsResponse.php │ ├── GetPrepInstructionsResult.php │ ├── GetShipmentItemsResponse.php │ ├── GetShipmentItemsResult.php │ ├── GetShipmentsResponse.php │ ├── GetShipmentsResult.php │ ├── InboundShipmentInfo.php │ ├── InboundShipmentItem.php │ ├── InvalidASIN.php │ ├── InvalidSKU.php │ ├── LabelDownloadURL.php │ ├── LabelPrepType.php │ ├── PrepDetails.php │ ├── PrepGuidance.php │ ├── PrepInstruction.php │ ├── PrepOwner.php │ ├── SKUPrepInstructions.php │ └── ShipmentStatus.php ├── FulfillmentOutbound │ ├── AdditionalLocationInfo.php │ ├── Address.php │ ├── Amount.php │ ├── CODSettings.php │ ├── CancelFulfillmentOrderResponse.php │ ├── CreateFulfillmentOrderItem.php │ ├── CreateFulfillmentOrderRequest.php │ ├── CreateFulfillmentOrderResponse.php │ ├── CreateFulfillmentReturnRequest.php │ ├── CreateFulfillmentReturnResponse.php │ ├── CreateFulfillmentReturnResult.php │ ├── CreateReturnItem.php │ ├── CurrentStatus.php │ ├── DateRange.php │ ├── DeliveryDocument.php │ ├── DeliveryInformation.php │ ├── DeliveryMessage.php │ ├── DeliveryOffer.php │ ├── DeliveryPolicy.php │ ├── DeliveryPreferences.php │ ├── DeliveryWindow.php │ ├── Destination.php │ ├── DropOffLocation.php │ ├── Error.php │ ├── EventCode.php │ ├── Feature.php │ ├── FeatureSettings.php │ ├── FeatureSku.php │ ├── Fee.php │ ├── FulfillmentAction.php │ ├── FulfillmentOrder.php │ ├── FulfillmentOrderItem.php │ ├── FulfillmentOrderStatus.php │ ├── FulfillmentPolicy.php │ ├── FulfillmentPreview.php │ ├── FulfillmentPreviewItem.php │ ├── FulfillmentPreviewShipment.php │ ├── FulfillmentReturnItemStatus.php │ ├── FulfillmentShipment.php │ ├── FulfillmentShipmentItem.php │ ├── FulfillmentShipmentPackage.php │ ├── GetDeliveryOffersProduct.php │ ├── GetDeliveryOffersRequest.php │ ├── GetDeliveryOffersResponse.php │ ├── GetDeliveryOffersResult.php │ ├── GetDeliveryOffersTerms.php │ ├── GetFeatureInventoryResponse.php │ ├── GetFeatureInventoryResult.php │ ├── GetFeatureSkuResponse.php │ ├── GetFeatureSkuResult.php │ ├── GetFeaturesResponse.php │ ├── GetFeaturesResult.php │ ├── GetFulfillmentOrderResponse.php │ ├── GetFulfillmentOrderResult.php │ ├── GetFulfillmentPreviewItem.php │ ├── GetFulfillmentPreviewRequest.php │ ├── GetFulfillmentPreviewResponse.php │ ├── GetFulfillmentPreviewResult.php │ ├── GetPackageTrackingDetailsResponse.php │ ├── InvalidItemReason.php │ ├── InvalidItemReasonCode.php │ ├── InvalidReturnItem.php │ ├── ListAllFulfillmentOrdersResponse.php │ ├── ListAllFulfillmentOrdersResult.php │ ├── ListReturnReasonCodesResponse.php │ ├── ListReturnReasonCodesResult.php │ ├── LockerDetails.php │ ├── Money.php │ ├── Origin.php │ ├── PackageTrackingDetails.php │ ├── PaymentInformation.php │ ├── ProductIdentifier.php │ ├── ReasonCodeDetails.php │ ├── ReturnAuthorization.php │ ├── ReturnItem.php │ ├── ReturnItemDisposition.php │ ├── ScheduledDeliveryInfo.php │ ├── ShippingSpeedCategory.php │ ├── SubmitFulfillmentOrderStatusUpdateRequest.php │ ├── SubmitFulfillmentOrderStatusUpdateResponse.php │ ├── TrackingAddress.php │ ├── TrackingEvent.php │ ├── UnfulfillablePreviewItem.php │ ├── UpdateFulfillmentOrderItem.php │ ├── UpdateFulfillmentOrderRequest.php │ ├── UpdateFulfillmentOrderResponse.php │ ├── VariablePrecisionAddress.php │ └── Weight.php ├── ListingsItems │ ├── Audience.php │ ├── Error.php │ ├── ErrorList.php │ ├── FulfillmentAvailability.php │ ├── Issue.php │ ├── IssueEnforcementAction.php │ ├── IssueEnforcements.php │ ├── IssueExemption.php │ ├── Item.php │ ├── ItemIdentifiersByMarketplace.php │ ├── ItemImage.php │ ├── ItemOfferByMarketplace.php │ ├── ItemProcurement.php │ ├── ItemProductTypeByMarketplace.php │ ├── ItemRelationship.php │ ├── ItemRelationshipsByMarketplace.php │ ├── ItemSearchResults.php │ ├── ItemSummaryByMarketplace.php │ ├── ItemVariationTheme.php │ ├── ListingsItemPatchRequest.php │ ├── ListingsItemPutRequest.php │ ├── ListingsItemSubmissionResponse.php │ ├── Money.php │ ├── Pagination.php │ ├── PatchOperation.php │ └── Points.php ├── MerchantFulfillment │ ├── AdditionalInputs.php │ ├── AdditionalSellerInput.php │ ├── AdditionalSellerInputs.php │ ├── Address.php │ ├── AvailableCarrierWillPickUpOption.php │ ├── AvailableDeliveryExperienceOption.php │ ├── AvailableShippingServiceOptions.php │ ├── Benefits.php │ ├── CancelShipmentResponse.php │ ├── CarrierWillPickUpOption.php │ ├── Constraint.php │ ├── CreateShipmentRequest.php │ ├── CreateShipmentResponse.php │ ├── CurrencyAmount.php │ ├── DangerousGoodsDetails.php │ ├── DeliveryExperienceOption.php │ ├── DeliveryExperienceType.php │ ├── Error.php │ ├── ExcludedBenefit.php │ ├── FileContents.php │ ├── FileType.php │ ├── GetAdditionalSellerInputsRequest.php │ ├── GetAdditionalSellerInputsResponse.php │ ├── GetAdditionalSellerInputsResult.php │ ├── GetEligibleShipmentServicesRequest.php │ ├── GetEligibleShipmentServicesResponse.php │ ├── GetEligibleShipmentServicesResult.php │ ├── GetShipmentResponse.php │ ├── HazmatType.php │ ├── InputTargetType.php │ ├── Item.php │ ├── ItemLevelFields.php │ ├── Label.php │ ├── LabelCustomization.php │ ├── LabelDimensions.php │ ├── LabelFormat.php │ ├── LabelFormatOption.php │ ├── LabelFormatOptionRequest.php │ ├── Length.php │ ├── LiquidVolume.php │ ├── PackageDimensions.php │ ├── PredefinedPackageDimensions.php │ ├── RejectedShippingService.php │ ├── SellerInputDefinition.php │ ├── Shipment.php │ ├── ShipmentRequestDetails.php │ ├── ShipmentStatus.php │ ├── ShippingOfferingFilter.php │ ├── ShippingService.php │ ├── ShippingServiceOptions.php │ ├── StandardIdForLabel.php │ ├── TemporarilyUnavailableCarrier.php │ ├── TermsAndConditionsNotAcceptedCarrier.php │ ├── UnitOfLength.php │ ├── UnitOfWeight.php │ └── Weight.php ├── Messaging │ ├── Attachment.php │ ├── CreateAmazonMotorsRequest.php │ ├── CreateAmazonMotorsResponse.php │ ├── CreateConfirmCustomizationDetailsRequest.php │ ├── CreateConfirmCustomizationDetailsResponse.php │ ├── CreateConfirmDeliveryDetailsRequest.php │ ├── CreateConfirmDeliveryDetailsResponse.php │ ├── CreateConfirmOrderDetailsRequest.php │ ├── CreateConfirmOrderDetailsResponse.php │ ├── CreateConfirmServiceDetailsRequest.php │ ├── CreateConfirmServiceDetailsResponse.php │ ├── CreateDigitalAccessKeyRequest.php │ ├── CreateDigitalAccessKeyResponse.php │ ├── CreateLegalDisclosureRequest.php │ ├── CreateLegalDisclosureResponse.php │ ├── CreateNegativeFeedbackRemovalResponse.php │ ├── CreateUnexpectedProblemRequest.php │ ├── CreateUnexpectedProblemResponse.php │ ├── CreateWarrantyRequest.php │ ├── CreateWarrantyResponse.php │ ├── Error.php │ ├── GetAttributesResponse.php │ ├── GetAttributesResponseBuyer.php │ ├── GetMessagingActionResponse.php │ ├── GetMessagingActionResponseEmbedded.php │ ├── GetMessagingActionResponseLinks.php │ ├── GetMessagingActionsForOrderResponse.php │ ├── GetMessagingActionsForOrderResponseEmbedded.php │ ├── GetMessagingActionsForOrderResponseLinks.php │ ├── GetSchemaResponse.php │ ├── GetSchemaResponseLinks.php │ ├── InvoiceRequest.php │ ├── InvoiceResponse.php │ ├── LinkObject.php │ └── MessagingAction.php ├── Notifications │ ├── AggregationFilter.php │ ├── AggregationSettings.php │ ├── AggregationTimePeriod.php │ ├── CreateDestinationRequest.php │ ├── CreateDestinationResponse.php │ ├── CreateSubscriptionRequest.php │ ├── CreateSubscriptionResponse.php │ ├── DeleteDestinationResponse.php │ ├── DeleteSubscriptionByIdResponse.php │ ├── Destination.php │ ├── DestinationResource.php │ ├── DestinationResourceSpecification.php │ ├── Error.php │ ├── EventBridgeResource.php │ ├── EventBridgeResourceSpecification.php │ ├── EventFilter.php │ ├── GetDestinationResponse.php │ ├── GetDestinationsResponse.php │ ├── GetSubscriptionByIdResponse.php │ ├── GetSubscriptionResponse.php │ ├── MarketplaceFilter.php │ ├── OrderChangeTypeEnum.php │ ├── OrderChangeTypeFilter.php │ ├── ProcessingDirective.php │ ├── SqsResource.php │ └── Subscription.php ├── Orders │ ├── Address.php │ ├── AddressExtendedFields.php │ ├── AmazonPrograms.php │ ├── AssociatedItem.php │ ├── AssociationType.php │ ├── AutomatedShippingSettings.php │ ├── BusinessHours.php │ ├── BuyerCustomizedInfoDetail.php │ ├── BuyerInfo.php │ ├── BuyerRequestedCancel.php │ ├── BuyerTaxInfo.php │ ├── BuyerTaxInformation.php │ ├── ConfirmShipmentErrorResponse.php │ ├── ConfirmShipmentOrderItem.php │ ├── ConfirmShipmentRequest.php │ ├── ConstraintType.php │ ├── DeliveryPreferences.php │ ├── EasyShipShipmentStatus.php │ ├── ElectronicInvoiceStatus.php │ ├── Error.php │ ├── ExceptionDates.php │ ├── FulfillmentInstruction.php │ ├── GetOrderAddressResponse.php │ ├── GetOrderBuyerInfoResponse.php │ ├── GetOrderItemsBuyerInfoResponse.php │ ├── GetOrderItemsResponse.php │ ├── GetOrderRegulatedInfoResponse.php │ ├── GetOrderResponse.php │ ├── GetOrdersResponse.php │ ├── ItemBuyerInfo.php │ ├── MarketplaceTaxInfo.php │ ├── Measurement.php │ ├── Money.php │ ├── OpenInterval.php │ ├── OpenTimeInterval.php │ ├── Order.php │ ├── OrderAddress.php │ ├── OrderBuyerInfo.php │ ├── OrderItem.php │ ├── OrderItemBuyerInfo.php │ ├── OrderItemsBuyerInfoList.php │ ├── OrderItemsInner.php │ ├── OrderItemsList.php │ ├── OrderRegulatedInfo.php │ ├── OrdersList.php │ ├── OtherDeliveryAttributes.php │ ├── PackageDetail.php │ ├── PaymentExecutionDetailItem.php │ ├── PointsGrantedDetail.php │ ├── PreferredDeliveryTime.php │ ├── PrescriptionDetail.php │ ├── ProductInfoDetail.php │ ├── RegulatedInformation.php │ ├── RegulatedInformationField.php │ ├── RegulatedOrderVerificationStatus.php │ ├── RejectionReason.php │ ├── ShipmentStatus.php │ ├── ShippingConstraints.php │ ├── SubstitutionOption.php │ ├── SubstitutionPreferences.php │ ├── TaxClassification.php │ ├── TaxCollection.php │ ├── UpdateShipmentStatusErrorResponse.php │ ├── UpdateShipmentStatusRequest.php │ ├── UpdateVerificationStatusErrorResponse.php │ ├── UpdateVerificationStatusRequest.php │ ├── UpdateVerificationStatusRequestBody.php │ ├── ValidVerificationDetail.php │ ├── VerificationDetails.php │ └── VerificationStatus.php ├── ProductFees │ ├── Error.php │ ├── FeeDetail.php │ ├── FeesEstimate.php │ ├── FeesEstimateByIdRequest.php │ ├── FeesEstimateError.php │ ├── FeesEstimateIdentifier.php │ ├── FeesEstimateRequest.php │ ├── FeesEstimateResult.php │ ├── GetMyFeesEstimateRequest.php │ ├── GetMyFeesEstimateResponse.php │ ├── GetMyFeesEstimateResult.php │ ├── GetMyFeesEstimatesErrorList.php │ ├── IdType.php │ ├── IncludedFeeDetail.php │ ├── MoneyType.php │ ├── OptionalFulfillmentProgram.php │ ├── Points.php │ └── PriceToEstimateFees.php ├── ProductPricing │ ├── ASINIdentifier.php │ ├── BatchOffersRequestParams.php │ ├── BatchOffersResponse.php │ ├── BatchRequest.php │ ├── BuyBoxPriceType.php │ ├── CompetitivePriceType.php │ ├── CompetitivePricingType.php │ ├── ConditionType.php │ ├── CustomerType.php │ ├── DetailedShippingTimeType.php │ ├── Error.php │ ├── Errors.php │ ├── FulfillmentChannelType.php │ ├── GetItemOffersBatchRequest.php │ ├── GetItemOffersBatchResponse.php │ ├── GetListingOffersBatchRequest.php │ ├── GetListingOffersBatchResponse.php │ ├── GetOffersHttpStatusLine.php │ ├── GetOffersResponse.php │ ├── GetOffersResult.php │ ├── GetPricingResponse.php │ ├── HttpMethod.php │ ├── HttpResponseHeaders.php │ ├── IdentifierType.php │ ├── ItemCondition.php │ ├── ItemIdentifier.php │ ├── ItemOffersRequest.php │ ├── ItemOffersRequestParams.php │ ├── ItemOffersResponse.php │ ├── ListingOffersRequest.php │ ├── ListingOffersRequestParams.php │ ├── ListingOffersResponse.php │ ├── LowestPriceType.php │ ├── MoneyType.php │ ├── OfferCountType.php │ ├── OfferCustomerType.php │ ├── OfferDetail.php │ ├── OfferListingCountType.php │ ├── OfferType.php │ ├── Points.php │ ├── Price.php │ ├── PriceType.php │ ├── PrimeInformationType.php │ ├── Product.php │ ├── QuantityDiscountPriceType.php │ ├── QuantityDiscountType.php │ ├── SalesRankType.php │ ├── SellerFeedbackType.php │ ├── SellerSKUIdentifier.php │ ├── ShipsFromType.php │ └── Summary.php ├── ProductTypesDefinitions │ ├── Error.php │ ├── ErrorList.php │ ├── ProductType.php │ ├── ProductTypeDefinition.php │ ├── ProductTypeList.php │ ├── ProductTypeVersion.php │ ├── PropertyGroup.php │ ├── SchemaLink.php │ └── SchemaLinkLink.php ├── Reports │ ├── CreateReportResponse.php │ ├── CreateReportScheduleResponse.php │ ├── CreateReportScheduleSpecification.php │ ├── CreateReportSpecification.php │ ├── Error.php │ ├── ErrorList.php │ ├── GetReportsResponse.php │ ├── Report.php │ ├── ReportDocument.php │ ├── ReportSchedule.php │ └── ReportScheduleList.php ├── Sales │ ├── Error.php │ ├── GetOrderMetricsResponse.php │ ├── Money.php │ └── OrderMetricsInterval.php ├── Sellers │ ├── Account.php │ ├── Address.php │ ├── Business.php │ ├── Error.php │ ├── GetAccountResponse.php │ ├── GetMarketplaceParticipationsResponse.php │ ├── Marketplace.php │ ├── MarketplaceParticipation.php │ ├── Participation.php │ └── PrimaryContact.php ├── Services │ ├── AddAppointmentRequest.php │ ├── Address.php │ ├── Appointment.php │ ├── AppointmentResource.php │ ├── AppointmentSlot.php │ ├── AppointmentSlotReport.php │ ├── AppointmentTime.php │ ├── AppointmentTimeInput.php │ ├── AssignAppointmentResourcesRequest.php │ ├── AssignAppointmentResourcesResponse.php │ ├── AssignAppointmentResourcesResponsePayload.php │ ├── AssociatedItem.php │ ├── AvailabilityRecord.php │ ├── Buyer.php │ ├── CancelReservationResponse.php │ ├── CancelServiceJobByServiceJobIdResponse.php │ ├── CapacityType.php │ ├── CompleteServiceJobByServiceJobIdResponse.php │ ├── CreateReservationRecord.php │ ├── CreateReservationRequest.php │ ├── CreateReservationResponse.php │ ├── CreateServiceDocumentUploadDestination.php │ ├── DayOfWeek.php │ ├── EncryptionDetails.php │ ├── Error.php │ ├── FixedSlot.php │ ├── FixedSlotCapacity.php │ ├── FixedSlotCapacityErrors.php │ ├── FixedSlotCapacityQuery.php │ ├── FulfillmentDocument.php │ ├── FulfillmentTime.php │ ├── GetAppointmentSlotsResponse.php │ ├── GetServiceJobByServiceJobIdResponse.php │ ├── GetServiceJobsResponse.php │ ├── ItemDelivery.php │ ├── ItemDeliveryPromise.php │ ├── JobListing.php │ ├── Poa.php │ ├── RangeCapacity.php │ ├── RangeSlot.php │ ├── RangeSlotCapacity.php │ ├── RangeSlotCapacityErrors.php │ ├── RangeSlotCapacityQuery.php │ ├── Recurrence.php │ ├── RescheduleAppointmentRequest.php │ ├── Reservation.php │ ├── ScopeOfWork.php │ ├── Seller.php │ ├── ServiceDocumentUploadDestination.php │ ├── ServiceJob.php │ ├── ServiceJobProvider.php │ ├── ServiceLocation.php │ ├── ServiceUploadDocument.php │ ├── SetAppointmentFulfillmentDataRequest.php │ ├── SetAppointmentResponse.php │ ├── Technician.php │ ├── UpdateReservationRecord.php │ ├── UpdateReservationRequest.php │ ├── UpdateReservationResponse.php │ ├── UpdateScheduleRecord.php │ ├── UpdateScheduleRequest.php │ ├── UpdateScheduleResponse.php │ └── Warning.php ├── ShipmentInvoicing │ ├── Address.php │ ├── AddressTypeEnum.php │ ├── BuyerTaxInfo.php │ ├── Error.php │ ├── GetInvoiceStatusResponse.php │ ├── GetShipmentDetailsResponse.php │ ├── MarketplaceTaxInfo.php │ ├── Money.php │ ├── ShipmentDetail.php │ ├── ShipmentInvoiceStatus.php │ ├── ShipmentInvoiceStatusInfo.php │ ├── ShipmentInvoiceStatusResponse.php │ ├── ShipmentItem.php │ ├── SubmitInvoiceRequest.php │ ├── SubmitInvoiceResponse.php │ └── TaxClassification.php ├── Shipping │ ├── AcceptedRate.php │ ├── Account.php │ ├── Address.php │ ├── CancelShipmentResponse.php │ ├── Container.php │ ├── ContainerItem.php │ ├── ContainerSpecification.php │ ├── CreateShipmentRequest.php │ ├── CreateShipmentResponse.php │ ├── CreateShipmentResult.php │ ├── Currency.php │ ├── Dimensions.php │ ├── Error.php │ ├── Event.php │ ├── GetAccountResponse.php │ ├── GetRatesRequest.php │ ├── GetRatesResponse.php │ ├── GetRatesResult.php │ ├── GetShipmentResponse.php │ ├── GetTrackingInformationResponse.php │ ├── Label.php │ ├── LabelResult.php │ ├── LabelSpecification.php │ ├── Location.php │ ├── Party.php │ ├── PurchaseLabelsRequest.php │ ├── PurchaseLabelsResponse.php │ ├── PurchaseLabelsResult.php │ ├── PurchaseShipmentRequest.php │ ├── PurchaseShipmentResponse.php │ ├── PurchaseShipmentResult.php │ ├── Rate.php │ ├── RetrieveShippingLabelRequest.php │ ├── RetrieveShippingLabelResponse.php │ ├── RetrieveShippingLabelResult.php │ ├── ServiceRate.php │ ├── ServiceType.php │ ├── Shipment.php │ ├── ShippingPromiseSet.php │ ├── TimeRange.php │ ├── TrackingInformation.php │ ├── TrackingSummary.php │ └── Weight.php ├── Solicitations │ ├── CreateProductReviewAndSellerFeedbackSolicitationResponse.php │ ├── Error.php │ ├── GetSchemaResponse.php │ ├── GetSchemaResponseLinks.php │ ├── GetSolicitationActionResponse.php │ ├── GetSolicitationActionResponseEmbedded.php │ ├── GetSolicitationActionResponseLinks.php │ ├── GetSolicitationActionsForOrderResponse.php │ ├── GetSolicitationActionsForOrderResponseEmbedded.php │ ├── GetSolicitationActionsForOrderResponseLinks.php │ ├── LinkObject.php │ └── SolicitationsAction.php ├── Tokens │ ├── CreateRestrictedDataTokenRequest.php │ ├── CreateRestrictedDataTokenResponse.php │ ├── Error.php │ ├── ErrorList.php │ └── RestrictedResource.php ├── Uploads │ ├── CreateUploadDestinationResponse.php │ ├── Error.php │ └── UploadDestination.php ├── VendorDirectFulfillmentInventory │ ├── Error.php │ ├── InventoryUpdate.php │ ├── ItemDetails.php │ ├── ItemQuantity.php │ ├── PartyIdentification.php │ ├── SubmitInventoryUpdateRequest.php │ ├── SubmitInventoryUpdateResponse.php │ └── TransactionReference.php ├── VendorDirectFulfillmentOrders │ ├── AcknowledgementStatus.php │ ├── Address.php │ ├── BuyerCustomizedInfoDetail.php │ ├── Error.php │ ├── ErrorList.php │ ├── GiftDetails.php │ ├── ItemQuantity.php │ ├── Money.php │ ├── Order.php │ ├── OrderAcknowledgementItem.php │ ├── OrderDetails.php │ ├── OrderItem.php │ ├── OrderItemAcknowledgement.php │ ├── OrderList.php │ ├── Pagination.php │ ├── PartyIdentification.php │ ├── ScheduledDeliveryShipment.php │ ├── ShipmentDates.php │ ├── ShipmentDetails.php │ ├── SubmitAcknowledgementRequest.php │ ├── SubmitAcknowledgementResponse.php │ ├── TaxDetails.php │ ├── TaxItemDetails.php │ ├── TaxRegistrationDetails.php │ └── TransactionId.php ├── VendorDirectFulfillmentPayments │ ├── AdditionalDetails.php │ ├── Address.php │ ├── ChargeDetails.php │ ├── Error.php │ ├── InvoiceDetail.php │ ├── InvoiceItem.php │ ├── ItemQuantity.php │ ├── Money.php │ ├── PartyIdentification.php │ ├── SubmitInvoiceRequest.php │ ├── SubmitInvoiceResponse.php │ ├── TaxDetail.php │ ├── TaxRegistrationDetail.php │ └── TransactionReference.php ├── VendorDirectFulfillmentShipping │ ├── Address.php │ ├── CarrierId.php │ ├── Container.php │ ├── ContainerLabel.php │ ├── ContainerLabelFormat.php │ ├── CreateContainerLabelRequest.php │ ├── CreateContainerLabelResponse.php │ ├── CreateShippingLabelsRequest.php │ ├── CustomerInvoice.php │ ├── CustomerInvoiceList.php │ ├── Dimensions.php │ ├── Error.php │ ├── ErrorList.php │ ├── Item.php │ ├── ItemQuantity.php │ ├── LabelData.php │ ├── Package.php │ ├── PackedItem.php │ ├── PackingSlip.php │ ├── PackingSlipList.php │ ├── Pagination.php │ ├── PartyIdentification.php │ ├── ShipmentConfirmation.php │ ├── ShipmentDetails.php │ ├── ShipmentSchedule.php │ ├── ShipmentStatusUpdate.php │ ├── ShippingLabel.php │ ├── ShippingLabelList.php │ ├── ShippingLabelRequest.php │ ├── StatusUpdateDetails.php │ ├── SubmitShipmentConfirmationsRequest.php │ ├── SubmitShipmentStatusUpdatesRequest.php │ ├── SubmitShippingLabelsRequest.php │ ├── TaxRegistrationDetails.php │ ├── TransactionReference.php │ └── Weight.php ├── VendorDirectFulfillmentTransactions │ ├── Error.php │ ├── ErrorList.php │ ├── Transaction.php │ └── TransactionStatus.php ├── VendorInvoices │ ├── AdditionalDetails.php │ ├── Address.php │ ├── AllowanceDetails.php │ ├── ChargeDetails.php │ ├── CreditNoteDetails.php │ ├── Error.php │ ├── Invoice.php │ ├── InvoiceItem.php │ ├── ItemQuantity.php │ ├── Money.php │ ├── NetCostUnitOfMeasure.php │ ├── PartyIdentification.php │ ├── PaymentTerms.php │ ├── SubmitInvoicesRequest.php │ ├── SubmitInvoicesResponse.php │ ├── TaxDetails.php │ ├── TaxRegistrationDetails.php │ ├── TotalWeight.php │ └── TransactionId.php ├── VendorOrders │ ├── AcknowledgementStatusDetails.php │ ├── Address.php │ ├── Error.php │ ├── GetPurchaseOrderResponse.php │ ├── GetPurchaseOrdersResponse.php │ ├── GetPurchaseOrdersStatusResponse.php │ ├── ImportDetails.php │ ├── ItemQuantity.php │ ├── Money.php │ ├── Order.php │ ├── OrderAcknowledgement.php │ ├── OrderAcknowledgementItem.php │ ├── OrderDetails.php │ ├── OrderItem.php │ ├── OrderItemAcknowledgement.php │ ├── OrderItemStatus.php │ ├── OrderItemStatusAcknowledgementStatus.php │ ├── OrderItemStatusOrderedQuantity.php │ ├── OrderItemStatusReceivingStatus.php │ ├── OrderList.php │ ├── OrderListStatus.php │ ├── OrderStatus.php │ ├── OrderedQuantityDetails.php │ ├── Pagination.php │ ├── PartyIdentification.php │ ├── SubmitAcknowledgementRequest.php │ ├── SubmitAcknowledgementResponse.php │ ├── TaxRegistrationDetails.php │ └── TransactionId.php ├── VendorShipments │ ├── Address.php │ ├── CarrierDetails.php │ ├── Carton.php │ ├── CartonReferenceDetails.php │ ├── CollectFreightPickupDetails.php │ ├── ContainerIdentification.php │ ├── ContainerItem.php │ ├── ContainerSequenceNumbers.php │ ├── Containers.php │ ├── Dimensions.php │ ├── Duration.php │ ├── Error.php │ ├── Expiry.php │ ├── GetShipmentDetailsResponse.php │ ├── GetShipmentLabels.php │ ├── ImportDetails.php │ ├── InnerContainersDetails.php │ ├── Item.php │ ├── ItemDetails.php │ ├── ItemQuantity.php │ ├── LabelData.php │ ├── Location.php │ ├── Money.php │ ├── PackageItemDetails.php │ ├── PackedItems.php │ ├── PackedQuantity.php │ ├── Pagination.php │ ├── Pallet.php │ ├── PartyIdentification.php │ ├── PurchaseOrderItemDetails.php │ ├── PurchaseOrderItems.php │ ├── PurchaseOrders.php │ ├── Route.php │ ├── Shipment.php │ ├── ShipmentConfirmation.php │ ├── ShipmentDetails.php │ ├── ShipmentInformation.php │ ├── ShipmentMeasurements.php │ ├── ShipmentStatusDetails.php │ ├── Stop.php │ ├── SubmitShipmentConfirmationsRequest.php │ ├── SubmitShipmentConfirmationsResponse.php │ ├── SubmitShipments.php │ ├── TaxRegistrationDetails.php │ ├── TotalWeight.php │ ├── TransactionReference.php │ ├── TransportLabel.php │ ├── TransportShipmentMeasurements.php │ ├── TransportationDetails.php │ ├── TransportationDetailsForShipmentConfirmation.php │ ├── TransportationLabels.php │ ├── VendorDetails.php │ ├── Volume.php │ └── Weight.php ├── VendorTransactionStatus │ ├── Error.php │ ├── GetTransactionResponse.php │ ├── Transaction.php │ └── TransactionStatus.php └── WarehousingAndDistribution │ ├── Address.php │ ├── CarrierCode.php │ ├── CarrierCodeType.php │ ├── DimensionUnitOfMeasurement.php │ ├── DistributionPackage.php │ ├── DistributionPackageContents.php │ ├── DistributionPackageQuantity.php │ ├── DistributionPackageType.php │ ├── Error.php │ ├── ErrorList.php │ ├── ExpirationDetails.php │ ├── InboundShipment.php │ ├── InboundShipmentStatus.php │ ├── InboundShipmentSummary.php │ ├── InventoryDetails.php │ ├── InventoryListing.php │ ├── InventoryQuantity.php │ ├── InventorySummary.php │ ├── InventoryUnitOfMeasurement.php │ ├── LabelOwner.php │ ├── MeasurementData.php │ ├── PackageDimensions.php │ ├── PackageVolume.php │ ├── PackageWeight.php │ ├── PrepDetails.php │ ├── PrepInstruction.php │ ├── PrepOwner.php │ ├── ProductAttribute.php │ ├── ProductQuantity.php │ ├── ShipmentListing.php │ ├── SkuQuantity.php │ ├── VolumeUnitOfMeasurement.php │ └── WeightUnitOfMeasurement.php ├── ModelInterface.php ├── OAuth.php ├── ObjectSerializer.php ├── Regions.php ├── STSClient.php ├── STSClient └── Credentials.php ├── SellingPartnerSDK.php └── VendorSDK.php /.env.dist: -------------------------------------------------------------------------------- 1 | LWA_CLIENT_ID="changeme" 2 | LWA_CLIENT_SECRET="changeme" 3 | AWS_ACCESS_KEY="changeme" 4 | AWS_SECRET_KEY="changeme" 5 | SELLER_REFRESH_TOKEN="changeme" -------------------------------------------------------------------------------- /.phpstorm.meta.php: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | src 11 | 12 | 13 | 14 | 15 | 16 | tests/AmazonPHP/SellingPartner/Tests/Unit 17 | 18 | 19 | tests/AmazonPHP/SellingPartner/Tests/Functional 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /rector-php-sets.php: -------------------------------------------------------------------------------- 1 | parallel(seconds: 1200); 12 | 13 | $config->autoloadPaths([ 14 | __DIR__ , 15 | ]); 16 | 17 | $config->paths([ 18 | __DIR__ . '/src/AmazonPHP/SellingPartner/Api', 19 | __DIR__ . '/src/AmazonPHP/SellingPartner/Model', 20 | ]); 21 | 22 | $config->cacheClass(MemoryCacheStorage::class); 23 | 24 | $config->sets([ 25 | SetList::PHP_73, 26 | SetList::PHP_74, 27 | SetList::PHP_80, 28 | SetList::PHP_81, 29 | SetList::TYPE_DECLARATION, 30 | ]); 31 | }; 32 | -------------------------------------------------------------------------------- /resources/php-amazon-selling-partner-api/api_interface.mustache: -------------------------------------------------------------------------------- 1 | partial_header}} 12 | */ 13 | {{#operations}}interface {{packageName}}SDKInterface 14 | { 15 | public const API_NAME = '{{packageName}}'; 16 | 17 | {{#operation}} 18 | public const OPERATION_{{#lambda.uppercase}}{{operationId}}{{/lambda.uppercase}} = '{{operationId}}'; 19 | 20 | public const OPERATION_{{#lambda.uppercase}}{{operationId}}{{/lambda.uppercase}}_PATH = '{{path}}'; 21 | {{/operation}} 22 | 23 | {{#operation}} 24 | /** 25 | * Operation {{{operationId}}} 26 | {{#summary}} 27 | * 28 | * {{.}} 29 | {{/summary}} 30 | * 31 | {{#description}} 32 | * {{.}} 33 | * 34 | {{/description}} 35 | {{#vendorExtensions.x-group-parameters}} 36 | * Note: the input parameter is an associative array with the keys listed as the parameter name below 37 | * 38 | {{/vendorExtensions.x-group-parameters}} 39 | {{#servers}} 40 | {{#-first}} 41 | * This operation contains host(s) defined in the OpenAP spec. Use 'hostIndex' to select the host. 42 | {{/-first}} 43 | * URL: {{{url}}} 44 | {{#-last}} 45 | {{/-last}} 46 | {{/servers}} 47 | * @param AccessToken $accessToken 48 | * @param string $region 49 | {{#allParams}} 50 | * @param {{{dataType}}}{{^required}}|null{{/required}} ${{paramName}} {{#description}} {{description}}{{/description}}{{^description}} {{paramName}}{{/description}} {{#required}}(required){{/required}}{{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}} 51 | {{/allParams}} 52 | * 53 | * @throws ApiException on non-2xx response 54 | * @throws InvalidArgumentException 55 | * @return {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}null{{/returnType}} 56 | */ 57 | public function {{operationId}}(AccessToken $accessToken, string $region{{^vendorExtensions.x-group-parameters}}{{#allParams}}, ${{paramName}}{{^required}} = {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}{{/required}}{{^-last}}{{/-last}}{{/allParams}}{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}, $associative_array{{/vendorExtensions.x-group-parameters}}); 58 | {{/operation}} 59 | } 60 | {{/operations}} -------------------------------------------------------------------------------- /resources/php-amazon-selling-partner-api/model.mustache: -------------------------------------------------------------------------------- 1 | partial_header}} 19 | {{^isEnum}} 20 | * 21 | * @implements \ArrayAccess 22 | * @template TKey int|null 23 | * @template TValue mixed|null 24 | {{/isEnum}} 25 | */ 26 | {{#isEnum}}{{>model_enum}}{{/isEnum}}{{^isEnum}}{{>model_generic}}{{/isEnum}} 27 | {{/model}}{{/models}} -------------------------------------------------------------------------------- /resources/php-amazon-selling-partner-api/model_enum.mustache: -------------------------------------------------------------------------------- 1 | class {{classname}} 2 | { 3 | /** 4 | * Possible values of this enum 5 | */ 6 | {{#allowableValues}} 7 | {{#enumVars}} 8 | const {{{name}}} = {{{value}}}; 9 | 10 | {{/enumVars}} 11 | {{/allowableValues}} 12 | private string $value; 13 | 14 | /** 15 | * Gets allowable values of the enum 16 | * @return string[] 17 | */ 18 | public static function getAllowableEnumValues() 19 | { 20 | return [ 21 | {{#allowableValues}} 22 | {{#enumVars}} 23 | self::{{{name}}}{{^-last}}, 24 | {{/-last}} 25 | {{/enumVars}} 26 | {{/allowableValues}} 27 | 28 | ]; 29 | } 30 | 31 | public function __construct(string $value) 32 | { 33 | $this->value = $value; 34 | } 35 | 36 | public function toString(): string 37 | { 38 | return $this->value; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /resources/php-amazon-selling-partner-api/partial_header.mustache: -------------------------------------------------------------------------------- 1 | {{#appName}} 2 | * {{{.}}} 3 | * 4 | {{/appName}} 5 | {{#appDescription}} 6 | * {{{.}}} 7 | * 8 | {{/appDescription}} 9 | {{#version}} 10 | * The version of the OpenAPI document: {{{.}}} 11 | {{/version}} 12 | * 13 | * This class was auto-generated by https://openapi-generator.tech 14 | * Do not change it, it will be overwritten with next execution of /bin/generate.sh -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/AccessToken.php: -------------------------------------------------------------------------------- 1 | accessToken = $accessToken; 22 | $this->refreshToken = $refreshToken; 23 | $this->type = $type; 24 | $this->expiresIn = $expiresIn; 25 | $this->grantType = $grantType; 26 | } 27 | 28 | public static function fromJSON(string $tokenString, string $grantType) : self 29 | { 30 | $data = \json_decode($tokenString, true, 512, JSON_THROW_ON_ERROR); 31 | 32 | return new self( 33 | $data['access_token'], 34 | $grantType === 'client_credentials' ? '' : $data['refresh_token'], 35 | $data['token_type'], 36 | $data['expires_in'], 37 | $grantType 38 | ); 39 | } 40 | 41 | public function token() : string 42 | { 43 | return $this->accessToken; 44 | } 45 | 46 | public function refreshToken() : string 47 | { 48 | return $this->refreshToken; 49 | } 50 | 51 | public function type() : string 52 | { 53 | return $this->type; 54 | } 55 | 56 | public function expiresIn() : int 57 | { 58 | return $this->expiresIn; 59 | } 60 | 61 | public function grantType() : string 62 | { 63 | return $this->grantType; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Api/ApplicationsApi/ApplicationManagementSDKInterface.php: -------------------------------------------------------------------------------- 1 | JSON Hypertext Application Language (HAL) standard. 13 | * 14 | * The version of the OpenAPI document: v1 15 | * 16 | * This class was auto-generated by https://openapi-generator.tech 17 | * Do not change it, it will be overwritten with next execution of /bin/generate.sh 18 | */ 19 | interface SolicitationsSDKInterface 20 | { 21 | public const API_NAME = 'Solicitations'; 22 | 23 | public const OPERATION_CREATEPRODUCTREVIEWANDSELLERFEEDBACKSOLICITATION = 'createProductReviewAndSellerFeedbackSolicitation'; 24 | 25 | public const OPERATION_CREATEPRODUCTREVIEWANDSELLERFEEDBACKSOLICITATION_PATH = '/solicitations/v1/orders/{amazonOrderId}/solicitations/productReviewAndSellerFeedback'; 26 | 27 | public const OPERATION_GETSOLICITATIONACTIONSFORORDER = 'getSolicitationActionsForOrder'; 28 | 29 | public const OPERATION_GETSOLICITATIONACTIONSFORORDER_PATH = '/solicitations/v1/orders/{amazonOrderId}'; 30 | 31 | /** 32 | * Operation createProductReviewAndSellerFeedbackSolicitation. 33 | * 34 | * @param string $amazon_order_id An Amazon order identifier. This specifies the order for which a solicitation is sent. (required) 35 | * @param string[] $marketplace_ids A marketplace identifier. This specifies the marketplace in which the order was placed. Only one marketplace can be specified. (required) 36 | * 37 | * @throws ApiException on non-2xx response 38 | * @throws InvalidArgumentException 39 | */ 40 | public function createProductReviewAndSellerFeedbackSolicitation(AccessToken $accessToken, string $region, string $amazon_order_id, array $marketplace_ids) : \AmazonPHP\SellingPartner\Model\Solicitations\CreateProductReviewAndSellerFeedbackSolicitationResponse; 41 | 42 | /** 43 | * Operation getSolicitationActionsForOrder. 44 | * 45 | * @param string $amazon_order_id An Amazon order identifier. This specifies the order for which you want a list of available solicitation types. (required) 46 | * @param string[] $marketplace_ids A marketplace identifier. This specifies the marketplace in which the order was placed. Only one marketplace can be specified. (required) 47 | * 48 | * @throws ApiException on non-2xx response 49 | * @throws InvalidArgumentException 50 | */ 51 | public function getSolicitationActionsForOrder(AccessToken $accessToken, string $region, string $amazon_order_id, array $marketplace_ids) : \AmazonPHP\SellingPartner\Model\Solicitations\GetSolicitationActionsForOrderResponse; 52 | } 53 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Api/TokensApi/TokensSDKInterface.php: -------------------------------------------------------------------------------- 1 | responseHeaders; 33 | } 34 | 35 | /** 36 | * Gets the HTTP body of the server response either as Json or string. 37 | * 38 | * @return null|\stdClass|string HTTP body of the server response either as \stdClass or string 39 | */ 40 | public function getResponseBody() 41 | { 42 | return $this->responseBody; 43 | } 44 | 45 | /** 46 | * Sets the deseralized response object (during deserialization). 47 | * 48 | * @param \stdClass|string $obj Deserialized response object 49 | */ 50 | public function setResponseObject(\stdClass|string $obj) : void 51 | { 52 | $this->responseObject = $obj; 53 | } 54 | 55 | /** 56 | * Gets the deseralized response object (during deserialization). 57 | * 58 | * @return null|\stdClass|string the deserialized response object 59 | */ 60 | public function getResponseObject() 61 | { 62 | return $this->responseObject; 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Exception/AssertionException.php: -------------------------------------------------------------------------------- 1 | extensions = $extensions; 20 | } 21 | 22 | public function register(Extension $extension) : void 23 | { 24 | $this->extensions[] = $extension; 25 | } 26 | 27 | public function preRequest(string $api, string $operation, RequestInterface $request) : void 28 | { 29 | foreach ($this->extensions as $extension) { 30 | $extension->preRequest($api, $operation, $request); 31 | } 32 | } 33 | 34 | public function postRequest(string $api, string $operation, RequestInterface $request, ResponseInterface $response) : void 35 | { 36 | foreach ($this->extensions as $extension) { 37 | $extension->postRequest($api, $operation, $request, $response); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/HttpFactory.php: -------------------------------------------------------------------------------- 1 | requestFactory->createRequest($method, $url); 21 | } 22 | 23 | public function createStreamFromString(string $content) : StreamInterface 24 | { 25 | return $this->streamFactory->createStream($content); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/IdGenerator.php: -------------------------------------------------------------------------------- 1 | value; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/APlus/ColorType.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/APlus/ContentBadge.php: -------------------------------------------------------------------------------- 1 | value; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/APlus/ContentModuleType.php: -------------------------------------------------------------------------------- 1 | value; 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/APlus/ContentStatus.php: -------------------------------------------------------------------------------- 1 | value; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/APlus/ContentType.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/APlus/DecoratorType.php: -------------------------------------------------------------------------------- 1 | value; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/APlus/PositionType.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Finances/FinancialTransfers/AssignmentType.php: -------------------------------------------------------------------------------- 1 | value; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Finances/FinancialTransfers/PaymentMethodType.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/AllOwnersConstraint.php: -------------------------------------------------------------------------------- 1 | value; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/BoxContentInformationSource.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/ItemLabelPageType.php: -------------------------------------------------------------------------------- 1 | value; 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/LabelOwner.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/LabelPrintType.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/OperationStatus.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/OwnerConstraint.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/PrepCategory.php: -------------------------------------------------------------------------------- 1 | value; 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/PrepOwner.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/PrepType.php: -------------------------------------------------------------------------------- 1 | value; 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/ReasonComment.php: -------------------------------------------------------------------------------- 1 | value; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/Stackability.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/UnitOfMeasurement.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInbound/UnitOfWeight.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInboundV0/BarcodeInstruction.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInboundV0/BoxContentsSource.php: -------------------------------------------------------------------------------- 1 | value; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInboundV0/CurrencyCode.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInboundV0/ErrorReason.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInboundV0/LabelPrepType.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInboundV0/PrepGuidance.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInboundV0/PrepInstruction.php: -------------------------------------------------------------------------------- 1 | value; 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInboundV0/PrepOwner.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentInboundV0/ShipmentStatus.php: -------------------------------------------------------------------------------- 1 | value; 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentOutbound/AdditionalLocationInfo.php: -------------------------------------------------------------------------------- 1 | value; 118 | } 119 | } 120 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentOutbound/CurrentStatus.php: -------------------------------------------------------------------------------- 1 | value; 94 | } 95 | } 96 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentOutbound/EventCode.php: -------------------------------------------------------------------------------- 1 | value; 139 | } 140 | } 141 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentOutbound/FulfillmentAction.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentOutbound/FulfillmentOrderStatus.php: -------------------------------------------------------------------------------- 1 | value; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentOutbound/FulfillmentPolicy.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentOutbound/FulfillmentReturnItemStatus.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentOutbound/InvalidItemReasonCode.php: -------------------------------------------------------------------------------- 1 | value; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentOutbound/ReturnItemDisposition.php: -------------------------------------------------------------------------------- 1 | value; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/FulfillmentOutbound/ShippingSpeedCategory.php: -------------------------------------------------------------------------------- 1 | value; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/CarrierWillPickUpOption.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/DeliveryExperienceOption.php: -------------------------------------------------------------------------------- 1 | value; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/DeliveryExperienceType.php: -------------------------------------------------------------------------------- 1 | value; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/FileType.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/HazmatType.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/InputTargetType.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/LabelFormat.php: -------------------------------------------------------------------------------- 1 | value; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/ShipmentStatus.php: -------------------------------------------------------------------------------- 1 | value; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/StandardIdForLabel.php: -------------------------------------------------------------------------------- 1 | value; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/UnitOfLength.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/MerchantFulfillment/UnitOfWeight.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Notifications/AggregationTimePeriod.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Notifications/OrderChangeTypeEnum.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Orders/AssociationType.php: -------------------------------------------------------------------------------- 1 | value; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Orders/ConstraintType.php: -------------------------------------------------------------------------------- 1 | value; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Orders/EasyShipShipmentStatus.php: -------------------------------------------------------------------------------- 1 | value; 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Orders/ElectronicInvoiceStatus.php: -------------------------------------------------------------------------------- 1 | value; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Orders/OtherDeliveryAttributes.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Orders/ShipmentStatus.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Orders/VerificationStatus.php: -------------------------------------------------------------------------------- 1 | value; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/ProductFees/IdType.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/ProductFees/OptionalFulfillmentProgram.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/ProductPricing/ConditionType.php: -------------------------------------------------------------------------------- 1 | value; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/ProductPricing/CustomerType.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/ProductPricing/FulfillmentChannelType.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/ProductPricing/HttpMethod.php: -------------------------------------------------------------------------------- 1 | value; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/ProductPricing/ItemCondition.php: -------------------------------------------------------------------------------- 1 | value; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/ProductPricing/OfferCustomerType.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/ProductPricing/QuantityDiscountType.php: -------------------------------------------------------------------------------- 1 | value; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Services/CapacityType.php: -------------------------------------------------------------------------------- 1 | value; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Services/DayOfWeek.php: -------------------------------------------------------------------------------- 1 | value; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/ShipmentInvoicing/AddressTypeEnum.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/ShipmentInvoicing/ShipmentInvoiceStatus.php: -------------------------------------------------------------------------------- 1 | value; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/Shipping/ServiceType.php: -------------------------------------------------------------------------------- 1 | Amazon Shipping API (v2) on the Amazon Shipping Developer Documentation site. 11 | * 12 | * The version of the OpenAPI document: v1 13 | * 14 | * This class was auto-generated by https://openapi-generator.tech 15 | * Do not change it, it will be overwritten with next execution of /bin/generate.sh 16 | */ 17 | class ServiceType 18 | { 19 | /** 20 | * Possible values of this enum. 21 | */ 22 | final public const GROUND = 'Amazon Shipping Ground'; 23 | 24 | final public const STANDARD = 'Amazon Shipping Standard'; 25 | 26 | final public const PREMIUM = 'Amazon Shipping Premium'; 27 | 28 | public function __construct(private readonly string $value) 29 | { 30 | } 31 | 32 | /** 33 | * Gets allowable values of the enum. 34 | * 35 | * @return string[] 36 | */ 37 | public static function getAllowableEnumValues() : array 38 | { 39 | return [ 40 | self::GROUND, 41 | self::STANDARD, 42 | self::PREMIUM, 43 | ]; 44 | } 45 | 46 | public function toString() : string 47 | { 48 | return $this->value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/VendorDirectFulfillmentShipping/CarrierId.php: -------------------------------------------------------------------------------- 1 | value; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/VendorDirectFulfillmentShipping/ContainerLabelFormat.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/VendorInvoices/NetCostUnitOfMeasure.php: -------------------------------------------------------------------------------- 1 | value; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/WarehousingAndDistribution/CarrierCodeType.php: -------------------------------------------------------------------------------- 1 | value; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/WarehousingAndDistribution/DimensionUnitOfMeasurement.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/WarehousingAndDistribution/DistributionPackageType.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/WarehousingAndDistribution/InboundShipmentStatus.php: -------------------------------------------------------------------------------- 1 | value; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/WarehousingAndDistribution/InventoryUnitOfMeasurement.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/WarehousingAndDistribution/LabelOwner.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/WarehousingAndDistribution/PrepOwner.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/WarehousingAndDistribution/VolumeUnitOfMeasurement.php: -------------------------------------------------------------------------------- 1 | value; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/Model/WarehousingAndDistribution/WeightUnitOfMeasurement.php: -------------------------------------------------------------------------------- 1 | value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/ModelInterface.php: -------------------------------------------------------------------------------- 1 | requestFactory->createRequest('POST', 'https://sts.amazonaws.com/') 30 | ->withBody( 31 | $this->streamFactory->createStream( 32 | 'Action=' . $action 33 | . '&DurationSeconds=3600' 34 | . '&RoleArn=' . $roleARN 35 | . '&RoleSessionName=' . 'sp-api-php-' . \time() 36 | . '&Version=2011-06-15', 37 | ) 38 | ) 39 | ->withHeader('Accept', ['application/json']) 40 | ->withHeader('Content-Type', ['application/x-www-form-urlencoded']); 41 | 42 | // us-east-1 is the only region that works for STS 43 | $response = $this->client->sendRequest( 44 | HttpSignatureHeaders::raw($key, $secret, Regions::NORTH_AMERICA, $request) 45 | ); 46 | 47 | $statusCode = $response->getStatusCode(); 48 | $responseBody = (string) $response->getBody(); 49 | 50 | if ($statusCode < 200 || $statusCode > 299) { 51 | throw new ApiException( 52 | \sprintf( 53 | '[%d] Error calling the Amazon STS API %s Action (%s)', 54 | $statusCode, 55 | $action, 56 | $response->getReasonPhrase() 57 | ), 58 | $statusCode, 59 | $response->getHeaders(), 60 | $responseBody 61 | ); 62 | } 63 | 64 | return Credentials::fromJSON($responseBody); 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /src/AmazonPHP/SellingPartner/STSClient/Credentials.php: -------------------------------------------------------------------------------- 1 | accessKeyId; 30 | } 31 | 32 | public function secretAccessKey() : string 33 | { 34 | return $this->secretAccessKey; 35 | } 36 | 37 | public function sessionToken() : string 38 | { 39 | return $this->sessionToken; 40 | } 41 | 42 | public function expiration() : int 43 | { 44 | return $this->expiration; 45 | } 46 | } 47 | --------------------------------------------------------------------------------