FrPaymentOptionsResponse

public struct FrPaymentOptionsResponse : Codable

Options which are about payment for FrPayment.

  • Client id of the API consumer.

    Declaration

    Swift

    public let clientID: String?
  • Tenant id of the API consumer.

    Declaration

    Swift

    public let tenantID: String?
  • Set true, if you would like to get back the debtor’s account information that the payment is made from.

    Note

    If not provided, 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?
  • Disables QR Code component on FrPayment.

    Declaration

    Swift

    public let disableQrCode: Bool?
  • Customizes editable option of fields.

    Declaration

    Swift

    public let editableFields: FrPaymentEditableField?
  • Creates an instance from the specified parameters.

    Declaration

    Swift

    public init(clientID: String?,
                tenantID: String?,
                getRefundInfo: Bool?,
                firstPaymentAmount: Decimal?,
                lastPaymentAmount: Decimal?,
                disableQrCode: Bool?,
                editableFields: FrPaymentEditableField?)

    Parameters

    clientID

    Client id of the API consumer.

    tenantID

    Tenant id of the API consumer.

    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.

    disableQrCode

    Disables QR Code component on FrPayment.

    editableFields

    Instance’s FrPaymentEditableField, which customizes editable options of fields.