---
title: identifier
framework: passkit
role: symbol
role_heading: Instance Property
path: passkit/pkshippingmethod/identifier
---

# identifier

A unique identifier for the shipping method, used by the app.

## Declaration

```swift
var identifier: String? { get set }
```

## Discussion

Discussion This property isn’t user visible. Use this property of the shipping method passed to your delegate in the paymentAuthorizationViewController(_:didSelect:completion:) method to identify the chosen shipping method.

## See Also

### Working with shipping methods

- [detail](passkit/pkshippingmethod/detail.md)
- [dateComponentsRange](passkit/pkshippingmethod/datecomponentsrange.md)
- [PKDateComponentsRange](passkit/pkdatecomponentsrange.md)
