---
title: "init(amount:currency:)"
framework: passkit
role: symbol
role_heading: Initializer
path: "passkit/pkpaylaterview/init(amount:currency:)"
---

# init(amount:currency:)

Creates a new Apple Pay Later visual merchandising widget view with the shopping cart amount and currency you specify.

## Declaration

```swift
@MainActor @preconcurrency convenience init(amount: Decimal, currency: Locale.Currency)
```

## Parameters

- `amount`: The customer’s shopping cart or item pricing.
- `currency`: The https://www.iso.org/iso-4217-currency-codes.html currency code for the country or region of the merchant’s principle place of business.
