Commit e47b8217 by HouWeiBin

1,补充上个修改

parent 15976c8c
......@@ -142,7 +142,7 @@ typedef void (^BUYDataGiftCardBlock)(BUYGiftCard * _Nullable giftCard, NSError *
*
* @return The associated BUYOperation
*/
- (BUYOperation *)completeCheckoutWithToken:(nullable NSString *)checkoutToken paymentToken:(_Nullable id<BUYPaymentToken>)paymentToken completion:(BUYDataCheckoutBlock)block;
- (BUYOperation *)completeCheckoutWithToken:(nullable NSString *)checkoutToken paymentToken:(_Nullable id<BUYPaymentToken>)paymentToken completion:(BUYCheckoutOperationCompletion)block;
/**
* Retrieve the status of a checkout with token. This checks the status of the current payment processing job for the provided checkout.
......
......@@ -105,7 +105,7 @@
- (BUYOperation *)completeCheckoutWithToken:(NSString *)checkoutToken paymentToken:(id<BUYPaymentToken>)paymentToken completion:(BUYCheckoutOperationCompletion)block
{
BUYCheckoutOperationCompletion *operation = [BUYCheckoutOperationCompletion operationWithClient:self checkoutToken:checkoutToken token:paymentToken completion:block];
BUYCheckoutOperation *operation = [BUYCheckoutOperation operationWithClient:self checkoutToken:checkoutToken token:paymentToken completion:block];
[self startOperation:operation];
return operation;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment