Contents

init(minimumPrice:currencyCode:)

Initializes the object with the specified minimum price information.

Declaration

init(minimumPrice: NSDecimalNumber, currencyCode: String)

Parameters

  • minimumPrice:

    The minimum price value. This value is assigned to the Minimumprice property.

  • currencyCode:

    The ISO 4217 currency code to apply to the price information. You can get a list of possible currency codes using the Isocurrencycodes method of Nslocale. For example, the string “USD” corresponds to United States dollars.

Return Value

An initialized price range object or nil if the object could not be created.

Discussion

This method does not assign a value to the maximumPrice property.

See Also

Creating a Price Range Object