OPPMBWayPaymentParams
@objc
public final class OPPMBWayPaymentParams : OPPPaymentParams
Class to encapsulate all necessary transaction parameters for performing an MB WAY transaction.
-
Country code of the mobile phone number.
Declaration
Swift
@objc public private(set) var countryCode: String { get } -
Mobile phone number of the account.
Declaration
Swift
@objc public private(set) var phoneNumber: String { get }
-
Creates an object representing an MB WAY transaction.
Throws
The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) andNSLocalizedDescriptionto identify the reason of failure.Declaration
Swift
@objc public init(checkoutID: String, countryCode: String, phoneNumber: String) throwsParameters
checkoutIDThe checkout ID of the transaction. Must be not
nilor empty.countryCodeCountry code of the mobile phone number.
phoneNumberMobile phone number of the account.
Return Value
An object representing an MB WAY transaction.
-
Creates an object representing an MB WAY transaction.
Throws
The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) andNSLocalizedDescriptionto identify the reason of failure.Declaration
Swift
@objc public static func mbWayPaymentParams(checkoutID: String, countryCode: String, phoneNumber: String) throws -> OPPMBWayPaymentParamsParameters
checkoutIDThe checkout ID of the transaction. Must be not
nilor empty.countryCodeCountry code of the mobile phone number.
phoneNumberMobile phone number of the account.
Return Value
An object representing an MB WAY transaction.
OPPMBWayPaymentParams Class Reference