PurchaseRefundsResource class
The purchase refunds endpoints with client already applied.
Constructors
- PurchaseRefundsResource(ExsitedClient client)
-
Bind the resource to a client; normally reached via
client.purchaseRefunds.const
Properties
- client → ExsitedClient
-
The client every call below is made through.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createPurchaseCreditNotePurchaseRefund(
Object purchaseCreditNoteId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future< ApiResponse< PurchaseRefund> > -
POST /api/{api_version}/purchase_credit_notes/{purchase_credit_note_id}/purchase_refunds -
deletePurchaseRefund(
Object purchaseRefundId, {bool? raiseOnError, String? responseFormat}) → Future< ApiResponse< Object?> > -
DELETE /api/{api_version}/purchase_refunds/{purchase_refund_id} -
getPurchaseRefund(
Object purchaseRefundId, {Map< String, Object?> ? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse< PurchaseRefund> > -
GET /api/{api_version}/purchase_refunds/{purchase_refund_id} -
getPurchaseRefunds(
{Map< String, Object?> ? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse< PurchaseRefunds> > -
GET /api/{api_version}/purchase_refunds -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updatePurchaseRefund(
Object purchaseRefundId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future< ApiResponse< PurchaseRefund> > -
PATCH /api/{api_version}/purchase_refunds/{purchase_refund_id}
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited