File "GiftCardCompatibilityInterface.php"

Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/klarna-payments-for-woocommerce/dependencies/krokedil/woocommerce/src/Interfaces/GiftCardCompatibilityInterface.php
File size: 602 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace KrokedilKlarnaPaymentsDeps\Krokedil\WooCommerce\Interfaces;

use KrokedilKlarnaPaymentsDeps\Krokedil\WooCommerce\OrderLineData;
/**
 * Interface GiftCardCompatibilityInterface
 */
interface GiftCardCompatibilityInterface
{
    /**
     * Get the giftcards applied to an order.
     *
     * @param \WC_Order $order The WooCommerce order.
     *
     * @return OrderLineData[]
     */
    public function get_order_giftcards($order);
    /**
     * Get the giftcards applied to the current cart.
     *
     * @return OrderLineData[]
     */
    public function get_cart_giftcards();
}