<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: 18.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/PaymentCardReaderStore",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader011PaymentCardB5StoreV"
  },
  "title" : "PaymentCardReaderStore"
}
-->

# PaymentCardReaderStore

A structure that manages the store that contains all the Store and Forward reads.

```
struct PaymentCardReaderStore
```

## Topics

### Instance Methods

[`func fetchStoredPaymentCardReadResultBatch(size: Int) async throws -> StoreAndForwardBatch`](/documentation/ProximityReader/PaymentCardReaderStore/fetchStoredPaymentCardReadResultBatch(size:))

Returns a batch of reads the framework previously stored, in chronological order, of the size you request.

[`func fetchStoredPaymentCardReadResultCount() async throws -> Int`](/documentation/ProximityReader/PaymentCardReaderStore/fetchStoredPaymentCardReadResultCount())

Returns the number of reads the framework performed using a Store and Forward session.

[`func resetBatchState() async throws`](/documentation/ProximityReader/PaymentCardReaderStore/resetBatchState())

Resets the current batch state in the store, allowing you to request a new batch.

[`func resolveBatch(batchDeletionToken: StoreAndForwardBatchDeletionToken) async throws -> Int`](/documentation/ProximityReader/PaymentCardReaderStore/resolveBatch(batchDeletionToken:))

Deletes the current batch and all its Store and Forward payments, allowing you to request a new
batch.

### Enumerations

[`enum StoreError`](/documentation/ProximityReader/PaymentCardReaderStore/StoreError)

Values that describes errors related to the payments store.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)