We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've been calling every Dto reference the same way for my FBAInboundV20240320 script, and they all work fine, until I get to here, when it tells me:
PHP Fatal error: Uncaught Error: Class "SellingPartnerApi\Seller\FBAInboundV20240320\Dto\ConfirmTransporationOptionsRequest" not found
use SellingPartnerApi\SellingPartnerApi; use SellingPartnerApi\Enums\Endpoint; use SellingPartnerApi\Seller\FBAInboundV20240320\Dto; /* A bunch more working code here */ do { echo " . "; $result = $inboundApi->listTransportationOptions(inboundPlanId: $inboundPlanId, placementOptionId: $selected, pageSize: 20, paginationToken: $nextToken ); $transportationOptions = $result->dto()->transportationOptions; foreach ($transportationOptions as $top) { if ($top->carrier->alphaCode == 'UPSN' && $top->carrier->name == "UPS") { $selTrans[] = new Dto\TransportationSelection(shipmentId: $top->shipmentId, transportationOptionId: $top->transportationOptionId ); } } $pagination = $result->dto()->pagination; $nextToken = $pagination->nextToken; } while (!empty($nextToken)); $body = new Dto\ConfirmTransporationOptionsRequest(transportationSelections: $selTrans); $result = $inboundApi->confirmTransportationOptions(inboundPlanId: $inboundPlanId, body: $body);
The text was updated successfully, but these errors were encountered:
You have a typo, it's ConfirmTransportationOptionsRequest
Sorry, something went wrong.
No branches or pull requests
I've been calling every Dto reference the same way for my FBAInboundV20240320 script, and they all work fine, until I get to here, when it tells me:
PHP Fatal error: Uncaught Error: Class "SellingPartnerApi\Seller\FBAInboundV20240320\Dto\ConfirmTransporationOptionsRequest" not found
The text was updated successfully, but these errors were encountered: