Class WoocommerceRefundsService
Hierarchy
-
WoocommerceRefundsService
Constructors
constructor
-
Parameters
Properties
Private httpClient
httpClient: HttpClient
Private wooHelper
Methods
createRefund
- createRefund(orderId: number, payload: Refund): Observable<Refund>
-
Parameters
Returns Observable<Refund>
deleteRefund
- deleteRefund(orderId: number, refundId: number): Observable<Refund>
-
Parameters
-
orderId: number
-
refundId: number
Returns Observable<Refund>
retrieveRefund
- retrieveRefund(orderId: number, refundId: number): Observable<Refund>
-
Parameters
-
orderId: number
-
refundId: number
Returns Observable<Refund>
retrieveRefunds
- retrieveRefunds(orderId: number): Observable<Refund[]>
-
Parameters
Returns Observable<Refund[]>