update docs

This commit is contained in:
Ben Guo 2016-09-29 17:22:42 -04:00
parent 052722ae84
commit 5cb162d9db
1 changed files with 6 additions and 1 deletions

View File

@ -158,10 +158,15 @@ NS_ASSUME_NONNULL_BEGIN
- (void)pushPaymentMethodsViewController;
/**
* This creates, configures, and appropriately presents a view controller for collecting shipping address and shipping method on top of the payment context's `hostViewController`. It'll be dismissed automatically when the user is done selecting their payment method.
* This creates, configures, and appropriately presents a view controller for collecting shipping address and shipping method on top of the payment context's `hostViewController`. It'll be dismissed automatically when the user is done entering their shipping info.
*/
- (void)presentShippingInfoViewController;
/**
* This creates, configures, and appropriately pushes a view controller for collecting shipping address and shipping method onto the navigation stack of the context's `hostViewController`. It'll be popped automatically when the user is done entering their shipping info.
*/
- (void)pushShippingInfoViewController;
/**
* Requests payment from the user. This may need to present some supplemental UI to the user, in which case it will be presented on the payment context's `hostViewController`. For instance, if they've selected Apple Pay as their payment method, calling this method will show the payment sheet. If the user has a card on file, this will use that without presenting any additional UI. After this is called, the `paymentContext:didCreatePaymentResult:completion:` and `paymentContext:didFinishWithStatus:error:` methods will be called on the context's `delegate`.
*/