MCPcopy Create free account
hub / github.com/ampproject/amphtml / setInternalParam

Function setInternalParam

third_party/subscriptions-project/swg.js:18322–18326  ·  view source on GitHub ↗

* @param {!PaymentDataRequest} paymentRequest * @param {string} param * @param {*} value

(paymentRequest, param, value)

Source from the content-addressed store, hash-verified

18320 * @param {*} value
18321 */
18322function setInternalParam(paymentRequest, param, value) {
18323 paymentRequest['i'] = Object.assign(paymentRequest['i'] || {}, {
18324 [param]: value,
18325 });
18326}
18327
18328/**
18329 * Copyright 2019 The Subscribe with Google Authors. All Rights Reserved.

Callers 1

startMethod · 0.85

Calls 1

assignMethod · 0.80

Tested by

no test coverage detected