*/ public function get_items( ?WC_Order $order ): array; /** * Get products in cart * * @return array */ public function get_products( ?WC_Order $order ): array; /** * Get handling items * * @return HandlingItem[] */ public function get_handling_items( ?WC_Order $order = null ): array; /** * Get discount items * * @return DiscountItem[] */ public function get_discount_items( ?WC_Order $order = null ): array; /** * Get refund items * * @return OtherPaymentItem[] */ public function get_refund_items( ?WC_Order $order = null ): array; /** * Create refund item instance */ public function create_refund_item( ?int $id, float $amount ): OtherPaymentItem; /** * Check if conditions are met for showing seQura in checkout */ public function is_available_in_checkout( ?WC_Order $order = null ): bool; /** * Get the total amount of the cart * * @return float|int */ public function get_total( $in_cents = true ); }