PBBAButtonDelegate

@protocol PBBAButtonDelegate <NSObject>

PBBA payment button delegate.

  • Tell the delegate that payment button was pressed.

    Declaration

    Objective-C

    - (BOOL)pbbaButtonDidPress:(nonnull PBBAButton *)pbbaButton;

    Swift

    func pbbaButtonDidPress(_ pbbaButton: PBBAButton) -> Bool

    Parameters

    pbbaButton

    The instance of payment button which was pressed.

    Return Value

    YES if you want to disable the payment button and start payment activity animation.