FrPaymentOptions
public struct FrPaymentOptions : Codable
Options which are about payment for FrPayment.
-
Set true, if you would like to get back the debtor’s account information that the payment is made from.
Note
Defaults to true.Declaration
Swift
public let getRefundInfo: Bool?
-
Amount of first payment.
Declaration
Swift
public let firstPaymentAmount: Decimal?
-
Amount of last payment.
Declaration
Swift
public let lastPaymentAmount: Decimal?
-
After the payment directly returns to the tenant’s url if set to true.
Note
Default is false.Declaration
Swift
public let autoRedirect: Bool?
-
Optional parameter for getting a QRCode image in Base64 format with the response.
Note
Defaults to false.Declaration
Swift
public let generateQrCode: Bool?
-
Disables QR Code component on FrPayment.
Declaration
Swift
public let disableQrCode: Bool?
-
Customizes editable options of fields.
Declaration
Swift
public let editableFields: FrPaymentEditableField?
-
init(getRefundInfo:
firstPaymentAmount: lastPaymentAmount: autoRedirect: generateQrCode: disableQrCode: editableFields: ) Creates an instance from the specified parameters.
Declaration
Swift
public init(getRefundInfo: Bool?, firstPaymentAmount: Decimal?, lastPaymentAmount: Decimal?, autoRedirect: Bool?, generateQrCode: Bool?, disableQrCode: Bool?, editableFields: FrPaymentEditableField?)
Parameters
getRefundInfo
Set true, if you would like to get back the debtor’s account information that the payment is made from.
firstPaymentAmount
Amount of first payment.
lastPaymentAmount
Amount of last payment.
autoRedirect
After the payment directly returns to the tenant’s url if set to true.
generateQrCode
Optional parameter for getting a QRCode image in Base64 format with the response.
disableQrCode
Disables QR Code component on FrPayment.
editableFields
Instance’s
FrPaymentEditableField
, which customizes editable options of fields.