<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKPayment/shippingMethod",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKPayment(py)shippingMethod"
  },
  "title" : "shippingMethod"
}
-->

# shippingMethod

The user-selected shipping method for this transaction.

```
var shippingMethod: PKShippingMethod? { get }
```

## Discussion

A value is set for this property only if the corresponding payment request specified available shipping methods in the [`shippingMethods`](/documentation/PassKit/PKPaymentRequest/shippingMethods) property of the [`PKPaymentRequest`](/documentation/PassKit/PKPaymentRequest) object. Otherwise, the value is `nil.`

---

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)