SalesRepsResource class

The sales reps endpoints with client already applied.

Constructors

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

createSettingsSalesRep(Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/settings/sales_reps
deleteSettingsSalesRep(Object salesRepId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
DELETE /api/{api_version}/settings/sales_reps/{sales_rep_id}
getSettingsSalesRep(Object salesRepId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsSalesRep>>
GET /api/{api_version}/settings/sales_reps/{sales_rep_id}
getSettingsSalesReps({Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<SettingsSalesRepList>>
GET /api/{api_version}/settings/sales_reps
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateSettingsSalesRep(Object salesRepId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
PATCH /api/{api_version}/settings/sales_reps/{sales_rep_id}

Operators

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