StoredPaymentMethodsDelegate

public protocol StoredPaymentMethodsDelegate : AnyObject

Undocumented

  • Invoked when shopper wants to delete a stored payment method.

    Declaration

    Swift

    func disable(storedPaymentMethod: StoredPaymentMethod, completion: @escaping Completion<Bool>)

    Parameters

    storedPaymentMethod

    The stored payment method that the user wants to disable.

    completion

    The delegate need to call back this closure when the disabling is done, with a boolean parameter that indicates success or failure.