BeneficiarySuccessDelegate

public protocol BeneficiarySuccessDelegate : AnyObject

Delegate called when an action on a beneficiary is done.

  • didCreateBeneficiary(_:) Default implementation

    Beneficiary has been created successfully.

    Default Implementation

    Beneficiary has been created successfully.

    Declaration

    Swift

    func didCreateBeneficiary(_ beneficiary: Beneficiary)

    Parameters

    beneficiary

    created Beneficiary model.

  • didGetBeneficiary(_:) Default implementation

    A beneficiary has been retrieved.

    Default Implementation

    A beneficiary has been retrieved.

    Declaration

    Swift

    func didGetBeneficiary(_ beneficiary: Beneficiary)

    Parameters

    beneficiary

    a Beneficiary model.

  • didGetBeneficiaries(_:) Default implementation

    All beneficiaries has been retrieved.

    Default Implementation

    All beneficiaries has been retrieved.

    Declaration

    Swift

    func didGetBeneficiaries(_ beneficiaries: [Beneficiary])

    Parameters

    beneficiaries

    a Beneficiary list.

  • didUpdateBeneficiary(_:) Default implementation

    Beneficiary has been updated successfully.

    Default Implementation

    Beneficiary has been updated successfully.

    Declaration

    Swift

    func didUpdateBeneficiary(_ beneficiary: Beneficiary)

    Parameters

    beneficiary

    updated Beneficiary model.

  • didDeleteBeneficiary() Default implementation

    Beneficiary has been deleted successfully.

    Default Implementation

    Beneficiary has been deleted successfully.

    Declaration

    Swift

    func didDeleteBeneficiary()