* @param {!PaymentOptions} options * @param {string} googleTransactionId * @param {function(!Promise<!PaymentData>)} handler * @return {!PaymentsAsyncClient} * @private
(options, googleTransactionId, handler)
| 17961 | * @private |
| 17962 | */ |
| 17963 | createClient_(options, googleTransactionId, handler) { |
| 17964 | // Assign Google Transaction ID to PaymentsAsyncClient.googleTransactionId_ |
| 17965 | // so it can be passed to gpay_async.js and stored in payment clearcut log. |
| 17966 | PaymentsAsyncClient.googleTransactionId_ = googleTransactionId; |
| 17967 | return new PaymentsAsyncClient( |
| 17968 | options, |
| 17969 | handler, |
| 17970 | /* useIframe */ false, |
| 17971 | this.activityPorts_.getOriginalWebActivityPorts() |
| 17972 | ); |
| 17973 | } |
| 17974 | |
| 17975 | /** |
| 17976 | * @param {!../utils/preconnect.Preconnect} pre |
no test coverage detected