setCardMaskStrategy(cardMaskStrategy) {
    if (cardMaskStrategy !== this._cardMaskStrategy) {
      this._cardMaskStrategy = cardMaskStrategy;
      this._syncMask();
    }
  }
Sets the type of masking this field uses.

@param {CardMaskStrategy} cardMaskStrategy One of CardMaskStrategy.