Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- header("Content-type: text/xml; charset=utf-8");
- echo '<?xml version="1.0" encoding="utf-8"?>
- <GetDeliveryVariantsResult xmlns="http://tempuri.org/XMLSchema.xsd">
- <ResultCode>0</ResultCode>
- <Location>
- <LocationName>г. Москва</LocationName>
- <PostCode>101000</PostCode>
- </Location>
- <DeliveryGroups>
- <DeliveryGroup>
- <GroupName>Курьерская доставка</GroupName>
- <DeliveryVariants>
- <DeliveryVariant>
- <DeliveryVariantName>Обычная</DeliveryVariantName>
- <ExternalDeliveryVariantId>123</ExternalDeliveryVariantId>
- <Description>Скрок доставки 3 рабочих дня</Description>
- <ItemsCost>2400</ItemsCost>
- <DeliveryCost>100</DeliveryCost>
- <TotalCost>2500</TotalCost>
- </DeliveryVariant>
- <DeliveryVariant>
- <DeliveryVariantName>Медленная</DeliveryVariantName>
- <ExternalDeliveryVariantId>124</ExternalDeliveryVariantId>
- <Description>Скрок доставки от двух недель, в зависимости от времени
- года</Description>
- <ItemsCost>2400</ItemsCost>
- <DeliveryCost>10</DeliveryCost>
- <TotalCost>2410</TotalCost>
- </DeliveryVariant>
- </DeliveryVariants>
- </DeliveryGroup>
- <DeliveryGroup>
- <GroupName>Пункты самовывоза</GroupName>
- <DeliveryVariants>
- <DeliveryVariant>
- <DeliveryVariantName>Экспесс самовывоз</DeliveryVariantName>
- <ExternalDeliveryVariantId>126</ExternalDeliveryVariantId>
- <PickupPoints>
- <PickupPoint>
- <Name>г. Москва, ул. Победы 5. MYCOMPANY</Name>
- <ExternalPickupPointId>234234234</ExternalPickupPointId>
- <DeliveryVariantName>Экспесс самовывоз</DeliveryVariantName>
- <ExternalDeliveryVariantId>126</ExternalDeliveryVariantId>
- <Address>г. Москва, ул. Победы 5</Address>
- <Phones>
- <Phone>7 916 321 54 76</Phone>
- <Phone>7 495 876 55 55 доб. 5</Phone>
- </Phones>
- <OperatingHours>
- <OperatingHour>пн-вс с 9:00 по 23:00</OperatingHour>
- </OperatingHours>
- <Description>Срок доставки: 3 дня, вы будете оповещены по SMS>br/<Срок
- хранения: неделя</Description>
- <ItemsCost>2400</ItemsCost>
- <DeliveryCost>1000</DeliveryCost>
- <TotalCost>3400</TotalCost>
- </PickupPoint>
- </PickupPoints>
- <ItemsCost>2400</ItemsCost>
- <DeliveryCost>1000</DeliveryCost>
- <TotalCost>3400</TotalCost>
- </DeliveryVariant>
- </DeliveryVariants>
- </DeliveryGroup>
- </DeliveryGroups>
- </GetDeliveryVariantsResult>';
Add Comment
Please, Sign In to add comment