Contents

init(amount:currency:)

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

Declaration

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

Parameters

  • amount:

    The customer’s shopping cart or item pricing.

  • currency:

    The Iso 4217 Currency Codes currency code for the country or region of the merchant’s principle place of business.