LoyaltyclassResource class

Constructors

LoyaltyclassResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addmessage(AddMessageRequest request, String resourceId, {String? $fields}) Future<LoyaltyClassAddMessageResponse>
Adds a message to the loyalty class referenced by the given class ID.
get(String resourceId, {String? $fields}) Future<LoyaltyClass>
Returns the loyalty class with the given class ID.
insert(LoyaltyClass request, {String? $fields}) Future<LoyaltyClass>
Inserts an loyalty class with the given ID and properties.
list({String? issuerId, int? maxResults, String? token, String? $fields}) Future<LoyaltyClassListResponse>
Returns a list of all loyalty classes for a given issuer ID.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(LoyaltyClass request, String resourceId, {String? $fields}) Future<LoyaltyClass>
Updates the loyalty class referenced by the given class ID.
toString() String
A string representation of this object.
inherited
update(LoyaltyClass request, String resourceId, {String? $fields}) Future<LoyaltyClass>
Updates the loyalty class referenced by the given class ID.

Operators

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