Closed Telrik closed 7 years ago
$item->ShippingDetails = new \DTS\eBaySDK\Trading\Types\ShippingDetailsType();
$item->ShippingDetails->RateTableDetails = new \DTS\eBaySDK\Trading\Types\RateTableDetailsType();
$item->ShippingDetails->RateTableDetails->InternationalRateTable = '.....';
Actually looking at the code the SDK should support the InternationalRateTable field but it's currently missing from https://github.com/davidtsadler/ebay-sdk-php/blob/master/src/Trading/Types/RateTableDetailsType.php
I'll look into why.
Thanks, also the table itself don't have any name or id and it's inside ebay account, so should i put $item->ShippingDetails->RateTableDetails->InternationalRateTable = 'true'; or '.....'; ?;)
If you look at the documentation at http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/AddFixedPriceItem.html#Request.Item.ShippingDetails.RateTableDetails.InternationalRateTable, it appears that a seller can only specify one international rate table, so set it to Default.
$item->ShippingDetails->RateTableDetails->InternationalRateTable = 'Default';
This may throw an exception as the InternationalRateTable may not exist in the SDK until I look into fixing the issue.
Perfect, thanks a lot. Will look for the fix. Before i want try to add InternationalRateTable into file manualy but it says DO NOT EDIT generated from wsdl so i add this issue first. thanks again.
InternationalRateTable has been added in the 13.0.0 release.
Any example how to use InternationalRateTable ? did this sdk support it ?