Struct apple_bundle::entitlements::wallet::Wallet[][src]

pub struct Wallet {
    pub pass_type_ids: Option<Vec<String>>,
    pub merchant_ids: Option<Vec<String>>,
}
Expand description

Wallet

Fields

pass_type_ids: Option<Vec<String>>

A list of identifiers that specify pass types that your app can access in Wallet.

The value for this key is an array of pass type identifiers.

To add this entitlement to your app, enable the Wallet capability in Xcode. If your provisioning profile is associated with multiple pass type identifiers, specify which of the identifiers your app can interact with. Use $(TeamIdentifierPrefix)* to access all of the passes for your team.

For more information, see Configure Wallet (iOS, watchOS).

Note

The Wallet capability isn’t available to app clips. For information on functionality that’s available to app clips, see Choosing the Right Functionality for Your App Clip.

Availability

  • iOS 6.0+
  • watchOS 2.0+

Framework

  • PassKit (Apple Pay and Wallet)
merchant_ids: Option<Vec<String>>

A list of merchant IDs your app uses for Apple Pay support.

The value for this key is an array of strings containing the merchant IDs—typically in reverse domain name notation, starting with the string ‘merchant’.

To add this entitlement, enable the Apple Pay capability in Xcode and select the merchant IDs you want to use in your app. Alternatively, see Setting Up Apple Pay Requirements for how to create merchant IDs in your developer account.

Availability

  • iOS 6.0+
  • watchOS 2.0+

Framework

  • PassKit (Apple Pay and Wallet)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.