* @param {string} raw * @param {!PurchaseData} purchaseData * @param {?UserDataDef} userData * @param {?EntitlementsDef} entitlements * @param {!string} productType * @param {function():!Promise} completeHandler * @param {?string=} oldSku * @param {?string=} swgUserToken * @p
(
raw,
purchaseData,
userData,
entitlements,
productType,
completeHandler,
oldSku = null,
swgUserToken = null,
paymentRecurrence = null,
requestMetadata = null
)
| 4748 | * @param {?Object=} requestMetadata |
| 4749 | */ |
| 4750 | constructor( |
| 4751 | raw, |
| 4752 | purchaseData, |
| 4753 | userData, |
| 4754 | entitlements, |
| 4755 | productType, |
| 4756 | completeHandler, |
| 4757 | oldSku = null, |
| 4758 | swgUserToken = null, |
| 4759 | paymentRecurrence = null, |
| 4760 | requestMetadata = null |
| 4761 | ) { |
| 4762 | /** @const {string} */ |
| 4763 | this.raw = raw; |
| 4764 | /** @const {!PurchaseData} */ |
| 4765 | this.purchaseData = purchaseData; |
| 4766 | /** @const {?UserDataDef} */ |
| 4767 | this.userData = userData; |
| 4768 | /** @const {?EntitlementsDef} */ |
| 4769 | this.entitlements = entitlements; |
| 4770 | /** @const {string} */ |
| 4771 | this.productType = productType; |
| 4772 | /** @private @const {function():!Promise} */ |
| 4773 | this.completeHandler_ = completeHandler; |
| 4774 | /** @const {?string} */ |
| 4775 | this.oldSku = oldSku; |
| 4776 | /** @const {?string} */ |
| 4777 | this.swgUserToken = swgUserToken; |
| 4778 | /** @const {?number} */ |
| 4779 | this.paymentRecurrence = paymentRecurrence; |
| 4780 | /** @const {?Object} */ |
| 4781 | this.requestMetadata = requestMetadata; |
| 4782 | } |
| 4783 | |
| 4784 | /** |
| 4785 | * @return {!SubscribeResponse} |
nothing calls this directly
no outgoing calls
no test coverage detected