BTPaymentSelectionViewController

Objective-C

@interface BTPaymentSelectionViewController
    : BTDropInBaseViewController <UICollectionViewDataSource,
                                  UICollectionViewDelegate,
                                  UICollectionViewDelegateFlowLayout,
                                  UITableViewDataSource, UITableViewDelegate>

Swift

class BTPaymentSelectionViewController : BTDropInBaseViewController, UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout, UITableViewDataSource, UITableViewDelegate

@class A UIViewController that displays vaulted payment methods for a customer and available payment options

  • The array of BTPaymentMethodNonce payment method nonces on file. The payment method nonces may be in the Vault. Most payment methods are automatically Vaulted if the client token was generated with a customer ID.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray *paymentMethodNonces;

    Swift

    var paymentMethodNonces: [Any]! { get set }
  • The delegate

    Declaration

    Objective-C

    @property (nonatomic, weak) id<BTPaymentSelectionViewControllerDelegate, BTDropInControllerDelegate, BTAppSwitchDelegate, BTViewControllerPresentingDelegate> delegate;
  • The desired height when rendering the view in a sheet.

    Declaration

    Objective-C

    - (float)sheetHeight;

    Swift

    func sheetHeight() -> Float