PayByBankNotificationOptionsRequest
public struct PayByBankNotificationOptionsRequest : Codable
Request model for notification.
-
Optional parameter for Gateway to send an email notification to the PSU with the Paylink URL.
Note
Defaults to false.Declaration
Swift
public let sendEmailNotification: Bool?
-
The email address that the email notification will be sent to.
Warning
This field is mandatory ifsendEmailNotification
is true.Declaration
Swift
public let email: String?
-
Optional parameter for Gateway to send an SMS notification to the PSU with the Paylink URL.
Note
Defaults to false.Declaration
Swift
public let sendSMSNotification: Bool?
-
The phone number (including the country dial-in code) that the SMS notification will be sent to.
Warning
This field is mandatory ifsendSMSNotification
is true.Declaration
Swift
public let phoneNumber: String?
-
Creates an instance from the specified parameters.
Declaration
Swift
public init(sendEmailNotification: Bool? = nil, email: String? = nil, sendSMSNotification: Bool? = nil, phoneNumber: String? = nil)
Parameters
sendEmailNotification
Optional parameter for Gateway to send an email notification to the PSU with the Paylink URL.
email
The email address that the email notification will be sent to. This field is mandatory if
sendEmailNotification
is true.sendSMSNotification
Optional parameter for Gateway to send an SMS notification to the PSU with the Paylink URL.
phoneNumber
The phone number (including the country dial-in code) that the SMS notification will be sent to. This field is mandatory if
sendSMSNotification
is true.