ApprovalsResource class

The approvals endpoints with client already applied.

Constructors

ApprovalsResource(ExsitedClient client)
Bind the resource to a client; normally reached via client.approvals.
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

approveApproval(Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/approvals/approve
getApprovalsAccount({Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<ApprovalsAccountList>>
GET /api/{api_version}/approvals/account
getApprovalsAccountByUuid(Object accountUuid, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
GET /api/{api_version}/approvals/account/{account_uuid}
getApprovalsSaleorder({Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<ApprovalsSaleorder>>
GET /api/{api_version}/approvals/saleOrder
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rejectApproval(Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/approvals/reject
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited