| Current Path : /var/www/www.indacotrentino.com/www/vendor/brandung/cash-on-delivery-fee/etc/ |
| Current File : /var/www/www.indacotrentino.com/www/vendor/brandung/cash-on-delivery-fee/etc/webapi.xml |
<?xml version="1.0"?>
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
<route url="/V1/guest-carts/:cartId/set-payment-information-and-get-totals" method="POST">
<service class="Brandung\CashOnDeliveryFee\Api\GuestPaymentInformationManagementInterface" method="savePaymentInformationAndGetTotals"/>
<resources>
<resource ref="anonymous" />
</resources>
</route>
<route url="/V1/carts/mine/set-payment-information-and-get-totals" method="POST">
<service class="Brandung\CashOnDeliveryFee\Api\PaymentInformationManagementInterface" method="savePaymentInformationAndGetTotals"/>
<resources>
<resource ref="self" />
</resources>
<data>
<parameter name="cartId" force="true">%cart_id%</parameter>
</data>
</route>
</routes>