WordPress at a glance
function is not described

WC_Order_Data_Store_Interface::set_recorded_coupon_usage_counts() public WC 1.0

Stores information about whether coupon counts were updated.

{} It's a method of the class: WC_Order_Data_Store_Interface{}

No Hooks.

Return

Null. Nothing.

Usage

$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface();
$WC_Order_Data_Store_Interface->set_recorded_coupon_usage_counts( $order, $set );
$order(WC_Order) (required)
Order object.
$set(true/false) (required)
If should set.

Code of WC_Order_Data_Store_Interface::set_recorded_coupon_usage_counts() WC 5.0.0

<?php
public function set_recorded_coupon_usage_counts( $order, $set );