PaymentProcess
Objective-C
@interface PaymentProcess : NSObject
Swift
class PaymentProcess : NSObject
A namespace containing factories used to construct parameter list required to initiate a given payment process.
-
Returns object containing required parameter list for card-storage process.
Declaration
Objective-C
+ (nonnull CardStorage *)cardStorageWithMerchant: (nonnull MerchantDetails *)merchant;
Swift
class func cardStorage(withMerchant merchant: MerchantDetails) -> CardStorage
Parameters
merchant
The merchant details obtained from Netaxept
-
Returns object containing required parameter list for card-storage process.
Declaration
Objective-C
+ (nonnull CardStorage *) cardStorageWithMerchant:(nonnull MerchantDetails *)merchant registrationCallback: (nonnull CardRegistrationCallback)registrationCallback;
Swift
class func cardStorage(withMerchant merchant: MerchantDetails, registrationCallback: @escaping CardRegistrationCallback) -> CardStorage
Parameters
merchant
The merchant details obtained from Netaxept
-
Returns object containing required parameter list for card-storage process.
Declaration
Objective-C
+ (nonnull CardStorage *) cardStorageWithMerchant:(nonnull MerchantDetails *)merchant excludedCardSchemeSet:(CardScheme)excludedCardSchemeSet;
Swift
class func cardStorage(withMerchant merchant: MerchantDetails, excludedCardSchemeSet: CardScheme) -> CardStorage
Parameters
merchant
The merchant details obtained from Netaxept
excludedCardSchemeSet
Set of card schemes that should not be supported
-
Returns object containing required parameter list for card-storage process.
Declaration
Objective-C
+ (nonnull CardStorage *) cardStorageWithMerchant:(nonnull MerchantDetails *)merchant excludedCardSchemeSet:(CardScheme)excludedCardSchemeSet registrationCallback: (nonnull CardRegistrationCallback)registrationCallback;
Swift
class func cardStorage(withMerchant merchant: MerchantDetails, excludedCardSchemeSet: CardScheme, registrationCallback: @escaping CardRegistrationCallback) -> CardStorage
Parameters
merchant
The merchant details obtained from Netaxept
excludedCardSchemeSet
Set of card schemes that should not be supported
-
Returns object containing required parameter list for card-payment process.
Declaration
Objective-C
+ (nonnull CardPayment *)cardPaymentWithMerchant: (nonnull MerchantDetails *)merchant amount:(NSUInteger)amount currency:(nonnull Currency)currency;
Swift
class func cardPayment(withMerchant merchant: MerchantDetails, amount: UInt, currency: String) -> CardPayment
Parameters
merchant
The merchant details obtained from Netaxept
amount
Amount of payment in cents
currency
Currency code following iSO 4217
-
Returns object containing required parameter list for card-payment process.
Declaration
Objective-C
+ (nonnull CardPayment *) cardPaymentWithMerchant:(nonnull MerchantDetails *)merchant excludedCardSchemeSet:(CardScheme)excludedCardSchemeSet amount:(NSUInteger)amount currency:(nonnull Currency)currency;
Swift
class func cardPayment(withMerchant merchant: MerchantDetails, excludedCardSchemeSet: CardScheme, amount: UInt, currency: String) -> CardPayment
Parameters
merchant
The merchant details obtained from Netaxept
excludedCardSchemeSet
Set of card schemes that should not be supported
amount
Amount of payment in cents
currency
Currency code following iSO 4217
-
Returns object containing required parameter list for card-payment process.
Declaration
Objective-C
+ (nonnull CardPayment *) cardPaymentWithMerchant:(nonnull MerchantDetails *)merchant excludedCardSchemeSet:(CardScheme)excludedCardSchemeSet amount:(NSUInteger)amount currency:(nonnull Currency)currency registrationCallback: (nonnull TokenizableCardRegistrationCallback)registrationCallback;
Swift
class func cardPayment(withMerchant merchant: MerchantDetails, excludedCardSchemeSet: CardScheme, amount: UInt, currency: String, registrationCallback: @escaping TokenizableCardRegistrationCallback) -> CardPayment
Parameters
merchant
The merchant details obtained from Netaxept
excludedCardSchemeSet
Set of card schemes that should not be supported
amount
Amount of payment in cents
currency
Currency code following iSO 4217
-
Returns object containing required parameter list for card-payment process.
Declaration
Objective-C
+ (nonnull CardPayment *) cardPaymentWithMerchant:(nonnull MerchantDetails *)merchant amount:(NSUInteger)amount currency:(nonnull Currency)currency registrationCallback: (nonnull TokenizableCardRegistrationCallback)registrationCallback;
Swift
class func cardPayment(withMerchant merchant: MerchantDetails, amount: UInt, currency: String, registrationCallback: @escaping TokenizableCardRegistrationCallback) -> CardPayment
Parameters
merchant
The merchant details obtained from Netaxept
amount
Amount of payment in cents
currency
Currency code following iSO 4217
-
+tokenizedCardPaymentWithMerchant:
token: expiryDate: cardDisplay: confirmationPrompt: registrationCallback: Undocumented
Declaration
Objective-C
+ (TokenizedCardPayment *)tokenizedCardPaymentWithMerchant:(MerchantDetails *)merchant token:(NSString *)token expiryDate:(NSString *)expiryDate cardDisplay:(CardDisplay *)cardDisplay confirmationPrompt:(TokenizedCardPrompt *)confirmationPrompt registrationCallback:(CardRegistrationCallback)registrationCallback;
Swift
class func tokenizedCardPayment(withMerchant merchant: MerchantDetails, token: String, expiryDate: String, cardDisplay: CardDisplay, confirmationPrompt: TokenizedCardPrompt, registrationCallback: @escaping CardRegistrationCallback) -> TokenizedCardPayment
-
Undocumented
Declaration
Objective-C
+ (TokenizedCardExpressCheckout *)tokenizedCardExpressCheckoutFrom:(UIViewController *)sender merchant:(MerchantDetails *)merchant transactionID:(TransactionID)transactionID redirectURL:(NSURL *)redirectURL;
Swift
class func tokenizedCardExpressCheckout(from sender: UIViewController, merchant: MerchantDetails, transactionID: String, redirectURL: URL) -> TokenizedCardExpressCheckout
-
Returns object containing required parameter list for wallet-payment process.
Declaration
Objective-C
+ (nonnull WalletPaymentProcess *)walletPaymentForWallet:(Wallet)wallet;
Swift
class func walletPayment(for wallet: Wallet) -> WalletPaymentProcess
Parameters
wallet
A supported wallet by the SDK
-
Returns object containing required parameter list for wallet-payment process.
Declaration
Objective-C
+ (nonnull WalletPaymentProcess *)walletPaymentForWallet:(Wallet)wallet showActivityIndicator: (BOOL)showActivityIndicator;
Swift
class func walletPayment(for wallet: Wallet, showActivityIndicator: Bool) -> WalletPaymentProcess
Parameters
wallet
A supported wallet by the SDK
showActivityIndicator
Pass
true
to show SDK standard activity indicator during the process. -
Returns object containing required parameter list for paypal payment process.
Declaration
Objective-C
+ (nonnull PayPalPaymentProcess *)payPalPaymentWithMerchant: (nonnull MerchantDetails *)merchant;
Swift
class func payPalPayment(withMerchant merchant: MerchantDetails) -> PayPalPaymentProcess
Parameters
merchant
The merchant details obtained from Netaxept
-
Returns object containing required parameter list for paypal payment process.
Declaration
Objective-C
+ (nonnull PayPalPaymentProcess *) payPalPaymentWithMerchant:(nonnull MerchantDetails *)merchant registrationCallback: (nonnull PayPalRegistrationCallback)registrationCallback;
Swift
class func payPalPayment(withMerchant merchant: MerchantDetails, registrationCallback: @escaping PayPalRegistrationCallback) -> PayPalPaymentProcess
Parameters
merchant
The merchant details obtained from Netaxept
-
Returns object containing required parameter list for paytrail payment process.
Declaration
Objective-C
+ (nonnull PaytrailPaymentProcess *)paytrailPaymentWithMerchant: (nonnull MerchantDetails *)merchant;
Swift
class func paytrailPayment(withMerchant merchant: MerchantDetails) -> PaytrailPaymentProcess
Parameters
merchant
The merchant details obtained from Netaxept
-
Returns object containing required parameter list for paytrail payment process.
Declaration
Objective-C
+ (nonnull PaytrailPaymentProcess *) paytrailPaymentWithMerchant:(nonnull MerchantDetails *)merchant registrationCallback: (nonnull PaytrailRegistrationCallback)registrationCallback;
Swift
class func paytrailPayment(withMerchant merchant: MerchantDetails, registrationCallback: @escaping PaytrailRegistrationCallback) -> PaytrailPaymentProcess
Parameters
merchant
The merchant details obtained from Netaxept