OrderCouponSchema::get_item_response( WC_Order_Item_Coupon $coupon )

Convert an order coupon to an object suitable for the response.


Description Description


Parameters Parameters

$coupon

(Required) Order coupon array.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Schemas/OrderCouponSchema.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.