PosResource class

Constructors

PosResource(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

custombatch(PosCustomBatchRequest request, {String? $fields}) Future<PosCustomBatchResponse>
Batches multiple POS-related calls in a single request.
delete(String merchantId, String targetMerchantId, String storeCode, {String? $fields}) Future<void>
Deletes a store for the given merchant.
get(String merchantId, String targetMerchantId, String storeCode, {String? $fields}) Future<PosStore>
Retrieves information about the given store.
insert(PosStore request, String merchantId, String targetMerchantId, {String? $fields}) Future<PosStore>
Creates a store for the given merchant.
inventory(PosInventoryRequest request, String merchantId, String targetMerchantId, {String? $fields}) Future<PosInventoryResponse>
Submit inventory for the given merchant.
list(String merchantId, String targetMerchantId, {String? $fields}) Future<PosListResponse>
Lists the stores of the target merchant.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sale(PosSaleRequest request, String merchantId, String targetMerchantId, {String? $fields}) Future<PosSaleResponse>
Submit a sale event for the given merchant.
toString() String
A string representation of this object.
inherited

Operators

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