init(merchantIdentifier:currency:region:supportedNetworks:merchantCapabilities:summaryItems:)
Creates a disbursement request with the parameters you specify.
Declaration
convenience init(merchantIdentifier: String, currency: Locale.Currency, region: Locale.Region, supportedNetworks: [PKPaymentNetwork], merchantCapabilities: PKMerchantCapability, summaryItems: [PKPaymentSummaryItem])Parameters
- merchantIdentifier:
A string that identifies the merchant.
- currency:
The Currency Swift.struct that represents the Iso 4217 Currency Codes, which represents the value of this disbursement.
- region:
The Region Swift.struct that represents the merchant’s Iso 3166 Country Codes.
- supportedNetworks:
An array of Pkpaymentnetwork networks the merchant supports.
- merchantCapabilities:
An array of Pkmerchantcapability structures that describe the capabilities the merchant supports.
- summaryItems:
An array of Pkpaymentsummaryitem objects that describe the disbursement.