* @param {!./deps.DepsDef} deps * @param {!../api/subscriptions.SubscriptionRequest} subscriptionRequest * @param {!../api/subscriptions.ProductType} productType
(
deps,
subscriptionRequest,
productType = ProductType.SUBSCRIPTION
)
| 5693 | * @param {!../api/subscriptions.ProductType} productType |
| 5694 | */ |
| 5695 | constructor( |
| 5696 | deps, |
| 5697 | subscriptionRequest, |
| 5698 | productType = ProductType.SUBSCRIPTION |
| 5699 | ) { |
| 5700 | /** @private @const {!./deps.DepsDef} */ |
| 5701 | this.deps_ = deps; |
| 5702 | |
| 5703 | /** @private @const {!./pay-client.PayClient} */ |
| 5704 | this.payClient_ = deps.payClient(); |
| 5705 | |
| 5706 | /** @private @const {!../model/page-config.PageConfig} */ |
| 5707 | this.pageConfig_ = deps.pageConfig(); |
| 5708 | |
| 5709 | /** @private @const {!../components/dialog-manager.DialogManager} */ |
| 5710 | this.dialogManager_ = deps.dialogManager(); |
| 5711 | |
| 5712 | /** @private @const {!../api/subscriptions.SubscriptionRequest} */ |
| 5713 | this.subscriptionRequest_ = subscriptionRequest; |
| 5714 | |
| 5715 | /**@private @const {!ProductType} */ |
| 5716 | this.productType_ = productType; |
| 5717 | |
| 5718 | /** @private @const {!../runtime/analytics-service.AnalyticsService} */ |
| 5719 | this.analyticsService_ = deps.analytics(); |
| 5720 | |
| 5721 | /** @private @const {!../runtime/client-event-manager.ClientEventManager} */ |
| 5722 | this.eventManager_ = deps.eventManager(); |
| 5723 | |
| 5724 | /** @private @const {!../runtime/client-config-manager.ClientConfigManager} */ |
| 5725 | this.clientConfigManager_ = deps.clientConfigManager(); |
| 5726 | } |
| 5727 | |
| 5728 | /** |
| 5729 | * Starts the payments flow. |
nothing calls this directly
no test coverage detected