BTNCheckoutInterface Protocol Reference

Conforms to NSObject
Declared in BTNCheckoutInterfaceProtocol.h

– setTitle: required method

Sets the title text of the navigation bar.

- (void)setTitle:(NSString *)title

Parameters

title

The desired text.

Discussion

Sets the title text of the navigation bar.

Declared In

BTNCheckoutInterfaceProtocol.h

– setTitleColor: required method

Sets the title text color.

- (void)setTitleColor:(UIColor *)titleColor

Parameters

titleColor

The desired title text color.

Discussion

Sets the title text color.

Declared In

BTNCheckoutInterfaceProtocol.h

– setSubtitle: required method

Sets the subtitle text.

- (void)setSubtitle:(NSString *)subtitle

Parameters

subtitle

The desired subtitle text.

Discussion

Sets the subtitle text.

Declared In

BTNCheckoutInterfaceProtocol.h

– setSubtitleColor: required method

Sets the subtitle text color.

- (void)setSubtitleColor:(UIColor *)subtitleColor

Parameters

subtitleColor

The desired subtitle text color.

Discussion

Sets the subtitle text color.

Declared In

BTNCheckoutInterfaceProtocol.h

– setTopBarBackgroundColor: required method

Sets the background color of the top bar.

- (void)setTopBarBackgroundColor:(UIColor *)color

Parameters

color

The desired color.

Discussion

Sets the background color of the top bar.

Declared In

BTNCheckoutInterfaceProtocol.h

– setTopBarTintColor: required method

The tint color for top bar (e.g. bar button items).

- (void)setTopBarTintColor:(UIColor *)color

Parameters

color

The desired tint color.

Discussion

The tint color for top bar (e.g. bar button items).

Declared In

BTNCheckoutInterfaceProtocol.h

– setBottomBarBackgroundColor: required method

Sets the background color of the bottom bar.

- (void)setBottomBarBackgroundColor:(UIColor *)color

Parameters

color

The desired color.

Discussion

Sets the background color of the bottom bar.

Declared In

BTNCheckoutInterfaceProtocol.h

– setBottomBarTintColor: required method

The tint color for bottom bar (e.g. bar button items).

- (void)setBottomBarTintColor:(UIColor *)color

Parameters

color

The desired tint color.

Discussion

The tint color for bottom bar (e.g. bar button items).

Declared In

BTNCheckoutInterfaceProtocol.h

– viewContainer required method

A transparent view on top of the In-App Checkout content view for containing arbitrary views.

- (UIView *)viewContainer

Return Value

A container view on top of the In-App Checkout content view.

Discussion

A transparent view on top of the In-App Checkout content view for containing arbitrary views.

If you wish to display any additional content to your users, add your views as subviews to this container view. The container responds to chrome position changes and rotation.

Declared In

BTNCheckoutInterfaceProtocol.h

– cardList required method

An object belonging to the checkout interface that maintains the list of cards currently in the card system.

- (id<BTNCardList>)cardList

Return Value

The interface to the card list object.

Discussion

An object belonging to the checkout interface that maintains the list of cards currently in the card system.

Declared In

BTNCheckoutInterfaceProtocol.h

– reloadCards required method

Reloads all cards from scratch and re-renders any visible cards.

- (void)reloadCards

Discussion

Reloads all cards from scratch and re-renders any visible cards.

Call this method when you make changes to cards in the CardList.

Declared In

BTNCheckoutInterfaceProtocol.h

– showTopCard required method

Animates the top card in the card list into the checkout view.

- (void)showTopCard

Discussion

Animates the top card in the card list into the checkout view.

Declared In

BTNCheckoutInterfaceProtocol.h

– hideTopCard required method

Animates the top card in the card list out of the checkout view.

- (void)hideTopCard

Discussion

Animates the top card in the card list out of the checkout view.

Declared In

BTNCheckoutInterfaceProtocol.h