update docs
This commit is contained in:
parent
052722ae84
commit
5cb162d9db
|
@ -158,10 +158,15 @@ NS_ASSUME_NONNULL_BEGIN
|
||||||
- (void)pushPaymentMethodsViewController;
|
- (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;
|
- (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`.
|
* 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`.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue